The cheapest and fastest trains from Donostia-San Sebastian to Madrid
Cheapest price on 28 Sept
48€
Average ticket price on 28 Sept
66€
Fastest journey on 28 Sept
5 h 35 m
Average journey duration on 28 Sept
6 h 18 m
Trains on 28 Sept
16
Distance
352 km
The best way to find a cheap train ticket from Donostia-San Sebastian to Madrid is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Donostia-San Sebastian to Madrid will cost around 66€ if you buy it on the day, but you can find cheap train tickets today for only 48€.
On Mon, 28 Sept, we found 16 trains from Donostia-San Sebastian to Madrid, including 3 direct services.
These direct trains cover the 352 km distance in an average of 6 h 18 m but if you time it right, some trains will get you there in just 5 h 35 m .
The slowest trains will take 6 h 39 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.
041764:45 PM5h35Donostia-San Sebastián10:20 PMMadrid Chamartín48 €1One-way0 changes
180141:54 PM7h48Donostia-San Sebastián9:42 PMMadrid Príncipe Pío49 €1One-way0 changes
1801210:59 AM7h56Donostia-San Sebastián6:55 PMMadrid Príncipe Pío49 €1One-way0 changes
18012+
0478610:59 AM9h24Donostia-San Sebastián8:23 PMMadrid Chamartín58 €1One-way1 change
18014+
047861:54 PM6h29Donostia-San Sebastián8:23 PMMadrid Chamartín58 €1One-way1 change
041764:45 PM5h35Donostia-San Sebastián10:20 PMMadrid Chamartín48 €1One-way0 changes
04056+
041865:15 AM6h13Donostia-San Sebastián11:28 AMMadrid Chamartín76 €1One-way1 change
18014+
047861:54 PM6h29Donostia-San Sebastián8:23 PMMadrid Chamartín58 €1One-way1 change
04176 · 041924:45 PM6h35Donostia-San Sebastián11:20 PMMadrid Chamartín64 €1One-way1 change
04086+
081488:36 AM6h39Donostia-San Sebastián3:15 PMMadrid Chamartín90 €1One-way1 change
Live departures
Donostia-San Sebastian to Madrid train times
The table below shows live departures for Donostia-San Sebastian to Madrid trains for tomorrow, Monday, 28 September. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
04056+ 08118 | 5:15 AM Donostia-San Sebastián | 7h20 | 12:35 PM Madrid Chamartín | 1 change | |
04056+ 04186 | 5:15 AM Donostia-San Sebastián | 6h13 | 11:28 AM Madrid Chamartín | 1 change | |
04056+ 08148 | 5:15 AM Donostia-San Sebastián | 10h00 | 3:15 PM Madrid Chamartín | 1 change | |
04086+ 08148 | 8:36 AM Donostia-San Sebastián | 6h39 | 3:15 PM Madrid Chamartín | 1 change | |
04086+ 04786 | 8:36 AM Donostia-San Sebastián | 11h47 | 8:23 PM Madrid Chamartín | 1 change | |
04086+ 08178 | 8:36 AM Donostia-San Sebastián | 10h19 | 6:55 PM Madrid Chamartín | 1 change | |
18012 | 10:59 AM Donostia-San Sebastián | 7h56 | 6:55 PM Madrid Príncipe Pío | 0 changesdirect | |
18012+ 05792 | 10:59 AM Donostia-San Sebastián | 8h01 | 7:00 PM Madrid Chamartín | 1 change | |
18012+ 04786 | 10:59 AM Donostia-San Sebastián | 9h24 | 8:23 PM Madrid Chamartín | 1 change | |
18012+ 08178 | 10:59 AM Donostia-San Sebastián | 7h56 | 6:55 PM Madrid Chamartín | 1 change | |
18014 | 1:54 PM Donostia-San Sebastián | 7h48 | 9:42 PM Madrid Príncipe Pío | 0 changesdirect | |
18014+ 04786 | 1:54 PM Donostia-San Sebastián | 6h29 | 8:23 PM Madrid Chamartín | 1 change | |
18014+ 08198 | 1:54 PM Donostia-San Sebastián | 6h52 | 8:46 PM Madrid Chamartín | 1 change | |
18014+ 08208 | 1:54 PM Donostia-San Sebastián | 7h46 | 9:40 PM Madrid Chamartín | 1 change | |
04176 | 4:45 PM Donostia-San Sebastián | 5h35 | 10:20 PM Madrid Chamartín | 0 changesdirect | |
04176 · 04192 | 4:45 PM Donostia-San Sebastián | 6h35 | 11:20 PM Madrid Chamartín | 1 change | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Donostia-San Sebastian to Madrid by train, coach or flight
Compare train, coach 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.
27 Sept
28 Sept
29 Sept
30 Sept
01 Oct
02 Oct
03 Oct
04 Oct
05 Oct
06 Oct
07 Oct
08 Oct
09 Oct
10 Oct
11 Oct
12 Oct
13 Oct
14 Oct
15 Oct
16 Oct
17 Oct
Why should you book Donostia-San Sebastian to Madrid trains with Omio?
Why book with Omio vs Renfe MD?
- Compare with other providers: On Omio, you can not only buy tickets for Renfe MD, but also compare tickets for the likes of Renfe INTERCITY or Renfe ALVIA to find the best option for your trip from Donostia-San Sebastian to Madrid.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare Renfe MD with all available travel options, which are train, bus and flight to ensure you get the best deal for traveling from Donostia-San Sebastian to Madrid.
Why book with Omio over Raileurope or Wanderu?
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option from Donostia-San Sebastian to Madrid.
How far in advance should I book train tickets from Donostia-San Sebastian to Madrid?
Journey information
Overview: Train from Donostia-San Sebastian to Madrid
Trains from Donostia-San Sebastian to Madrid run on average 17 times per day, taking around 5h 48m. Cheap train tickets for this journey start at 7€ if you book in advance.
There are 5 trains per day. The earliest train runs at 04:45, the last at 17:37. The fastest train covers the 352 km distance in 4h 44m.
Distance 352 km |
Average train duration 5h 48m |
Cheapest ticket price 7€ |
Trains per day 17 |
Direct trains 5 |
Fastest train 4h 44m |
First train 4:45 AM |
Last train 5:37 PM |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sept |
Low Season Jan - Mar |
Busiest Day Wed |
Least Busy Day Sun |
Best time to book 63 days |
Train companies: Renfe MD, Renfe ALVIA, Renfe INTERCITY from Donostia-San Sebastian to Madrid trainsRenfe MD, Renfe ALVIA, Renfe INTERCITY trains will get you between Donostia-San Sebastian and Madrid from 7€. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe MD
Renfe ALVIA
Renfe INTERCITY
FAQs: Donostia-San Sebastian to Madrid train
Find answers to the most common questions about traveling from Donostia-San Sebastian to Madrid 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 Madrid, this guide helps you travel smarter and with confidence.

