By train
Cordoba's modern train station is location in Avenida de America, at the northern end of the central district. To get to the old town and the Mezquita, you can catch a taxi (about 6€) or just walk about 25 minutes (head along Avenida de America and turn right on Avenida del Gran Capitan).
AVE , Spain's high-speed rail network, offers very fast and comfortable train service to Cordoba, but it is a bit more expensive compared to regular bus or train services. AVE trains run hourly from Madrid (1 hour 45 minutes), Seville (45 minutes) and Malaga (50 minutes). There are also two daily AVE services to Barcelona (about five hours). Additionally, there is a very cheap sleeping train option from Cordoba to Barcelona (Andalucía Express).
As an alternative to the AVE there are also cheaper RENFE trains, such us the Lanzaderas to Seville and Malaga (for around 15-20€) or the Altaria and the Alivia trains going to Granada (2 hours 30 minutes) and Madrid (2 hours 30 minutes). For schedules, prices and tickets, check the Renfe website .
By bus
Cordoba's bus station is just across the street from the train station. Regular bus service is available from almost every town in Andalucia as well as from Madrid departing from the "Estación Sur" (around 6 buses per day).
By plane
Cordoba lacks an airport. The closest major airports are in Seville, Malaga and Madrid; from there a train or a bus to Cordoba takes but a few hours