The cheapest and fastest trains from Madrid to Donostia-San Sebastian
- Cheapest price on Nov 12
- €41
- Average ticket price on Nov 12
- €65
- Fastest journey on Nov 12
- 5 h 37 m
- Average journey duration on Nov 12
- 6 h 15 m
- Trains on Nov 12
- 23
- 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 €65 if you buy it on the day, but the cheapest tickets can be found for only €41.
On Thu, Nov 12, we found 23 trains from Madrid to Donostia-San Sebastian, including 3 direct services.
On Thu, Nov 12 the direct trains cover the 352 km distance in an average of 6 h 15 m but if you time it right, some trains will get you there in just 5 h 37 m .
On Thu, Nov 12 the slowest trains will take 6 h 44 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.
040876:55 AM 5h37 Madrid Chamartín 12:32 PM Donostia-San Sebastián €41 1 One-way 0 transfers
1806312:25 PM 7h59 Madrid Príncipe Pío 8:24 PM Donostia-San Sebastián €50 1 One-way 0 transfers
180619:06 AM 7h37 Madrid Príncipe Pío 4:43 PM Donostia-San Sebastián €50 1 One-way 0 transfers
08069+
040876:36 AM 5h56 Madrid Chamartín 12:32 PM Donostia-San Sebastián €61 1 One-way 1 transfer
04149+
180631:53 PM 6h31 Madrid Chamartín 8:24 PM Donostia-San Sebastián €61 1 One-way 1 transfer
040876:55 AM 5h37 Madrid Chamartín 12:32 PM Donostia-San Sebastián €41 1 One-way 0 transfers
08069+
040876:36 AM 5h56 Madrid Chamartín 12:32 PM Donostia-San Sebastián €61 1 One-way 1 transfer
08109+
1806110:15 AM 6h28 Madrid Chamartín 4:43 PM Donostia-San Sebastián €68 1 One-way 1 transfer
04149+
180631:53 PM 6h31 Madrid Chamartín 8:24 PM Donostia-San Sebastián €61 1 One-way 1 transfer
04143+
180631:40 PM 6h44 Madrid Chamartín 8:24 PM Donostia-San Sebastián €92 1 One-way 1 transfer
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 43m. 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 43m |
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 |
Live departures
Madrid to Donostia-San Sebastian train times
The table below shows live departures for Madrid to Donostia-San Sebastian trains for today, Wednesday, November 11. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
18063 | 12:25 PM Madrid Príncipe Pío | 7h59 | 8:24 PM Donostia-San Sebastián | 0 transfersDirect | |
04143 · 04167 | On time 1:40 PM Madrid Chamartín | 9h24 | 11:04 PM Donostia-San Sebastián | 1 transfer | |
04143+ 18063 | On time 1:40 PM Madrid Chamartín | 6h44 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
04149+ 04167 | On time 1:53 PM Madrid Chamartín | 9h11 | 11:04 PM Donostia-San Sebastián | 1 transfer | |
04149+ 18063 | On time 1:53 PM Madrid Chamartín | 6h31 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
34101+ 18063 | 1:53 PM Madrid Chamartín | 6h31 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | Delayed 1:34 PM 2:23 PMMadrid Chamartín | 8h41 | 11:04 PM Donostia-San Sebastián | 1 transfer | |
04151+ 04167 | 2:59 PM Madrid Chamartín | 8h05 | 11:04 PM Donostia-San Sebastián | 1 transfer | |
04161+ 04167 | 4:37 PM Madrid Chamartín | 6h27 | 11:04 PM Donostia-San Sebastián | 1 transfer | |
04167 | 5:48 PM Madrid Chamartín | 5h16 | 11:04 PM Donostia-San Sebastián | 0 transfersDirect | |
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 | 13h48 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18061 | 6:36 AM Madrid Chamartín | 10h07 | 4:43 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+ 18061 | 6:55 AM Madrid Chamartín | 9h48 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
04087+ 18061 | 6:55 AM Madrid Chamartín | 9h48 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18063 | 6:55 AM Madrid Chamartín | 13h29 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18063 | 7:04 AM Madrid Chamartín | 13h20 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18061 | 7:04 AM Madrid Chamartín | 9h39 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18061 | 7:51 AM Madrid Chamartín | 8h52 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18063 | 7:51 AM Madrid Chamartín | 12h33 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
18061 | 9:06 AM Madrid Príncipe Pío | 7h37 | 4:43 PM Donostia-San Sebastián | 0 transfersDirect | |
05763+ 18063 | 9:25 AM Madrid Chamartín | 10h59 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | 9:25 AM Madrid Chamartín | 7h18 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | 9:56 AM Madrid Chamartín | 6h47 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | 9:56 AM Madrid Chamartín | 10h28 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | 10:15 AM Madrid Chamartín | 10h09 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | 10:15 AM Madrid Chamartín | 6h28 | 4:43 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | 11:23 AM Madrid Chamartín | 9h01 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | 12:05 PM Madrid Chamartín | 8h19 | 8:24 PM Donostia-San Sebastián | 1 transfer | |
Find all the dates and times for this journey
Why should you book Madrid to Donostia-San Sebastian 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 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 ALVIA 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.
How far in advance should I book train tickets from Madrid to Donostia-San Sebastian?
Train companies: Renfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe from Madrid to Donostia-San Sebastian trainsRenfe MD, Renfe ALVIA, Renfe INTERCITY, Renfe 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
Renfe
Companies, tickets, and onboard amenities between Madrid and Donostia-San Sebastian
Review the details behind your booking, from operators and ticket rules to luggage, onboard amenities, accessibility, and route-specific travel policies.
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.
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

+
