The local saying about the climate in Madrid is “9 months of winter and 3 months of hell”.
Although this is not strictly true the summer months of July, August and September do tend to be very, very hot but due to the lack of humidity in the air it doesn’t feel as hot as it could do. This heat and lack of beach do tend to drive most Madrileños out of the city during the month of August creating a quiet time of the year in the city when you can visit without queues and traffic jams. The down side is that many of the bars and restaurants are closed.
An interesting result of dryness in the air is that air-conditioning in cars doesn’t create a drip from the car whereas by the coast where it is very humid you may see a small puddle under cars which have air-con on.
The weather in Madrid winter can be quite cold but there are often blue skies and some sunshine and in general there is not too much rain.
Below is the current Madrid Weather and the latest 7 day forecast. Beneath that are two graphs showing the average monthly temperature and rainfall in Madrid.