Home · Search
Routes

How to Get from Córdoba to Madrid: Distance, Train, Bus & Car

Leaving Córdoba for Madrid isn’t just about covering a distance; it’s about watching the Andalusian landscape slowly fade away, giving way to the vastness of the Castilian meseta (plateau). Whether you feel the dizzying speed of the high-speed train that connects two worlds in just over two hours, or you enjoy the freedom of stopping in charming villages along the highway, this journey of almost 400 kilometers offers a unique travel experience that combines efficiency and tradition.

🚗 How to get from Córdoba to Madrid

Mode Time Approx. price Book
🚗 Car 4h Fuel: 32–48€ View route
🚄 Train 1h 53min From €15 (varies) Renfe ↗

🎫 Compare all tickets

How to get from Córdoba to Madrid: quick overview

The fastest and most comfortable way to travel from Córdoba to Madrid is undoubtedly the high-speed train, covering the distance in just 113 minutes, while the car is the best choice if you’re looking for flexibility to make tourist stops along the way. For travelers on a budget, the bus offers a direct and economical alternative, although it takes almost twice as long as the train. If speed and comfort are your priority, the AVE is unbeatable; if you prefer to drive at your own pace and explore the route, the car will give you that freedom, covering the 399 km in about 4 hours of effective driving.

From Córdoba to Madrid by car

Driving from Córdoba to Madrid means covering a road distance of 399 km, a journey that usually takes an estimated 4 hours depending on traffic. The backbone of this trip is the network of highways connecting the south with the center of the peninsula, offering various options depending on your exact starting point or any detours you wish to take. The main and most direct route typically uses the A-4: Autovía del Sur (Southern Highway), a toll-free road that facilitates a smooth transit to the capital. However, the area’s road network is extensive and has multiple verified connections you can use.

Among the roads available to configure your route or make strategic detours are the A-5: Autovía del Suroeste (Southwest Highway) and its variant A-5R, both toll-free, as well as the A-43: Autovía del Guadiana (Guadiana Highway), which is also free. For those looking for alternatives or connections with other areas, the network includes the A-2: Autovía del Nordeste (Northeast Highway), the A-3: Autovía del Este (East Highway), and the A-6: Autovía del Noroeste (Northwest Highway), all of them toll-free. It is important to mention the A-41: Autovía Ciudad Real – Puertollano, which has a particularity compared to the rest: this road has tolls, with an approximate cost that varies according to the current rates.

You also have other important arteries such as the A-32: Autovía Linares-Albacete, the A-40: Autovía de la Meseta Sur (Southern Plateau Highway), the A-42: Autovía de Toledo (Toledo Highway), and the A-44: Autovía de Sierra Nevada-Costa Tropical (Sierra Nevada-Tropical Coast Highway), all toll-free. When planning your car trip, keep in mind that although the distance is moderate, the 4-hour travel time can be affected by departures from the capital or rush hour traffic, so it is recommended to leave early if you have a fixed arrival time.

By train from Córdoba to Madrid

The train is the fastest way to travel between Córdoba and Madrid, with a single operator, Renfe, offering an impressive frequency of 43 direct daily trains. The journey starts at Córdoba station and ends at the modern Madrid Pta. Atocha – Almudena Grandes station, a key transport hub in the capital. The highlight of this option is the variety of services available to suit different time and budget needs. The star service is the AVE, which runs 31 times a day and covers the route in a record-breaking 113 minutes, making it the fastest option available.

If you are looking for alternatives within the high-speed service, Renfe offers the ALVIA, with 6 daily departures and a journey time of 115 minutes, just two minutes more than the AVE. For travelers who prioritize savings without giving up speed, there is AVLO, the operator’s low-cost train, which makes 5 daily trips with a travel time of 127 minutes. There is also a single daily Intercity option, which takes 117 minutes to complete the journey. The travel window is very wide, with the first train departing at 6:47 in the morning and the last at 22:06 at night, allowing you to organize your day with total flexibility. The total journey time ranges between 113 and 129 minutes, making this, by far, the most time-efficient option.

By bus from Córdoba to Madrid