popular train stations
Important Stations and Airports in Donostia-San Sebastian and Madrid
Most Donostia-San Sebastian to Madrid trains use the Donostia-San Sebastián to Madrid Chamartín station pair, with some services arriving at Madrid Príncipe Pío. Use this guide to compare Donostia-San Sebastian and Madrid train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Donostia-San Sebastian station do trains to Madrid leave from?
Getting to Donostia-San Sebastián from Donostia-San Sebastian city centre
Donostia-San Sebastián train station facilities and services
Donostia-San Sebastián has practical services for this route, including Accessibility, WC, Lost and Found Office, Ticket Office, Bike Parking and Information Desk.
Tickets and information
Ticket office support is available at Donostia-San Sebastián. Information desks are available at Donostia-San Sebastián.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Donostia-San Sebastián: WC.
Bike and car services
Available at Donostia-San Sebastián: Bike Parking.
Accessibility
Accessibility facilities are available at Donostia-San Sebastián.
Which Madrid station do trains from Donostia-San Sebastian arrive at?
Getting to Madrid Chamartín from Madrid city centre
Madrid Chamartín is 6 km from Madrid city centre. Public transport options include:
Madrid Chamartín train station facilities and services
Madrid Chamartín has practical services for this route, including Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental and Information Desk.
Food and drink
Food and drink options are available at Madrid Chamartín.
Wi-Fi and ATMs
ATMs are available at Madrid Chamartín.
Tickets and information
Ticket office support is available at Madrid Chamartín. Information desks are available at Madrid Chamartín.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid Chamartín: Parking, Taxis, WC.
Bike and car services
Available at Madrid Chamartín: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid Chamartín.
Getting to Madrid Príncipe Pío from Madrid city centre
Madrid Príncipe Pío is 1 km from Madrid city centre. Public transport options include:
Madrid Príncipe Pío train station facilities and services
Madrid Príncipe Pío has practical services for this route, including Wifi, Lockers, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lost and Found Office, Ticket Office, Bike Parking, Bike Rental, Car Rental, Information Desk and Luggage Carts.
Food and drink
Food options include: Restaurant Casa Mingo, Café de Oriente, Noodles King
Wi-Fi and ATMs
Free. ATMs are available in the train station.
Tickets and information
Ticket office support is available at Madrid Príncipe Pío. Information desks are located in the main hall.
Luggage and lost property
Luggage storage is available at Madrid Príncipe Pío. Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid Príncipe Pío: Parking, Taxis, WC.
Bike and car services
Available at Madrid Príncipe Pío: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid Príncipe Pío: Ramps.
Shops, hotels and contact
Nearby hotels include Hotel Príncipe Pío, Acta Madfor Hotel, Hotel Exe Moncloa.
Most popular train connections from Donostia-San Sebastian
More options for your journey from Donostia-San Sebastian to Madrid
Here are some other resources that might have the information you need

