Train Madrid → San Sebastián
Schedule & travel time
No connections found.
Saving tip: Book via Burgos and save up to 20%!
Instead of Madrid → San Sebastián directly, book Madrid → Burgos+Burgos → San Sebastián separately.
Route overview
5h 10m
Fastest time
5h 30m
Avg. duration
458
Kilometers
4
Trains per day
By train from Madrid to San Sebastián
An important rail connection: The train connection from Madrid to San Sebastián is one of the important rail routes in Germany. On the ALVIA you reach your destination in just 5h 10m and can travel in comfort.
The route covers a distance of 458 kilometers and is served by about 4 trains every day. The regular service gives you plenty of options when planning your trip.
Trains travel via Burgos, Vitoria. These intermediate stops give you the option to transfer or break your journey if needed. The total distance is 458 kilometers.
Infrastructure: Konventionelle Strecke
Route highlights
- Kulinarische Hauptstadt Spaniens
- Baskische Küste
More route details
Available train types
This route is served by ALVIA.
Travel sustainably
Taking the train from Madrid to San Sebastián saves you about 73 kg of CO₂ per trip compared with driving. Versus flying you save as much as 112 kg of CO₂. Rail is the most sustainable way to cover this route.
Travel tips
- Book online: bahn.de shows all connections, fares, and BahnCard discounts in one place.
- Use a BahnCard: Benefit from discounts and exclusive Deutsche Bahn services.
Frequently asked questions
How long is the train journey from Madrid to San Sebastián?
The fastest connection from Madrid to San Sebastián takes 5h 10m. The average travel time is 5h 30m.
How many trains run daily from Madrid to San Sebastián?
About 4 trains run daily on the Madrid - San Sebastián route. Train types include ALVIA.
What is the route from Madrid to San Sebastián?
Trains travel via Burgos, Vitoria. The total distance is 458 km.
Preistrend
Rate this route
How was your experience on the Madrid → San Sebastián route?
Thanks for your rating!
Book Connections & Tickets
Booking takes place on our partner websites (Omio, FlixBus, Trainline).
Omio Comparison
Compare Connection — 800+ providers via Omio
* We receive a small commission for bookings through our links. This does not affect the price for you. Learn more
More connections
All connectionsSchedule data last updated: 20/05/2026 · Live data refreshed in real time
Notice: All information on this page (Travel times, Frequencies, Connections) is provided without guarantee and may change at any time. For current and binding information, please visit the official provider websites. This website is not affiliated with Deutsche Bahn AG or other railway companies.
Last update: April 2026