July and August are typically the warmest months in Madrid when the average temp is 81°F. January and February are the coldest months when the average temperature is 48°F. April and March are the months with the most rain.