The bus is the most economical option for traveling from Córdoba to Madrid, with companies such as Socibus and Secorbus operating direct services between the two cities. Although the travel time is significantly longer than the train, reaching 255 minutes (approximately 4 hours and 15 minutes), the savings on the ticket price can be a deciding factor for many travelers. Bus ticket prices range widely, from a very competitive minimum of €9 to a maximum of €43, depending on how far in advance you book and the demand at the time. This option is ideal for backpackers or those who are not in a hurry to arrive and prefer to save that money to spend at the destination.

If you decide to drive, the 399 km route is dotted with towns of great historical and cultural interest that are well worth a break. Below, we detail the verified stops to break up the monotony of the road:

  • Miguelturra: Right next to Ciudad Real, this town offers a peaceful setting ideal for stretching your legs before heading further into the plains of La Mancha.
  • Ciudad Real: The capital of the province of the same name, it is a perfect strategic point for a longer break, visiting the Museo del Quijote (Don Quixote Museum) or enjoying the local gastronomy of La Mancha.
  • Almagro: World-famous for its Festival de Teatro Clásico (Classical Theatre Festival), its porticoed Plaza Mayor is one of the most beautiful in Spain and a must-see if you are passing through the area.
  • La Puebla de Montalbán: Located in the province of Toledo, this stop allows you to delve into history and enjoy traditional architecture before reaching the Community of Madrid.
  • Puertollano: An important industrial and historical enclave on the route, accessible via the A-41 motorway, ideal for a quick technical stop.
  • Pozuelo de Alarcón: Already on the outskirts of the capital, this residential and business area marks the entrance to the Madrid metropolitan area, making it a good point to avoid city-centre traffic if your destination is to the west.
  • Boadilla del Monte: Another town in the metropolitan area that boasts interesting historical heritage, such as the Palacio del Infante Don Luis (Palace of the Infante Don Luis), perfect for a final stop before entering the hustle and bustle of Madrid.
  • Navalcarnero: Famous for its winemaking tradition and its porticoed main square, it is the perfect prelude to Madrid, offering an authentic Castilian atmosphere just a few kilometres from the capital.

🏨 Hotels in Madrid

* Prices are indicative and may vary. We compare hundreds of sites to find the best deal.

🎭 Activities and tours in Madrid

Where to sleep in Madrid

Once you arrive in Madrid, choosing where to sleep will depend on your budget and what you want to visit. The most recommended areas to stay are usually the historic centre, near Puerta del Sol and Gran Vía, where you will have everything within walking distance, although prices tend to be higher. Another very practical option, especially if you arrive by train, is the Atocha area and the Barrio de las Letras (Literary Quarter), which combines culture with excellent transport connections. For tighter budgets, the neighbourhoods of Malasaña or Lavapiés offer a wide range of hostels and boutique hotels with plenty of atmosphere. The price range in Madrid is very broad, from budget hostels to 5-star luxury hotels, so booking in advance is recommended, especially in high season.

Frequently Asked Questions about the Córdoba-Madrid route

How long does it take to get from Córdoba to Madrid?

Travel time varies depending on the mode of transport: by car it takes approximately 4 hours to cover 399 km; by high-speed train (AVE) the journey takes between 113 and 129 minutes; and by bus the trip lasts 255 minutes.

Which is cheaper, the train or the bus?

Generally, the bus is the cheapest option, with prices starting from €9 with companies like Socibus or Secorbus. The train, while faster, usually has higher fares, although Renfe’s AVLO service offers competitive prices if you book in advance.

Is it worth renting a car?

Renting a car is worth it if you plan to go sightseeing along the route, visiting stops like Almagro, Ciudad Real, or Navalcarnero, as it gives you complete freedom. However, if your only goal is to get to Madrid quickly, the train is much more efficient (113 minutes compared to 4 hours) and saves you the stress of traffic and parking in the capital.

When is the best time to travel?

The best time to travel depends on your preferences, but considering the frequency of trains (43 per day) and the opening hours of tourist stops, any time is a good time. That said, avoiding peak traffic hours if driving and booking your train in advance will always guarantee you the best price and experience.