The best time to visit Copenhagen is from May to September when the weather is mild and the days are longer. However, these months also attract more tourists, so it's essential to book accommodations in advance.