Voltage-gated Na⁺ and K⁺ channels drive an all-or-none electrical spike along the membrane.
A neuron signals by briefly flipping the voltage across its membrane. At rest the inside sits at about −70 mV. A stimulus that pushes the membrane to the threshold (−55 mV) triggers a self-reinforcing spike: voltage-gated Na⁺ channels snap open and Na⁺ floods in, driving Vm up toward +40 mV (depolarization). Those Na⁺ channels then inactivate while slower K⁺ channels open and K⁺ flows out, pulling Vm back down (repolarization) and briefly past rest to ≈ −80 mV (hyperpolarization / refractory) before settling. The spike is all-or-none: below threshold nothing fires; at or above threshold every spike has the same size.
Left: a membrane cross-section with one voltage-gated Na⁺ channel and one K⁺ channel. Ion motion is tied to the gate state — Na⁺ always moves in, K⁺ always out; only how open each gate is (gNa, gK) changes with phase, and the membrane charge (+/−) flips as Vm crosses 0. Right: a chart-recorder plotting Vm against time, with a marker on the same clock. Move the stimulus slider below +15 mV to see a sub-threshold bump that fails to fire.
Hodgkin & Huxley, J. Physiol. 117 (1952); Kandel et al., Principles of Neural Science 5th ed.; Purves et al., Neuroscience; Nernst equation; CODATA 2018 (F, R). Vm(t) is an idealised teaching waveform, not a recorded trace.