Edinburgh is a great destination year round, but the best time to visit is during the summer months of June, July, and August. During this time, the weather is generally mild and sunny and the days are long, making it the perfect time to explore the city.