HomeArticlesElectromagnetism

Magnetic Confinement Tokamak: Bottling a Star With Magnets

Toroidal and poloidal fields braid into helical field lines that hold hundred-million-degree plasma away from any wall — until the safety factor q drops too low and the kink instability takes over.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

No material can hold a hundred million degrees

Fusing hydrogen isotopes into helium releases enormous energy, but it only happens fast enough to be useful at temperatures around 100-150 million degrees Celsius, ten times hotter than the sun's core. No solid wall can touch plasma at that temperature and survive, so a tokamak instead holds it away from every surface using magnetic fields: charged particles gyrate tightly around field lines and are essentially free to slide along them but strongly resisted from crossing them, so a cleverly shaped field can act as an invisible bottle.

Toroidal field: the easy half of the bottle

A ring of external electromagnets wrapped around the donut-shaped (toroidal) vacuum vessel produces a strong toroidal field, circling the long way around the torus. This alone confines particles radially, but it is not enough by itself: the field is naturally stronger on the inside of the torus than the outside, and that gradient causes ions and electrons to slowly drift vertically in opposite directions, building up a charge separation that would otherwise push the whole plasma outward and dump it on the wall within milliseconds.

Poloidal field and the twist that fixes the drift

The fix is a second field component, the poloidal field, circling the short way around the torus's cross-section. In a tokamak this poloidal field comes from driving a huge electric current — typically millions of amperes — directly through the plasma itself, which the plasma's own high temperature and ionisation make possible. Combining the toroidal and poloidal fields produces field lines that spiral helically around the torus rather than running in flat circles, and that helical twist means any given particle, as it follows a field line, samples both the strong-field inner side and weak-field outer side in roughly equal measure, cancelling the net vertical drift that would otherwise doom confinement.

live demo · a charged particle orbiting under a magnetic field● LIVE

The safety factor q

How tightly the field lines wind is captured by the safety factor, denoted q, defined at a given magnetic surface as roughly the number of times a field line circles the long way around the torus for every one time it circles the short way:

q(r)  =~  (r * B_toroidal) / (R * B_poloidal)

r  = minor radius (distance from the torus's central circle)
R  = major radius (radius of the torus itself)

q > 1 everywhere in a well-behaved plasma: field lines wind gently
q approaching 1 near the core: winding tightens, current density rises

A high q means field lines wind loosely and the plasma column behaves in a well-controlled, stable way. Since q depends on the plasma current (through the poloidal field it produces), the current itself is a knob operators must keep within safe limits, not something that can simply be maximised for more fusion power.

The kink instability

If q drops toward or below 1, most commonly by pushing plasma current too high, the tightly wound field lines and the concentrated current channel become susceptible to the kink instability: a small helical displacement of the current column grows, because the magnetic forces reinforce the displacement rather than restoring it. Left unchecked this can grow explosively, twisting the plasma column and driving it into contact with the vessel wall — a sudden, uncontrolled loss of confinement called a disruption, which dumps the plasma's stored thermal and magnetic energy in milliseconds and is one of the central engineering challenges tokamak designers, including ITER's, spend enormous effort predicting and avoiding.

Frequently asked questions

Why is the plasma current itself needed for confinement?

The external magnets alone produce only a toroidal field, which by itself lets particles drift slowly out of confinement. Driving a large current through the plasma generates the poloidal field component that twists field lines into helices, cancelling that drift and completing the confining magnetic cage.

What does the safety factor q actually measure?

q at a given magnetic surface is roughly the number of times a field line travels the long way around the torus for each time it travels the short way around. A high q means field lines wind gently and gradually; a low q means they wind tightly, which concentrates current density and drives instabilities.

Does a kink instability always destroy the plasma?

Not always — smaller internal kinks (sawtooth crashes) happen routinely and briefly redistribute heat and current without ending the discharge. But a large external kink, triggered when the edge safety factor drops toward or below 1, can grow explosively and terminate confinement entirely in a disruption, which is why real-time q monitoring and feedback control are essential.

Try it live

Everything above runs in your browser — open Magnetic Confinement Fusion Tokamak and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Magnetic Confinement Fusion Tokamak simulation

What did you find?

Add reproduction steps (optional)