How Do Solar Panels Work? A Plain-English Guide
Short answer: sunlight knocks electrons loose in the silicon cells of a panel, producing direct current (DC). An inverter converts that DC into the alternating current (AC) your home uses. Your appliances take what they need first; any extra flows to the grid for a credit, or into a battery. At night you draw power back. Here's the whole chain, step by step.
Get a free estimate
- Solar panels use the photovoltaic effect: photons of sunlight free electrons in silicon, creating DC electricity.
- An inverter converts DC into the AC your home and the grid use — the “brain” of the system.
- Your home uses solar power first; extra is exported to the grid for a credit or stored in a battery. At night you pull power back.
- Panels make electricity, not heat or hot water — and even good panels convert only about 19–22% of the sunlight that hits them.
The 30-second version
A home solar system is really just a chain that moves energy from the sun to your outlets. Follow it once and the rest of this guide clicks into place.
Sun → panels → inverter → your home → grid or battery. The panels turn sunlight into DC electricity. The inverter turns that DC into the AC your lights, fridge, and AC unit actually run on. Your home takes what it needs in real time. Whatever’s left over doesn’t vanish — it flows out to the utility grid for a credit, or into a home battery for later. When the panels aren’t producing — at night, or on a dark storm day — you simply draw power back from the grid or the battery. That’s the whole system. The rest is detail.
Step 1: The photovoltaic effect (sunlight becomes electricity)
This is the part that feels like magic but is really just physics. It’s called the photovoltaic effect, and it happens inside the panel with no moving parts at all.
A solar panel is made of dozens of photovoltaic cells, and each cell is mostly silicon — the same element as sand. The silicon is treated so it has two layers with opposite electrical charge, forming an electric field where they meet. When a particle of sunlight (a photon) strikes the silicon, it knocks an electron loose from its atom. The built-in electric field pushes those freed electrons in one direction, and that steady one-way flow of electrons is direct current (DC) electricity (U.S. Department of Energy).
Two things worth being honest about. First, panels make electricity, not heat — solar panels (PV) are different from solar thermal water heaters. Second, a panel doesn’t use all the sunlight that lands on it. A typical modern residential panel converts roughly 19–22% of incoming sunlight into electricity; the very best premium panels reach about 23–24%, and lab-record cells go higher still (NREL). Higher efficiency mostly means more watts per square foot — useful on a small roof, but not “free” energy.
Step 2: The inverter (DC becomes usable AC)
Your panels speak DC. Your house speaks AC. The inverter is the translator between them — and it’s the single most important piece of equipment after the panels themselves.
The electricity from the grid, and everything your home is wired for, is alternating current (AC) — it rapidly reverses direction many times a second. Solar panels produce DC, which flows steadily one way. An inverter bridges the gap by switching the DC input back and forth extremely fast, shaping it into smooth AC at the right voltage for your home and the grid (U.S. Department of Energy).
There are two common designs. A string inverter is one central box that all the panels feed into together. Microinverters are small units mounted under each panel, so every panel converts its own power — which helps when one panel is shaded or dirty, because it doesn’t drag the whole string down. Both work; the right choice depends on your roof, shading, and budget. We compare the two brands most Los Angeles homeowners weigh in Enphase vs. SolarEdge.
Step 3: Your home uses what it needs
Once the inverter has made AC, that power feeds straight into your home’s electrical panel — and your appliances grab it before anything else happens.
This is the key idea people miss: solar power is used on-site first. When your panels are producing and your fridge, AC, and EV charger are running, they pull from the solar directly. Nothing has to travel to the utility and back. Only the electricity your home isn’t using at that exact moment has anywhere else to go. On a sunny afternoon a home often produces more than it’s using; at 7 p.m. with the oven and TV on, it may use more than it’s making. The system balances that second by second, automatically.
Step 4: Extra power goes to the grid — or a battery
So what happens to the surplus on a bright afternoon? It flows outward, and this is where your utility and your billing plan enter the picture.
Extra AC that your home doesn’t use flows back through your meter and onto the grid, and you earn a credit for it under net metering / net billing. How valuable that credit is depends entirely on your utility. If you have a new qualifying system in SCE, PG&E, or SDG&E territory, it generally enters NEM 3.0 (the Net Billing Tariff) — older systems may stay on legacy NEM rules — where exported power earns a time-varying credit that is usually well below the retail rate — an illustrative 5–8¢/kWh at common midday hours, though a few late-summer evening hours are worth much more. That low midday value is exactly why NEM 3.0 rewards using or storing your own power instead of exporting it. See the full breakdown in NEM 3.0 explained for California. (LADWP is a municipal utility with its own, more retail-like net metering — it is not on NEM 3.0.)
The alternative to exporting cheap and buying back expensive is a home battery. Instead of sending the afternoon surplus to the grid for a small credit, the battery stores it. Then in the evening — when both your usage and grid prices peak — your home runs off the battery instead of buying costly grid power. Under NEM 3.0, that stored-and-self-used energy is often worth far more than the export credit would have been, which is why batteries and NEM 3.0 go hand in hand.
Step 5: At night, the flow reverses
Panels make nothing in the dark. That’s not a flaw — it’s why nearly every home system stays connected to the grid.
After sunset your panels stop producing, so your home draws power from your battery (if you have one) and then from the grid. In effect, on a standard grid-tied system the utility acts like a giant backup “battery”: you bank credits by day and spend them by night. This is also why going solar usually doesn’t eliminate your electric bill entirely — you still have a grid connection, fixed utility charges, and any nighttime usage your credits or battery don’t cover. We walk through that in why you still have a bill after solar.
One safety note: a standard grid-tied system shuts off during a blackout, even in daylight, so it can’t send power into lines that utility crews may be repairing. Keeping the lights on during an outage requires a battery with backup capability, not just panels.
The whole chain, step by step
Here’s the entire energy path in one place, with an everyday analogy for each step so it sticks.
| Step | What happens | Everyday analogy |
|---|---|---|
| 1. Panels | Photons of sunlight free electrons in silicon cells, making DC electricity. | Sunlight spinning a tiny turbine that only turns one way |
| 2. Inverter | Converts DC into AC at the right voltage for your home and grid. | A translator turning one language into another |
| 3. Your home | Appliances use the solar AC first, in real time. | Eating the food on your plate before saving leftovers |
| 4a. Export | Surplus flows to the grid for a net-metering credit. | Putting change into a shared jar for later |
| 4b. Battery | Surplus is stored to use in the evening instead. | Saving leftovers in the fridge for dinner |
| 5. Night | Home draws from the battery, then the grid. | Spending the change you saved earlier |
Sources: U.S. Department of Energy — How Does Solar Work? · DOE — DC to AC Solar Inverters
kW vs. kWh: the one thing worth understanding
Almost every solar mix-up traces back to confusing these two units. They sound alike but measure completely different things — and getting them straight makes proposals far easier to read.
| kW (kilowatt) | kWh (kilowatt-hour) | |
|---|---|---|
| What it measures | Power — the rate right now | Energy — the total amount over time |
| Everyday analogy | Speed on the speedometer (mph) | Miles you’ve actually driven |
| On your system | System size, e.g. a “7 kW system” | What it produces, e.g. “30 kWh today” |
| On your bill | — | You’re billed per kWh used |
| Simple link | Power × time = energy. A 7 kW system in full sun for 1 hour makes about 7 kWh. | |
So when an installer says “7 kW system,” that’s its maximum power — how fast it can produce at peak. When your bill says you used “900 kWh last month,” that’s the total energy you consumed. Sizing a system is really the job of matching the kWh your panels produce over a year to the kWh your home uses. How many panels that takes depends on your roof and usage — we cover it in how many solar panels you need in California.
Why real-world output changes day to day
A panel’s rating is measured under ideal lab conditions. Your roof isn’t a lab, so actual production rises and falls with a few predictable factors.
Sun angle & season
Long summer days and a high sun mean more production; short, low-angle winter days mean less. Output naturally peaks near midday.
Shade & dirt
Trees, chimneys, or dust cut output. With a string inverter, shading one panel can drag down its whole string.
Roof direction
South-facing roofs produce the most over a day; east and west roofs shift production toward morning or evening.
Heat
Counter-intuitively, panels lose a little efficiency as they get very hot — a real factor on a Valley rooftop. See how heat affects output in LA.
Clouds & weather
Panels still make some power on overcast days — just less. Rain actually helps by rinsing off dust.
System age
Panels degrade slowly — typically a fraction of a percent per year — so a good system still performs strongly decades later.
What the chain looks like on an LA roof
On one of our LADWP-area jobs in Northridge, panels on a composition-shingle roof feed a rooftop inverter setup that converts DC to AC for the home; the family uses solar all afternoon, and surplus flows to the grid under LADWP’s municipal net metering. The physics in this guide is exactly what’s happening up there. See more of our Northridge installs.
What solar panels do — and don’t — do
To sum up: solar panels quietly turn sunlight into DC electricity, an inverter turns that into the AC your home runs on, your appliances use it first, and the rest is exported for a credit or stored in a battery for the evening. They don’t heat your water, they don’t work in the dark, and on a normal grid-tied system they don’t keep your lights on during an outage without a battery. What they do is shift where your daytime power comes from — from the utility to your own roof — which, on the right plan, is where the savings come from.
Frequently asked
How do solar panels actually make electricity?
Through the photovoltaic effect. Each panel is made of silicon cells; when particles of sunlight (photons) strike the silicon, they knock electrons loose. A built-in electric field pushes those electrons in one direction, and that steady flow is direct current (DC) electricity. An inverter then converts the DC into the AC your home uses. There are no moving parts in the panel itself.
What does the inverter do?
The inverter converts the DC electricity your panels produce into the AC electricity your home and the grid run on. It does this by switching the DC back and forth very rapidly to shape it into smooth AC at the correct voltage. It comes as one central string inverter or as small microinverters under each panel — compared in Enphase vs. SolarEdge.
Do solar panels work at night or on cloudy days?
Not at night — panels need light, so they produce nothing after dark and your home draws from a battery or the grid instead. On cloudy days they still work, just at reduced output. This is why most homes stay grid-connected (or add a battery), and part of why you can still have a bill after going solar.
What's the difference between kW and kWh?
kW (kilowatts) measures power — the rate right now, like speed on a speedometer. It describes system size (a “7 kW system”). kWh (kilowatt-hours) measures energy — the total amount over time, like miles driven. Your bill charges you per kWh. A 7 kW system running at full output for one hour produces about 7 kWh.
What happens to the extra electricity my panels make?
Your home uses solar power first; any surplus is either exported to the grid for a net-metering credit or stored in a battery. A new qualifying system in SCE, PG&E, or SDG&E territory generally enters NEM 3.0 (older systems may remain on legacy NEM), where export credits are time-varying and usually well below retail — which favors self-use and batteries. LADWP uses its own, more retail-like net metering. See NEM 3.0 explained.
How efficient are solar panels?
A typical modern residential panel converts about 19–22% of the sunlight hitting it into electricity, with premium panels around 23–24%. Higher efficiency mainly means more watts per square foot — helpful on a small roof, but it doesn’t create “free” extra energy. Real-world output also varies with sun angle, shade, roof direction, heat, and weather.
Related reading
See what solar would do on your roof
We'll look at your roof direction, shade, and recent bill and explain in plain English what a system would produce and save — no pressure, no jargon.
Get a free estimatePrepared by Cali Energy, July 2026. This article is for general educational purposes only and is not legal, tax, financial, engineering, or utility advice. Rates, incentives, codes, permit requirements, equipment specifications, prices, and program terms may change; figures and timelines are estimates, not guarantees. Confirm current requirements with the applicable utility, AHJ, program administrator, manufacturer, or a licensed professional. See our Content Disclaimer. Cali Energy · 19201 Parthenia St Unit E, Northridge, CA 91324 · CSLB #1032379 (B, C-10, C-39)