Edinburgh, like the majority of Scotland, has a temperate maritime climate. The summers are moderate and the winters are mild, though it can get quite chilly at times. However, the city’s proximity to the water and its location in the path of the warm Gulf Stream keeps the city considerably warmer than other cities at the same latitude. While rainfall is consistent all year round, Edinburgh is in fact one of the drier cities in Scotland, especially in comparison to Glasgow. Pleasant conditions in the capital city start to develop towards the end of spring. These conditions continue right through until the end of September although May and June are generally the best bet for dry, sunny weather. All of which makes Scotland’s capital is a great place to visit any time of the year.

Source : worldtravels.com and tutiempo.net.