The neuron
A nerve cell is a leaky capacitor, a battery, thousands of noisy switches and a chemical messenger, all in one. Here is how it works, and why it is far more than a transistor.
Right now, as you read this sentence, billions of tiny electrical pulses are racing through your head. Each one lasts about a thousandth of a second. Each one is made by a cell so small that a hundred of their bodies would fit across the width of a pinhead.
That cell is the neuron. Everything in the rest of this book, from how the brain computes to how we might copy its tricks in silicon, rests on understanding it.
The good news is that a neuron, for all its beauty, is built from a handful of parts that an engineer already knows: a capacitor, batteries, switches, an amplifier and a cable. Let us take them one at a time.
What a neuron does, in one paragraph
A neurona nerve cell: a cell that receives, combines and sends electrical signals collects small inputs from thousands of other neurons. It adds them in a rich, nonlinear way. When the total passes a threshold, it fires a short electrical pulse, the spikea brief, all-or-nothing electrical pulse, about a millisecond long, that a neuron sends down its output cable. The spike travels along a long cable to thousands of other neurons, where it releases chemicals that nudge each of them a little.
Here is a good first model, in engineering terms:
A neuron is a leaky, analog adder with a digital (spike or no spike) output. It has a huge number of inputs and outputs, and it keeps its weights at its inputs, so memory and calculation sit in the same place.
The weights are the synapsesthe contact points where one neuron passes a signal to the next; their strength is the brain's version of a stored weight. The rest of this chapter unpacks that model, part by part, and ends with a side-by-side comparison of a neuron, a transistor and an artificial neuron in a language model.
The parts of a neuron
A neuron is a cell, like the cells in chapter 1. It has a nucleus, DNA, protein factories and mitochondriathe cell's power stations, which make the energy molecule ATP. What makes it special is its shape: a tree of inputs, a body, and one long output cable.

A PYRAMIDAL NEURON OF THE CORTEX (simplified, not to scale)
dendrites (input tree)
\ | / \ | /
\ | / \|/ ◄── thousands of synapses land here,
\|/ ______| mostly on small knobs ("spines")
\ /
\ /
┌───────┐
│ SOMA │ cell body: nucleus, protein factories (10–30 µm)
└───┬───┘
│ ◄── axon initial segment: the spike starts here
│
═══╪═══ myelin (insulation)
│ ◄── node of Ranvier: a 1 µm gap in the myelin
═══╪═══ myelin
│
┌────┼────┐ axon branches (output)
│ │ │
● ● ● ◄── presynaptic terminals (boutons): they release chemicals| Part | What it is | Approximate size | Role, in engineering terms |
|---|---|---|---|
| Dendrites | A branching tree of thin tubes | Tree spans 0.2–1 mm; branches 0.5–5 µm wide | Input wires that also do local calculation |
| Dendritic spines | Small knobs on the dendrites | Head about 0.5–1 µm | Where most excitatory synapses land; a bigger spine usually means a stronger synapse |
| Soma (cell body) | Holds the nucleus | 10–30 µm for a cortical pyramidal neuron | Power supply and "factory"; also adds up the inputs |
| Axon initial segment | First stretch of the axon, packed with sodium channels | About 20–60 µm long | The comparator: the spike starts here |
| Axon | The output cable | 0.1–20 µm wide; up to about 1 m long | One output that branches to thousands of targets |
| Myelin | Fatty insulation wrapped round the axon by other cells | Sections 0.2–2 mm long | Insulation, with "repeaters" in the gaps |
| Presynaptic terminal (bouton) | A small swelling at the end of an axon branch | About 1 µm | The transmitter, full of packets of signal chemicals |
| Synaptic cleft | The gap between two cells at a synapse | About 20 nm | The gap the chemical signal crosses |
A typical pyramidal neuron in the human cortex receives somewhere between 1,000 and 30,000 synapses; 7,000 to 10,000 is a commonly used average. A Purkinje cella large neuron in the cerebellum with a spectacular flat fan of dendrites in the cerebellum receives 100,000 to 200,000, the largest fan-in in the brain.

