Look around you. The phone in your pocket, the car in your driveway, the laptop you’re reading this on — none of it exists without one deceptively simple component. The transistor may be the single most consequential invention of the 20th century, and yet most people have no idea what it actually does. So let’s fix that.
The story starts, oddly enough, with telegraph wires. Back in the 1800s, telegraph lines ran on primitive batteries — the kind that filled an entire closet at the station. The problem was distance: the longer the wire, the more electrical resistance it picked up, until the signal was too weak to read. The fix was the electric relay, invented in 1835. It’s a switch flipped not by a finger but by a second electric current. Split a 50-mile line into two 25-mile stretches, drop a relay in the middle, and the first circuit triggers a fresh burst of current in the second. Signal saved.
Mechanically, a relay is just an electromagnet: a coil around an iron core that pulls a metal switch shut when current flows. That satisfying click from your oven thermostat? That’s a relay doing its job. Cars still use them so a low-power dashboard button can fire up a high-power starter or headlights.
The catch is that relays are strictly on or off, and they’re slow. Enter the vacuum tube, invented around 1905. Picture a modified light bulb: a hot filament in a glass shell with the air pumped out. When that filament glows, it ejects electrons, which drift to a collector plate. Add a control grid between them, and you can throttle that electron flow — negative voltage pushes electrons back, positive voltage waves them through. Crucially, the output can vary, not just switch, which made the first audio amplifiers possible. Tubes also had no moving parts, so they were fast and silent — perfect for building logic gates and, eventually, room-sized computers like ENIAC in 1945.
But tubes ran hot, burned out constantly, and were enormous. Early machines needed full-time crews just to swap dead ones. The breakthrough came at Bell Labs in 1947: the transistor, built from semiconductors.
A semiconductor like silicon can behave as a conductor or an insulator depending on conditions. Add electrons and you get n-type material; remove them and the missing electrons act as positive “holes,” giving you p-type. Sandwich a p-type layer between two n-type ones and you have an NPN transistor. Normally electrons can’t cross from source to drain — but apply voltage to the gate, and the gate opens. Once again: one current controlling another, but now with exquisite precision.
And the payoff was miniaturization. The pocket transistor radios of the 1950s and ’60s packed six to 10 transistors. The iPhone 17 Pro contains up to 30 billion. That staggering leap is exactly why our computer-driven world hums along at all.