Spain has the second-largest high-speed rail network in the world, with over 3,200km (2000 miles) of high-speed railway lines. Our Spain Rail Map will show you where you can travel by train in Spain and across the border into France.

Renfe is the primary operator of trains in Spain. It runs the impressive AVE service, which connects Spain’s major cities at speeds of up to 310km/h (193 mph). Renfe also runs various other train services in Spain, such as regional trains, the Trenhotel service and suburban Cercanías services. Learn more about Trains in Spain.

Spain Train Map

The train map highlights high-speed routes on Spain’s rail network. AVE, Avant and Alvia trains all run on these high-speed lines. Since June 2021, low-cost Avlo trains also cover the high-speed route connecting Madrid, Barcelona and Figueres.

The first high-speed line opened in 1992, connecting Madrid, Seville and Cordoba. The network has expanded significantly since then. The busiest route is now the Barcelona-Madrid line, popular among tourists and locals. The recently completed Granada-Antequera line opens the popular Andalusian destination Granada to high-speed services from Madrid and Barcelona.

Work is ongoing on the Madrid-Galicia high-speed rail line, which will connect Madrid and Galicia via Olmedo, Zamora and Santiago de Compostela. The line will facilitate travel at speeds of up to 350km/h.

The map also shows high-speed connections across the French border. Services between Spain and France are run by Renfe-SNCF, a collaboration between the two countries' national train operators.

Popular routes in Spain

Check out some of the most popular train journeys in Spain according to our customers. When you buy tickets with Trainline, we connect directly to Renfe’s ticket inventory so your ticket will always be valid for travel.

RouteDistanceFastest journey
Barcelona to Madrid306 miles (506 km)2h 30m
Madrid to Barcelona306 miles (506 km)2h 30m
Barcelona to Valencia188 miles (303 km)2h 35m
Barcelona to Paris516 miles (831 km)6h 36m
Madrid to Valencia188 miles (303 km)1h 40m
Madrid to Seville242 miles (390 km)2h 21m
Madrid to Toledo37 miles (59 km)32m
Malaga to Madrid258 miles (416 km)2h 28m
Seville to Cordoba74 miles (119 km)41m
Barcelona to Seville516 miles (830 km)5h 24m

Get inspired

Planning a trip to Spain? You're in luck! Our travel hub for Spain has loads of great travel tips for exploring Spain by rail.

Train travel in Europe

Did you know Trainline sells tickets in 45 countries? We’ve partnered with the top rail carriers in Europe, including SNCF, Trenitalia and Deutsche Bahn, to make train travel in Europe stress-free. Check out our expert guides on how to see Europe out of a train window.

Frequently Asked Questions

What's on the map?

Our rail map highlights high-speed railway lines in Spain, including the recently completed Granada-Antequerra line. This will eventually allow for high-speed travel between Granada and Madrid.

Which train companies operate in Spain?

Renfe is the primary operator of train services in Spain. Cross-border trains into France are run by Renfe-SNCF, a collaboration between France and Spain's national train companies.

How large is Spain's high-speed railway network?

Spain boasts over 3,200km of high-speed railway lines, second only to China for nations with the largest high-speed railway networks.

Where can I learn more about trains in Spain?

Our Trains in Spain page is your one-stop-shop for learning about rail travel in Spain. While you're there, have a read of our Renfe page, which shows you inside Spanish trains and explains ticket types.

Europe’s leading train and coach app

We help customers across Europe make more than 172,000 smarter journeys every day.