An everyday explanation · 2 min read

How a solar cell turns light into electric current

When silicon in a solar cell absorbs light, some photons give electrons enough energy to move through the material, leaving holes behind. An electric field at the junction helps separate the electrons and holes. Metal contacts collect the charges, and a connected circuit can carry current.

A small blue solar panel on a dark surface in angled sunlight.
Original AI-assisted editorial illustration. The explanatory drawing below is a separate, source-checked schematic.

Look a little closer

See the mechanism

From an absorbed photon to a current path

Separate chargeLight creates movable carriers, and the junction helps separate them.n sidep sidee⁻h⁺LightElectrons (e⁻) and holes (h⁺)
Separate charge. Light creates movable carriers, and the junction helps separate them.
Read the diagram steps

Separate charge. Light creates movable carriers, and the junction helps separate them.

Connect a load. Carriers collected at the contacts can sustain current in a complete external loop.

Original two-layer junction sketch. The outer arrow follows electrons through the circuit. The arrows inside the semiconductor trace representative paths for electrons and holes.

Diagram basis: Understanding the p-n Junction.

Sources: UNSW Sydney · U.S. Department of Energy

Light supplies energy to electrons in silicon

A photon absorbed by silicon can lift an electron out of a bound state. The mobile electron leaves a vacancy called a hole. As other electrons move into such vacancies, the holes can travel through the material as positive charge carriers.

The light supplies energy. The charges are already part of the semiconductor. Silicon absorbs some incoming light and loses some potential output when charges recombine before the contacts collect them.

An electron shifts right into an empty site. In the next drawing the empty site appears one position farther left.
A hole is a vacancy. When a neighboring electron fills it, the vacancy is left behind at the electron’s old position and appears to move the other way.

Sources: UNSW Sydney

Sources: UNSW Sydney · U.S. Department of Energy

The junction helps keep the carriers apart

The cell contains neighboring regions of silicon treated so one favors mobile electrons and the other favors holes. Where they meet, a built-in electric field forms. That field can send mobile electrons near the junction toward the n side and holes toward the p side.

The separation maintains a voltage between the contacts under illumination. Connections to those contacts let the cell transfer energy to another part of a circuit.

Sources: UNSW Sydney

The wire gives charges a way around

Connect a load across the contacts and electrons can travel through the external wire from the n-side contact to the p-side contact. Light keeps creating more pairs inside the cell. In steady light and with a closed circuit, this maintains a direct current.

Sources: UNSW Sydney · U.S. Department of Energy

The thing to remember

Light creates mobile charge carriers, the junction helps separate them, and the contacts supply current to a circuit.

What this example leaves out

Conventional silicon junction cell. The figures show representative carrier paths and omit collection losses, packaging and electronics.

Sources & further reading

Source access dates are listed below. Manufacturer descriptions and patents support the specific constructions described, not every product.

  1. Understanding the p-n Junction ↗

    UNSW Sydney · Retrieved 2026-11-26 · A silicon p–n junction has a built-in field. Light creates electron–hole pairs; the field can separate nearby carriers that are collected into an external circuit.
    Conventional junction-based silicon teaching example. Technical efficiency, geometry and losses are not generalized.

  2. PV Cells 101: A Primer on the Solar Photovoltaic Cell ↗

    U.S. Department of Energy · Retrieved 2026-11-26 · Light energy transfers to electrons in semiconductor; contacts extract current as DC.
    Overview supports light-to-current and contacts. No market or performance numbers used.

How we use sources and handle corrections

Keep the question going

Read this next.

Compare another construction in this part of the library: The chip makes colored light; a phosphor changes part of it. Follow the parts and the stated limits in each explanation.

Everyday machines · 2 min read

How an LED bulb turns electricity into white light

Continue reading