July and August are typically the warmest months in Edinburgh, when the average temperature is 13°C. January and February are the coldest months, when the average temperature is 4°C. July and October are the months with the most rain.