The cheapest and fastest trains from Donostia-San Sebastian to Madrid
- Cheapest price on Nov 09
- €45
- Average ticket price on Nov 09
- €69
- Fastest journey on Nov 09
- 5 h 12 m
- Average journey duration on Nov 09
- 5 h 45 m
- Trains on Nov 09
- 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 traveling at rush hour.
The average ticket from Donostia-San Sebastian to Madrid will cost around €69 if you buy it on the day, but the cheapest tickets can be found for only €45.
On Mon, Nov 09, we found 16 trains from Donostia-San Sebastian to Madrid, including 4 direct services.
On Mon, Nov 09 the direct trains cover the 352 km distance in an average of 5 h 45 m but if you time it right, some trains will get you there in just 5 h 12 m .
On Mon, Nov 09 the slowest trains will take 6 h 40 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.
040565:26 AM 5h12 Donostia-San Sebastián 10:38 AM Madrid Chamartín €45 1 One-way 0 transfers
180141:55 PM 7h47 Donostia-San Sebastián 9:42 PM Madrid Príncipe Pío €50 1 One-way 0 transfers
1801211:01 AM 7h54 Donostia-San Sebastián 6:55 PM Madrid Príncipe Pío €50 1 One-way 0 transfers
04056+
051785:26 AM 11h18 Donostia-San Sebastián 4:44 PM Madrid Chamartín €58 1 One-way 1 transfer
04056+
080985:26 AM 5h37 Donostia-San Sebastián 11:03 AM Madrid Chamartín €65 1 One-way 1 transfer
040565:26 AM 5h12 Donostia-San Sebastián 10:38 AM Madrid Chamartín €45 1 One-way 0 transfers
040868:36 AM 5h15 Donostia-San Sebastián 1:51 PM Madrid Chamartín €91 1 One-way 0 transfers
04056+
080985:26 AM 5h37 Donostia-San Sebastián 11:03 AM Madrid Chamartín €65 1 One-way 1 transfer
04056+
041865:26 AM 6h02 Donostia-San Sebastián 11:28 AM Madrid Chamartín €76 1 One-way 1 transfer
18014+
041621:55 PM 6h40 Donostia-San Sebastián 8:35 PM Madrid Chamartín €67 1 One-way 1 transfer
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 49m. Cheap train tickets for this journey start at €7 if you book in advance.
There are 4 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 49m |
Cheapest ticket price €7 |
Trains per day 17 |
Direct trains 4 |
Fastest train 4h 44m |
First train 4:45 AM |
Last train 5:37 PM |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Wed |
Least Busy Day Sun |
Best time to book 63 days |
Live departures
Donostia-San Sebastian to Madrid train times
The table below shows live departures for Donostia-San Sebastian to Madrid trains for today, Sunday, November 8. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04176 | On time 4:45 PM Donostia-San Sebastián | 5h35 | 10:20 PM Madrid Chamartín | 0 transfersDirect | |
| Monday, November 9 | |||||
04056 | 5:26 AM Donostia-San Sebastián | 5h12 | 10:38 AM Madrid Chamartín | 0 transfersDirect | |
04056+ 05178 | 5:26 AM Donostia-San Sebastián | 11h18 | 4:44 PM Madrid Chamartín | 1 transfer | |
04056+ 04186 | 5:26 AM Donostia-San Sebastián | 6h02 | 11:28 AM Madrid Chamartín | 1 transfer | |
04056+ 08098 | 5:26 AM Donostia-San Sebastián | 5h37 | 11:03 AM Madrid Chamartín | 1 transfer | |
04086+ 05792 | 8:36 AM Donostia-San Sebastián | 10h24 | 7:00 PM Madrid Chamartín | 1 transfer | |
04086 | 8:36 AM Donostia-San Sebastián | 5h15 | 1:51 PM Madrid Chamartín | 0 transfersDirect | |
04086+ 05178 | 8:36 AM Donostia-San Sebastián | 8h08 | 4:44 PM Madrid Chamartín | 1 transfer | |
04086+ 08158 | 8:36 AM Donostia-San Sebastián | 7h54 | 4:30 PM Madrid Chamartín | 1 transfer | |
18012+ 05792 | 11:01 AM Donostia-San Sebastián | 7h59 | 7:00 PM Madrid Chamartín | 1 transfer | |
18012+ 08178 | 11:01 AM Donostia-San Sebastián | 7h54 | 6:55 PM Madrid Chamartín | 1 transfer | |
18012+ 04162 | 11:01 AM Donostia-San Sebastián | 9h34 | 8:35 PM Madrid Chamartín | 1 transfer | |
18012 | 11:01 AM Donostia-San Sebastián | 7h54 | 6:55 PM Madrid Príncipe Pío | 0 transfersDirect | |
18014 | 1:55 PM Donostia-San Sebastián | 7h47 | 9:42 PM Madrid Príncipe Pío | 0 transfersDirect | |
18014+ 08198 | 1:55 PM Donostia-San Sebastián | 6h51 | 8:46 PM Madrid Chamartín | 1 transfer | |
18014+ 08208 | 1:55 PM Donostia-San Sebastián | 7h45 | 9:40 PM Madrid Chamartín | 1 transfer | |
18014+ 04162 | 1:55 PM Donostia-San Sebastián | 6h40 | 8:35 PM Madrid Chamartín | 1 transfer | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Why should you book Donostia-San Sebastian to Madrid trains with Omio?
Why book with Omio vs Renfe ALVIA?
- Compare with other providers: On Omio, you can not only buy tickets for Renfe ALVIA, but also compare tickets for the likes of Renfe INTERCITY, Renfe MD or Renfe 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 ALVIA 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.
How far in advance should I book train tickets from Donostia-San Sebastian to Madrid?
Train companies: Renfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe from Donostia-San Sebastian to Madrid trainsRenfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe 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
Renfe
Companies, tickets, and onboard amenities between Donostia-San Sebastian and Madrid
Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.
Trains from San Sebastian to Madrid
The Spanish state rail operator Renfe provides direct and indirect rail connections between San Sebastian and Madrid. There are an early morning, late morning and two afternoon direct departures from San Sebastian with journey times ranging from five hours and 30 minutes to eight hours. Additional early morning and late afternoon indirect options require a change at Zaragoza to high-speed AVE connections to Madrid. Trains from San Sebastian to Madrid depart from the Estacion del Norte in the centre of the city, arriving at Madid Chamartin Station, north of the city centre, with connections on the city Metro.
FAQs: Trains from Donostia-San Sebastian to Madrid
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
Popular train stations from Donostia-San Sebastian to 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

+
