The summers can get very hot in southern Spain so visiting in spring, early summer and autumn is preferable. The north is still hot during the summer but is cooler than the south, which is great for hiking. With plenty of museums and galleries in the cities, they make great year-round destinations.