Madrid: Annual Weather Averages. July is the hottest month in Madrid with an average temperature of 25°C (76°F) and the coldest is January at 6°C (42°F) with the most daily sunshine hours at 11 in August. The wettest month is April with an average of 50mm of rain. Average Temperature: Madrid. Loading weather data.