Hofstadter’s butterfly: why electron energies form a fractal

A 1976 crystal-lattice model revealed nested bands and gaps. A later connection to the quantum Hall effect gave those gaps an electrical meaning.

A 1976 crystal-lattice model revealed nested bands and gaps. A later connection to the quantum Hall effect gave those gaps an electrical meaning.
A crystal lattice under a magnetic field can produce an intricate hierarchy of allowed electron energies and forbidden gaps. Douglas Hofstadter’s 1976 calculation revealed smaller versions of the pattern nested within larger ones—the recursive structure now called Hofstadter’s butterfly. Later work connected its gaps to the integers that govern the quantum Hall effect, giving the diagram a role beyond describing energy levels.
The idealized model describes electrons moving through a two-dimensional crystal lattice, with a uniform magnetic field perpendicular to it. Hofstadter began with a tight-binding model, which describes electrons moving between lattice sites. His calculation treats one energy band—one range of allowed electron energies—and incorporates the magnetic field into the equation governing the electron.
In Physics World’s October 5, 2026 anniversary explainer, Indu Satija describes the pattern as the result of two competing kinds of order: the repeating structure of the crystal and the circular electron motion associated with the magnetic field. Their competing scales divide the allowed energies into bands separated by gaps. Looking more closely reveals further bands and gaps, producing a fractal—a pattern with structure that recurs at smaller scales.
Analysis
The controlling number is not simply the magnetic field strength. It is the magnetic flux passing through one repeating lattice cell, divided by a flux quantum, the basic quantum unit of magnetic flux. This ratio has no units. A rational ratio can be written as a fraction of two integers; an irrational ratio cannot. Hofstadter’s paper shows that this distinction strongly affects the calculated energy spectrum.
To calculate the spectrum, Hofstadter turned the quantum equation into a finite-difference equation, which relates the electron’s quantum state at discrete lattice sites. A matrix method—a calculation using an array of numbers—then gives the allowed energies. Plotting those energies across many rational flux ratios revealed the butterfly’s recursive structure.
The paper also gives an iterative algorithm: a repeated calculation that reconstructs how the smaller energy bands cluster. From that structure, Hofstadter deduced the spectrum at an irrational flux ratio. It is a Cantor set, containing uncountably many energy points—more than can be listed in a sequence—yet occupying zero total length along the energy axis. The paper also shows that the spectrum’s graph remains continuous as the magnetic field varies.
The electrical interpretation came after the original calculation. As Satija recounts, the integer quantum Hall effect was discovered experimentally in 1980. In this effect, current flowing through a two-dimensional sample in a perpendicular magnetic field produces a voltage across the sample, at right angles to the current. The Hall conductivity takes discrete values: integer multiples of e²/h, where e is the electron charge and h is Planck’s constant.
According to Satija, those conductivity integers label the gaps in Hofstadter’s butterfly. She dates their topological interpretation to work by David Thouless and colleagues in 1982. The integers reflect global properties of electron wave functions—the mathematical descriptions of their quantum states—rather than only local details. This later connection makes the butterfly a map of both allowed energies and quantized electrical response; it was not a result of the 1976 paper.
A calculated spectrum is not a guarantee that every detail will appear clearly in a material. Satija cautions that strong interactions between electrons, disorder and thermal effects can overwhelm the butterfly structure. Real systems can also require ingredients absent from the original simplified model, including electron spin, an intrinsic magnetic property.
Satija describes moiré materials as one setting where researchers can investigate the pattern. Stacking atomically thin layers with a slight twist creates a new repeating pattern and changes the material’s properties. In such systems, she reports, the butterfly structure can be tuned, probed and, in some cases, directly imaged—allowing researchers to study how the idealized spectrum appears amid the added complexity of real matter.

Unusual chemistry around white dwarf HS 0209+0832 may trace a world made from the star’s expelled material. The planet and its proposed origin remain unconfirmed.
3 min

Unusual chemistry and a roughly 4.4-day brightness cycle around a white dwarf could indicate a gas giant formed from the star’s expelled material. The planet remains unconfirmed.
3 min

A theoretical study explores how Sagittarius A* might accelerate particles, with predicted gamma-ray and neutrino signals offering a possible test.
3 min