Magnetospheres are magnetic field envelopes around planets that deflect charged particles from stellar wind. The magnetosphere-solar wind boundary (magnetopause) location is set by pressure balance, and its orientation and structure depend on planetary rotation, field strength, and solar wind intensity.
From your study of planetary magnetic field generation, you know that convective motion in a planet's electrically conducting interior can sustain a dipolar magnetic field through the dynamo process. That field does not simply end at the planet's surface — it extends outward into space, where it encounters the solar wind, a continuous stream of charged particles (mostly protons and electrons) flowing outward from the Sun at hundreds of kilometers per second. The interaction between this planetary field and the solar wind creates a distinct region of space called the magnetosphere, a magnetic bubble that deflects and channels incoming plasma around the planet.
The boundary of the magnetosphere — the magnetopause — forms where the outward magnetic pressure of the planet's field exactly balances the inward dynamic pressure of the solar wind. You can think of it like inflating a balloon inside a wind tunnel: the balloon expands until the internal pressure matches the external flow pressure, then holds its shape. On the sunward side, the magnetopause is compressed to a standoff distance that depends on the cube root of the ratio of magnetic field strength to solar wind pressure. For Earth, this boundary sits roughly 10 Earth radii upstream. For Jupiter, whose magnetic field is 20,000 times stronger than Earth's, the magnetosphere extends 50–100 Jupiter radii sunward — large enough to engulf the Sun if it were visible.
On the side facing away from the Sun, the magnetosphere stretches into a long magnetotail that can extend hundreds of planetary radii downstream. The solar wind drags magnetic field lines backward, creating two lobes of oppositely directed field separated by a thin plasma sheet. This tail is not static — it stores magnetic energy that is periodically released in events called substorms, which accelerate particles back toward the planet and produce auroral displays. The process by which solar wind energy enters the magnetosphere is called magnetic reconnection: when the interplanetary magnetic field carried by the solar wind is oriented opposite to the planet's field, field lines break and reconnect, allowing solar wind plasma to penetrate the magnetosphere.
The structure of a magnetosphere varies dramatically across the solar system. Earth's magnetosphere is driven primarily by solar wind interaction. Jupiter's is dominated by internal plasma sources — volcanic material from Io — and by the planet's rapid 10-hour rotation, which flings plasma outward centrifugally and inflates the magnetosphere into a disk-like shape. Mercury has a tiny magnetosphere, barely standing off the solar wind, because its dipole field is weak. Venus and Mars lack global magnetic fields entirely; the solar wind interacts directly with their upper atmospheres, gradually stripping away atmospheric particles — a process with profound implications for planetary habitability over geological time.