The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price
£43
Average price
£64
Fastest journey
5 h
Average duration
5 h 23 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 £64 if you buy it on the day, but you can find cheap train tickets today for only £43.
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 23 m but if you time it right, some trains will get you there in just 5 h .
The slowest trains will take 5 h 46 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.
0416717:375h15Madrid Chamartín22:52Donostia-San Sebastián£431One-way0 changes
180619:067h40Madrid Príncipe Pío16:46Donostia-San Sebastián£451One-way0 changes
1806312:257h58Madrid Príncipe Pío20:23Donostia-San Sebastián£451One-way0 changes
05817+
0416714:238h29Madrid Chamartín22:52Donostia-San Sebastián£451One-way1 change
04687+
180638:4011h43Madrid Chamartín20:23Donostia-San Sebastián£521One-way1 change
0425714:465h00Madrid Chamartín19:46Donostia-San Sebastián£581One-way0 changes
0416717:375h15Madrid Chamartín22:52Donostia-San Sebastián£431One-way0 changes
05817+
0425714:235h23Madrid Chamartín19:46Donostia-San Sebastián£561One-way1 change
040877:205h30Madrid Chamartín12:50Donostia-San Sebastián£621One-way0 changes
04261 · 040877:045h46Madrid Chamartín12:50Donostia-San Sebastián£751One-way1 change
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 £17. 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 £17, and a flight costs an average of £40.
Distance: 352 km
Compare train with
Most popular Train | Coach | Flight |
|---|---|---|
£42 Average Price Cheapest | £60 Average Price | £268 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 today, Sunday 24 May. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
![]() | 5:20 Madrid | 5h30 | 10:50 Donostia-San Sebastian | 0 changesdirect | |
![]() | 6:20 Madrid | 5h50 | 12:10 Donostia-San Sebastian | 0 changesdirect | |
![]() | 10:25 Madrid | 7h58 | 18:23 Donostia-San Sebastian | 0 changesdirect | |
![]() | 11:25 Madrid | 7h58 | 19:23 Donostia-San Sebastian | 0 changesdirect | |
![]() | 13:46 Madrid | 5h00 | 18:46 Donostia-San Sebastian | 0 changesdirect | |
![]() | 15:37 Madrid | 5h15 | 20:52 Donostia-San Sebastian | 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.
24 May
25 May
26 May
27 May
28 May
29 May
30 May
31 May
01 Jun
02 Jun
03 Jun
04 Jun
05 Jun
06 Jun
07 Jun
08 Jun
09 Jun
10 Jun
11 Jun
12 Jun
13 Jun
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 £17 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 £17 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 4:45 |
Last train 17:37 |
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 £17. 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
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 miles 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: 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
- 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
More options for your journey from Madrid to Donostia-San Sebastian
Here are some other resources that might have the information you need


+
