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
- AVE: Renfe high-speed trains, the fastest option between the big cities.
- Avlo, Ouigo, Iryo: Lower-fare high-speed services; Ouigo and Iryo are private operators that compete with Renfe.
- Alvia / Euromed: Fast long-distance trains that use both high-speed and conventional lines.
- Media Distancia / Cercanías: Regional and commuter trains for shorter trips.
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
| Route | Typical journey | Operator |
|---|---|---|
| Madrid → Valencia | 1 h 40 min | Renfe AVE |
| Madrid → Barcelona | 2 h 30 min | Renfe AVE |
| Barcelona → Girona | 40 min | Renfe |
| Girona → Figueres | 30 min | Renfe |
| Madrid → Seville | 2 h 30 min | Renfe AVE |
| Madrid → Zaragoza | 1 h 30 min | Renfe AVE |
| Zaragoza → Barcelona | 1 h 30 min | Renfe AVE |
| Madrid → Malaga | 2 h 30 min | Renfe AVE |
| Seville → Cordoba | 45 min | Renfe AVE / Avant |
| Alicante → Madrid | 2 h 30 min | Renfe AVE |
| Barcelona → Seville | 6 h 20 min | Renfe AVE |
| Santiago de Compostela → Madrid | 3 h | Renfe AVE / AVLO |
| Madrid → Granada | 3 h 30 min | Renfe AVE / Alvia |
| Madrid → Salamanca | 1 h 40 min | Renfe Alvia |
| Madrid → Toledo | 34 min | Renfe Avant |
| Malaga → Barcelona | 6 h 40 min | Renfe AVE |
| Madrid → Segovia | 27 min | Renfe AVE / Avant |
| Madrid → Cordoba | 1 h 45 min | Renfe AVE / AVLO |
| Paris → Barcelona | 6 h 30 min | TGV |
| Barcelona → Lyon | 4 h 30 min | TGV |
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.