Getting around Madrid by train / Cercanías Madrid
Getting around Madrid by train / Cercanías Madrid

Cercanías, the Renfe commuter rail service, is probably the most practical and affordable way to get around Madrid and its surroundings. With nine lines serving the Community of Madrid, all of them passing through Atocha station, this rail network links the city centre with World Heritage sites such as Alcalá de Henares, the Monastery of El Escorial and Aranjuez, and also offers a direct connection to Terminal 4 of Adolfo Suárez Madrid–Barajas Airport. Whether you're visiting or have just moved to the city, here is what you need to know.
Lines and routes: the full map
The Cercanías Madrid network covers a wide area, from the Sierra de Guadarrama to Guadalajara, passing through the industrial south and the commuter towns of the Henares corridor. These are the active lines:
- C-1 : Príncipe Pío - Atocha - Recoletos - Chamartín - Aeropuerto T4
- C-2 : Guadalajara - Alcalá de Henares - Atocha - Chamartín
- C-3 : Aranjuez - Atocha - Sol - Chamartín
- C-3a : Aranjuez - Atocha - Sol - Chamartín - El Escorial
- C-4 : Parla - Atocha - Sol - Chamartín - Cantoblanco
- C-4a : Parla - Atocha - Sol - Chamartín - Cantoblanco - Alcobendas/San Sebastián de los Reyes
- C-4b : Parla - Atocha - Sol - Chamartín - Cantoblanco - Colmenar Viejo
- C-5 : Móstoles El Soto - Atocha - Fuenlabrada - Humanes
- C-7 : Alcalá de Henares - Atocha - Chamartín - Príncipe Pío
- C-8 : Guadalajara - Alcalá de Henares - Atocha - Chamartín - Villalba - Cercedilla
- C-9 : Cercedilla - Cotos
- C-10 : Villalba - Príncipe Pío - Atocha - Recoletos - Chamartín
A tip that saves real time: the commuter rail connection between Madrid-Chamartín-Clara Campoamor and Atocha is considerably faster than the metro. If you need to link these two stations to catch an AVE train, skip the underground and take the Cercanías.
Day trips worth taking by train
This is where Cercanías really shines. Madrid is the only city in the world with nine World Heritage sites less than two hours away, and several of them can be reached directly by train.
Alcalá de Henares is about 35 minutes from Atocha on the C-2 or C-7. Its historic university quarter, Cervantes' birthplace and the square that bears his name make it worth the trip, especially if you arrive before 11am and avoid the midday crowds.
Aranjuez, on the C-3, is about 45 minutes away. The gardens of the Royal Palace in the golden light of sunset are one of the best photo backdrops in the Community of Madrid. If you go in spring, the contrast between the deep green and the clear skies of May is spectacular.
El Escorial, reachable on the C-3a and C-8, combines the monastery with hiking routes in the Sierra de Guadarrama. The journey itself offers views worth a window seat: as the train climbs, the landscape shifts from dry plateau to mountain pine forests.
The C-9 line, between Cercedilla and Cotos, is a special case. This mountain train runs through the sierra and stops at the starting points of hiking routes. It is ideal for a day outdoors without needing a car.
Timetables and frequencies
Cercanías trains in Madrid start running every day between 5am and 6am, and the last service departs around midnight. Frequency varies by line: on the busiest routes (C-3, C-4), trains run every 10–15 minutes during peak hours. On lines with lower demand or at night, the interval can stretch to 30 minutes. Checking the Renfe Cercanías app before you set off helps you avoid surprises, especially at weekends.
Up-to-date fares
The Cercanías network can be used with the Abono Transporte Turístico, available in 1-, 2-, 3-, 5- and 7-day passes for two zones (A and T). You can also buy single tickets or the Bonotren, valid for ten journeys.
Children under 6 travel free of charge as long as they do not take up a seat. Discounts are available for groups and large families. You can also check the conditions for free season tickets on Cercanías and Media Distancia, and the half-price fares on Alta Velocidad de Media Distancia, which Renfe currently maintains.
Contactless Card +Renfe & Tú
This card gives you access through the turnstiles simply by holding it up to the reader. It is reusable, rechargeable and does not expire. If you plan to use Cercanías for several days, it is worth getting one to avoid queuing at the ticket machines, which at stations such as Atocha or Sol can be long first thing in the morning.
Bikes on board
Bikes can be taken on all Cercanías trains with no restrictions on date or time, with one exception: on the C-9 line, access is only permitted from Cercedilla and Cotos stations, and bikes are not allowed at weekends and public holidays during the winter season. For cyclists who want to combine train and mountain riding, the C-8 to Cercedilla is an excellent option.
Travelling with pets
Cercanías trains allow dogs, cats and birds with no weight limit, although there are time restrictions. Check the specific conditions on the Renfe website before you travel, as the permitted time slots vary by line and day of the week.
Free Wi-Fi at stations
Nuevos Ministerios, Sol, Méndez Álvaro, Príncipe Pío, Atocha Cercanías and Getafe Centro stations offer free Wi-Fi with a maximum connection time of 30 minutes. By downloading the PlayRenfe app, you can access news from the EFE News Agency, short films, digital books and leisure offers from RenfeViajes. It is not a connection for remote work, but it is enough to check maps or reorganise your itinerary while you wait for the train.
Leisure trips by rail
Renfe offers themed trains that combine transport and cultural experiences: Knowledge Trains, Culture Trains, Fun Trains and Special Trains. These options include activities and guided visits at the destination and usually have fixed prices that work out cheaper than organising the trip yourself. Check the Renfe official website for the options available each season.
Contact and passenger assistance
If any incident arises during your journey, the X account (formerly Twitter) @Cercanías responds quite quickly. You can also check real-time notices through Renfe al día, which publishes service disruptions, delays and scheduled closures.
Discover other ways to get around Madrid and combine Cercanías with the metro, bus and BiciMAD to make the most of your stay in the capital.