Compare a logic gate on a chip: it has one to four inputs and drives about four other gates (chapter 4 of Sand to Answers). A neuron has thousands of times more connections. In software terms, a logic gate is a function with two arguments; a neuron is a function with ten thousand.
The membrane is a capacitor
Conductor, insulator, conductor
Every cell is wrapped in a thin film of fat, the membranethe cell's outer skin: a double layer of fat-like molecules about 5 nanometres thick. Electrically charged atoms, ionsatoms with an electric charge, such as sodium (Na⁺) and potassium (K⁺), cannot pass through the fat.
On both sides of the membrane there is salt water, and salt water conducts electricity. So the membrane is a conductor, an insulator and a conductor, stacked together. That is exactly what a capacitora device that stores electric charge on two conductors separated by a thin insulator is.
THE MEMBRANE AS A CAPACITOR
outside the cell: salt water (conductor) + + + + + + + + + +
════════════════════════════════════════ membrane, about 5 nm (insulator)
inside the cell: salt water (conductor) − − − − − − − − − −
Voltage across the membrane at rest: about −70 mV (inside is negative)The numbers of this capacitor
| Item | Value | What it means |
|---|---|---|
| Capacitance per area | about 1 µF per cm² (10 fF per µm²) | Nearly the same in all neurons; cortical measurements give about 0.9 µF/cm² |
| Resting voltage | about −70 mV (range −60 to −75 mV) | The inside is negative compared with the outside |
| Electric field across the membrane | 70 mV ÷ 5 nm ≈ 14 million V/m | Close to the breakdown field of many insulators |
| Ions to shift the voltage by 100 mV | about 6,200 per µm² | A tiny fraction of the ions in the cell |
That last line holds a surprise. A spike moves only a small number of ions. The salt concentrations inside the cell hardly change in one spike. The real cost comes later: the cell must pump every one of those ions back, after every spike, for its whole life.
The leak: an RC circuit
The membrane is not a perfect insulator. Some channels are always open, so a little current leaks through. Each patch of membrane is therefore a resistor in parallel with a capacitor: an RC circuita resistor and capacitor together; charge stored in the capacitor leaks away through the resistor over a characteristic time.
The time constantthe time an RC circuit takes to lose about two-thirds of its charge; it is resistance times capacitance is about 10–30 ms for a cortical neuron. Charge an input onto the membrane and it fades away in tens of milliseconds, like a bucket with a small hole in it.
This is the idea behind the simplest useful model of a neuron, the leaky integrate-and-fire modela neuron model that adds up its inputs, lets the sum slowly leak away, and fires when the sum passes a threshold. A long dendrite or axon is a chain of these leaky patches, behaving like a resistive-capacitive wire on a chip. Neuroscientists call the maths cable theory; Wilfrid Rall applied it to dendrites in the 1950s and 1960s.
The battery: ion gradients and the pump
A capacitor alone does nothing interesting. A neuron also needs batteries. Its batteries are differences in salt concentration between inside and outside.
Different salt inside and outside
| Ion | Inside (mM) | Outside (mM) | Ratio | Voltage this gradient makes (37 °C) |
|---|---|---|---|---|
| Potassium, K⁺ | about 140 | about 5 | 28 : 1 | about −90 mV |
| Sodium, Na⁺ | about 10–15 | about 145 | 1 : 10 | about +60 mV |
| Chloride, Cl⁻ | about 10 | about 110 | 1 : 11 | about −65 to −70 mV |
| Calcium, Ca²⁺ | about 0.0001 | about 1.2–2 | 1 : 10,000 or more | about +120 mV |
(mM means millimoles per litre, a unit of concentration.)
Each gradient acts as a battery. Its voltage comes from the Nernst equationthe formula that gives the voltage produced by a difference in ion concentration across a membrane. At body temperature, each tenfold difference in concentration is worth about 61.5 mV.
Why the resting voltage is −70 mV
At rest, the membrane lets potassium through about 25 to 50 times more easily than sodium. So the voltage sits near the potassium battery (−90 mV), and a small sodium leak pulls it up to about −70 mV.
THE MEMBRANE AS TWO BATTERIES WITH VARIABLE RESISTORS
outside
────┬──────────────────┬──────────────────┬──────
│ │ │
[ R_K ] [ R_Na ] ═══ C (membrane capacitor)
│ │ │
( −90 mV ) ( +60 mV ) │
│ │ │
────┴──────────────────┴──────────────────┴──────
inside
At rest: R_K is low, R_Na is high → voltage near −70 mV
In a spike: R_Na drops sharply for about 0.5 ms → voltage rises to about +40 mV
then R_K drops → voltage returns to −70 mVThe ion channels are the variable resistors. A spike is simply a fast change in these resistors, first sodium and then potassium.
The sodium–potassium pump
Each spike lets sodium in and potassium out. If nothing put them back, the batteries would go flat. A membrane protein, the sodium–potassium pumpa protein that spends ATP to push sodium out of the cell and pull potassium in, recharges them.
- For each molecule of ATPadenosine triphosphate, the small molecule cells use as rechargeable batteries for energy it spends, the pump moves 3 sodium ions out and 2 potassium ions in.
- One pump can run up to about 100 cycles each second.
- Jens Skou discovered the pump in 1957, and shared the 1997 Nobel Prize in Chemistry for it.
One ATP delivers about 9 × 10⁻²⁰ J inside a cell, roughly 21 times the random thermal energy of a molecule at body temperature. The pump is the brain's biggest single user of energy: most of the brain's energy goes to pumping sodium back out after signals. Chapter 11 gives the full energy budget.
Think of a water tower. A pump fills the tank slowly, all day. When you open a tap (an ion channel), water rushes out quickly and needs no energy at that moment. But the pump must later pay for every litre.
Ion channels: voltage-controlled switches
What an ion channel is
An ion channela protein that forms a tiny pore through the membrane, letting one kind of ion through when it is open is a protein with a small hole through the membrane. Each type lets through only one kind of ion, for example only sodium or only potassium. A channel is either open or closed.
There are two main families:
| Type | What opens it | Example | Where |
|---|---|---|---|
| Voltage-gated | A change in membrane voltage | Sodium channels, potassium channels | Axon, axon initial segment, dendrites |
| Ligand-gated | A chemical binding to it | AMPA and NMDA receptors (opened by glutamate); GABA-A receptors (opened by GABA) | The receiving side of synapses |
How a voltage-gated channel works
A voltage-gated channel has charged parts that act as a voltage sensor. When the voltage across the membrane changes, the electric field pushes on the sensor, and the sensor tugs the pore open or shut.
| Property | Voltage-gated sodium channel |
|---|---|
| Time to open after the voltage rises | about 0.1–0.5 ms |
| Time until it blocks itself (inactivation) | about 1 ms |
| Ions through it while open | about 10 million per second |
| Density at a node of Ranvier | about 1,000–2,000 per µm² |
A stochastic transistor
An engineer can think of a voltage-gated channel as a stochasticrandom; governed by probability rather than fixed rules transistor. The voltage does not set "on" or "off". It sets the probability that the channel is open. Each channel flickers open and closed at random. The neuron's smooth behaviour is the average of thousands of these noisy switches.
That is a big difference from a silicon transistor, which is designed to be firmly on or firmly off (chapter 3 of Sand to Answers). A channel is designed to be noisy, and the cell uses large numbers of them to average the noise away. It is rather like a website that stays reliable because it runs on thousands of servers, even though any one of them might drop a request.
The human genome has about 400 genes for ion channels, and different neurons use different mixtures. This is how evolution tunes each kind of neuron to fire fast, slow, in bursts or steadily.
Channel research has earned two Nobel Prizes. Erwin Neher and Bert Sakmann recorded the current through a single channel in 1976, using the patch clampa glass pipette with a tip about 1 µm wide, sealed onto a cell membrane to record tiny currents (Nobel Prize 1991). Roderick MacKinnon revealed the atomic structure of a potassium channel in 1998 (Nobel Prize in Chemistry 2003).
The spike
The scientific name for a spike is the action potentialthe formal name for a spike: the brief reversal of a neuron's membrane voltage. This section uses both words.
A spike, step by step
VOLTAGE OF ONE SPIKE, MEASURED AT THE AXON
+40 mV ┤ ╭╮
│ ╱ ╲
0 mV┤──────────╱────╲──────────────────────────
│ ╱ ╲
−55 mV ┤······· ╱ ·······╲······· threshold
−70 mV ┤───────╯ ╲ ╭──────────── rest
−80 mV ┤ ╰────────╯ after-hyperpolarisation
└────┬────┬────┬────┬────┬────┬────┬──► time
0 0.5 1 1.5 2 2.5 3 ms
① inputs push the voltage up to the threshold
② sodium channels open: Na⁺ rushes in (positive feedback)
③ peak: sodium channels block themselves; potassium channels open
④ K⁺ flows out: the voltage falls, a little below rest
⑤ refractory period: about 1–2 ms with no new spike possible- Inputs. Synapses push the membrane voltage up from −70 mV towards about −55 mV, the threshold.
- Positive feedback. At threshold, enough sodium channels open that sodium flows in faster than potassium flows out. The inflow raises the voltage, and the higher voltage opens still more sodium channels.
- The peak. Within about half a millisecond, the voltage reaches roughly +30 to +40 mV, close to the sodium battery. Then the sodium channels block themselves.
- The fall. Potassium channels, a little slower, open. Potassium flows out, and the voltage drops to about −80 mV, just below rest.
- The refractory perioda short time after a spike, about 1–2 ms, when the neuron cannot fire again. This caps the firing rate at about 500–1,000 spikes per second. Most neurons fire far more slowly.
Every spike has about the same shape. It is all or nothing. A stronger input does not make a bigger spike. It makes more spikes per second, or an earlier one.
| Property of a spike | Approximate value |
|---|---|
| Duration | about 1 ms (0.3–0.5 ms half-width in fast interneurons; 1–2 ms in pyramidal neurons) |
| Amplitude | about 100 mV, lowest to highest |
| Threshold | about −55 mV |
| Maximum rate | about 500–1,000 per second, in short bursts |
| Typical average rate in the cortex | less than one to a few per second (chapter 10) |
The spike travels without loss
When one patch of axon fires, its current spreads to the next patch. That patch crosses threshold and fires too. So the spike rebuilds itself all the way down the axon and never fades with distance.
A passive wire loses signal as it goes. An axon is different, because every patch is an amplifier. An axon behaves like a digital line with a repeater at every point. The refractory period behind the spike stops it from running backwards.
Hodgkin and Huxley, 1952
How do we know all this? Largely thanks to two remarkable scientists and a squid.
Alan Hodgkin and Andrew Huxley, working at Cambridge and at the marine laboratory in Plymouth, studied the giant axon of the squid, which controls the animal's escape jet. It is up to about 0.5–1 mm wide, wide enough to slide a wire electrode inside.

