Gauss’s law for magnetism is one of the four Maxwell’s equations. The flux of the magnetic flux density through any closed surface is zero:

with the equivalent differential form

Equivalent statement: there are no magnetic monopoles. Every magnetic field line is a closed loop — what enters any region must leave.

Contrast with electric Gauss’s law

Gauss’s law for electricity says — electric field lines start on positive charges and end on negative ones. Free positive and negative electric charges exist as physical objects.

The magnetic version says no sources, anywhere. Magnetic field lines have no beginning and no end. They form closed loops through space.

Why the asymmetry? Empirically, no isolated magnetic monopole has ever been observed. Every magnetic source we know of — bar magnets, current loops, electron spins — is a magnetic dipole, with a north and south pole that can’t be separated. Cut a bar magnet in half and you don’t get a north and a south; you get two smaller dipoles. Theoretical physics allows monopoles (Dirac showed they’re consistent with quantum mechanics, and grand unified theories predict them), but they remain undetected.

Why field lines close

Take a closed surface enclosing some region. The integral form says the net flux out equals zero — every line going outward is matched by a line coming back in. The only way this can hold for every possible surface is if individual field lines have no endpoints inside or outside any volume: they must be closed curves.

For a bar magnet, this means field lines that emerge from the north pole curve around through space and return to the south pole, then continue inside the magnet from south back to north, closing the loop. The “external” and “internal” segments of each line are halves of one closed curve.

Consequence: has a vector potential

A divergence-free vector field can always be written as the curl of another field. Applied to :

with the Vector magnetic potential. The identity guarantees automatically, so working with instead of builds the no-monopole constraint into the formulation from the start.

Consequence: flux is surface-independent

If two surfaces and share the same boundary loop , then . Reason: glue the two surfaces (with one orientation reversed) to form a closed surface; the integral over it is zero by Gauss for magnetism; therefore the two pieces are equal.

This is what makes “flux through a loop” a well-defined concept — independent of which surface you pick to span the loop. It’s why Faraday’s law can talk about “flux through the circuit” without specifying a surface.

In Maxwell’s equations

This law is one of the four:

EquationStatement
Electric flux from free charges.
No magnetic monopoles.
Changing induces .
Currents and changing induce .

It holds in static and dynamic problems alike — magnetic charges remain absent at all frequencies. Once you’ve assumed it at , the structure of Faraday’s law keeps it true forever: take the divergence of Faraday and use (an identity, see Vector calculus identities) to get .

What if monopoles existed

If a magnetic charge density existed, the law would become , exactly parallel to the electric case. Faraday’s law would also pick up a magnetic-current term . Maxwell’s equations would become perfectly symmetric under (up to factors). The absence of this symmetry in our universe is one of the unsolved puzzles of physics.