I've bought combined train tickets here twice recently, and both times everything was perfect and about ten euros cheaper than on other similar websites. No problems at all, and they even gave me free tickets to the sobao museum in my hometown, haha. I'll definitely be back. Thanks for your service and always great window seats. Highly recommended!
Ver en Google →
Madrid-San Sebastián trains: schedules, prices and offers
Train Madrid-San Sebastián in 3h 30min from €32. 8 daily indicative services, prices and packages. Check schedules and book your trip.
Check prices for your dates
🔒 No hidden fees · Best price guaranteed
Add a hotel?
Combine your train journey with accommodation and save.
Hotel check-out date
Select hotel check-in and check-out dates.
Select rooms and passengers
Select passengers
Quick summary of the route Madrid-San Sebastián
| Distance | 450 km |
| Minimum duration | 3h 30min |
| Maximum duration | 4h 07min |
| Daily frequency | 8 trains |
| Minimum price | €32 |
| Maximum price | €81 |
| Average price | €56 |
| Cheapest strip | 2:00 p.m.-4:00 p.m. Tue.-Thu. |
| Optimal advance notice | 21 days (average savings 35%) |
| Origin station | Madrid Chamartín |
| Destination station | Donostia-San Sebastián |
Train schedules Madrid-San Sebastián
The Madrid-San Sebastián train schedules are spread throughout the day. The approximate duration ranges between 3h 30min and 4h 07min depending on service and stops. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.
| Exit | Arrival | Duration | Guy | Stops |
|---|---|---|---|---|
| 06:30 | 10:00 | 3h 30min | Straight | |
| 08:30 | 12:00 | 3h 30min | Straight | |
| 11:00 | 14:30 | 3h 30min | Straight | |
| 14:00 | 17:30 | 3h 30min | Straight | |
| 17:00 | 20:30 | 3h 30min | Straight | |
| 20:00 | 23:30 | 3h 30min | Straight |
Indicative schedules. Check actual availability for your date.
Train prices Madrid-San Sebastián
| Type/Class | From | Average price | Until |
|---|---|---|---|
| Alvia | €32 | €56 | €81 |
How long does the Madrid-San Sebastián train take?
The shortest travel time on Madrid-San Sebastián is 3h 30min. Services with more stops can get closer to 4h 07min. To choose the fastest option, consult the real-time departure finder. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.
Stations of the route Madrid-San Sebastián

Regular departure of services towards San Sebastián.

Reference main station at San Sebastián for this relationship.
Service on board the train Madrid-San Sebastián
Depending on the type of train (Alvia), the trip may include Wi-Fi, plugs and a cafeteria as part of the services. Exact availability changes by model and class, so check before confirming your reservation. The data is indicative and may vary depending on date, advance notice and commercial offer. Always check the search engine for your specific schedule.
| Service | Alvia |
|---|---|
| Wi-Fi | According to service |
| Plugs | ✓ |
| Luggage space | Standard |
| Cafeteria/vending | According to composition |
| Change/cancellation | According to rate |
Tips to get the best price on the train Madrid-San Sebastián
Train FAQ Madrid-San Sebastián
How much does the Madrid-San Sebastián train cost?
Rates usually range between €32 and €81 depending on advance notice and occupancy, with an approximate average of around €56. By booking 21 days in advance you usually save an average of approximately 35% compared to last minute purchases.
How long does the Madrid-San Sebastián train take?
The fastest approximate route takes about 3h 30min between Madrid Chamartín and Donostia-San Sebastián. Always consult the search engine for your specific output.
What station does the train between Madrid and San Sebastián depart from?
In this relationship, the usual services link Madrid Chamartín with Donostia-San Sebastián. Check the details of your train in the search engine.
How many trains are there per day on the Madrid-San Sebastián route?
The indicative offer is around 8 daily services, spread throughout the day; The exact number may vary depending on the commercial calendar.
What is the best time to travel cheap in Madrid-San Sebastián?
The period between 2:00 p.m. and 4:00 p.m. between Tuesday and Thursday is usually convenient; Early mornings and weekends tend to be more expensive.
Can the Madrid-San Sebastián train be combined with a hotel?
Yes. Ofertren publishes train+hotel packages for Madrid-San Sebastián that combine place and accommodation; Check availability and prices for your date.
Does the Madrid-San Sebastián train have intermediate stops?
The Alvia connect Madrid with Gipuzkoa; some services stop in Valladolid or Vitoria. Check the details of your train in the search engine in case there are specific exceptions.
Lo que dicen nuestros usuarios en Google
Ofertren's rating on Google Maps is 4.7/5 - Based on 95 real reviews published.
The shopping experience was fantastic. Mario Vilar understood our needs perfectly and was incredibly dedicated to finding the best solution for us. We are very grateful for his assistance. 100% recommended!
Ver en Google →It was a chair purchase, and I immediately received the vouchers for the trip. And above all, it was the best price I could find.
Ver en Google →Las reseñas proceden de Google Maps.
Last updated: 14/04/2026