The best time to visit Cordoba is during spring (March to May) and autumn (September to November) when the weather is mild, and crowds are fewer.