Madrid to San Sebastián by train
Take the direct Intercity. It leaves at 14:50 and takes 5h 04m.
6 connections from Madrid to San Sebastián on Tuesday, 1 December 2026, 3 of them direct. The first leaves at 06:55 and the last at 19:54. 553 km by track, 61 km of it in tunnels.
On a rail pass you need a seat reservation for this train, from €8.6 in 2nd class. Reserve at Rail Europe
These are the times for the 14:50. It also leaves at 06:55 or 17:48.
These are the times for the 10:15.
These are the times for the 11:23.
Every connection, day by day
Open a connection for platforms, stops, facilities and booking. Connections with a long wait are hidden until you ask for them.
06:55 to 12:325h 37mDirect, Renfe
6 stops
- 07:22 Segovia Guiomar
- 07:59 Valladolid
- 08:48 Burgos Rosa de Lima
- 09:57 Miranda de Ebro
- 10:38 Vitoria/Gasteiz
- 11:27 Zumarraga
Tickets from Renfe
10:15 to 16:436h 28mChange at Valladolid, 30m
1 stops
- 10:42 Segovia Guiomar
18 stops
- 12:14 Venta de Banos
- 12:25 Palencia
- 13:17 Burgos Rosa de Lima
- 13:46 Briviesca
- 14:14 Miranda de Ebro
- 14:37 Vitoria/Gasteiz
- 14:46 Alegria de Alava
- 14:53 Salvatierra de Alava
- 14:58 Araya
- 15:07 Alsasua
- 15:28 Legazpia
- 15:33 Zumarraga
- 15:48 Beasain
- 15:51 Ordizia
- 16:07 Tolosa
- 16:13 Billabona Zizurkil
- 16:19 Andoain Centro
- 16:29 Hernani Centro
Tickets from Renfe
11:23 to 18:507h 27m2 changes at Palencia and Vitoria/Gasteiz
2 stops
- 11:49 Segovia Guiomar
- 12:23 Valladolid
2 stops
- 14:53 Burgos Rosa de Lima
- 15:55 Miranda de Ebro
2 stops
- 17:23 Alsasua
- 17:53 Zumarraga
Tickets from Renfe
14:50 to 19:545h 04mDirect, Renfe
6 stops
- 15:48 Valladolid
- 16:32 Burgos Rosa de Lima
- 17:31 Miranda de Ebro
- 17:57 Vitoria/Gasteiz
- 18:45 Zumarraga
- 19:21 Tolosa
Tickets from Renfe
17:48 to 23:045h 16mDirect, Renfe
7 stops
- 18:14 Segovia Guiomar
- 18:52 Valladolid
- 19:42 Burgos Rosa de Lima
- 20:44 Miranda de Ebro
- 21:13 Vitoria/Gasteiz
- 22:00 Zumarraga
- 22:32 Tolosa
Tickets from Renfe
19:54 to 10:48+114h 54m2 changes at Burgos Rosa de Lima and Vitoria/Gasteiz, overnight wait at Vitoria/Gasteiz
1 stops
- 20:48 Valladolid
2 stops
- 22:10 Briviesca
- 22:38 Miranda de Ebro
12 stops
- 08:52 Alegria de Alava
- 08:59 Salvatierra de Alava
- 09:04 Araya
- 09:13 Alsasua
- 09:34 Legazpia
- 09:38 Zumarraga
- 09:52 Beasain
- 09:55 Ordizia
- 10:12 Tolosa
- 10:19 Billabona Zizurkil
- 10:24 Andoain Centro
- 10:34 Hernani Centro
Tickets from Renfe
The line
- By track
- 553 km
- In tunnels
- 61 km · 11%
- Long bridges
- 7
Tunnels over 1 km
9, 58.4 km in all, the longest 28.7 km. In order:
- Túneles del Cerro de San Pedro8.8
- Túnel ferroviario de Guadarrama28.7
- Túnel de la Puentecilla1.8
- Túnel de Tabladillo2.5
- Túnel de Peña Rayada2.0
- Madril-Hendaia trenbidea10.3
And 3 more with no name on the map, 4.2 km.
Bridges
7, 6.6 km in all, the longest 1.8 km. In order:
- Viaducto Arroyo del Valle1.8
And 6 more with no name on the map, 4.7 km.
For the fastest connection. Lengths in km.
On board
What each train on this trip lists in the timetable.
| Train | Wheelchair | Assistance |
|---|---|---|
| Alvia3 trains, such as Madrid-Chamartin to San Sebastián | ||
| Train2 trains, such as Valladolid to San Sebastián | ||
| Intercity2 trains, such as Madrid-Chamartin to San Sebastián | Some | |
| AvantMadrid-Chamartin to Valladolid | ||
| AVLOMadrid-Chamartin to Palencia | ||
| AVEMadrid-Chamartin to Burgos Rosa de Lima | ||
| RegionalVitoria/Gasteiz to San Sebastián |
“Some” means the timetable lists it for some trains of that kind, not all of them.
Questions about this trip
- How long is the train from Madrid to San Sebastián?
- The fastest connection takes 5h 04m. Across the day, connections take between 5h 04m and 14h 54m, depending on the train and the connections.
- Is there a direct train from Madrid to San Sebastián?
- Yes. 3 of the 6 connections on Tuesday, 1 December 2026 are direct, with no change of train.
- What time is the first and last train?
- On Tuesday, 1 December 2026 the first train leaves Madrid at 06:55 and the last at 19:54.
- Do I need a seat reservation?
- 6 of the 6 connections include a train where a reservation is required, from €8.6. Interrail and Eurail pass holders also need one on those trains.
- How far is it?
- 553 km along the track the fastest connection takes, 61 km of it in tunnels.
Times are for Tuesday, 1 December 2026. Timetables change, so check with the train operator before you travel.
Reviews
Thanks for your review. We read every one before it goes up.
Your review couldn't be sent. Please check the form and try again.
No reviews of this trip yet. Been? Yours could be the first.
Write a review
Sources
- Train times, routes, platforms and services: the Interrail timetable, checked on 27 November 2026, with dates up to 12 December 2026.
- The track on the map, its length, tunnels, bridges and water, station facilities, and lines and walks between stations: © OpenStreetMap contributors, available under the Open Database Licence. It may be incomplete; walking times are estimates.