Skip to content
Doping: N-Type and P-Type

Doping: N-Type and P-Type

Pure silicon, on its own, is a mediocre and unpredictable conductor — useful for almost nothing. The trick that turns it into the basis of every transistor on Earth is called doping: deliberately mixing in a tiny, precisely controlled amount of a different element to flood the crystal with extra charge carriers. Doping is what makes silicon engineerable rather than just a curiosity.

What doping actually is

Recall from Atoms and Electrons that silicon has 4 valence electrons and forms 4 covalent bonds with its neighbors in the crystal lattice. Doping means replacing a small fraction of silicon atoms — often as few as 1 in a million — with atoms of a different element that has either one more or one fewer valence electron than silicon.

That single-electron mismatch is the whole trick. It creates either a spare electron with nowhere to bond, or a missing electron (a “hole”) where a bond can’t quite complete. Both of these give the crystal a controlled, predictable population of charge carriers, instead of relying on random thermal jolts to occasionally free one.

🧩 Think of it like… a marching band where everyone is supposed to link arms in rows of four. Swap one person out for someone who shows up with five arms sticking out (donor) — that one extra arm has nobody to link with, and it flails around freely. Swap someone else out for a person who only has three arms (acceptor) — now there's an empty gap in the row where an arm should be, and neighbors can shuffle into it, making the gap appear to move down the line. Doping is choosing exactly how many "extra-arm" or "missing-arm" people to place in the crowd.

N-type: adding phosphorus (donors)

Phosphorus has 5 valence electrons — one more than silicon. When a phosphorus atom replaces a silicon atom in the lattice, 4 of its electrons form the normal covalent bonds with neighboring silicon atoms, but the 5th electron has no bond to join. It’s only loosely attached to the phosphorus atom and takes very little energy to break free and roam through the crystal as a mobile, negative charge carrier.

Because phosphorus donates this free electron, it’s called a donor atom, and silicon doped this way is called N-type (N for negative, since the extra mobile carriers are negatively charged electrons).

P-type: adding boron (acceptors)

Boron has 3 valence electrons — one fewer than silicon. When a boron atom replaces a silicon atom, it can only form 3 of the 4 needed covalent bonds. The 4th bond position sits empty — a hole. A nearby valence electron from a neighboring silicon-silicon bond can hop into that empty spot, filling the original hole but leaving a brand new hole behind at its old location. Repeat this many times, and the hole appears to migrate through the crystal, acting for all practical purposes like a mobile, positive charge carrier.

Because boron accepts an electron to complete its bonds, it’s called an acceptor atom, and silicon doped this way is called P-type (P for positive, since the mobile carriers behave as positive holes).

    flowchart TB
    subgraph NType["N-type silicon"]
        direction TB
        P["Phosphorus (5 valence e⁻)<br/>donates 1 free electron"] --> E["Extra mobile electron<br/>(negative carrier)"]
    end
    subgraph PType["P-type silicon"]
        direction TB
        B["Boron (3 valence e⁻)<br/>leaves 1 bond incomplete"] --> H["Mobile hole<br/>(positive carrier)"]
    end
  

Donor and acceptor energy levels

This connects directly back to Energy Bands. A donor atom like phosphorus creates a new, shallow energy level that sits just barely below the conduction band — so its spare electron needs only a tiny nudge of thermal energy (much less than the full 1.12 eV band gap) to jump into the conduction band and become a free carrier. An acceptor atom like boron creates a shallow level just above the valence band, making it easy for a nearby valence electron to hop up into that level, leaving a hole behind in the valence band.

This is why doped silicon conducts far better, and far more predictably, than pure silicon at room temperature: instead of waiting for rare, unpredictable full band-gap jumps, most doped carriers only need to cross a much smaller energy step.

Controlling conductivity with dopant concentration

The beauty of doping is that it’s quantitative. The concentration of dopant atoms — typically expressed as atoms per cubic centimeter — directly sets how many free carriers exist, and therefore how conductive the material is. Chip manufacturers control this concentration with extreme precision using a process called ion implantation (covered in the manufacturing section), routinely placing dopant atoms with better than 1% accuracy across an entire silicon wafer.

Both N-type and P-type silicon remain electrically neutral overall — the donor or acceptor atoms themselves are fixed in the lattice and don’t carry net charge on their own. It’s only the mobile electrons or holes that move around and carry current; the “extra” or “missing” charge is balanced by the fixed dopant ion left behind.

Why this matters: doping is the raw material of every device

By itself, N-type or P-type silicon is just a resistor with adjustable resistance — mildly useful, but not revolutionary. The real power comes from putting a region of N-type silicon directly next to a region of P-type silicon. That boundary, called a PN junction, is the single building block from which diodes, transistors, and every logic gate in a modern processor are constructed. That’s the subject of the very next page: The PN Junction Diode.

Key takeaways

  • Doping means replacing a tiny fraction of silicon atoms with atoms that have one more or one fewer valence electron.
  • Phosphorus (5 valence electrons) is a donor, creating N-type silicon with mobile free electrons.
  • Boron (3 valence electrons) is an acceptor, creating P-type silicon with mobile holes.
  • Donor and acceptor atoms create shallow energy levels near the conduction or valence band, making it far easier for carriers to become mobile than in pure silicon.
  • Dopant concentration precisely and predictably controls conductivity — this is what makes silicon engineerable.
  • Joining N-type and P-type regions creates a PN junction, the foundation of the diode and transistor. See The PN Junction Diode and The Bipolar Transistor.