Shortest travel time:
5 h 6 m
Longest travel time:
6 h 43 m
Lowest train ticket cost:
Avg. weekly departures:
Earliest departure:
Latest departure:
The lively capital of Spain boasts quite a few busy train hubs. Check out everything you need to know about railway stations in Madrid.
Show more
Madrid train stations
Pta. Atocha - Almudena Grandes
Plaza Emperador Carlos V, 28045, Madrid, Spain
Agustín de Foxá, 40, Madrid, Spain
Madrid - Atocha Cercanias
28045 , Madrid, Spain
Principe Pio
Paseo del Rey, 1092, Madrid, Spain
Madrid Estacion Sur
Calle Méndez Álvaro 84, 28045, Madrid, Spain
462 km
San Sebastian
San Sebastian train station
San Sebastian railway station
De Francia Ibilbidea, 22, 20012 , Donostia, Spain

Madrid to San Sebastian Train Information

Eager to explore the northern coast of sun-kissed Spain? Then hop on the modern train from Madrid to San Sebastian run by Renfe and enjoy the fast and safe connection between these two fantastic resort towns. All trains operating on this railway line offer excellent onboard amenities so that you will travel all the way in high-class comfort. What is more, the route of Madrid to San Sebastian train also passes through the scenic city of Zaragoza, so you have a great chance to appreciate the allure of picturesque Spain in one trip! With the help of Rail Ninja, you can easily plan your upcoming adventure: check out Madrid to San Sebastian train schedule, choose the preferred departure time, and book your tickets in a few clicks!

Is there a high-speed train from Madrid to San Sebastian?

Yes, Alvia high-speed trains depart from Puerta de Atocha in Madrid and arrive at San Sebastian once a week without any transfers along the way and the travel time of about 5 hours.

How do I get from Madrid to San Sebastian by train?

It is very easy to get from Madrid to San Sebastian by railway. Besides, it is one of the most comfortable ways to travel. Just check the detailed timetable, book your tickets, and board your Alvia high-speed train which will take you to San Sebastian in just 5 hours in full comfort.

Madrid to San Sebastian Train Timetable

Train type
Fastest trip
Longest trip
Departures per week
Morning trains
5 hrs 28 min
6 hrs 24 min
Afternoon trains
5 hrs 6 min
6 hrs 43 min

Trains on Madrid - San Sebastian Route

Brand name
Train type
Travel time
Price from
Departures per week
High-speed train
5 hrs 9 min
Train with 1 change
6 hrs 3 min
Train with 1 change
6 hrs 20 min
Intercity train
5 hrs 6 min

Madrid to San Sebastian Train Review & Rating

Always wanted to go to Northern Spain, this rail ride up north was very scenic.

Celesta K. about traveling from Madrid to San Sebastian