Solar panels work by turning light into electricity. Sunlight is made of tiny packets of energy called photons. When photons are absorbed by the semiconductor (usually silicon) inside a solar cell, they knock electrons loose, and a built-in electric field pushes those electrons in one direction. That flow is direct current (DC) electricity. An inverter then converts it to the alternating current (AC) your home uses.
That is the photovoltaic (PV) effect. It has no moving parts, burns no fuel and makes no noise. The rest of this guide covers what is inside a panel, what each part of a home system does, how much power a panel actually makes, and what happens at night.
Quick answer: the parts of a home solar system
| Part | What it does |
|---|---|
| Solar cell | Turns light into DC electricity. One cell makes only 1 to 2 watts. |
| Panel (module) | Dozens of cells wired together behind glass in a weatherproof frame. |
| Array | A group of panels wired together on a roof or ground mount. |
| Inverter | Converts DC from the panels to AC for your home and the grid. |
| Racking | Holds panels at a fixed angle and direction. |
| Utility meter | Tracks power you draw from and (with net metering) send to the grid. |
| Battery (optional) | Stores daytime solar power for evening use or outages. |
How a solar cell makes electricity, step by step
The EIA’s explainer and the DOE’s PV basics page describe the same basic sequence.
- Light hits the cell. Some photons reflect off, some pass through, and some are absorbed. Only absorbed photons make electricity. Anti-reflective coatings and textured surfaces are why good cells look dark blue or black.
- Electrons break free. The absorbed energy knocks electrons loose from silicon atoms.
- The electric field sorts them. During manufacturing, the silicon is treated (“doped”) to make a positive layer and a negative layer. Where they meet, called the p-n junction, an electric field forms. It pushes freed electrons toward one side, creating a voltage, a bit like the two terminals of a battery.
- Metal contacts collect the current. Thin metal lines on the cell, called fingers and busbars, gather the electrons. When the cell is connected to a circuit, current flows.
- The inverter converts DC to AC. Your home and the power grid run on AC, so the inverter changes the panel’s DC output into grid-matched AC.
Because one cell produces so little power, manufacturers wire dozens of cells together into a panel, and installers wire panels together into an array. For a closer look at newer cell designs, see our guide to HJT solar cells.
What is inside a solar panel?
A typical rooftop panel is a layered sandwich. From front to back:
- Tempered glass: protects the cells from rain, hail and debris while letting light through.
- Encapsulant: a clear polymer layer (often EVA) that bonds the cells in place and seals out moisture.
- Silicon cells: the active layer, connected by thin metal ribbons.
- Backsheet or rear glass: insulates and protects the back. Bifacial panels use glass here so they can also catch light reflected from below.
- Aluminum frame: adds stiffness and gives the racking something to clamp to.
- Junction box: on the back, holds the wiring connections and bypass diodes. Bypass diodes let current route around a shaded or damaged group of cells so one weak spot doesn’t shut down the whole panel.
Panel ratings, voltage and size vary a lot. Our guides to solar panel wattage and 240V solar panels explain the numbers on a spec sheet.
What does the inverter do?
The inverter converts DC to AC and matches it to the grid’s voltage and frequency. Most also track each panel string’s maximum power point (MPPT), so the panels run at the voltage that gives the most power as light and temperature change, and they report how much energy the system is producing. Grid-tied inverters must also shut off when the grid goes down, so they don’t send power into lines that utility crews are working on. The DOE’s inverter basics page describes the main types:
- String inverter: one box converts the power from a whole string of panels. It costs less, but shading or a problem on one panel can cut the output of the whole string.
- Microinverters: a small inverter on each panel. Shade or damage on one panel doesn’t drag down the others, but they usually cost more.
- Power optimizers: panel-level DC devices paired with a central inverter, a middle ground between the two.
Inverters lose a few percent of the energy in conversion. If you are curious how efficiency losses add up, our inverter energy calculator can help.
How efficient are solar panels?
Efficiency is the share of sunlight hitting a panel that comes out as electricity. According to the EIA, commercial panel efficiency averaged under 10% in the mid-1980s, reached about 15% by 2015, and is now approaching 25% for state-of-the-art modules. Lab cells go higher; the National Laboratory of the Rockies (formerly NREL) tracks records in its research-cell efficiency chart.
Real-world output depends on more than the efficiency rating. The DOE notes that cells work best when cool. Heat slightly raises current but lowers voltage more, so panels make less power on very hot days. Other factors:
- Shade: even partial shade from a tree or chimney can cut output sharply, especially on a string inverter.
- Direction and tilt: in the U.S., south-facing roofs get the most sun over a year. East and west faces still work, with somewhat less output.
- Dirt, snow and pollen: rain cleans most panels, but heavy buildup blocks light.
- Age: panels lose a little output each year. Discoloration is one visible sign of aging; see why solar panels turn brown.
How much electricity does one panel make?
A rough rule: daily energy equals the panel’s rated watts times your local “peak sun hours,” minus system losses. Here is an example estimate for a 400-watt panel, assuming 4.5 peak sun hours a day and about 14% losses from wiring, heat, dirt and the inverter:
| Period | Energy (estimate) | Value at 18.16 cents/kWh |
|---|---|---|
| Day | About 1.55 kWh | About $0.28 |
| Month (30 days) | About 46 kWh | About $8.40 |
| Year | About 565 kWh | About $103 |
The dollar value uses the U.S. average residential electricity price of 18.16 cents per kWh (EIA, August 2026). Your actual savings depend on your rate, your utility’s rules for exported power, and your location. Sunny Southwest sites produce much more than cloudy northern ones. For a location-specific estimate, use the free PVWatts calculator.
Do solar panels work at night or on cloudy days?
Panels make no useful power at night. Moonlight and streetlights are far too dim to matter. On cloudy days they still produce, but much less than in direct sun. Homes with solar get nighttime power in one of two ways:
- The grid: most systems stay connected to the utility. Under net metering or a similar program, extra daytime power you send to the grid earns credits that offset what you use at night. Credit rates vary widely by state and utility, and some pay less for exported power than they charge for imported power. Check your utility’s current rules.
- A battery: stores daytime surplus for evening use and can back up key circuits during an outage. See solar battery efficiency and AC-coupled vs. DC-coupled batteries.
A standard grid-tied system without a battery shuts off during a power outage for safety, even in full sun. If backup power matters to you, ask for a battery or an inverter with backup capability. Running a home on solar alone is possible but takes careful sizing; our guide to powering your home with just solar panels covers what’s involved.
Roof mount vs. ground mount
- Roof mount: the most common choice for homes. It uses space you already have and needs no extra land, but output is limited by your roof’s direction, pitch, shade and condition. Replace an aging roof first, because removing and reinstalling panels later adds cost.
- Ground mount: needs open yard space and trenching for wiring, which usually costs more. In return, you can pick the best direction and tilt, avoid shade, and reach the panels easily for cleaning or snow removal.
Benefits and trade-offs
Solar panels produce electricity without fuel or emissions while running, can lower your utility bill, and last a long time. The DOE cites a Berkeley Lab survey putting average panel lifespan at 25 to 35 years. Pairing solar with lower demand works best; see our tips for energy-efficient homes and energy-efficient water heaters.
The trade-offs are a large upfront cost, output that depends on weather and shade, and savings that depend heavily on your utility’s rules. The federal 25D residential clean energy tax credit ended for systems placed in service after December 31, 2025, so check for state or utility incentives instead. The DOE’s homeowner’s guide to going solar walks through quotes, financing and permits.
Frequently asked questions
Do solar panels need direct sunlight to work?
No. They produce power from diffuse light on overcast days, but output drops a lot compared to direct sun. Direct, unshaded sunlight gives the most power.
Can solar panels power a house during a blackout?
Only if the system has a battery or a backup-capable inverter. A standard grid-tied system shuts down when the grid goes out so it can’t send power into lines being repaired.
How long do solar panels last?
A Berkeley Lab survey cited by the DOE puts the average operating life at 25 to 35 years. Output declines slowly over time, and inverters usually need replacing sooner than panels.
Do solar panels work in winter?
Yes. Cold actually helps cell efficiency, but shorter days, a lower sun angle and snow cover reduce total output. Snow often slides off tilted panels once the sun warms them.
What is the difference between a solar cell and a solar panel?
A cell is the single light-to-electricity unit, making only 1 to 2 watts. A panel is many cells wired together and sealed in a frame. An array is a group of panels.
Sources
- EIA: Photovoltaics and electricity
- DOE: Solar photovoltaic technology basics
- DOE: Solar performance and efficiency
- DOE: Inverters and grid services basics
- DOE: End-of-life management for solar PV
- DOE: Homeowner’s guide to going solar
- National Laboratory of the Rockies: Best research-cell efficiency chart
- PVWatts calculator
- EIA Electric Power Monthly, Table 5.6.A
