How do solar panels work?
Overview
Short answer
A solar panel is made of silicon cells. Sunlight knocks electrons loose inside each cell, and an electric field built into the cell pushes them one way, so they flow out through a wire as electricity, with no moving parts.
A solar panel is made of dozens of thin slices of silicon called cells. Each one turns light straight into electricity, with no moving parts, no fuel and no noise.
Play with the figure, then press Next (or the → key) to go step by step.
Light knocks electrons loose
Sunlight arrives as tiny packets of energy called photons. When a photon hits a silicon atom with enough energy, it knocks an electron free and leaves a gap behind, called a hole. This is the photovoltaic effect.
On its own, a freed electron would soon drop back into a hole and the energy would become a little heat. The trick of a solar cell is to pull the two apart before that happens.
A built-in one-way street
A cell is made of two layers of silicon with tiny amounts of other elements mixed in. The top n-type layer has spare electrons; the bottom p-type layer has spare holes. Where they meet, at the junction, an electric field forms by itself.
That field pushes freed electrons up towards the n-type side and holes down towards the p-type side. Electrons pile up at the top, so the top becomes negative and the bottom positive, just like a battery.
From cell to your sockets
Thin metal fingers on top and a metal sheet underneath collect the charge. Connect them through a wire and the electrons flow round the circuit, doing work on the way. One cell gives only about half a volt, so a panel wires 60 or more in series.
Panels make direct current. A box called an inverter turns it into the alternating current your home uses and feeds any spare power to the grid or a battery.
Why panels are only about 20% efficient
Most of the sunlight hitting a panel ends up as heat. The main losses:
- Photons with too little energy (infrared) pass through without freeing an electron.
- Photons with extra energy free one electron and the rest becomes heat.
- Some light reflects off the glass, and some freed electrons fall back into holes.
Full sun brings about 1,000 watts per square metre. A modern 2 m² panel turns roughly a fifth of that into electricity: about 400 watts.
A day in the life of a panel
Output follows the sun: low in the morning, highest around noon, zero at night. The sun is higher and the days longer in summer, so a panel can make three to five times more energy in June than in December.
Tilt, shade and heat
A panel works best when sunlight hits it square on, so installers tilt it towards the noon sun. Shade matters more than you would think: cells are wired in a chain, so shading a few can drag down the whole string. Heat hurts too, since silicon cells lose about 0.4% of their output for every degree above 25°C.
Common myths
- "Solar panels don't work on cloudy days." They do, just at a lower output, typically 10–25% of full sun.
- "They work best in hot places." They need light, not heat. Cool, sunny days give the highest output.
- "Panels store the energy." Panels only generate. Storing power for the evening needs a battery, often a lithium-ion one like the one in your phone, only much bigger.
Questions people ask
Do solar panels work at night?
No. They need light to free electrons. Homes with solar use the grid or a battery at night.
How long do solar panels last?
Most come with a 25-year performance warranty and lose roughly 0.5% of their output each year, so they still make most of their original power after 25 years.
Which direction should solar panels face?
Towards the equator: south in the northern hemisphere, north in the southern hemisphere. East and west-facing roofs still work, with somewhat less output.
What is the difference between monocrystalline and polycrystalline panels?
Monocrystalline cells are cut from a single silicon crystal and are a little more efficient, with a uniform black look. Polycrystalline cells are made of many crystals and look bluish and speckled.
Do I need an inverter?
Yes, for home use. Panels make direct current, and an inverter converts it to the alternating current used by your appliances and the grid.
Test yourself
Pick an answer for each question. Every answer comes with an explanation.
0/4 answered01What frees an electron inside a solar cell?
02What is the junction between the n-type and p-type layers for?
03Why does a panel make less power when sunlight hits it at a steep angle?
04What does an inverter do?
Sources & more
Sources
- Solar cell (Wikipedia)(opens in a new tab)
- Photovoltaic effect (Wikipedia)(opens in a new tab)
- Solar Photovoltaic Cell Basics (US Department of Energy)(opens in a new tab)
- Air mass (solar energy) (Wikipedia)(opens in a new tab)
Last updated 2026-11-26
Keep exploring
- Energy & PowerExplore it
How does an LED work?
- Energy & PowerExplore it
How does a UPS (home inverter) work?
- Energy & PowerExplore it
How does an electric car work?
- Energy & PowerExplore it
How does the power grid work?
- Energy & PowerExplore it
How does an electricity meter work?
- Energy & PowerExplore it
How does a transformer work?