Electromagnetism

Magnetic Hysteresis

Why a magnet remembers its past

Magnetic hysteresis is the lag of a ferromagnet's magnetization behind the applied field — so as the field is cycled up and down, the flux density traces a closed loop instead of a single line, and the material is left magnetized even when the field returns to zero. The width of that loop sets coercivity, its height sets remanence, and its enclosed area is the energy burned as heat each cycle. It is what makes permanent magnets permanent and what makes transformer cores warm.

  • Work per cyclew = ∮ H dB (loop area, J/m³)
  • Remanence (NdFeB)B_r ≈ 1.2–1.4 T
  • Coercivity (NdFeB)H_c ≈ 800–2000 kA/m
  • Coercivity (silicon steel)H_c ≈ 10–40 A/m (soft)
  • Saturation (iron)B_s ≈ 2.15 T
  • Curie point (iron)770 °C (1043 K)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

What hysteresis means

"Hysteresis" comes from the Greek hysterein, "to lag behind." In a ferromagnet the magnetization M does not depend only on the field H applied right now; it depends on every field the material has seen. Push H up and the flux density B follows one curve. Pull H back down and B follows a higher curve. The state remembers its history — the system is path-dependent. Plot B against H through a full up-then-down cycle and you get a closed loop, the famous B-H loop first measured carefully by James Alfred Ewing in 1882.

The three field quantities are linked by

B = μ₀ (H + M)

where μ₀ = 4π × 10⁻⁷ T·m/A is the permeability of free space. In a paramagnet or diamagnet, M is a tiny, single-valued, linear function of H — no loop. In a ferromagnet M is large, nonlinear, and multivalued: that multivaluedness is hysteresis.

Anatomy of the loop

Start from a fully demagnetized sample and ramp H up. B climbs along the initial (virgin) magnetization curve, steeply at first, then flattening as the material approaches saturation (B_s) — all domains aligned, nothing left to flip. Now reduce H back to zero. B does not return down the virgin curve; it stays high, settling at the remanence B_r. To force B back to zero you must apply a reverse field equal to the coercivity H_c. Push further negative and the material saturates the other way; reverse again and you close the loop.

FeatureSymbolPhysical meaning
Saturation flux densityB_sMaximum B once every domain is aligned with H
Remanence (retentivity)B_rB left over at H = 0 — the permanent magnet's strength
CoercivityH_cReverse H needed to bring B back to zero
Loop area∮ H dBEnergy dissipated per unit volume per cycle (core loss)
Initial permeabilityμ_i = (1/μ₀)(dB/dH) at originSlope of the virgin curve near zero field
Energy product(BH)_maxQuality figure for permanent magnets (kJ/m³)

Loop area is energy lost

The work done by the source per unit volume to change the magnetization is

w = ∮ H dB     (J/m³ per cycle)

Because B traces a closed loop, this integral is exactly the enclosed area. If magnetizing and demagnetizing followed the same reversible path, the up and down integrals would cancel and the area would be zero. They don't: pinning of domain walls makes the process irreversible, so the loop encloses real area and that area is dissipated as heat every cycle. Charles Steinmetz fit transformer-core loss empirically in 1892 to

P_hyst = η · f · B_max^n      (n ≈ 1.6–2.0, Steinmetz exponent)

so hysteresis power loss rises linearly with frequency f (each cycle costs the loop area) and steeply with peak flux. This is distinct from eddy-current loss, which scales as f²B² and is suppressed by laminating the core. Together they make up the core loss of a transformer or motor.

Real numbers

MaterialCoercivity H_cRemanence B_rTypical use
Permalloy (78% Ni)~1–4 A/m~0.7 TMagnetic shielding, sensitive cores
Grain-oriented silicon steel~10–40 A/m~1.8 TPower-transformer cores
Soft ferrite (MnZn)~10–30 A/m~0.3 THigh-frequency switching cores
AlNiCo~40–130 kA/m~1.2 TSensors, guitar pickups, motors
Hard ferrite (SrFe)~200–300 kA/m~0.4 TFridge magnets, cheap motors
NdFeB (neodymium)~800–2000 kA/m~1.2–1.4 TEV motors, hard drives, wind turbines

