The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price
€50
Average price
€88
Fastest journey
5 h 15 m
Average duration
5 h 59 m
Trains per day
29
Distance
352 km
The best way to find a cheap train ticket from Madrid to Donostia-San Sebastian is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Madrid to Donostia-San Sebastian will cost around €88 if you buy it on the day, but the cheapest tickets can be found for only €50.
Of the 29 trains that leave Madrid for Donostia-San Sebastian on Sat, Nov 15, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Nov 15 the direct trains cover the 352 km distance in an average of 5 h 59 m but if you time it right, some trains will get you there in just 5 h 15 m .
On Sat, Nov 15 the slowest trains will take 6 h 48 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
18061
18063
04087
08109+
18061
08109+
18063
04167
04087
08179+
04167
08109+
18061
04143+
18063Travel Information
Compare train, bus, and flight for Madrid to Donostia-San Sebastian
Omio recommends booking the train as it is the most popular option from Madrid to Donostia-San Sebastian among Omio's users. If you are prioritising price take the train with prices starting from €5. For those with little time consider booking a flight which can get you there in 1h 50m. In case you are seeking to minimise your carbon footprint the train is your best bet as it emits only 0.1 - 0.3kg. The ticket price range depends on the travel mode: a train costs an average of €5, and a flight costs an average of €65.
Distance: 352 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€57 Average price Cheapest | €80 Average price | €289 Average price |
6h 9m Average total duration 5h 39m Onboard + 30m Additional time* | 7h 54m Average total duration 7h 24m Onboard + 30m Additional time* | 4h 50m Average total duration Fastest 1h 50m Onboard + 3h 0m Additional time* |
0.1 - 0.3kg CO2 emissions Lowest | 0.4 - 0.9kg CO2 emissions | 1.1 - 2.1kg CO2 emissions |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Additional time: Average total travel duration to departure point, security checks and transfers.
Live departures
Madrid to Donostia-San Sebastian train times
The table below shows live departures for Madrid to Donostia-San Sebastian trains for tomorrow, Saturday, November 15. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04087+ 18061 | On time 6:20 AM Madrid Chamartín | 9h25 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
04087 | On time 6:20 AM Madrid Chamartín | 5h28 | 11:48 AM Donostia-San Sebastián | 0 transfersDirect | |
04187+ 18063 | On time 6:20 AM Madrid Chamartín | 13h08 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 6:20 AM Madrid Chamartín | 9h25 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18063 | On time 6:32 AM Madrid Chamartín | 12h56 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18061 | On time 6:32 AM Madrid Chamartín | 9h13 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 6:45 AM Madrid Chamartín | 12h43 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 6:45 AM Madrid Chamartín | 9h00 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | On time 7:40 AM Madrid Chamartín | 11h48 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 7:40 AM Madrid Chamartín | 8h05 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
18061 | 8:06 AM Madrid Príncipe Pío | 7h39 | 3:45 PM Donostia-San Sebastián | 0 transfersDirect | |
05763+ 18061 | On time 8:25 AM Madrid Chamartín | 7h20 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18063 | On time 8:25 AM Madrid Chamartín | 11h03 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04167 | On time 8:56 AM Madrid Chamartín | 12h56 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | On time 8:56 AM Madrid Chamartín | 6h49 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | On time 8:56 AM Madrid Chamartín | 10h32 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04167 | On time 9:15 AM Madrid Chamartín | 12h37 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | On time 9:15 AM Madrid Chamartín | 6h30 | 3:45 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 9:15 AM Madrid Chamartín | 10h13 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | On time 10:23 AM Madrid Chamartín | 9h05 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | On time 10:23 AM Madrid Chamartín | 11h29 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
18063 | 11:25 AM Madrid Príncipe Pío | 8h03 | 7:28 PM Donostia-San Sebastián | 0 transfersDirect | |
04143+ 18063 | On time 12:40 PM Madrid Chamartín | 6h48 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04143 · 04167 | On time 12:40 PM Madrid Chamartín | 9h12 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | On time 1:23 PM Madrid Chamartín | 8h29 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
05721+ 04167 | On time 1:59 PM Madrid Chamartín | 7h53 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08359+ 04167 | On time 2:40 PM Madrid Chamartín | 7h12 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08179+ 04167 | On time 4:00 PM Madrid Chamartín | 5h52 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
04167 | 4:37 PM Madrid Chamartín | 5h15 | 9:52 PM Donostia-San Sebastián | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Madrid to Donostia-San Sebastian by train, bus, or flight
Compare train, bus, and flight prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
Nov 15
Nov 16
Nov 17
Nov 18
Nov 19
Nov 20
Nov 21
Nov 22
Nov 23
Nov 24
Nov 25
Nov 26
Nov 27
Nov 28
Nov 29
Nov 30
Dec 01
Dec 02
Dec 03
Dec 04
Dec 05
How far in advance should I book train tickets from Madrid to Donostia-San Sebastian?
Journey information
Overview: Train from Madrid to Donostia-San Sebastian
Trains from Madrid to Donostia-San Sebastian run on average 4 times per day, taking around 5h 39m. Cheap train tickets for this journey start at €5 if you book in advance.
There are 4 trains per day. The earliest train runs at 04:50, the last at 17:37. The fastest train covers the 352 km distance in 5h 0m.
Distance 352 km |
Average train duration 5h 39m |
Cheapest ticket price €5 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 04:50 |
Last train 17:37 |
Train companies: Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastian trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastian from €5. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe ALVIA
Renfe Intercity
Renfe (13)
Renfe Viajeros
Ouigo
Trains from Madrid to San Sebastian
With between 9 and 12 departures a day, every day of the week, travelling by train from Madrid to San Sebastian is very straightforward. There are several direct routes, while some others require a connection, giving varied journey times from just under 5 hours to around 15 hours. The first train departs in the morning and service continues until early evening. All departures are from Madrid Chamartin with arrivals at San Sebastian Donostia Station.
Which train companies travel from Madrid to San Sebastian?
Trains to San Sebastian from Madrid are operated by Renfe, the national rail carrier of Spain. Onboard services include comfortable seating with spacious legroom, wifi, power sockets and a choice of buffet or trolley catering.
How long is the train from Madrid to San Sebastian?
Direct train journeys to San Sebastian from Madrid vary in time. The fastest direct route is just under 5.5. hours with longer routes taking up to 7 hours. Routes that involve a connection at Tudela De Navarra or Vitoria-Gasteiz can match the direct route, with others taking up 15 hours depending on the waiting time for connecting trains.
How many trains are there from Madrid to San Sebastian?
There are between 9 and 12 daily departures on routes from Madrid to San Sebastian. A similar service operates seven days a week, although the first departure is slightly later at weekends. Departure times are spread throughout the day, ending in the early evening.
What are the departure and arrival stations for trains from Madrid to San Sebastian?
Departure station:All departures are from Madrid Chamartin located approximately 1.5 km north of the city centre. Local trains, or Cercanias, as well as Metro services, buses and taxis link the station to central Madrid and onwards to Madrid Barajas Airport. Station facilities include parking, taxi ranks, wifi, toilets, ATMs, bars, restaurants and a left luggage office.
Arrival station:Trains from Madrid to San Sebastian arrive at Donostia station which is conveniently near the historic city centre. It is linked to the San Sebastian Metro and a narrow-gauge railway which runs along the Basque coastline to Bilbao. Station facilities include parking, a taxi rank, toilets and restaurants.
FAQs: Trains from Madrid to Donostia-San Sebastian
Find answers to the most common questions about traveling from Madrid to Donostia-San Sebastian by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Donostia-San Sebastian, this guide helps you travel smarter and with confidence.

Passengers board the train most frequently from Madrid Chamartín, which is located around 4.8 miles (7.8 km) away from the city centre, and they get off the train at Donostia-San Sebastián, located 1.9 miles (3 km) away from the city centre.
popular train stations
Popular train stations from Madrid to Donostia-San Sebastian
- 6:00 AM - 10:00 PM Monday - Sunday
- Free
- The car park is open 7 days a week, with special rates arranged by nearby hotels.
- Restaurant Casa Mingo
- Café de Oriente
- Noodles King
- Outside the main entrance.
- Ramps.
- €0.60
- Hotel Príncipe Pío
- Acta Madfor Hotel
- Hotel Exe Moncloa
- Located in the main hall
- Avis
- Europcar
- Located in the main hall
- Free
- Hall 1: main entrance, platforms for regional and Cercanías trains
- Hall 2: Metro connections
- Metro: Line 6, Line 10
- Bus: Several lines available
- Cercanías: Lines C1, C7, C10
Most popular train connections from Madrid
More options for your journey from Madrid to Donostia-San Sebastian
Here are some other resources that might have the information you need





+
