Getting there by train
Getting there by train

Madrid sits at the geographic centre of the Iberian Peninsula, and that has a direct effect on rail travellers: a large share of the main railway lines start or end here. Spain's radial network makes the capital the country's most powerful communications hub. The two main stations, Atocha and Estación de Madrid - Chamartín - Clara Campoamor, handle medium-distance, long-distance, high-speed and Cercanías trains. If you are planning how to get to Madrid by train, here you will find information on the operators, the main connections and the options for reaching the city.
Rail operators: three real options
Renfe remains the main operator, a public company under the Ministry of Transport and Sustainable Mobility. However, since the liberalisation of the rail sector, the landscape has changed considerably. Two private operators compete on the most in-demand high-speed routes: IRYO and OUIGO.
High-speed and long-distance lines
Spain has one of the most extensive high-speed networks, with around 4000km in operation, connecting more than forty cities by AVE train, which travels at an average speed of 222km/h. Another 18 cities are served by Alvia trains, which combine high-speed sections with conventional lines at lower speeds.
The main high-speed lines to and from Madrid are:
(journey times are approximate and depend on the service, operator and timetable)
- Madrid - Zaragoza - Lleida - Tarragona - Barcelona - Girona - Figueres: around 1 hour 20 minutes to Zaragoza, 2 hours 10 minutes to Lleida, 2 hours 40 minutes to Tarragona and about 3 hours to Barcelona.
- Madrid - Cuenca - Albacete - Villena - Alicante: 2 hours 20 minutes to Alicante.
- Madrid - Cuenca - Requena - Valencia: about 50 minutes to Cuenca, 1 hour 15 minutes to Requena and 1 hour 35 minutes to Valencia.
- Madrid - Córdoba - Antequera - Granada: around 3 hours 20 minutes to Granada.
- Madrid - Córdoba - Antequera - Málaga: about 1 hour 50 minutes to Córdoba and 2 hours 30 minutes to Málaga.
- Madrid - Ciudad Real - Córdoba - Sevilla: approximately 1 hour to Ciudad Real, 2 hours to Córdoba and 2 hours 40 minutes to Sevilla.
- Madrid - Segovia - Valladolid - Palencia - León: about 26 minutes to Segovia, 1 hour to Valladolid, 1 hour 20 minutes to Palencia and 2 hours to León.
- Madrid - Zamora - Ourense: around 2 hours 15 minutes to Ourense.
A practical tip: tickets for the Madrid-Barcelona and Madrid-Sevilla routes sell out quickly. If you are travelling at weekends, buy at least two weeks in advance to secure better fares.
Medium-distance
Medium-distance lines make it possible to reach Madrid from many points across Spain. These regional routes connect provinces within the same autonomous community or, in some cases, with neighbouring communities. They are a particularly good option for short getaways.
The lines to and from Madrid are:
- Madrid - Ciudad Real - Puertollano
- Madrid - Toledo
- Madrid - Segovia - Valladolid
- Madrid - Cuenca
- Madrid - Ávila
- Madrid - Segovia
- Madrid - Soria
- Madrid - Zaragoza
- Madrid - Salamanca
- Madrid - Valladolid - León
- Madrid - Cuenca - Valencia
- Madrid - Alcázar - Albacete - Valencia
- Madrid - Ciudad Real - Jaén
- Madrid - Ciudad Real - Badajoz
- Madrid - Cáceres - Badajoz
The Madrid-Toledo line makes day trips easy. The train leaves from Atocha and in just over half an hour you arrive in a city with centuries of history, medieval synagogues and views over the Tagus that make the most of its heritage and urban landscape.
IRYO
IRYO has established itself as the second-largest high-speed operator in Spain. Formed by Trenitalia, Air Nostrum and Globalvía, it runs 70 daily connections across its five main corridors.
The corridors operated by Iryo are:
- Madrid - Zaragoza - Barcelona
- Madrid - Cuenca - Valencia
- Madrid - Cuenca - Albacete - Alicante
- Madrid - Córdoba - Sevilla
- Madrid - Córdoba - Málaga
AVLO train
AVLO is Renfe's low-cost offer. With more than 400 seats per train, it has reclining seats, individual power sockets, reading lights and toilets adapted for passengers with reduced mobility. AVLO connects Madrid with Barcelona, Calatayud, Camp de Tarragona, Figueres, Girona, Guadalajara, Lleida, Zaragoza, Gijón, Murcia, Sevilla, Málaga, Alicante and València.
OUIGO
OUIGO, the French low-cost operator, has significantly expanded its network in Spain. It connects Madrid with Barcelona, Zaragoza, Valencia, Tarragona, Alicante, Albacete, Valladolid, Segovia, Cuenca, Córdoba, Sevilla and Málaga. Its trains have capacity for more than 500 passengers. It is worth checking its luggage policy before you buy: one cabin bag and one small bag are included, but extra luggage carries an additional charge.
The stations: Atocha and Chamartín
Atocha is one of Spain's most iconic railway stations. Most AVE services to the south and east of the peninsula depart from here. The station has a direct connection to metro (Line 1) and Cercanías.
Chamartín - Clara Campoamor, opened in 1975 as a floating city above the track bed, serves trains to the north and north-west. Recent renovation work has improved its shopping and waiting areas. It offers a full range of services: cafés, shops, luggage lockers and connections to metro (Lines 1 and 10) and Cercanías.
Day trips from Madrid by train
Madrid's location and rail network make it easy to take day trips to destinations of tourist interest such as Segovia, Toledo or Cuenca, among others.
For those who want to extend the trip, train-and-hotel packages combine transport with accommodation at competitive prices. Renfe offers these options directly on its website.
Practical information
Left-luggage facilities in Madrid let you leave your bags and explore the city without carrying them. There are options both in the stations themselves and at points spread across the centre.
To get around Madrid once you arrive, the Madrid City Card includes a Zone A public transport pass and discounts on museums and other cultural and leisure attractions.

.jpg/jcr:content)







