Barcelona is privileged to have a wonderful Mediterranean climate. There's a bit of rain in autumn and spring and three or four months of summer with warm temperatures. There are very few days with extreme temperatures, either cold or hot, with moderate average yearly highs and lows in Barcelona, just as you would expect from a gentle Mediterranean climate. There are 90 days of rain each year, on average, although there are very few in a row, as when it does rain it pours and then leaves the sky clear again. All of this has made Barcelona the fifth ranked city in the world in terms of the best climate for living.