They used the voltage clampan electronic feedback circuit that holds a membrane at a chosen voltage and measures the current needed to keep it there. Holding the voltage steady let them measure the current at each voltage, and separate the sodium current from the potassium current.
In 1952 they published five papers in the Journal of Physiology. The last one gave four equations: one for the voltage, and three for the "gates" of the sodium and potassium channels. The equations reproduced the spike's shape, its speed and its threshold, years before anyone could see a channel. Huxley solved them with a hand-cranked mechanical calculator. Hodgkin and Huxley shared the 1963 Nobel Prize with John Eccles, who studied synapses.


The Hodgkin–Huxley model is still the foundation of detailed neuron simulators. It was a triumph of physics thinking in biology: measure the currents, write the equations, test the prediction.
Mammalian spikes are efficient
In the squid axon, the sodium and potassium currents overlap in time, so some incoming sodium is cancelled by outgoing potassium. The squid uses about four times the minimum sodium needed to charge its membrane.
In 2009, Henrik Alle, Arnd Roth and Jörg Geiger measured spikes in axons from the rat hippocampus. The sodium entry was only about 1.3 times the theoretical minimum. Mammalian sodium channels close faster and potassium channels open later, so the two currents barely overlap. Evolution has tuned the mammalian spike for thrift. Chapter 11 shows how this one result reshaped our picture of the brain's energy budget.
Speed: thin wires, thick wires and myelin
| Type of axon | Approximate speed | Example |
|---|---|---|
| Thin, without myelin | 0.5–2 m/s | Pain and temperature fibres |
| Typical cortical axon | about 0.5–10 m/s | Local connections |
| Thick, with myelin | 70–120 m/s | Nerves to muscles; the sense of body position |
In 1850, Hermann von Helmholtz measured the speed of a nerve signal for the first time: about 27 m/s, in a frog. People were astonished. Many had assumed nerves carried signals at something like the speed of electricity in a wire.
How myelin makes axons faster
Without insulation, a thicker axon is faster, but only with the square root of its diameter: to double the speed, the axon must be four times thicker. The squid took that route. Vertebrates found a cleverer one: myelinlayers of fatty membrane wrapped around an axon, like insulation round a cable.
Support cells wrap up to about 100 layers of membrane around the axon. This does two things:
- Lower capacitance. Many membranes in series make a thick insulator, so less charge is needed to change the voltage.
- Less leak. Current travels further along the inside of the axon before escaping.
The wrapping has gaps every 0.2–2 mm. Each gap, a node of Ranviera short, bare gap in an axon's myelin where the spike is regenerated, is about 1 µm long and packed with sodium channels. The spike regenerates only at the nodes, so it seems to leap from node to node. This is called saltatory conduction, from the Latin word for "jump". Andrew Huxley, with Robert Stämpfli, demonstrated it in 1949.

