The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price
51S$
Average price
123S$
Fastest journey
5 h 25 m
Average duration
5 h 42 m
Trains per day
52
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 travelling at rush hour.
The average ticket from Madrid to Donostia-San Sebastian will cost around 123S$ if you buy it on the day, but you can find cheap train tickets today for only 51S$.
Of the 52 trains that leave Madrid for Donostia-San Sebastian every day 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 352 km distance in an average of 5 h 42 m but if you time it right, some trains will get you there in just 5 h 25 m .
The slowest trains will take 5 h 55 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.
05763+
042579:25 AM10h50Madrid Chamartín8:15 PMDonostia-San Sebastián51 S$1One-way1 change
05763+
180619:25 AM7h21Madrid Chamartín4:46 PMDonostia-San Sebastián73 S$1One-way1 change
1806312:25 PM7h50Madrid Príncipe Pío8:15 PMDonostia-San Sebastián77 S$1One-way0 changes
180619:06 AM7h40Madrid Príncipe Pío4:46 PMDonostia-San Sebastián77 S$1One-way0 changes
04687 · 042578:40 AM11h35Madrid Chamartín8:15 PMDonostia-San Sebastián83 S$1One-way1 change
042572:50 PM5h25Madrid Chamartín8:15 PMDonostia-San Sebastián111 S$1One-way0 changes
04257+
180632:50 PM5h25Madrid Chamartín8:15 PMDonostia-San Sebastián142 S$1One-way1 change
041675:48 PM5h52Madrid Chamartín11:40 PMDonostia-San Sebastián86 S$1One-way0 changes
05817+
042572:23 PM5h52Madrid Chamartín8:15 PMDonostia-San Sebastián119 S$1One-way1 change
040876:55 AM5h55Madrid Chamartín12:50 PMDonostia-San Sebastián118 S$1One-way0 changes
Travel Information
Compare train, coach 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 30S$. For those with little time consider booking a flight which can get you there in 3h 7m. 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 30S$, and a flight costs an average of 69S$.
Distance: 352 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
72S$ Average Price Cheapest | 105S$ Average Price | 464S$ Average Price |
5h 41m Average total duration 5h 11m Onboard + 30m Additional time* | 6h 51m Average total duration 6h 21m Onboard + 30m Additional time* | 6h 7m Average total duration Fastest 3h 7m 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, Friday, 14 August. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
04087 | 6:55 AM Madrid Chamartín | 5h55 | 12:50 PM Donostia-San Sebastián | 0 changesdirect | |
04187+ 18061 | On time 6:55 AM Madrid Chamartín | 9h51 | 4:46 PM Donostia-San Sebastián | 1 change | |
04187+ 18061 | On time 6:55 AM Madrid Chamartín | 9h51 | 4:46 PM Donostia-San Sebastián | 1 change | |
04187+ 04257 | On time 6:55 AM Madrid Chamartín | 13h20 | 8:15 PM Donostia-San Sebastián | 1 change | |
04261+ 18061 | On time 7:04 AM Madrid Chamartín | 9h42 | 4:46 PM Donostia-San Sebastián | 1 change | |
04261+ 18063 | On time 7:04 AM Madrid Chamartín | 13h11 | 8:15 PM Donostia-San Sebastián | 1 change | |
04261+ 04257 | On time 7:04 AM Madrid Chamartín | 13h11 | 8:15 PM Donostia-San Sebastián | 1 change | |
04073+ 18061 | On time 7:45 AM Madrid Chamartín | 9h01 | 4:46 PM Donostia-San Sebastián | 1 change | |
08079+ 18063 | On time 7:51 AM Madrid Chamartín | 12h24 | 8:15 PM Donostia-San Sebastián | 1 change | |
08079+ 18061 | On time 7:51 AM Madrid Chamartín | 8h55 | 4:46 PM Donostia-San Sebastián | 1 change | |
04687+ 18061 | On time 8:40 AM Madrid Chamartín | 8h06 | 4:46 PM Donostia-San Sebastián | 1 change | |
04687 · 04257 | On time 8:40 AM Madrid Chamartín | 11h35 | 8:15 PM Donostia-San Sebastián | 1 change | |
04687+ 18061 | On time 8:40 AM Madrid Chamartín | 8h06 | 4:46 PM Donostia-San Sebastián | 1 change | |
18061 | 9:06 AM Madrid Príncipe Pío | 7h40 | 4:46 PM Donostia-San Sebastián | 0 changesdirect | |
05763+ 18061 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 7h21 | 4:46 PM Donostia-San Sebastián | 1 change | |
05763+ 18061 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 7h21 | 4:46 PM Donostia-San Sebastián | 1 change | |
05763+ 04257 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 10h50 | 8:15 PM Donostia-San Sebastián | 1 change | |
05071+ 04167 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 13h44 | 11:40 PM Donostia-San Sebastián | 1 change | |
05071+ 18061 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 6h50 | 4:46 PM Donostia-San Sebastián | 1 change | |
05071+ 18063 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 10h19 | 8:15 PM Donostia-San Sebastián | 1 change | |
08109+ 18063 | On time 10:15 AM Madrid Chamartín | 10h00 | 8:15 PM Donostia-San Sebastián | 1 change | |
08109+ 04167 | On time 10:15 AM Madrid Chamartín | 13h25 | 11:40 PM Donostia-San Sebastián | 1 change | |
08109+ 18061 | On time 10:15 AM Madrid Chamartín | 6h31 | 4:46 PM Donostia-San Sebastián | 1 change | |
04121+ 04257 | On time 11:23 AM Madrid Chamartín | 8h52 | 8:15 PM Donostia-San Sebastián | 1 change | |
04121+ 18063 | On time 11:23 AM Madrid Chamartín | 8h52 | 8:15 PM Donostia-San Sebastián | 1 change | |
04121+ 04167 | On time 11:23 AM Madrid Chamartín | 12h17 | 11:40 PM Donostia-San Sebastián | 1 change | |
08129+ 18063 | On time 12:05 PM Madrid Chamartín | 8h10 | 8:15 PM Donostia-San Sebastián | 1 change | |
08129+ 04257 | On time 12:05 PM Madrid Chamartín | 8h10 | 8:15 PM Donostia-San Sebastián | 1 change | |
08129+ 04167 | On time 12:05 PM Madrid Chamartín | 11h35 | 11:40 PM Donostia-San Sebastián | 1 change | |
18063 | On time 12:25 PM Madrid Príncipe Pío | 7h50 | 8:15 PM Donostia-San Sebastián | 0 changesdirect | |
04143+ 18063 | Delayed 11:40 AM 1:40 PMMadrid Chamartín | 6h35 | 8:15 PM Donostia-San Sebastián | 1 change | |
04143 · 04167 | Delayed 11:40 AM 1:40 PMMadrid Chamartín | 10h00 | 11:40 PM Donostia-San Sebastián | 1 change | |
04143+ 04257 | Delayed 11:40 AM 1:40 PMMadrid Chamartín | 6h35 | 8:15 PM Donostia-San Sebastián | 1 change | |
04149+ 18063 | On time 1:53 PM Madrid Chamartín | 6h22 | 8:15 PM Donostia-San Sebastián | 1 change | |
34101+ 18063 | On time 1:53 PM Madrid Chamartín | 6h22 | 8:15 PM Donostia-San Sebastián | 1 change | |
34101+ 04167 | On time 1:53 PM Madrid Chamartín | 9h47 | 11:40 PM Donostia-San Sebastián | 1 change | |
08139+ 04167 | On time 2:00 PM Madrid Chamartín | 9h40 | 11:40 PM Donostia-San Sebastián | 1 change | |
08139+ 04257 | On time 2:00 PM Madrid Chamartín | 6h15 | 8:15 PM Donostia-San Sebastián | 1 change | |
05817+ 04167 | On time 2:23 PM Madrid Chamartín | 9h17 | 11:40 PM Donostia-San Sebastián | 1 change | |
05817+ 04257 | On time 2:23 PM Madrid Chamartín | 5h52 | 8:15 PM Donostia-San Sebastián | 1 change | |
04257+ 04167 | On time 2:50 PM Madrid Chamartín | 8h50 | 11:40 PM Donostia-San Sebastián | 1 change | |
04257+ 18063 | On time 2:50 PM Madrid Chamartín | 5h25 | 8:15 PM Donostia-San Sebastián | 1 change | |
04257+ 04167 | On time 2:50 PM Madrid Chamartín | 8h50 | 11:40 PM Donostia-San Sebastián | 1 change | |
04257 | On time 2:50 PM Madrid Chamartín | 5h25 | 8:15 PM Donostia-San Sebastián | 0 changesdirect | |
08159+ 04167 | On time 3:10 PM Madrid Chamartín | 8h30 | 11:40 PM Donostia-San Sebastián | 1 change | |
04153+ 04167 | On time 3:20 PM Madrid Chamartín | 8h20 | 11:40 PM Donostia-San Sebastián | 1 change | |
08359+ 04167 | On time 3:40 PM Madrid Chamartín | 8h00 | 11:40 PM Donostia-San Sebastián | 1 change | |
08169+ 04167 | On time 4:15 PM Madrid Chamartín | 7h25 | 11:40 PM Donostia-San Sebastián | 1 change | |
04161+ 04167 | On time 4:37 PM Madrid Chamartín | 7h03 | 11:40 PM Donostia-San Sebastián | 1 change | |
08179+ 04167 | On time 5:00 PM Madrid Chamartín | 6h40 | 11:40 PM Donostia-San Sebastián | 1 change | |
04179+ 04167 | On time 5:30 PM Madrid Chamartín | 6h10 | 11:40 PM Donostia-San Sebastián | 1 change | |
04167 | On time 5:48 PM Madrid Chamartín | 5h52 | 11:40 PM Donostia-San Sebastián | 0 changesdirect | |
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, 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.
14 Aug
15 Aug
16 Aug
17 Aug
18 Aug
19 Aug
20 Aug
21 Aug
22 Aug
23 Aug
24 Aug
25 Aug
26 Aug
27 Aug
28 Aug
29 Aug
30 Aug
31 Aug
01 Sept
02 Sept
03 Sept
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, Renfe Viajeros or Ouigo 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?
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 11m. Cheap train tickets for this journey start at 30S$ 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 5h 0m.
Distance 352 km |
Average train duration 5h 11m |
Cheapest ticket price 30S$ |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 4:45 AM |
Last train 5:37 PM |
Cheapest Month Mar |
Cheapest Day Sat |
High Season Jul - Sept |
Low Season Jan - Mar |
Busiest Day Wed |
Least Busy Day Sun |
Best time to book 77 days |
Train companies: Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastian trainsRenfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastian from 30S$. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe ALVIA
Renfe INTERCITY
Renfe MD
Renfe Viajeros
Ouigo
FAQs: Madrid to Donostia-San Sebastian train
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
Important Stations and Airports in Madrid and 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.
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



