The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price on Sep 28
€49
Average ticket price on Sep 28
€79
Fastest journey on Sep 28
5 h 25 m
Average journey duration on Sep 28
5 h 40 m
Trains on Sep 28
45
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 €79 if you buy it on the day, but the cheapest tickets can be found for only €49.
On Mon, Sep 28, we found 45 trains from Madrid to Donostia-San Sebastian, including 5 direct services.
On Mon, Sep 28 the direct trains cover the 352 km distance in an average of 5 h 40 m but if you time it right, some trains will get you there in just 5 h 25 m .
On Mon, Sep 28 the slowest trains will take 5 h 56 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.
180619:06 AM7h40Madrid Príncipe Pío4:46 PMDonostia-San Sebastián€491One-way0 transfers
1806312:25 PM7h50Madrid Príncipe Pío8:15 PMDonostia-San Sebastián€491One-way0 transfers
04687+
180618:40 AM8h06Madrid Chamartín4:46 PMDonostia-San Sebastián€581One-way1 transfer
04687+
180638:40 AM11h35Madrid Chamartín8:15 PMDonostia-San Sebastián€581One-way1 transfer
040876:55 AM5h37Madrid Chamartín12:32 PMDonostia-San Sebastián€611One-way0 transfers
042572:50 PM5h25Madrid Chamartín8:15 PMDonostia-San Sebastián€711One-way0 transfers
041675:48 PM5h32Madrid Chamartín11:20 PMDonostia-San Sebastián€611One-way0 transfers
040876:55 AM5h37Madrid Chamartín12:32 PMDonostia-San Sebastián€611One-way0 transfers
04179+
041675:30 PM5h50Madrid Chamartín11:20 PMDonostia-San Sebastián€801One-way1 transfer
08069+
040876:36 AM5h56Madrid Chamartín12:32 PMDonostia-San Sebastián€751One-way1 transfer
Live departures
Madrid to Donostia-San Sebastian train times
The table below shows live departures for Madrid to Donostia-San Sebastian trains for today, Sunday, September 27. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
05817+ 04167 | On time 2:23 PM Madrid Chamartín | 8h57 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04257+ 04167 | On time 2:50 PM Madrid Chamartín | 8h30 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04151+ 04167 | On time 2:59 PM Madrid Chamartín | 8h21 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04161+ 04167 | On time 4:37 PM Madrid Chamartín | 6h43 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
| Monday, September 28 | |||||
08069+ 04087 | 6:36 AM Madrid Chamartín | 5h56 | 12:32 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18063 | 6:36 AM Madrid Chamartín | 13h39 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18061 | 6:36 AM Madrid Chamartín | 10h10 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087 | 6:55 AM Madrid Chamartín | 5h37 | 12:32 PM Donostia-San Sebastián | 0 transfersDirect | |
04187+ 18063 | On time 6:55 AM Madrid Chamartín | 13h20 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 6:55 AM Madrid Chamartín | 9h51 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087+ 18061 | On time 6:55 AM Madrid Chamartín | 9h51 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04261+ 04257 | 7:04 AM Madrid Chamartín | 13h11 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18061 | 7:04 AM Madrid Chamartín | 9h42 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18063 | 7:04 AM Madrid Chamartín | 13h11 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 04257 | On time 7:41 AM Madrid Chamartín | 12h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 7:41 AM Madrid Chamartín | 12h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 7:41 AM Madrid Chamartín | 9h05 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687 · 04257 | 8:40 AM Madrid Chamartín | 11h35 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | 8:40 AM Madrid Chamartín | 8h06 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | 8:40 AM Madrid Chamartín | 11h35 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
18061 | 9:06 AM Madrid Príncipe Pío | 7h40 | 4:46 PM Donostia-San Sebastián | 0 transfersDirect | |
04091+ 18061 | 9:15 AM Madrid Chamartín | 7h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | 9:25 AM Madrid Chamartín | 7h21 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18063 | 9:25 AM Madrid Chamartín | 10h50 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04257 | 9:56 AM Madrid Chamartín | 10h19 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | 9:56 AM Madrid Chamartín | 6h50 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | 9:56 AM Madrid Chamartín | 10h19 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | 11:23 AM Madrid Chamartín | 11h57 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04257 | 11:23 AM Madrid Chamartín | 8h52 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | 11:23 AM Madrid Chamartín | 8h52 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04257 | 12:05 PM Madrid Chamartín | 8h10 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | 12:05 PM Madrid Chamartín | 11h15 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | 12:05 PM Madrid Chamartín | 8h10 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
18063 | 12:25 PM Madrid Príncipe Pío | 7h50 | 8:15 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.
Sep 28
Sep 29
Sep 30
Oct 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 18
Why should you book Madrid to Donostia-San Sebastian 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 Madrid to Donostia-San Sebastian.
- 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 Madrid to Donostia-San Sebastian.
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 Madrid to Donostia-San Sebastian.
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 42 times per day, taking around 5h 42m. 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 54m.
Distance 352 km |
Average train duration 5h 42m |
Cheapest ticket price €7 |
Trains per day 42 |
Direct trains 5 |
Fastest train 4h 54m |
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 Tue |
Least Busy Day Sun |
Best time to book 77 days |
Train companies: Renfe MD, Renfe ALVIA, Renfe INTERCITY from Madrid to Donostia-San Sebastian trainsRenfe MD, Renfe ALVIA, Renfe INTERCITY trains will get you between Madrid and Donostia-San Sebastian 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
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.

popular train stations
Popular train stations from Madrid to Donostia-San Sebastian
Most Madrid to Donostia-San Sebastian trains use the Madrid Chamartín to Donostia-San Sebastián station pair. Use this guide to compare Madrid and Donostia-San Sebastian train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Which Madrid station do trains to Donostia-San Sebastian leave from?
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.
Getting to Madrid-Puerta de Atocha-Almudena Grandes from Madrid city centre
Madrid-Puerta de Atocha-Almudena Grandes is 1 km from Madrid city centre. Public transport options include:
Madrid-Puerta de Atocha-Almudena Grandes train station facilities and services
Madrid-Puerta de Atocha-Almudena Grandes 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, and Information Desk.
Food and drink
Food options include: Passion Food, La Barrila, Enrique Tomás, Pic Nic, Foodissimo!, PureGusto, Burger King
Wi-Fi and ATMs
Free WiFi in the station and on all Renfe trains. ATMs are in various points at the station.
Tickets and information
The ticket office is open Mon - Sun: 10:00 - 20:00. Information desks are on the ground floor of the main concourse.
Luggage and lost property
Luggage storage is open daily from 05:30 to 22:00. Lost and found is available at the station.
Parking, taxis and toilets
Available at Madrid-Puerta de Atocha-Almudena Grandes: Parking, Taxis, WC.
Bike and car services
Available at Madrid-Puerta de Atocha-Almudena Grandes: Bike Parking, Bike Rental, Car Rental.
Accessibility
Accessibility facilities are available at Madrid-Puerta de Atocha-Almudena Grandes: Wheelchair parking, adapted elevators, adapted platforms, lobby shopping area.
Shops, hotels and contact
Nearby hotels include 60 Balconies Urban Stay, Only YOU Hotel Atocha, SLEEP’N Atocha.
Which Donostia-San Sebastian station do trains from Madrid arrive at?
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.
More options for your journey from Madrid to Donostia-San Sebastian
Here are some other resources that might have the information you need


+