SALTATORY CONDUCTION
axon ──[ myelin ]──●──[ myelin ]──●──[ myelin ]──●──[ myelin ]──►
↑ ↑ ↑
node of Ranvier: spike regenerates here, about 1 µm
◄── about 0.2–2 mm ──►
Chip analogy: a long, low-capacitance wire with a repeater every millimetre.Myelin also saves energy, because only the nodes need charging and pumping. In multiple sclerosis, the immune system attacks myelin, and spikes slow down or fail, which shows how much the brain depends on it.
Compare with a chip
Even the fastest axon is slow by electronic standards. At 120 m/s, a spike takes about 8 ms to travel a metre. A signal on a chip wire travels at a large fraction of the speed of light, roughly 10⁸ m/s. Brain wires are about a million times slower than chip wires. The brain has to compute with slow wires, and chapter 11 shows that this slowness is part of why it needs so little power.
The synapse: a chemical connection
Most neurons talk through chemical synapsesjunctions where an electrical spike is turned into a burst of chemicals, which then trigger an electrical response in the next cell. The electrical spike becomes a chemical signal, crosses a 20-nanometre gap and becomes electrical again.
A synapse, step by step
A CHEMICAL SYNAPSE (excitatory, glutamate)
PRESYNAPTIC TERMINAL (sender)
┌──────────────────────────────────────────┐
│ ○ ○ ○ vesicles: about 40 nm, each │
│ ○ ○ ○ ○ holds about 2,000–4,000 │
│ glutamate molecules │
│ ▼ spike arrives → Ca²⁺ channels open │
│ Ca²⁺ in → vesicle fuses → release │
└─────────────────┬────────────────────────┘
│ • • • glutamate
cleft ≈ 20 nm │ • • • crosses in microseconds
┌─────────────────┴────────────────────────┐
│ ▓ ▓ ▓ receptors (AMPA, NMDA) open │
│ Na⁺ in → small voltage change │
│ (about 0.1–1 mV) │
└──────────────────────────────────────────┘
POSTSYNAPTIC SPINE (receiver)- The spike reaches the sending terminal and opens voltage-gated calcium channels.
- Calcium rushes in. Near the release sites, its concentration jumps from about 0.1 µM to about 10–100 µM.
- Calcium binds a sensor protein on a vesiclea tiny bubble of membrane, about 40 nm across, filled with signal chemicals. A set of proteins pulls the vesicle against the cell membrane, and it fuses, spilling its contents into the cleft.
- The neurotransmittera chemical messenger that carries a signal across a synapse, such as glutamate or GABA molecules cross the cleft in microseconds and bind receptors on the receiving cell.
- The receptors are ligand-gated channels. They open, ions flow, and the receiving cell's voltage shifts by about 0.1–1 mV.
- Transporters on neurons and support cells clear the transmitter away. The synapse is ready again.
One vesicle is one quantum of transmitter. Bernard Katz showed in the 1950s that transmitter is released in these fixed packets, and shared the 1970 Nobel Prize. James Rothman, Randy Schekman and Thomas Südhof shared the 2013 Nobel Prize for discovering the machinery that moves and fuses vesicles.

