How do solar panels work? The short answer
A solar panel is made of many solar cells, and each cell is a thin slice of silicon built as a two-layer sandwich. Where the two layers meet there is a built-in electric field.12 When sunlight hits the cell, its energy knocks electrons free from their atoms. This is called the photovoltaic effect.9 The field pushes those free electrons toward one side of the cell, so one side becomes negative and the other positive, like the two ends of a battery.12 Connect a wire from one side to the other, and the electrons flow through it and back into the cell. That flow is an electric current.9
There's no fuel, no burning and no moving parts.11 The electrons were already in the silicon. Sunlight gives them energy, and the field gives them a direction.
What are solar panels made of?
Almost all solar panels are made from silicon. It's the second most common element in Earth's crust, after oxygen, and it's the same semiconductor used in computer chips.1 Here's how a panel is made, step by step:5
- Silicon is extracted from quartz sand and purified into polysilicon.
- The polysilicon is melted and grown into a big crystal called an ingot.
- Diamond wire saws slice the ingot into thin wafers.
- The wafers are exposed to a gas containing a dopant (a pinch of another element), and thin silver contact lines are printed on.
- Cells are strung together with copper ribbons, sealed under glass, and fitted with an aluminium frame and a junction box.
A finished cell is often thinner than four human hairs.2 Plain silicon is shiny and reflects more than 30% of the light that hits it, so cells get an anti-reflection coating. That's why solar panels look dark blue or black.4
Inside a solar cell: n-type and p-type silicon
In a pure silicon crystal, every electron is held in place by the bonds between atoms, so none of them can move around.12 To make a solar cell, engineers "dope" the silicon, which means adding a tiny amount of another element:13
Where the n-type and p-type layers touch, an electric field forms. This boundary is called the p-n junction. Free electrons can cross it easily in one direction but not the other, a bit like a one-way slide.1213
How do solar panels generate electricity?
Sunlight is made of tiny packets of energy called photons. When photons hit a cell, some bounce off, some pass straight through, and some are absorbed. Only the absorbed ones make electricity.94
- A photon frees an electron. Its energy knocks an electron loose from its atom and leaves a hole behind.9
- The field sorts them. Without the junction, the electron would wander and drop back into a hole, and its energy would be lost, mostly as heat.11 The field sweeps it to the n-type side instead, so charge builds up like the two terminals of a battery.12
- The wire is the only way home. Thin metal contacts, the grid of lines you can see on a cell, collect the electrons.1 They flow out through the wire, power whatever is connected, and return to the other side of the cell.9
light frees electron → field pushes it one way → wire is the only road back = current
How do solar panels work on a house?
One cell only makes about 1 to 2 watts, enough for a calculator or a wristwatch.29 So cells are wired together into panels (also called modules), and panels are wired together into an array.2
Solar cells make direct current (DC), which flows in one direction. Homes and the power grid use alternating current (AC), which flows back and forth. A box called an inverter converts DC to AC by switching the direction of the current back and forth very rapidly.3
When the panels make more than the home needs, the extra can charge batteries or flow into the grid.7
How efficient are solar panels?
Most of the sunlight that reaches a cell doesn't become electricity. Some is reflected, some passes through, and some turns into heat.4 Commercial panels have improved a lot: under 10% efficient in the mid-1980s, about 15% by 2015, and now close to 25% for the best modules. Some experimental cells reach nearly 50%.914 A good panel today turns roughly a fifth of the light into power.
Heat is actually bad for solar cells: they work best when they're cool, because higher temperatures lower their voltage.4
Why the angle of a solar panel matters
A panel makes the most electricity when it faces the Sun head on.9 When it's tilted away, the same beam of light is spread over a slant, so less light lands on each cell.13 A low Sun in the morning, evening or winter is weaker too, because its light travels a longer path through the air. The most solar energy arrives around solar noon.6
That's why, in the northern hemisphere, panels usually face south (north in the southern hemisphere), tilted at roughly the local latitude to collect the most energy over a year.97 You can test this in chapter 5 of the explainer above.
Do solar panels work on cloudy days, or at night?
Cloudy days: yes, but less. Thick clouds can cut the direct beam of sunlight by up to 100%, but flat panels still catch the diffuse light scattered through the clouds.610
At night: no. With no sunlight on the panels, they make no useful current (moonlight is far too weak). That's what batteries and the grid are for.79
How long do solar panels last?
Silicon panels are expected to last 25 years or more and still make over 80% of their original power.1 The average lifespan has grown from about 20 years in 2007 to 25–35 years today, and recycling processes for old panels exist.8
Why are solar panels good?
- No pollution while running: PV systems produce no air pollutants or carbon dioxide while they operate.10
- No fuel and no moving parts: nothing to burn, and nothing spinning to wear out.11
- A huge supply: the sunlight Earth receives each day carries many times more energy than all the energy people use in a day.10
- Plentiful material: silicon is the second most common element in Earth's crust.1
When were solar panels invented?
The first practical solar cell was made by researchers at Bell Telephone in 1954. From the late 1950s, solar cells powered satellites in space.9
Common misconceptions
"Solar panels run on the Sun's heat." They run on light. Heat actually lowers their output. Solar water heaters are a different technology.
49
"The electricity comes from the Sun." The electrons were already in the silicon. Light gives them energy, and the junction's field gives them a direction.
12
"Solar panels don't work when it's cloudy." They make less, but scattered light still gets through.
6
"Solar panels store energy for the night." A panel stores nothing. No light, no current. Night-time power comes from batteries or the grid.
7
"The angle doesn't matter." Output drops as the panel turns away from the Sun.
913
FAQ
How do solar panels work, in simple words?
Each solar cell is a thin sandwich of two kinds of silicon with an electric field built in where they meet. When light hits the cell, it knocks electrons free. The field pushes them one way, and the only way for them to get back is through a wire you connect. That flow of electrons is an electric current.
Do solar panels work on cloudy days?
Yes, but they make less power. Thick clouds can block nearly all of the direct sunlight, but some light is scattered through the clouds, and flat solar panels can still use that diffuse light.
Do solar panels work at night?
No. With no sunlight on the panels, too few photons arrive to free electrons (moonlight is far too weak), so they make no useful current. Homes with solar panels use electricity from batteries or from the grid at night.
Do solar panels work in winter?
Yes. Solar cells actually work better when they are cool, because heat lowers their voltage. Winter output is lower mainly because days are shorter and the Sun is lower in the sky, so its light travels through more air and hits the panel at a slant.
How efficient are solar panels?
Good commercial panels turn roughly a fifth of the sunlight that hits them into electricity, and the best modules are approaching 25%. In the mid-1980s it was under 10%. Some experimental cells reach nearly 50%.
How long do solar panels last?
Silicon solar panels are expected to last 25 years or more and still produce more than 80% of their original power. The U.S. Department of Energy says the average lifespan has risen to about 25 to 35 years.
What are solar panels made of?
Mostly silicon, which comes from quartz sand. Thin silicon wafers are treated with small amounts of other atoms such as phosphorus and boron, given thin metal contact lines, wired together with copper ribbons, and sealed under glass in an aluminium frame.
Sources
- U.S. Department of Energy (SETO), Solar Photovoltaic Cell Basics
- U.S. Department of Energy (SETO), Solar Photovoltaic Technology Basics
- U.S. Department of Energy (SETO), Solar Integration: Inverters and Grid Services Basics
- U.S. Department of Energy (SETO), Solar Photovoltaic Performance and Efficiency Basics
- U.S. Department of Energy (SETO), Solar Manufacturing Basics
- U.S. Department of Energy (SETO), Solar Radiation Basics
- U.S. Department of Energy (SETO), Solar Photovoltaic System Design Basics
- U.S. Department of Energy (SETO), End-of-Life Management for Solar Photovoltaics
- U.S. Energy Information Administration, Photovoltaics and electricity
- EIA Energy Kids, Solar
- Encyclopaedia Britannica, Solar cell
- Encyclopaedia Britannica, Photovoltaic effect
- PVEducation (C. Honsberg & S. Bowden), Doping; P-n junction diodes; Arbitrary orientation and tilt
- NREL, Best Research-Cell Efficiency Chart