That is a span of roughly six orders of magnitude in coercivity, all from the same hysteresis physics — just different domain-wall pinning. A silicon-steel transformer might dissipate ~1 W/kg in hysteresis at 1.5 T and 50 Hz; an NdFeB magnet has a loop so fat and square that a real demagnetizing field in service barely dents it, which is exactly why it stays magnetic for decades.

The microscopic picture

A ferromagnet below its Curie temperature spontaneously magnetizes, but it breaks into magnetic domains — regions each saturated but pointing in different directions — to minimize stray-field energy. Apply H and three things happen in sequence:

  • Reversible wall motion. At small fields, domain walls bow elastically; remove H and they spring back. This is the low-field, reversible part of the virgin curve.
  • Irreversible wall jumps. As H grows, walls tear free of pinning sites (defects, grain boundaries, inclusions) in sudden steps — the Barkhausen jumps you can literally hear as crackle on a coil and amplifier. These are irreversible: they are what open the loop.
  • Rotation. Near saturation the remaining misaligned moments rotate coherently toward H. This is largely reversible again, which is why the loop tips pinch closed.

Coercivity is set by how strongly walls are pinned. Make pinning weak (clean, large-grain, stress-free permalloy) and you get a soft magnet; make it strong (fine single-domain NdFeB grains with sharp anisotropy) and you get a hard magnet. Heat the sample past the Curie temperature (770 °C for iron, 1115 °C for cobalt, 358 °C for nickel) and thermal motion destroys the alignment entirely — the loop collapses and the material turns paramagnetic.

Modeling a loop (Jiles–Atherton, simplified)

// Toy hysteresis model: anhysteretic Langevin curve + irreversible lag.
// Demonstrates path dependence and loop-area = energy.
const Ms = 1.6e6;   // saturation magnetization, A/m
const a  = 1100;    // shaping field, A/m
const k  = 2000;    // pinning constant ~ coercivity, A/m
const alpha = 1.6e-3; // inter-domain coupling

// Anhysteretic (loss-free) magnetization: Langevin function
function anhysteretic(He) {
  const x = He / a;
  if (Math.abs(x) < 1e-6) return 0;
  return Ms * (1 / Math.tanh(x) - 1 / x);
}

// March M forward as H sweeps; delta = +1 rising, -1 falling
function step(M, H, dH) {
  const delta = Math.sign(dH);
  const He = H + alpha * M;          // effective field
  const Man = anhysteretic(He);
  const dMdH = (Man - M) / (k * delta - alpha * (Man - M));
  return M + dMdH * dH;
}

// Sweep one full cycle and integrate loop area (∮ H dB)
function cycle(Hmax = 4000, steps = 2000) {
  const mu0 = 4 * Math.PI * 1e-7;
  let M = 0, area = 0, prevB = mu0 * (0 + M);
  const path = [];
  for (let i = 0; i <= steps; i++) {
    const phase = (i / steps) * 2 * Math.PI;
    const H = Hmax * Math.sin(phase);
    const dH = Hmax * Math.cos(phase) * (2 * Math.PI / steps);
    M = step(M, H, dH);
    const B = mu0 * (H + M);
    area += H * (B - prevB);         // Riemann sum of ∮ H dB
    prevB = B;
    path.push({ H, B });
  }
  return { path, lossPerCycle: Math.abs(area) }; // J/m^3
}

const { lossPerCycle } = cycle();
console.log(`Hysteresis loss: ${lossPerCycle.toFixed(0)} J/m^3 per cycle`);
// At 50 Hz this becomes lossPerCycle * 50 W/m^3 of core

The key line is k * delta: flipping the sign of the pinning term when the sweep reverses is what makes the rising and falling branches differ. Set k = 0 and the loop collapses to the single-valued anhysteretic curve with zero area — no hysteresis, no loss.

