The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price
$68
Average price
$114
Fastest journey
5 h 15 m
Average duration
5 h 32 m
Trains per day
47
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 $114 if you buy it on the day, but you can find cheap train tickets today for only $68.
Of the 47 trains that leave Madrid for Donostia-San Sebastian every day 4 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 32 m but if you time it right, some trains will get you there in just 5 h 15 m .
The slowest trains will take 5 h 52 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.
18061
18063
04261+
18063
04261+
18061
05763+
18061
04167
05817+
04257
04087
04261 · 04087
08179+
04167Travel 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 $6. For those with little time consider booking a flight which can get you there in 1h 50m. 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 $6, and a flight costs an average of $81.
Distance: 352 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
$70 Average Price Cheapest | $98 Average Price | $357 Average Price |
6h 9m Average total duration 5h 39m Onboard + 30m Additional time* | 7h 54m Average total duration 7h 24m Onboard + 30m Additional time* | 4h 50m Average total duration Fastest 1h 50m 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 today, Wednesday, 19 November. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
04687+ 18063 | On time 7:40 am Madrid Chamartín | 11h43 | 7:23 pm Donostia-San Sebastián | 1 change | |
04687 · 04257 | On time 7:40 am Madrid Chamartín | 11h06 | 6:46 pm Donostia-San Sebastián | 1 change | |
04687+ 18061 | On time 7:40 am Madrid Chamartín | 8h05 | 3:45 pm Donostia-San Sebastián | 1 change | |
18061 | On time 8:06 am Madrid Príncipe Pío | 7h39 | 3:45 pm Donostia-San Sebastián | 0 changesdirect | |
04091+ 18061 | On time 8:15 am Madrid Chamartín | 7h30 | 3:45 pm Donostia-San Sebastián | 1 change | |
04091+ 18063 | On time 8:15 am Madrid Chamartín | 11h08 | 7:23 pm Donostia-San Sebastián | 1 change | |
05763+ 18061 | On time 8:25 am Madrid Chamartín | 7h20 | 3:45 pm Donostia-San Sebastián | 1 change | |
05071+ 18063 | On time 8:56 am Madrid Chamartín | 10h27 | 7:23 pm Donostia-San Sebastián | 1 change | |
05071+ 04257 | On time 8:56 am Madrid Chamartín | 9h50 | 6:46 pm Donostia-San Sebastián | 1 change | |
05071+ 18061 | On time 8:56 am Madrid Chamartín | 6h49 | 3:45 pm Donostia-San Sebastián | 1 change | |
08109+ 18063 | On time 9:15 am Madrid Chamartín | 10h08 | 7:23 pm Donostia-San Sebastián | 1 change | |
08109+ 18061 | On time 9:15 am Madrid Chamartín | 6h30 | 3:45 pm Donostia-San Sebastián | 1 change | |
08109+ 04257 | On time 9:15 am Madrid Chamartín | 9h31 | 6:46 pm Donostia-San Sebastián | 1 change | |
04121+ 04257 | On time 10:23 am Madrid Chamartín | 8h23 | 6:46 pm Donostia-San Sebastián | 1 change | |
04121+ 18063 | On time 10:23 am Madrid Chamartín | 9h00 | 7:23 pm Donostia-San Sebastián | 1 change | |
04121+ 04167 | On time 10:23 am Madrid Chamartín | 11h29 | 9:52 pm Donostia-San Sebastián | 1 change | |
08129+ 04167 | On time 11:05 am Madrid Chamartín | 10h47 | 9:52 pm Donostia-San Sebastián | 1 change | |
08129+ 04257 | On time 11:05 am Madrid Chamartín | 7h41 | 6:46 pm Donostia-San Sebastián | 1 change | |
08129+ 18063 | On time 11:05 am Madrid Chamartín | 8h18 | 7:23 pm Donostia-San Sebastián | 1 change | |
18063 | 11:25 am Madrid Príncipe Pío | 7h58 | 7:23 pm Donostia-San Sebastián | 0 changesdirect | |
05101+ 04257 | On time 12:03 pm Madrid Chamartín | 6h43 | 6:46 pm Donostia-San Sebastián | 1 change | |
05101+ 18063 | On time 12:03 pm Madrid Chamartín | 7h20 | 7:23 pm Donostia-San Sebastián | 1 change | |
05101+ 04167 | On time 12:03 pm Madrid Chamartín | 9h49 | 9:52 pm Donostia-San Sebastián | 1 change | |
04143+ 18063 | On time 12:40 pm Madrid Chamartín | 6h43 | 7:23 pm Donostia-San Sebastián | 1 change | |
04143 · 04167 | On time 12:40 pm Madrid Chamartín | 9h12 | 9:52 pm Donostia-San Sebastián | 1 change | |
04143+ 04257 | On time 12:40 pm Madrid Chamartín | 6h06 | 6:46 pm Donostia-San Sebastián | 1 change | |
05817+ 04257 | On time 1:23 pm Madrid Chamartín | 5h23 | 6:46 pm Donostia-San Sebastián | 1 change | |
05817+ 04167 | On time 1:23 pm Madrid Chamartín | 8h29 | 9:52 pm Donostia-San Sebastián | 1 change | |
04257+ 04167 | On time 1:46 pm Madrid Chamartín | 8h06 | 9:52 pm Donostia-San Sebastián | 1 change | |
04257 | On time 1:46 pm Madrid Chamartín | 5h00 | 6:46 pm Donostia-San Sebastián | 0 changesdirect | |
05721+ 04167 | On time 1:59 pm Madrid Chamartín | 7h53 | 9:52 pm Donostia-San Sebastián | 1 change | |
08169+ 04167 | On time 3:15 pm Madrid Chamartín | 6h37 | 9:52 pm Donostia-San Sebastián | 1 change | |
04161+ 04167 | On time 3:37 pm Madrid Chamartín | 6h15 | 9:52 pm Donostia-San Sebastián | 1 change | |
08179+ 04167 | On time 4:00 pm Madrid Chamartín | 5h52 | 9:52 pm Donostia-San Sebastián | 1 change | |
04167 | On time 4:37 pm Madrid Chamartín | 5h15 | 9:52 pm Donostia-San Sebastián | 0 changesdirect | |
08069+ 18063 | On time 5:36 am Madrid Chamartín | 13h47 | 7:23 pm Donostia-San Sebastián | 1 change | |
08069+ 04087 | On time 5:36 am Madrid Chamartín | 6h12 | 11:48 am Donostia-San Sebastián | 1 change | |
08069+ 18061 | On time 5:36 am Madrid Chamartín | 10h09 | 3:45 pm Donostia-San Sebastián | 1 change | |
04261+ 18063 | On time 6:04 am Madrid Chamartín | 13h19 | 7:23 pm Donostia-San Sebastián | 1 change | |
04261+ 18061 | On time 6:04 am Madrid Chamartín | 9h41 | 3:45 pm Donostia-San Sebastián | 1 change | |
04261 · 04087 | On time 6:04 am Madrid Chamartín | 5h44 | 11:48 am Donostia-San Sebastián | 1 change | |
04087+ 18061 | On time 6:20 am Madrid Chamartín | 9h25 | 3:45 pm Donostia-San Sebastián | 1 change | |
04187+ 18063 | On time 6:20 am Madrid Chamartín | 13h03 | 7:23 pm Donostia-San Sebastián | 1 change | |
04087 | On time 6:20 am Madrid Chamartín | 5h28 | 11:48 am Donostia-San Sebastián | 0 changesdirect | |
04187+ 18061 | On time 6:20 am Madrid Chamartín | 9h25 | 3:45 pm Donostia-San Sebastián | 1 change | |
04073+ 18063 | On time 6:45 am Madrid Chamartín | 12h38 | 7:23 pm Donostia-San Sebastián | 1 change | |
04073+ 18061 | On time 6:45 am Madrid Chamartín | 9h00 | 3:45 pm Donostia-San Sebastián | 1 change | |
08079+ 18061 | On time 6:51 am Madrid Chamartín | 8h54 | 3:45 pm Donostia-San Sebastián | 1 change | |
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.
19 Nov
20 Nov
21 Nov
22 Nov
23 Nov
24 Nov
25 Nov
26 Nov
27 Nov
28 Nov
29 Nov
30 Nov
01 Dec
02 Dec
03 Dec
04 Dec
05 Dec
06 Dec
07 Dec
08 Dec
09 Dec
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 39m. Cheap train tickets for this journey start at $6 if you book in advance.
There are 4 trains per day. The earliest train runs at 04:50, the last at 17:37. The fastest train covers the 352 km distance in 5h 0m.
Distance 352 km |
Average train duration 5h 39m |
Cheapest ticket price $6 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 04:50 |
Last train 17:37 |
Train companies: Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastian trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastian from $6. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Renfe ALVIA
Renfe Intercity
Renfe (13)
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.

Passengers board the train most frequently from Madrid Chamartín, which is located around away from the city centre, and they get off the train at Donostia-San Sebastián, located away from the city centre.
popular train stations
Important Stations and Airports in Madrid and Donostia-San Sebastian
- 6:00 AM - 10:00 PM Monday - Sunday
- Free
- The car park is open 7 days a week, with special rates arranged by nearby hotels.
- Restaurant Casa Mingo
- Café de Oriente
- Noodles King
- Outside the main entrance.
- Ramps.
- €0.60
- Hotel Príncipe Pío
- Acta Madfor Hotel
- Hotel Exe Moncloa
- Located in the main hall
- Avis
- Europcar
- Located in the main hall
- Free
- Hall 1: main entrance, platforms for regional and Cercanías trains
- Hall 2: Metro connections
- Metro: Line 6, Line 10
- Bus: Several lines available
- Cercanías: Lines C1, C7, C10
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


