The cheapest and fastest trains from Madrid to Donostia-San Sebastián
Cheapest price
€36
Average price
€67
Fastest journey
5 h 32 m
Average duration
5 h 44 m
Trains per day
50
Distance
353 km
The best way to find a cheap train ticket from Madrid to Donostia-San Sebastián 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 Sebastián will cost around €67 if you buy it on the day, but the cheapest tickets can be found for only €36.
Of the 50 trains that leave Madrid for Donostia-San Sebastián on Wed, Aug 05, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Wed, Aug 05 the direct trains cover the 353 km distance in an average of 5 h 44 m but if you time it right, some trains will get you there in just 5 h 32 m .
On Wed, Aug 05 the slowest trains will take 5 h 59 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.
04687 · 042578:33 AM11h42Madrid Chamartín8:15 PMDonostia-San Sebastián€361One-way1 transfer
05763+
042579:18 AM10h57Madrid Chamartín8:15 PMDonostia-San Sebastián€391One-way1 transfer
040876:48 AM6h02Madrid Chamartín12:50 PMDonostia-San Sebastián€411One-way0 transfers
041675:41 PM5h39Madrid Chamartín11:20 PMDonostia-San Sebastián€411One-way0 transfers
04187+
042576:48 AM13h27Madrid Chamartín8:15 PMDonostia-San Sebastián€471One-way1 transfer
042572:43 PM5h32Madrid Chamartín8:15 PMDonostia-San Sebastián€581One-way0 transfers
04257+
180632:43 PM5h32Madrid Chamartín8:15 PMDonostia-San Sebastián€751One-way1 transfer
041675:41 PM5h39Madrid Chamartín11:20 PMDonostia-San Sebastián€411One-way0 transfers
04179+
041675:23 PM5h57Madrid Chamartín11:20 PMDonostia-San Sebastián€601One-way1 transfer
05817+
042572:16 PM5h59Madrid Chamartín8:15 PMDonostia-San Sebastián€611One-way1 transfer
Travel Information
Compare train, bus, and flight for Madrid to Donostia-San Sebastián
Omio recommends booking the train as it is the most popular option from Madrid to Donostia-San Sebastián 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 5m. The ticket price range depends on the travel mode: a train costs an average of €17, and a flight costs an average of €59.
Distance: 353 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€41 Average price Cheapest | €51 Average price | €276 Average price |
5h 40m Average total duration 5h 10m Onboard + 30m Additional time* | 8h 18m Average total duration 7h 48m Onboard + 30m Additional time* | 6h 5m Average total duration Fastest 3h 5m Onboard + 3h 0m Additional time* |
![]() Most popular train company | ![]() Most popular bus company | ![]() Most popular airline |
Direct Options | Direct Options | Direct Options |
Live departures
Madrid to Donostia-San Sebastián train times
The table below shows live departures for Madrid to Donostia-San Sebastián trains for today, Tuesday, August 4. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04073+ 04257 | On time 6:41 AM Madrid Chamartín | 13h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 6:41 AM Madrid Chamartín | 13h34 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 6:41 AM Madrid Chamartín | 10h05 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04087 | 6:48 AM Madrid Chamartín | 6h02 | 12:50 PM Donostia-San Sebastián | 0 transfersDirect | |
04087+ 18061 | On time 6:48 AM Madrid Chamartín | 9h58 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04187+ 04257 | On time 6:48 AM Madrid Chamartín | 13h27 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 6:48 AM Madrid Chamartín | 9h58 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18063 | On time 7:44 AM Madrid Chamartín | 12h31 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08079+ 04257 | On time 7:44 AM Madrid Chamartín | 12h31 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08079+ 18061 | On time 7:44 AM Madrid Chamartín | 9h02 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 8:33 AM Madrid Chamartín | 8h13 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 8:33 AM Madrid Chamartín | 8h13 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687 · 04257 | On time 8:33 AM Madrid Chamartín | 11h42 | 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+ 18063 | On time 9:08 AM Madrid Chamartín | 11h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04091+ 04257 | 9:08 AM Madrid Chamartín | 11h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04091+ 18061 | 9:08 AM Madrid Chamartín | 7h38 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | Delayed 7:18 AM 9:18 AMMadrid Chamartín | 7h28 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 04257 | Delayed 7:18 AM 9:18 AMMadrid Chamartín | 10h57 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | Delayed 7:18 AM 9:18 AMMadrid Chamartín | 7h28 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | Delayed 7:49 AM 9:49 AMMadrid Chamartín | 10h26 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04167 | Delayed 7:49 AM 9:49 AMMadrid Chamartín | 13h31 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | Delayed 7:49 AM 9:49 AMMadrid Chamartín | 6h57 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 10:08 AM Madrid Chamartín | 10h07 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04167 | 10:08 AM Madrid Chamartín | 13h12 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | 10:08 AM Madrid Chamartín | 6h38 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | On time 11:16 AM Madrid Chamartín | 8h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04257 | On time 11:16 AM Madrid Chamartín | 8h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | On time 11:16 AM Madrid Chamartín | 12h04 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | On time 11:58 AM Madrid Chamartín | 8h17 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04257 | 11:58 AM Madrid Chamartín | 8h17 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | 11:58 AM Madrid Chamartín | 11h22 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
18063 | On time 12:25 PM Madrid Príncipe Pío | 7h50 | 8:15 PM Donostia-San Sebastián | 0 transfersDirect | |
04149+ 18063 | On time 1:46 PM Madrid Chamartín | 6h29 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
34101+ 18063 | On time 1:46 PM Madrid Chamartín | 6h29 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
34101+ 04167 | 1:46 PM Madrid Chamartín | 9h34 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | On time 2:16 PM Madrid Chamartín | 9h04 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04257 | On time 2:16 PM Madrid Chamartín | 5h59 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04257 | 2:43 PM Madrid Chamartín | 5h32 | 8:15 PM Donostia-San Sebastián | 0 transfersDirect | |
04257+ 04167 | On time 2:43 PM Madrid Chamartín | 8h37 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04257+ 04167 | On time 2:43 PM Madrid Chamartín | 8h37 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04257+ 18063 | On time 2:43 PM Madrid Chamartín | 5h32 | 8:15 PM Donostia-San Sebastián | 1 transfer | |
04151+ 04167 | On time 2:52 PM Madrid Chamartín | 8h28 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08359+ 04167 | 3:33 PM Madrid Chamartín | 7h47 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08169+ 04167 | 4:08 PM Madrid Chamartín | 7h12 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04161+ 04167 | On time 4:30 PM Madrid Chamartín | 6h50 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
08179+ 04167 | 4:53 PM Madrid Chamartín | 6h27 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04179+ 04167 | On time 5:23 PM Madrid Chamartín | 5h57 | 11:20 PM Donostia-San Sebastián | 1 transfer | |
04167 | 5:41 PM Madrid Chamartín | 5h39 | 11:20 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 Sebastián 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.
Aug 04
Aug 05
Aug 06
Aug 07
Aug 08
Aug 09
Aug 10
Aug 11
Aug 12
Aug 13
Aug 14
Aug 15
Aug 16
Aug 17
Aug 18
Aug 19
Aug 20
Aug 21
Aug 22
Aug 23
Aug 24
Why should you book Madrid to Donostia-San Sebastián 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 Sebastián.
- 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 Sebastián.
Journey information
Overview: Train from Madrid to Donostia-San Sebastián
Trains from Madrid to Donostia-San Sebastián run on average 4 times per day, taking around 5h 10m. 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 05:20, the last at 16:37. The fastest train covers the 353 km distance in 5h 0m.
Distance 353 km |
Average train duration 5h 10m |
Cheapest ticket price €17 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 5:20 AM |
Last train 4:37 PM |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Sat |
Train companies: Renfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastián trainsRenfe ALVIA, Renfe INTERCITY, Renfe MD, Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastián 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
FAQs: Trains from Madrid to Donostia-San Sebastián
Find answers to the most common questions about traveling from Madrid to Donostia-San Sebastián 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 Sebastián, this guide helps you travel smarter and with confidence.

popular train stations
Popular train stations from Madrid to Donostia-San Sebastián
Most Madrid to Donostia-San Sebastián trains use the Madrid Chamartín to Donostia-San Sebastián station pair. Use this guide to compare Madrid and Donostia-San Sebastián train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
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 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 Sebastián
Here are some other resources that might have the information you need



