Contrary to widespread belief, magnetostatic field lines do not ordinarily form closed loops. Why, then, are they in fact closed for so many familiar examples? What other topologies are possible, and what current configurations generate them?

1.
Magnetic field lines were introduced by Michael Faraday, who was inspired by the pattern of iron filings in the vicinity of a magnet. They are sometimes called “magnetic flux lines” or even “magnetic lines of force” (which is grossly misleading).
2.
R. P.
Feynman
,
R. L.
Leighton
, and
M.
Sands
,
The Feynman Lectures on Physics
(
Addison-Wesley
,
Reading
,
1964
), Vol.
II
, Secs. 1–5.
3.
Arguably, even number 3 is more a choice than a requirement. But in the magnetic case, as we shall see, the density of field lines cannot (in general) be taken to represent the strength of the field—unless we are prepared to countenance the abomination of field lines that are discontinuous at arbitrary points.
4.
Zilberti traces the belief that magnetic field lines always form closed loops back to Faraday (1855) and Maxwell (1855) and suggests that Liénard (1921) and Tamm (1929) were the first to challenge it:
L.
Zilberti
, “
The misconception of closed magnetic flux lines
,”
IEEE Magn. Lett.
8
,
1306005
(
2017
).
The modern literature on non-closed magnetostatic field lines begins with
J.
Slepian
, “
Lines of force in electric and magnetic fields
,”
Am. J. Phys.
19
,
87
90
(
1951
)
and
K. L.
McDonald
, “
Topology of steady current magnetic fields
,”
Am. J. Phys.
22
,
586
596
(
1954
).
Much of the material in our paper is well known to those who study the sun's corona. See, for instance,
D. W.
Longcope
, “
Topological methods for the analysis of solar magnetic fields
,”
Living Rev. Sol. Phys.
2
,
7
(
2005
).
5.
In highly conductive plasmas (such as the sun's corona), the special environment afforded by magnetohydrodynamics endows magnetic field lines with a kind of physical “reality” that they do not enjoy more generally. They can be spectacularly visible in photographs of solar flares for instance (but of course we are not really seeing the field lines themselves—only radiation from the charged particles that track them).
6.
These are known as “null points” in the literature. In non-static situations, magnetic field lines can disconnect and reconnect (to a different line) as a null point passes by, a phenomenon observed in the solar corona. See, for instance,
A.
Zangwill
,
Modern Electrodynamics
(
Cambridge U.P.
,
Cambridge, UK
,
2013
), Sec. 10.6.1.
For the general theory of null points, see
C. E.
Parnell
et al, “
The structure of three-dimensional magnetic neutral points
,”
Phys. Plasmas
3
,
759
770
(
1996
).
7.
One advantage of using λ = | F ( r ) | is that it finesses the ambiguity in F / | F | at null points. Of course λ 0 at such a point, but since the field line never actually gets there, it remains the case that λ > 0 for all points on the field line.
8.
Note that there is no violation here of · B = 0—this is a saddle point. Incidentally, a point where B = 0 is (obviously) a minimum of | B | (and so also of | B | 2), but there's no law against that: | B | can have local minima but not local maxima. See
M. V.
Berry
and
A. K.
Geim
, “
Of flying frogs and levitrons
,”
Eur. J. Phys.
18
,
307
313
(
1997
).
9.
The formula for the field, in terms of elliptic integrals, is given in
W. R.
Smythe
,
Static and Dynamic Electricity
, 3rd ed. (
Hemisphere Publishing
,
New York
,
1989
), Sec. 7.10.
10.
This striking example was apparently first proposed by I. E. Tamm, in his 1929 textbook. For an English translation of the 9th edition, see
I. E.
Tamm
,
Fundamentals of the Theory of Electricity
(
Mir
,
Moscow
,
1979
); the relevant sections are 412 and 413.
For recent discussions, and further references, see
M.
Lieberherr
, “
The magnetic field lines of a helical coil are not simple loops
,”
Am. J. Phys.
78
,
1117
1119
(
2010
); L. Zilberti, Ref. 4.
11.
I. S.
Veselovsky
and
A. T.
Lukashenko
, “
Chaotic behavior of magnetic field lines near simplest current systems
,”
Geomagn. Aeron.
56
,
938
944
, https://doi.org/10.1134/S0016793216070161 (
2016
).
12.
It might be a spinning sphere with surface charge σ ( θ ) = σ 0 cos θ and angular velocity ω0 (about the z axis). In that case, K 0 = σ 0 ω 0 R / 2.
13.
P. J.
Morrison
, “
Magnetic field lines, Hamiltonian dynamics, and nontwist systems
,”
Phys. Plasmas
7
,
2279
2289
(
2000
);
J.
Aguirre
and
D.
Peralta-Salas
, “
Realistic examples of chaotic magnetic fields created by wires
,”
Eur. Phys. Lett.
80
,
60007
(
2007
);
M.
Hosoda
et al, “
Ubiquity of chaotic magnetic-field lines generated by three-dimensionally crossed wires in modern electric circuits
,”
Phys. Rev. E
80
,
067202
(
2009
); Lieberherr, Ref. 10 and Veselovsky and Lukashenko, Ref. 11.
14.
It is not always clear from simulations whether field lines that start out chaotic remain so indefinitely, as we follow them out; Hosoda et al, Ref. 13, refers to this as “transient chaos.”
15.
S. M.
Ulam
,
Problems in Modern Mathematics
(
Wiley
,
New York
,
1960
), Chap. VIII, Sec. 6;
S. M.
Ulam
,
Analogies Between Analogies
(
University of California Press
,
Berkeley
,
1990
), Chap. 4, Sec. 5.
16.
Lieberherr, Ref. 10, recommends adding a small constant magnetic field, to prevent (or at least delay) the field line's tendency to run off to infinity. M. Hosoda et al, Ref. 13, do the same thing for a different reason, noting that in practice such a perturbation is typically present in the form of the earth's magnetic field.
17.
For further discussion, see
F. G.
Gascon
and
D.
Peralta-Salas
, “
Some properties of the magnetic fields generated by symmetric configurations of wires
,”
Physica D
206
,
109
120
(
2005
).
18.
The calculation is essentially the same for each symmetry, so we will do it just once, in  Appendix A.
19.
D. J.
Griffiths
,
Introduction to Electrodynamics
, 5th ed. (
Cambridge U.P.
,
Cambridge, UK
,
2024
), Problem 5.19.
20.
See Griffiths, Ref. 19, Example 5.10.
21.
Others have reached a somewhat different conclusion: Ştefănesçu says “[The assertion that all magnetic field lines are closed] is correct in the case of co-planar electric circuits [i.e. filamentary currents].” Lieberherr writes “[the field lines of] planar polygons of [arbitrary] shape … close after one loop or they do not return [i.e. they run off to infinity].” But already in 1954, McDonald provided a striking counter-example, his Fig. 2(b) (our Eq. (24) is another).
S. S.
Ştefănesçu
, “
Open magnetic field lines
,”
Rev. Roum. Phys.
3
,
151
166
(
1958
). Lieberherr, Ref. 10 and McDonald, Ref. 4.
22.
The examples discussed here (spheres, circular cylinders, symmetrically placed circles) also exhibit mirror symmetry, but that does not appear to be relevant. Other spinning figures of revolution—cones, for example—also give rise to closed field lines.
23.
We take κ = 1 / R (where R is the radius of the osculating circle) to be non-negative; then n ̂ points toward the center of that circle.
24.
See, for example,
K. F.
Riley
,
M. P.
Hobson
, and
S. J.
Bence
,
Mathematical Methods for Physics and Engineering
(
Cambridge U.P
.,
Cambridge, UK
,
1997
), Sec. 8.3.
AAPT members receive access to the American Journal of Physics and The Physics Teacher as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.