The straightforward answer is no —solar panels do not produce electricity at night. The inverter plays a critical role in solar. . When the sun goes down, the power keeping your lights on comes from one of two places: a solar battery that stored extra energy during the day, or the good old utility grid.
[PDF Version]