A necessary and sufficient condition is derived for a magnetic differential equationB·▿r= 0 to have a single‐valued solutionr, whereBis the field of a magnetohydrostatic equilibrium state or, more generally, and field with a system of toroidal magnetic surfaces.