Timing
The synaptic delaythe short pause, under a millisecond, between a spike arriving at a synapse and the receiving cell starting to respond is about 0.3–0.5 ms at body temperature, mostly spent on the calcium and fusion steps. From a spike in the sender to the first response in the receiver takes about 0.5–1 ms.
Many inputs make one output
One synapse nudges the receiver by about 0.1–1 mV, while the threshold sits about 15 mV above rest. So a neuron usually needs tens of inputs arriving close together before it fires. A single synapse is a vote, not a command.
Synapses are unreliable
Here is a fact that surprises every engineer: most synapses fail most of the time.
When a spike reaches a release site, a vesicle is released only with some probability, the release probabilitythe chance that a spike arriving at a synapse actually releases a vesicle. It differs widely between synapses, from about 0.05 to about 0.9. Many synapses in the forebrain release on only a minority of spikes; a figure of about 15% is often quoted for a typical one, though estimates vary, and some researchers think release in a living animal is lower than in brain slices.
Compare a memory chip, which returns a wrong bit perhaps once in 10¹⁵ reads. A typical synapse "fails" on most spikes.
Why would evolution build such an unreliable wire? There are several lovely hypotheses, and none is proven.
| Hypothesis | The idea |
|---|---|
| Saving energy | Each released vesicle costs roughly 160,000 ATP molecules, counting the receiver's response and the clean-up. Fewer releases cost less. Some models find that failures give the most information per joule. |
| Random sampling | Randomness may let the brain represent uncertainty, each spike acting like one sample from a probability distribution. |
| Regularisation | Random failures stop the network from relying on any single connection, much like "dropout" in machine learning. |
| Short-term memory | Release probability changes with recent activity. Some synapses grow stronger in a burst, others weaker, giving a memory of the last few hundred milliseconds. |
The third idea is especially fun for anyone who trains neural networks. Dropouta training trick in deep learning that switches off random units, so the network does not over-rely on any one of them deliberately makes artificial networks unreliable during training, and it makes them generalise better. Perhaps evolution found the same trick first.
The strength of a synapse is a product of three numbers: how many release sites it has, how likely each is to release, and how big the response to one vesicle is. A synapse is a noisy, analog multiplier with its weight stored inside it.
Excitation and inhibition
Two main transmitters
| Transmitter | Effect | Main receptors | Share of cortical neurons that use it |
|---|---|---|---|
| Glutamate | Excitatory: pushes the receiver towards threshold | AMPA (fast, milliseconds); NMDA (slower) | about 80–90% |
| GABA | Inhibitory: holds the receiver near rest or below it | GABA-A (opens chloride channels) | about 10–20% |
In the spinal cord, the main inhibitory transmitter is glycine.
The NMDA receptor: an AND gate made of one molecule
The NMDA receptora glutamate receptor that opens only when glutamate is present and the receiving cell is already partly excited has a wonderful trick. At rest, a magnesium ion plugs its pore, so glutamate alone cannot open it. The magnesium pops out only when the receiving membrane is already depolarised (more positive).
So the NMDA receptor opens only when both of these are true:
- The sender has released glutamate (the input is active), AND
- The receiver is already depolarised (the output side is active).
That makes it a coincidence detectorsomething that responds only when two events happen at the same time, an AND gate in a single protein. When it opens, it lets calcium in, and calcium triggers the chemistry that strengthens a synapse. Chapter 10 shows how this underpins learning.
Dale's principle and balance
A neuron usually releases the same transmitter at all its outputs. This is Dale's principlethe rule that a neuron releases the same chemical messenger at all of its synapses, so it is either excitatory or inhibitory. Artificial neural networks happily break this rule: one unit can send positive weights to some units and negative weights to others.
In the cortex, each neuron receives strong excitation and strong inhibition at the same time, nearly cancelling. It fires when the balance tips for a moment. This balanced state keeps the network both quick to respond and stable.
Other kinds of signal
- Neuromodulatorschemicals such as dopamine and serotonin that adjust how neurons respond and learn, rather than carrying fast signals such as dopamine, serotonin, noradrenaline and acetylcholine act more slowly and broadly. They behave like global settings, not data. Chapter 10 explains dopamine and learning.
- Electrical synapses, or gap junctions, are direct pores between two cells. Current flows with almost no delay, in both directions, and some networks of inhibitory neurons use them to fire in step.
One neuron is a small network
The old model: a weighted sum
In 1943, Warren McCulloch and Walter Pitts described a neuron as a simple logic unit: add up weighted inputs, compare with a threshold. This "point neuron" is the ancestor of the artificial neuron in every deep learning model.
THE ARTIFICIAL NEURON (point neuron)
x₁ ──w₁──┐
x₂ ──w₂──┤
x₃ ──w₃──┼──► Σ (sum) ──► f( ) (nonlinearity) ──► output
... │
xₙ ──wₙ──┘The real model: dendrites compute
Real dendrites are not passive wires. They have their own voltage-gated channels and NMDA receptors. When many synapses on one branch fire together, that branch can produce its own local spike. Inputs on the same branch combine more than linearly, while inputs on different branches add roughly linearly.
A PYRAMIDAL NEURON AS A TWO-LAYER NETWORK
branch 1 inputs ──► [ σ ] ──┐
branch 2 inputs ──► [ σ ] ──┤
branch 3 inputs ──► [ σ ] ──┼──► [ Σ, threshold ] ──► spike
... │ (soma)
branch k inputs ──► [ σ ] ──┘
each branch = one hidden unit
with a nonlinear output (σ)Three results changed how researchers think about a single neuron.
- 2003. Panayiota Poirazi, Terrence Brannon and Bartlett Mel showed that a detailed model of a hippocampal pyramidal neuron behaves like a two-layer neural network, each dendritic branch acting as one hidden unit.
- 2020. Albert Gidon, Matthew Larkum, Panayiota Poirazi and colleagues recorded from human cortical neurons in tissue removed during epilepsy surgery. Their dendrites produced calcium spikes that were largest for medium inputs and smaller for strong ones. That lets a single dendrite compute XORexclusive OR: true when exactly one of two inputs is true; famously impossible for a single-layer perceptron, something a classic single-layer perceptron cannot do.
- 2021. David Beniaguev, Idan Segev and Michael London trained deep networks to mimic a detailed model of a cortical neuron at millisecond precision. They needed a network five to eight layers deep. Remove the NMDA receptors from the model, and a network with a single hidden layer was enough.
The 2021 result is striking. It suggests that the NMDA receptor, the molecular AND gate, is the source of much of a neuron's complexity, and that the brain's "compute" may be far larger than a simple count of synapses times spikes. Chapter 10 explores what that means for estimates of brain compute.
A fair caution: these results come from single cells and models. Researchers do not yet know how much the brain uses dendritic calculation during everyday behaviour.
Glia: the other half of the brain
Neurons are not alone. The brain's other cells are gliathe brain's support cells; the name comes from the Greek word for "glue". For decades, textbooks said there were ten glia for every neuron. Careful counting showed that this was not right. Across the whole human brain there is roughly one non-neuronal cell for each neuron: about 85 billion of them alongside about 86 billion neurons, according to the 2009 count by Frederico Azevedo, Suzana Herculano-Houzel and colleagues.
The ratio varies by region. The cerebellum has far more neurons than glia, because it is packed with billions of tiny neurons. The cortex has more glia than neurons. In a cubic millimetre of human cortex mapped in exquisite detail in 2024, glia outnumbered neurons by about two to one.
| Type of glia | What it does | Analogy |
|---|---|---|
| Astrocytes | Clear glutamate and excess potassium after signals; link neurons to blood vessels; supply fuel. One can touch about 100,000 synapses in a rodent | Maintenance and power crew |
| Oligodendrocytes | Make myelin in the brain and spinal cord; one cell can wrap up to about 50 axon segments | Cable-insulation team |
| Microglia | Immune cells; remove dead cells and, during development, trim surplus synapses | Security and cleaning |
| Schwann cells | Make myelin in the nerves of the body | Insulation team for long-distance lines |
Do glia compute too? Astrocytes have slow calcium signals, lasting seconds, and can change how synapses behave. Some researchers think they take part in learning. It is one of the most intriguing open questions in neuroscience.
Neuron, transistor and artificial neuron, side by side
This table is the heart of the chapter. The notes below it matter as much as the numbers, because the comparison is easy to misread.
| Property | Biological neuron (human cortex) | Transistor (3–5 nm class, 2025) | Artificial neuron (one unit in a language model, on a GPU) |
|---|---|---|---|
| Size | Body 10–30 µm; with dendrites and axon, millimetres to centimetres | Gate pitch about 45–50 nm; over 100 million per mm² | Not a physical object: a row of numbers in memory |
| Time for one event | Spike about 1 ms; synaptic delay about 0.5 ms; time constant 10–30 ms | Gate delay about 1–10 ps; clock 1–3 GHz | One step of a matrix multiply; a token through the whole model takes about 10–100 ms |
| Event rate | Average below one to a few spikes per second | Up to about 10⁹ switches per second | Every unit computes for every token |
| Energy per event | One vesicle release about 15 fJ; one whole spike about 10–35 pJ (estimates) | One switch about 0.1–1 fJ (estimate) | About 0.2–0.7 pJ per arithmetic operation at chip level, plus memory access |
| Signal voltage | About 100 mV swing | About 0.7 V supply | Not applicable: numbers, not voltages |
| Inputs (fan-in) | About 1,000–30,000 (up to 200,000 in a Purkinje cell) | 1–4 | Thousands (the model's width) |
| Outputs (fan-out) | About 1,000–10,000 | About 4 | Thousands |
| Analog or digital | Mixed: analog dendrites, all-or-nothing spike, random synapses | Digital, designed to suppress analog behaviour | Digital numbers, such as 8-bit or 16-bit |
| Reliability | Many synapses release on a minority of spikes | Errors around once in 10¹⁵ operations or fewer | Exact and repeatable |
| Where the weight lives | Inside the synapse (about 4.7 bits, chapter 10) | Not in the transistor; in separate memory | In HBM memory, moved to the compute units for every token |
| How many in one system | About 86 billion neurons and 10¹⁴–10¹⁵ synapses | About 208 billion in one NVIDIA B200 (2024) | Hundreds of billions to over a trillion weights in the largest models (estimates) |
| Repairs itself | Yes, slowly | No | No; you retrain |
The energy figures for a spike and for the GPU are estimates; chapter 11 shows how they are calculated.
How to read this table
- A neuron is not a transistor. A transistor is a switch with one control input. A neuron has thousands of inputs, keeps its weights, calculates in its dendrites and fires a few times a second. By the 2021 result, one neuron is closer to a small deep network than to any single switch.
- A synapse is not a transistor either. The fair partner for one synapse is a stored weight, plus one multiplication, plus the wire that brings the input: memory, multiplier and interconnect in one object about a micrometre across.
- One synaptic event uses more energy than one transistor switch. The brain's parts are not better than silicon's. The brain wins by architecture: it keeps weights where they are used, and it does almost nothing most of the time (chapter 11).
- The brain accepts noise; chips pay to remove it. Chips spend energy on voltage margins and error correction, and get perfect repeatability in return, which is its own superpower. The brain uses many unreliable parts and averages them.
Open questions
We know, in beautiful detail, how one spike works. What we do not yet know is how much of a neuron's richness the brain actually uses. Here are the questions I find most exciting.
- Do dendrites compute during real behaviour? Dendritic spikes are clear in slices and models. How often do they shape what an animal actually does?
- Why are synapses so unreliable? Energy, sampling, regularisation and short-term memory are all plausible. Could more than one be true at once?
- Do glia take part in computing? Astrocytes touch enormous numbers of synapses and signal on slow timescales. Are they part of the brain's learning machinery?
- Would AI benefit from smarter units? If one neuron is a small deep network, could artificial units with "dendrites" make models smaller or more efficient? A few research groups are testing the idea.
- Can hardware embrace noise? Brains compute with parts that fail most of the time. Probabilistic and analog chips (chapter 14) try to turn noise into a resource rather than a cost.
- How much detail does a brain model need? The answers to all of the above decide how much compute a faithful simulation of a brain would require.
Who works on it
| Topic | Some of the labs and people |
|---|---|
| Dendritic calculation | Matthew Larkum (Humboldt University, Berlin); Panayiota Poirazi (FORTH, Crete); Idan Segev and Michael London (Hebrew University of Jerusalem); Mark Harnett (MIT) |
| Synapses and their reliability | Tiago Branco (Sainsbury Wellcome Centre, UCL); Thomas Südhof (Stanford) |
| The energy of signals | David Attwell (UCL); Simon Laughlin (Cambridge) |
| Glia | Baljit Khakh (UCLA); Beth Stevens (Boston Children's Hospital) |
Many leaders in this field trained in physics or electrical engineering before turning to the brain, just as Hodgkin and Huxley brought physics to the squid axon. Experimental work needs patch-clamp skills, electronics and microscopes; theory needs differential equations and, increasingly, machine learning.
What to remember
- A neuron collects thousands of inputs on its dendrites, combines them, and fires an all-or-nothing spike along its axon.
- The membrane is a capacitor, ion gradients are its batteries, and the sodium–potassium pump recharges them, using most of the brain's energy.
- Ion channels are noisy, voltage-controlled switches; sodium opens first and potassium later, making a spike about 1 ms long and 100 mV high. Myelin speeds it up, but brain wires are still about a million times slower than chip wires.
- A synapse is a noisy analog multiplier with its weight stored inside, and many synapses fail on most spikes.
- Dendrites calculate, so one cortical neuron is closer to a small deep network than to one transistor. The brain wins by architecture, not by better parts.
Sources
- Hodgkin, A. L. & Huxley, A. F. (1952). "A quantitative description of membrane current and its application to conduction and excitation in nerve." J. Physiol. 117:500. https://doi.org/10.1113/jphysiol.1952.sp004764
- Nobel Prize in Physiology or Medicine 1963 (Eccles, Hodgkin, Huxley). https://www.nobelprize.org/prizes/medicine/1963/summary/
- Nobel Prize in Chemistry 1997 (half to Jens C. Skou, for the sodium–potassium pump). https://www.nobelprize.org/prizes/chemistry/1997/summary/
- Nobel Prize in Physiology or Medicine 1991 (Neher, Sakmann, single ion channels). https://www.nobelprize.org/prizes/medicine/1991/summary/
- Nobel Prize in Chemistry 2003 (half to Roderick MacKinnon, ion channels). https://www.nobelprize.org/prizes/chemistry/2003/summary/
- Nobel Prize in Physiology or Medicine 1970 (Katz, von Euler, Axelrod). https://www.nobelprize.org/prizes/medicine/1970/summary/
- Nobel Prize in Physiology or Medicine 2013 (Rothman, Schekman, Südhof, vesicle traffic). https://www.nobelprize.org/prizes/medicine/2013/summary/
- Alle, H., Roth, A. & Geiger, J. R. P. (2009). "Energy-efficient action potentials in hippocampal mossy fibers." Science 325:1405. Sodium entry about 1.3 times the minimum. https://doi.org/10.1126/science.1174331
- Bartol, T. M. et al. (2015). "Nanoconnectomic upper bound on the variability of synaptic plasticity." eLife 4:e10778. At least 26 distinguishable synaptic strengths, about 4.7 bits. https://elifesciences.org/articles/10778
- Poirazi, P., Brannon, T. & Mel, B. W. (2003). "Pyramidal neuron as two-layer neural network." Neuron 37:989. https://doi.org/10.1016/S0896-6273(03)00149-1
- Gidon, A., Zolnik, T. A., … Poirazi, P. & Larkum, M. E. (2020). "Dendritic action potentials and computation in human layer 2/3 cortical neurons." Science 367:83. https://doi.org/10.1126/science.aax6239
- Beniaguev, D., Segev, I. & London, M. (2021). "Single cortical neurons as deep artificial neural networks." Neuron 109:2727. Five to eight layers; one hidden layer without NMDA receptors. https://doi.org/10.1016/j.neuron.2021.07.002 ; preprint: https://www.biorxiv.org/content/10.1101/613141v2
- Azevedo, F. A. C., Herculano-Houzel, S. et al. (2009). "Equal numbers of neuronal and nonneuronal cells make the human brain an isometrically scaled-up primate brain." J. Comp. Neurol. 513:532. https://pubmed.ncbi.nlm.nih.gov/19226510/
- Shapson-Coe, A. et al. (2024). "A petavoxel fragment of human cerebral cortex reconstructed at nanoscale resolution." Science 384:eadk4858. About 57,000 cells and 150 million synapses in about 1 mm³; glia outnumber neurons about 2 : 1. https://doi.org/10.1126/science.adk4858 ; summary: https://vcg.seas.harvard.edu/publications/20240510-a-connectomic-study-of-a-petascale-fragment-of-human-cerebral-cortex
- McCulloch, W. S. & Pitts, W. (1943). "A logical calculus of the ideas immanent in nervous activity." Bull. Math. Biophys. 5:115. https://doi.org/10.1007/BF02478259
- NVIDIA Blackwell architecture (208 billion transistors per B200 GPU). https://www.nvidia.com/en-us/data-center/technologies/blackwell-architecture/
Textbook values and estimates in this chapter: the sizes of neuronal parts, ion concentrations, channel properties, spike shape, conduction speeds, vesicle contents and synaptic delays are standard textbook values, not re-checked against single primary measurements here. The typical release probability of about 15% is a commonly quoted figure that varies widely between synapses and studies. Energy per vesicle (about 1.6 × 10⁵ ATP, from Attwell and Laughlin 2001), per spike and per transistor switch are estimates explained in chapter 11. Helmholtz's 1850 measurement is given as reported in standard histories.
Previous: 8. Computing with molecules · Next: 10. How the brain computes