Every heartbeat begins as a tiny voltage swing inside each heart cell. Watch three kinds of charged particle draw that swing, phase by phase, in the cells that set the pace and the cells that squeeze, then see how four classes of heart-rhythm drugs reshape it.
Educational, not for clinical use
Build the beat
Every heartbeat starts as an electrical signal
Your heart is built from millions of heart muscle cells, joined end to end. Before each beat, a tiny electrical signal sweeps from cell to cell, and each cell squeezes as it passes. This lesson follows that signal inside one cell.
Build the beat
Each cell is a tiny battery
Each cell is wrapped in a thin skin, the cell membrane. The inside carries a different electrical charge from the outside, like a tiny battery. That difference is the cell’s voltage. At rest, the inside is negative.
Build the beat
Three charged particles do the work
Salts dissolved in body water split into charged particles called ions. Three matter here: sodium and calcium, crowded outside the cell, and potassium, crowded inside. Each tends to spread toward where it is scarce, carrying its positive charge with it.
Build the beat
Doors in the membrane set the voltage
Ion channels are doors in the membrane, each letting one kind of ion through when open. In a resting heart muscle cell, potassium doors are the main ones open. Potassium seeps out, taking positive charge with it, and that leaves the resting potential: negative inside.
Build the beat
One beat, drawn as a line: phases 0 to 4
Plot the muscle cell’s voltage against time and each beat draws one shape, the action potential. Its stages are numbered: 0, a sharp rise; 1, a small dip; 2, a long flat top; 3, the fall back; 4, rest until the next beat. The next steps build it, phase by phase.
Build the beat
Phase 0: sodium rushes in
When the signal arrives from a neighbouring cell, fast sodium doors snap open. Sodium floods in and the voltage leaps from negative to slightly positive in a blink: phase 0, the upswing, or depolarization. It passes the signal on to the next cell.
Build the beat
Phases 1 and 2: calcium holds it up
The sodium doors shut almost at once. A few potassium doors open briefly: a small dip, phase 1. Then slower calcium doors open; calcium trickles in while potassium leaks out, and the two balance in a long flat stretch, the plateau (phase 2). That calcium also triggers the squeeze.
Build the beat
Phases 3 and 4: potassium brings it back
As the calcium doors close, many more potassium doors open. Potassium rushes out, carrying positive charge away, and the voltage falls back to rest: phase 3, repolarization. In phase 4 the resting potassium doors hold it there until the next signal. Sodium, calcium, potassium: up, flat, down.
Build the beat
A built-in pause
From the upswing until the voltage is most of the way down, the sodium doors stay locked and no new upswing can start: the refractory period. Late in phase 3, only a stronger-than-usual signal can start one. This pause keeps the muscle from being driven into one long, unbroken squeeze.
The pacemaker and the trace
Pacemaker cells start each beat on their own
Pacemaker cells, gathered in a small patch called the sinoatrial node, never settle at rest. In their phase 4, sodium leaks in through special doors (the “funny” current), so the voltage drifts slowly upward. When it reaches a trigger level, the threshold, the cell fires.
The pacemaker and the trace
A gentler phase 0, powered by calcium
Pacemaker cells have few working fast sodium doors. Their phase 0 is carried by calcium doors instead, so it rises gently rather than leaping. Potassium then brings the voltage back down (phase 3), and the slow drift of phase 4 starts again. There is no plateau.
The pacemaker and the trace
Nerves set the pace
The heart rate is the number of beats each minute. Noradrenaline, from the accelerator nerves, steepens the phase 4 drift, so beats come sooner. Acetylcholine, from the brake nerves, starts the drift lower and flattens it, so they come later. Lesson 6 covers these nerves.
The pacemaker and the trace
The signal spreads, with a pause in the AV node
From the sinoatrial node the signal spreads across the upper chambers, the atria. It then crosses the atrioventricular (AV) node, whose calcium-powered cells pass it on slowly: a pause that lets the atria finish filling the ventricles. Fast wiring then carries it through the ventricles’ muscle.
The pacemaker and the trace
A trace on the skin: the electrocardiogram
An electrocardiogram records the heart’s signal through skin pads. The P wave is the atria; the PR interval includes the AV node’s pause. The QRS complex is the ventricles’ phase 0 and the T wave their phase 3, so the QT interval spans their whole action potential.
The pacemaker and the trace
The whole picture
A pacemaker cell drifts to threshold and fires; the signal pauses in the AV node; each muscle cell rises with sodium, holds with calcium and falls with potassium. Key measures: the heart rate, set by the phase 4 drift; the PR interval; the QRS width, set by phase 0; and the QT interval, the action potential’s length.
What changes it
Class IA: sodium blockers that also stretch the beat
Antiarrhythmic drugs calm abnormal rhythms by reshaping the action potential. Class I drugs block fast sodium doors, by a different amount in each subclass. Class IA drugs, such as procainamide, slow phase 0 moderately, so the signal spreads more slowly and the QRS widens; they also block some potassium doors, so phase 3 comes later and the QT lengthens.
What changes it
Class IB: a light touch on sodium
Class IB drugs, such as lidocaine, also block sodium doors, but let go quickly between beats, so at a normal heart rate phase 0 and the QRS barely change. They act most on damaged or fast-firing cells. The plateau gets a little shorter, and the QT shortens slightly.
What changes it
Class IC: a strong sodium block
Class IC drugs, such as flecainide, block sodium doors strongly and let go slowly. Phase 0 becomes much slower and lower, the signal spreads more slowly, and the QRS widens; the PR lengthens too. Phases 2 and 3 are untouched, so the QT stays about the same.
What changes it
Class II: beta-blockers slow the pacemaker
Noradrenaline acts on pacemaker cells through beta-1 receptors. Beta-blockers (class II) cover them, so the phase 4 drift flattens, each beat comes later and the heart rate falls. The signal also crosses the AV node more slowly, so the PR interval lengthens, and muscle cells squeeze less hard.
What changes it
Class III: potassium blockers stretch the beat
Class III drugs, such as amiodarone, block potassium doors, so potassium leaves the muscle cell more slowly. Phase 3 comes later and slower, so the action potential, the refractory period and the QT all lengthen, giving stray signals less chance to restart a beat. Too long a QT can itself set off a dangerous rhythm.
What changes it
Class IV: calcium channel blockers
Class IV drugs, verapamil and diltiazem, block the calcium doors that power phase 0 in pacemaker and AV node cells. In the pacemaker they slow the last part of the climb to threshold, so it fires later and the heart rate falls; in the AV node they slow phase 0, so the signal crawls through: a longer PR interval. Muscle cells take in less calcium and squeeze less hard.
Step 1 of 21
Start with Next, or use the arrow keys. Under a moving picture: pause, drag to any moment, or slow it down; phase 0 plays in slow motion. Underlined terms light up their part of the picture. Shapes and timings are illustrative, not measurements.
Reference values, beside the model.
Loading reference values…
Normal teaching baseline.
How to read these bars
The blue line on each bar is an illustrative teaching model, not a patient measurement. A shaded band is the textbook range; a single black tick is a textbook typical value where the book gives no range. Arrows come from the cited source for the selected state.
Sources
Reshape the beat yourself.
An illustrative teaching model of one pacemaker cell, one ventricular muscle cell and the electrocardiogram they make. Turn the nerves up or down, block each kind of channel, and watch the shapes change. The faint dashed lines are the normal state.
How this teaching model works
The shapes are drawn from a few settings, not solved from ion-current equations, and every result is relative to a normal state. The muscle cell’s upswing time grows with the fraction of fast sodium channels blocked, and its peak drops a little. The plateau lengthens with potassium block, shortens a little with late sodium block, and sits lower with calcium block; the fall slows with potassium block. The refractory period ends when the voltage has fallen most of the way back to rest. The QRS width stands for the time the signal takes to spread through the ventricles, which grows as the upswing slows; the Q-T interval stands for the plateau plus the fall. In the pacemaker cell, the voltage between beats rises with the beta signal (sympathetic drive minus beta block) and falls with vagal drive; the drift slope rises with the beta signal and falls with vagal drive and calcium block; calcium block also slows its upswing, and potassium block slows its fall. The heart rate is one over the time from one beat to the next. The AV node’s delay, shown as the PR interval, grows with calcium block, beta block and vagal drive, shrinks with sympathetic drive, and grows a little with strong fast sodium block; the Clinical values tab has no PR row, so it is shown only relative to normal. Squeeze strength rises with calcium entry and the beta signal. Class IB is shown as a very light fast-sodium block (its quick release between beats leaves little block at a normal rate) plus late sodium block. Real drugs often have more than one action, which the model leaves out, along with blood potassium and heart-rate effects on the action potential. In the Clinical values tab, relative results are scaled from the textbook values, as that tab explains.