How Solar Panels Generate Power
Solar panels are made of photovoltaic (PV) cells — typically silicon-based semiconductors. When photons from sunlight strike the cell, they transfer energy to electrons, pushing them across a junction between two differently doped silicon layers and creating a direct current (DC). An inverter then converts that DC to the alternating current (AC) your home uses.
The key requirement is photons — specifically, photons in the wavelength range that silicon absorbs (roughly 300–1,100 nanometers). Sunlight delivers these abundantly during the day. After sunset, the photon flux drops to near zero, and the panels stop producing power. There's no "storing" of sunlight in the panels themselves; generation is essentially instantaneous with light exposure.
What Happens to Your Home at Night
If you have a grid-tied solar system without batteries (the most common configuration), your home simply draws power from the utility grid at night — just like before you installed solar. Your utility runs your meter forward when you draw from the grid at night and backward (or credits you) when your panels produce surplus energy during the day.
The solar panels are electrically disconnected when they're not producing, and most modern inverters enter sleep mode to avoid drawing phantom power. When the sun rises the next morning, the inverter wakes automatically and resumes producing power.
Net Metering: The Practical Workaround
Net metering is the billing mechanism that makes grid-tied solar viable even though panels don't work at night. During peak production hours (roughly 10 a.m. to 3 p.m.), a well-sized solar system often produces more electricity than the home is using. That surplus flows back to the grid, and the utility credits you — usually at or near the retail electricity rate.
At night, when you pull power from the grid, those credits offset your charges. At the end of the billing period, you're billed (or credited) for your net consumption — the difference between what you used and what you produced.
As of 2026, net metering policies vary significantly by state. California moved to Net Billing Tariff (NBT), which compensates surplus at a lower "avoided cost" rate rather than full retail. Florida, New Jersey, and Massachusetts still offer strong full-retail net metering. Several states cap the credit at avoided cost, which reduces the financial benefit of oversizing a solar system.
Battery Storage: Power After Dark
Home battery systems — most commonly the Tesla Powerwall, Enphase IQ Battery, or Franklin Electric aPower — store surplus solar energy generated during the day and discharge it at night. This is the true solution to solar's nighttime limitation.
The Tesla Powerwall 3 stores 13.5 kWh of usable capacity. The average U.S. home uses 30–40 kWh per day, meaning a single Powerwall won't fully offset overnight consumption but can cover evening peak demand and provide backup during short outages. Two Powerwalls (27 kWh combined) cover overnight consumption for most homes.
As of 2026, battery storage adds $10,000–$18,000 to a solar installation for a single unit, though the cost has been declining. Importantly, batteries paired with solar at the time of installation qualify for the 30% federal ITC — a significant reduction in effective cost.
How Much Battery Storage Do You Need for Overnight Coverage?
To estimate overnight battery needs, calculate your after-sundown electricity use. The typical U.S. home consumes 1.2–1.5 kWh per hour in the evening (6 p.m. to midnight), then drops to 0.3–0.6 kWh per hour overnight. For 12 hours of nighttime coverage, you'd need roughly 10–15 kWh of usable battery capacity.
Most solar-plus-battery homeowners don't aim for full overnight coverage. Instead, they use the battery to handle evening peak demand (when time-of-use rates are highest), maintain some backup capacity for outages, and let the grid handle the overnight hours when electricity is often cheapest. This "partial self-sufficiency" approach maximizes the financial return while still providing meaningful energy independence.
Debunking the Moonlight Myth
You may have read claims that solar panels can generate power from moonlight. While it's true that moonlight is reflected sunlight, the intensity is roughly 400,000 times lower than direct sunlight. A standard 400-watt panel might produce 0.001 watts from full moonlight — effectively zero for any practical purpose. No commercially viable solar system runs on moonlight.
Cloud cover and storms reduce output significantly during the day but don't eliminate it entirely; panels can still produce 10–25% of their rated output under heavy overcast. But at night, even on a clear night with a full moon, output is negligible.