The cheapest and fastest trains from Madrid to Donostia-San Sebastián
Cheapest price
€48
Average price
€86
Fastest journey
5 h 15 m
Average duration
5 h 53 m
Trains per day
23
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 €86 if you buy it on the day, but the cheapest tickets can be found for only €48.
Of the 23 trains that leave Madrid for Donostia-San Sebastián on Sun, Dec 21, 4 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sun, Dec 21 the direct trains cover the 353 km distance in an average of 5 h 53 m but if you time it right, some trains will get you there in just 5 h 15 m .
On Sun, Dec 21 the slowest trains will take 6 h 31 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.
04087
18063
18061
04167
08109+
18061
04167
04087
08179+
04167
04161+
04167
08109+
18061Travel 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 €25. For those with little time consider booking a flight which can get you there in 1h 52m. The ticket price range depends on the travel mode: a train costs an average of €25, and a flight costs an average of €37.
Distance: 353 km
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€51 Average price Cheapest | €59 Average price | €265 Average price |
6h 11m Average total duration 5h 41m Onboard + 30m Additional time* | 8h 0m Average total duration 7h 30m Onboard + 30m Additional time* | 4h 52m Average total duration Fastest 1h 52m 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, Saturday, December 20. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
04087 | On time 6:20 AM Madrid Chamartín | 5h30 | 11:50 AM Donostia-San Sebastián | 0 transfersDirect | |
04187+ 18063 | On time 6:20 AM Madrid Chamartín | 13h08 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04087+ 18061 | On time 6:20 AM Madrid Chamartín | 9h26 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18061 | On time 6:20 AM Madrid Chamartín | 9h26 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18061 | On time 6:32 AM Madrid Chamartín | 9h14 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04071+ 18063 | On time 6:32 AM Madrid Chamartín | 12h56 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 6:45 AM Madrid Chamartín | 12h43 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18061 | On time 6:45 AM Madrid Chamartín | 9h01 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | On time 7:40 AM Madrid Chamartín | 11h48 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18061 | On time 7:40 AM Madrid Chamartín | 8h06 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | On time 8:25 AM Madrid Chamartín | 7h21 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18063 | On time 8:25 AM Madrid Chamartín | 11h03 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04167 | On time 8:56 AM Madrid Chamartín | 12h56 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18061 | On time 8:56 AM Madrid Chamartín | 6h50 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
05071+ 18063 | On time 8:56 AM Madrid Chamartín | 10h32 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
08109+ 04167 | On time 9:15 AM Madrid Chamartín | 12h37 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18061 | On time 9:15 AM Madrid Chamartín | 6h31 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 9:15 AM Madrid Chamartín | 10h13 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04121+ 18063 | On time 10:23 AM Madrid Chamartín | 9h05 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04167 | On time 10:23 AM Madrid Chamartín | 11h29 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
18063 | On time 11:25 AM Madrid Príncipe Pío | 8h03 | 7:28 PM Donostia-San Sebastián | 0 transfersDirect | |
04143+ 18063 | On time 12:40 PM Madrid Chamartín | 6h48 | 7:28 PM Donostia-San Sebastián | 1 transfer | |
04143 · 04167 | On time 12:40 PM Madrid Chamartín | 9h12 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
04167 | On time 4:37 PM Madrid Chamartín | 5h15 | 9: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.
Dec 20
Dec 21
Dec 22
Dec 23
Dec 24
Dec 25
Dec 26
Dec 27
Dec 28
Dec 29
Dec 30
Dec 31
Jan 01
Jan 02
Jan 03
Jan 04
Jan 05
Jan 06
Jan 07
Jan 08
Jan 09
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 41m. Cheap train tickets for this journey start at €25 if you book in advance.
There are 4 trains per day. The earliest train runs at 05:20, the last at 15:37. The fastest train covers the 353 km distance in 5h 0m.
Distance 353 km |
Average train duration 5h 41m |
Cheapest ticket price €25 |
Trains per day 4 |
Direct trains 4 |
Fastest train 5h 0m |
First train 05:20 |
Last train 15:37 |
Train companies: Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo from Madrid to Donostia-San Sebastián trainsRenfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, Ouigo trains will get you between Madrid and Donostia-San Sebastián from €25. 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: 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




