The cheapest and fastest trains from Madrid to Donostia-San Sebastián
Cheapest price
€41
Average price
€77
Fastest journey
5 h 15 m
Average duration
5 h 59 m
Trains per day
31
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 €77 if you buy it on the day, but the cheapest tickets can be found for only €41.
Of the 31 trains that leave Madrid for Donostia-San Sebastián on Sat, Jun 20, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Jun 20 the direct trains cover the 353 km distance in an average of 5 h 59 m but if you time it right, some trains will get you there in just 5 h 15 m .
On Sat, Jun 20 the slowest trains will take 6 h 48 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.
041675:37 PM5h15Madrid Chamartín10:52 PMDonostia-San Sebastián€411One-way0 transfers
1806312:25 PM8h03Madrid Príncipe Pío8:28 PMDonostia-San Sebastián€491One-way0 transfers
180619:06 AM7h40Madrid Príncipe Pío4:46 PMDonostia-San Sebastián€491One-way0 transfers
04687+
180638:40 AM11h48Madrid Chamartín8:28 PMDonostia-San Sebastián€621One-way1 transfer
04687+
180618:40 AM8h06Madrid Chamartín4:46 PMDonostia-San Sebastián€621One-way1 transfer
041675:37 PM5h15Madrid Chamartín10:52 PMDonostia-San Sebastián€411One-way0 transfers
040877:20 AM5h30Madrid Chamartín12:50 PMDonostia-San Sebastián€681One-way0 transfers
08179+
041675:00 PM5h52Madrid Chamartín10:52 PMDonostia-San Sebastián€801One-way1 transfer
08109+
1806110:15 AM6h31Madrid Chamartín4:46 PMDonostia-San Sebastián€681One-way1 transfer
04143+
180631:40 PM6h48Madrid Chamartín8:28 PMDonostia-San Sebastián€961One-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 tomorrow, Saturday, June 20. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04087 | On time 7:20 AM Madrid Chamartín | 5h30 | 12:50 PM Donostia-San Sebastián | 0 transfersDirect | |
04087+ 18061 | On time 7:20 AM Madrid Chamartín | 9h26 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 7:20 AM Madrid Chamartín | 9h26 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18063 | On time 7:20 AM Madrid Chamartín | 13h08 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18061 | On time 7:32 AM Madrid Chamartín | 9h14 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18063 | On time 7:32 AM Madrid Chamartín | 12h56 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | 7:45 AM Madrid Chamartín | 12h43 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 7:45 AM Madrid Chamartín | 9h01 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | On time 8:40 AM Madrid Chamartín | 11h48 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 8:40 AM Madrid Chamartín | 8h06 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
18061 | On time 9:06 AM Madrid Príncipe Pío | 7h40 | 4:46 PM Donostia-San Sebastián | 0 transfersDirect | |
10491+ 18061 | On time 9:15 AM Madrid Chamartín | 7h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 7h21 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18063 | Delayed 7:25 AM 9:25 AMMadrid Chamartín | 11h03 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 6h50 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04167 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 12h56 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | Delayed 7:56 AM 9:56 AMMadrid Chamartín | 10h32 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04167 | On time 10:15 AM Madrid Chamartín | 12h37 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 10:15 AM Madrid Chamartín | 10h13 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | On time 10:15 AM Madrid Chamartín | 6h31 | 4:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | On time 11:23 AM Madrid Chamartín | 11h29 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | On time 11:23 AM Madrid Chamartín | 9h05 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | On time 12:05 PM Madrid Chamartín | 10h47 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | On time 12:05 PM Madrid Chamartín | 8h23 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
18063 | 12:25 PM Madrid Príncipe Pío | 8h03 | 8:28 PM Donostia-San Sebastián | 0 transfersDirect | |
04143 · 04167 | 1:40 PM Madrid Chamartín | 9h12 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
04143+ 18063 | 1:40 PM Madrid Chamartín | 6h48 | 8:28 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | On time 2:23 PM Madrid Chamartín | 8h29 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08359+ 04167 | On time 3:40 PM Madrid Chamartín | 7h12 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
08179+ 04167 | On time 5:00 PM Madrid Chamartín | 5h52 | 10:52 PM Donostia-San Sebastián | 1 transfer | |
04167 | 5:37 PM Madrid Chamartín | 5h15 | 10:52 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.
Jun 20
Jun 21
Jun 22
Jun 23
Jun 24
Jun 25
Jun 26
Jun 27
Jun 28
Jun 29
Jun 30
Jul 01
Jul 02
Jul 03
Jul 04
Jul 05
Jul 06
Jul 07
Jul 08
Jul 09
Jul 10
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
- 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 Sebastián
Here are some other resources that might have the information you need




