What happens to solar panels when it’s cloudy or raining?

Clouds can diffuse and or block sun light; which will in turn restrict the amount of sunlight absorbed by the solar panels and can reduce the energy output by 40–90%.  Photovoltaic panels can use direct or indirect sunlight to generate power, though they are most effective in direct sunlight. Rain actually helps to keep your panels operating efficiently by washing away any dust or dirt.