Trains in Spain · glosx.app

How the Spanish rail network works, the main train types and 20 popular routes with typical journey times, each with its own route guide.

How rail travel works in Spain

Renfe is the national operator and runs the AVE high-speed trains, the cheaper Avlo, and the Alvia, Euromed, Intercity and Media Distancia services. Ouigo and Iryo compete on the busiest high-speed lines, including Madrid–Barcelona, Madrid–Valencia and Madrid–Andalusia.

High-speed and long-distance tickets are for a specific train and seat, so you book a departure, not just a route. Fares usually rise as the date gets closer.

Madrid and Barcelona are the main hubs. Most high-speed lines leave from Madrid; the Barcelona–Madrid, Barcelona–Valencia and Madrid–Valencia lines are among the busiest.

Train types explained

Main train stations

In Madrid, high-speed trains leave from Atocha or Chamartín; in Barcelona from Sants; in Valencia the high-speed station is Joaquín Sorolla; in Seville Santa Justa. Check the departure station on your ticket, because big cities have more than one.

Popular train routes in Spain

RouteTypical journeyOperator
Madrid → Valencia1 h 40 minRenfe AVE
Madrid → Barcelona2 h 30 minRenfe AVE
Barcelona → Girona40 minRenfe
Girona → Figueres30 minRenfe
Madrid → Seville2 h 30 minRenfe AVE
Madrid → Zaragoza1 h 30 minRenfe AVE
Zaragoza → Barcelona1 h 30 minRenfe AVE
Madrid → Malaga2 h 30 minRenfe AVE
Seville → Cordoba45 minRenfe AVE / Avant
Alicante → Madrid2 h 30 minRenfe AVE
Barcelona → Seville6 h 20 minRenfe AVE
Santiago de Compostela → Madrid3 hRenfe AVE / AVLO
Madrid → Granada3 h 30 minRenfe AVE / Alvia
Madrid → Salamanca1 h 40 minRenfe Alvia
Madrid → Toledo34 minRenfe Avant
Malaga → Barcelona6 h 40 minRenfe AVE
Madrid → Segovia27 minRenfe AVE / Avant
Madrid → Cordoba1 h 45 minRenfe AVE / AVLO
Paris → Barcelona6 h 30 minTGV
Barcelona → Lyon4 h 30 minTGV

Journey times are typical for the fastest direct service and change with the timetable: check your date with the operator before you travel. Each route links to its full guide with stations, alternatives and a booking link.

Frequently asked questions

Do I need to book Spanish high-speed trains in advance?

Yes, you need a ticket for a specific train. Booking early usually gives lower fares, especially on routes shared by Renfe, Ouigo and Iryo.

Is there a security check at Spanish train stations?

High-speed and long-distance trains from the main stations have a baggage check, so arrive a few minutes earlier than for a regional train.

Where can I see open timetable data for Spain?

Our page on train times in Spain from open Renfe data lists first and last trains and daily departures for Renfe high-speed and long-distance trips.

More rail guides