The cheapest and fastest trains from Madrid to Donostia-San Sebastian
Cheapest price
$31
Average price
$86
Fastest journey
5 h
Average duration
5 h 23 m
Trains per day
49
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 traveling at rush hour.
The average ticket from Madrid to Donostia-San Sebastian will cost around $86 if you buy it on the day, but the cheapest tickets can be found for only $31.
Of the 49 trains that leave Madrid for Donostia-San Sebastian on Thu, Jan 15, 5 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Thu, Jan 15 the 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 .
On Thu, Jan 15 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.
04087
18061
18063
04261 · 04087
04687+
18063
04257
04167
05817+
04257
04087
04261 · 04087Travel Information
Compare train, bus, 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 €5. 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 €5, and a flight costs an average of €65.
Distance: 218 miles (352 km)
Compare train with
Most popular Train | Bus | Flight |
|---|---|---|
€57 Average price Cheapest | €80 Average price | €289 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, January 14. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
08169+ 04167 | On time 3:15 PM Madrid Chamartín | 6h37 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
04161+ 04167 | On time 3:37 PM Madrid Chamartín | 6h15 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08179+ 04167 | On time 4:00 PM Madrid Chamartín | 5h52 | 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 | |
| Thursday, January 15 | |||||
08069+ 18061 | On time 5:36 AM Madrid Chamartín | 10h10 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
08069+ 18063 | On time 5:36 AM Madrid Chamartín | 13h47 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
08069+ 04087 | On time 5:36 AM Madrid Chamartín | 6h14 | 11:50 AM Donostia-San Sebastián | 1 transfer | |
04261 · 04087 | On time 6:04 AM Madrid Chamartín | 5h46 | 11:50 AM Donostia-San Sebastián | 1 transfer | |
04261+ 18061 | On time 6:04 AM Madrid Chamartín | 9h42 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04261+ 18063 | On time 6:04 AM Madrid Chamartín | 13h19 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
04187+ 18063 | On time 6:20 AM Madrid Chamartín | 13h03 | 7:23 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 | |
04087 | On time 6:20 AM Madrid Chamartín | 5h30 | 11:50 AM Donostia-San Sebastián | 0 transfersDirect | |
04187+ 18061 | On time 6:20 AM Madrid Chamartín | 9h26 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04073+ 18063 | On time 6:45 AM Madrid Chamartín | 12h38 | 7:23 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 | |
08079+ 18061 | On time 6:51 AM Madrid Chamartín | 8h55 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04687+ 18063 | On time 7:40 AM Madrid Chamartín | 11h43 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
04687 · 04257 | On time 7:40 AM Madrid Chamartín | 11h06 | 6:46 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 | |
18061 | On time 8:06 AM Madrid Príncipe Pío | 7h40 | 3:46 PM Donostia-San Sebastián | 0 transfersDirect | |
04091+ 18061 | On time 8:15 AM Madrid Chamartín | 7h31 | 3:46 PM Donostia-San Sebastián | 1 transfer | |
04091+ 18063 | On time 8:15 AM Madrid Chamartín | 11h08 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
05763+ 18061 | Delayed 8:25 AM 8:25 AMMadrid Chamartín | 7h21 | 3:46 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 | 10h27 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
05071+ 04257 | On time 8:56 AM Madrid Chamartín | 9h50 | 6:46 PM Donostia-San Sebastián | 1 transfer | |
08109+ 18063 | On time 9:15 AM Madrid Chamartín | 10h08 | 7:23 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+ 04257 | On time 9:15 AM Madrid Chamartín | 9h31 | 6:46 PM Donostia-San Sebastián | 1 transfer | |
04121+ 04257 | On time 10:23 AM Madrid Chamartín | 8h23 | 6:46 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 | |
04121+ 18063 | On time 10:23 AM Madrid Chamartín | 9h00 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04167 | On time 11:05 AM Madrid Chamartín | 10h47 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08129+ 04257 | On time 11:05 AM Madrid Chamartín | 7h41 | 6:46 PM Donostia-San Sebastián | 1 transfer | |
08129+ 18063 | On time 11:05 AM Madrid Chamartín | 8h18 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
18063 | 11:25 AM Madrid Príncipe Pío | 7h58 | 7:23 PM Donostia-San Sebastián | 0 transfersDirect | |
05101+ 04257 | On time 12:03 PM Madrid Chamartín | 6h43 | 6:46 PM Donostia-San Sebastián | 1 transfer | |
05101+ 18063 | 12:03 PM Madrid Chamartín | 7h20 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
34101+ 18063 | On time 12:03 PM Madrid Chamartín | 7h20 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
04143+ 18063 | On time 12:40 PM Madrid Chamartín | 6h43 | 7:23 PM Donostia-San Sebastián | 1 transfer | |
04143+ 04257 | On time 12:40 PM Madrid Chamartín | 6h06 | 6:46 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 | |
05817+ 04257 | On time 1:23 PM Madrid Chamartín | 5h23 | 6:46 PM Donostia-San Sebastián | 1 transfer | |
05817+ 04167 | On time 1:23 PM Madrid Chamartín | 8h29 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
04257+ 04167 | On time 1:46 PM Madrid Chamartín | 8h06 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
04257 | On time 1:46 PM Madrid Chamartín | 5h00 | 6:46 PM Donostia-San Sebastián | 0 transfersDirect | |
05721+ 04167 | On time 1:59 PM Madrid Chamartín | 7h53 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
08359+ 04167 | On time 2:40 PM Madrid Chamartín | 7h12 | 9:52 PM Donostia-San Sebastián | 1 transfer | |
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, 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.
Jan 14
Jan 15
Jan 16
Jan 17
Jan 18
Jan 19
Jan 20
Jan 21
Jan 22
Jan 23
Jan 24
Jan 25
Jan 26
Jan 27
Jan 28
Jan 29
Jan 30
Jan 31
Feb 01
Feb 02
Feb 03
Why should you book Madrid to Donostia-San Sebastian trains with Omio?
Renfe ALVIA as well as Renfe Intercity, Renfe (13) and Renfe Viajeros offer trains services from Madrid to Donostia-San Sebastian. Omio is an official ticket reseller for all your travel options from Madrid to Donostia-San Sebastian.
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 (13) and Renfe Viajeros 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.
Why book with Omio over Trainline and Rail Europe?
- Multiple travel company options: While Renfe ALVIA tickets can be bought on Renfe ALVIA's website or third party sellers, Omio allows you to compare with the likes of Renfe Intercity, Renfe (13) and Renfe Viajeros to help you choose the right option for your journey from Madrid to Donostia-San Sebastian.
- Multiple modes of transport: Omio allows you to compare travel options including train, bus and flight to find the ideal travel option 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
Train Ticket Prices
- Budget Options: Train tickets from Madrid to Donostia-San Sebastian start from as low as $6 (€5) if booked well in advance.
- Standard Fares: Typically, trains cost $71 (€57) depending on the train type and class.
Journey Duration & Frequency
- On average there are 4 daily trains from Madrid to Donostia-San Sebastian with 4 direct service.
- The fastest trains can take as little as 5h 0m but the average duration is 5h 39m
Train Operators
- Travel from Madrid to Donostia-San Sebastian with Renfe ALVIA, Renfe Intercity, Renfe (13), Renfe Viajeros, and Ouigo
- The most booked train company for this route on Omio is Renfe ALVIA.
Stations & Schedule
- Most trains depart from Madrid Chamartín and arrive in Donostia-San Sebastián
- First train typically departs at 04:50 AM and the last at 05:37 PM
Distance 218 miles (352 km) |
Average train duration 5h 39m |
Cheapest ticket price $6 (€5) |
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 (€5). 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 Sebastian
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
Popular train stations from Madrid to 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