Where hysteresis matters

  • Permanent magnets. Remanence is the entire point — motors, generators, speakers, MRI, hard-disk write heads, every brushless DC fan.
  • Transformer and motor cores. Here hysteresis is the enemy; soft, low-coercivity silicon steel or ferrite minimizes the loop area paid 50–60 times a second (or hundreds of kHz in switch-mode supplies).
  • Magnetic recording. Hard-disk and tape media need enough coercivity to retain bits against stray fields, but not so much that the write head can't flip them. The loop's squareness sets the signal-to-noise floor.
  • Inductors and chokes. The initial permeability (virgin-curve slope) sets inductance; the loop sets the loss and the saturation limit.
  • Sensors. Fluxgate and Barkhausen-noise sensors read the loop directly to detect fields or material stress.
  • Magnetic shielding. Mu-metal's vanishingly thin loop lets it soak up fields with almost no remanent contamination.

Common misconceptions

  • Confusing B-H with M-H loops. The B-H loop keeps tilting upward forever (B = μ₀H + μ₀M never saturates because of the μ₀H term); the M-H loop genuinely flattens at M_s. Coercivity quoted as H_c (on M) and "intrinsic" H_ci can differ for hard magnets.
  • Thinking remanence equals saturation. B_r is always less than B_s; only a perfectly square loop would make them equal. Squareness ratio B_r/B_s is a real design figure.
  • Blaming all core heating on hysteresis. At high frequency, eddy currents (∝ f²) usually dominate; lamination and ferrites fight those, not the loop area.
  • Assuming the loop is fixed. Minor loops (subloops from partial cycles) are smaller and depend on history; temperature, stress, and frequency all reshape the loop.
  • Forgetting demagnetization. A finite magnet shapes its own internal field; the operating point sits on the second-quadrant load line, not at B_r itself.
  • Treating soft and hard as different physics. It is one phenomenon spanning six decades of coercivity, tuned entirely by domain-wall pinning.

Frequently asked questions

What is magnetic hysteresis?

Magnetic hysteresis is the lag of a ferromagnet's magnetization M (or flux density B) behind the applied field H. Because magnetic domains resist flipping, the material's state depends on its history, not just the present field. Plotting B against H over one full cycle traces a closed loop rather than a single curve — the signature of hysteresis. Iron, nickel, cobalt and their alloys all show it.

What are remanence and coercivity?

Remanence (B_r) is the flux density that remains when the applied field H is reduced back to zero after saturation — it is what makes a permanent magnet permanent. Coercivity (H_c) is the reverse field strength needed to drive B back to zero. A "hard" magnet (NdFeB) has huge coercivity (~1000 kA/m) so it resists demagnetization; a "soft" magnet (silicon steel) has tiny coercivity (~10 A/m) so it follows the field almost without lag.

Why does the B-H loop area equal energy lost?

The work done per unit volume to magnetize a material is w = ∮ H dB. Over one complete cycle this integral equals the area enclosed by the B-H loop. Because the path going up differs from the path coming down, the integral is nonzero — energy is dissipated as heat each cycle. This is hysteresis loss, separate from eddy-current loss. For a transformer at 50–60 Hz this loss is paid every cycle, so it scales with frequency.

What causes hysteresis at the microscopic level?

Ferromagnets are divided into magnetic domains, each fully magnetized but pointing in different directions. As H increases, favorably-oriented domains grow by domain-wall motion, then the moments rotate toward the field. Domain walls get pinned at crystal defects, grain boundaries, and impurities; freeing them takes a finite field, so the response lags. These irreversible Barkhausen jumps make the up and down paths differ, producing the loop.

How are hard and soft magnetic materials different?

Soft materials (silicon steel, ferrites, permalloy, amorphous metals) have thin loops — low coercivity, low loss — and are used for transformer and motor cores where you want to cycle the field cheaply. Hard materials (NdFeB, SmCo, AlNiCo, ferrite magnets) have fat square loops — high coercivity and high remanence — and are used for permanent magnets. The same physics, tuned by composition and microstructure, spans five orders of magnitude in coercivity.

What happens above the Curie temperature?

Above the Curie temperature (770 °C for iron, 358 °C for nickel) thermal agitation destroys the spontaneous alignment of domains, and the material becomes paramagnetic with no hysteresis loop at all. As it cools back below T_c, domains reform but in random orientations, so a magnet heated past T_c loses its remanence. This is exploited in thermomagnetic recording and is why magnets fail in very hot environments.