Introduction: The Hidden Force Shaping Galaxies

Galaxies are grand assemblies of stars, gas, dust, and dark matter, bound together by gravity. For decades, astronomers have built a detailed picture of how galaxies form and evolve, focusing on dark matter halos, gas accretion, and feedback from supernovae and black holes. Yet one ingredient has often been overlooked until recently: magnetic fields. These invisible, pervasive forces thread through the interstellar and intergalactic medium, influencing gas flows, star formation, and the large-scale structure of galaxies. Understanding magnetic fields is therefore essential to completing our model of cosmic evolution. New observational facilities and numerical simulations are now revealing the profound role of magnetism from the first protogalaxies to the present day.

Detecting and Measuring Cosmic Magnetism

Magnetic fields in galaxies are weak by terrestrial standards — typically a few microgauss (µG), or about one-millionth of Earth's field. Yet across the vast scales of a galaxy, they exert significant pressure and tension. Astronomers detect these fields using several complementary techniques. Polarized light from dust grains aligned by magnetic fields reveals field directions in the interstellar medium. Synchrotron radiation, emitted by relativistic electrons spiraling in magnetic fields, traces both field strength and structure. Faraday rotation of polarized radio sources as their signal passes through magnetized plasma provides a measure of the line-of-sight magnetic field component. All these methods confirm that magnetic fields are ubiquitous in spiral, elliptical, and irregular galaxies, as well as in the intracluster medium of galaxy clusters. The Milky Way's magnetic field, for example, is ordered on kiloparsec scales with a spiral pattern similar to the galaxy's stellar arms. Even in the earliest galaxies seen by ALMA and the James Webb Space Telescope, magnetic fields may already be present and active.

How Magnetic Fields Influence Galaxy Formation

Regulating Gas Dynamics and Star Formation

Magnetic fields exert a Lorentz force that resists compression and shear. In the interstellar medium, this magnetic pressure can support molecular clouds against their own gravity, thereby setting a lower limit on the mass that can collapse to form stars. This so-called magnetic critical mass means that only regions where gravity overwhelms magnetic support can become stars. Consequently, magnetic fields slow down star formation rates, allowing galaxies to sustain star formation over longer periods rather than exhausting their gas in a short burst. Observations of nearby star-forming regions, such as the Orion Nebula, show that magnetic fields are often strong enough to regulate the formation of dense cores. Moreover, magnetic fields can stabilize galactic disks against fragmentation, pushing galaxies toward a more quiescent evolutionary path.

Channeling Gas Flows and Building Spiral Arms

Magnetic tension forces gas to flow preferentially along field lines rather than across them. In a rotating galactic disk, this can lead to the formation of spiral-shaped magnetic patterns that reinforce the material spiral arms seen in optical light. Numerical simulations by teams such as the Aurora project demonstrate that magnetic fields help maintain coherent spiral arms over many rotation periods. The fields also redistribute angular momentum through magneto-rotational instability (MRI), which transports angular momentum outward, allowing material to fall inward and feed the galactic center. This redistribution is critical for the formation and longevity of galactic disks — without it, gas would stall and disks would be far less extended.

Influence on the Interstellar Medium and Cosmic Rays

Magnetic fields are intertwined with cosmic rays, high-energy particles that race through the galaxy. The same magnetic fields that guide gas also trap and scatter cosmic rays, preventing them from escaping too quickly. This confinement creates a cosmic-ray pressure that can drive galactic outflows and affect the thermal balance of the interstellar medium. The interplay between magnetic fields, cosmic rays, and turbulent motions shapes the multiphase structure of the ionized, atomic, and molecular gas that fuels star formation. Without magnetic fields, cosmic rays would stream out freely, and the interstellar medium would lack the pressure support needed to sustain its complex, filamentary structure.

Magnetic Fields Through Galactic Evolution

Amplification by Dynamo Action

Galactic magnetic fields are not static; they evolve over cosmic time. The most widely accepted mechanism for their growth is the dynamo process. In a rotating, turbulent, conducting plasma, small seed magnetic fields can be stretched, twisted, and amplified exponentially. The classical α-ω dynamo in spiral galaxies can amplify fields from initial strengths of ~10−20 G to the observed microgauss levels within a few billion years. This process explains why older, more evolved galaxies tend to have stronger, more ordered magnetic fields than young, irregular galaxies. Observations of high-redshift galaxies with the Very Large Array are beginning to trace this amplification history, showing that magnetic fields were already significant when the universe was only a few billion years old.

Driving Galactic Winds and Outflows

As galaxies evolve, supernovae and active galactic nuclei inject energy into the interstellar medium, driving powerful outflows. Magnetic fields play a dual role here: they can collimate these outflows into bipolar jets or wide-angle winds, and they can also provide magnetic tension that prevents the hot gas from escaping too easily. In simulations, magnetic fields are essential for launching and accelerating galactic winds, especially in dwarf galaxies. These winds remove gas from the galaxy, thereby suppressing star formation and regulating the stellar mass buildup. Without magnetic fields, wind models often predict excessive mass loss or unrealistic morphologies. Observations of M82's superwind show clear magnetic signatures aligned with the outflow, confirming that magnetism is an active participant in feedback processes.

Role in Galaxy Mergers and Interactions

Galaxy mergers are dramatic events that reshape galaxies. During a merger, magnetic fields are scrambled, compressed, and amplified. Tidal forces stretch field lines, and the turbulent collision of gas clouds can produce tangled, chaotic fields. Observations of merging galaxies, such as the Antennae Galaxies, show that their magnetic fields are significantly stronger and more disordered than in isolated spirals. After the merger, the remnant often inherits a heightened magnetic field that can affect subsequent star formation and AGN activity. In some cases, the merger-driven dynamo can produce coherent fields in elliptical galaxies, which were previously thought to have only weak magnetic fields. This magnetic legacy of mergers may help explain the diversity of magnetic field configurations seen in local ellipticals.

Observational Advances and Future Prospects

Current Facilities and Key Surveys

Observational progress relies on radio telescopes sensitive to synchrotron emission and Faraday rotation. The LOFAR and MeerKAT telescopes have mapped magnetic fields in nearby galaxies with unprecedented resolution and sensitivity. The CHANG-ES survey (Continuum Halos in Nearby Galaxies) has revealed that magnetic fields often extend far above the galactic plane, forming magnetized halos. These halos are connected to the circumgalactic medium, suggesting that magnetic fields link galaxies to their larger cosmic environment. The SKA (Square Kilometre Array) and its pathfinders will dramatically expand this capability, detecting magnetic fields in thousands of galaxies out to redshifts of 2–3 and beyond.

Connecting Magnetic Fields to the Cosmic Web

Beyond individual galaxies, magnetic fields are believed to permeate the cosmic web — the large-scale structure of filaments and voids connecting galaxies. Weak intergalactic magnetic fields may be primordial, seeded by processes in the early universe such as phase transitions or the motion of charged particles during structure formation. Observing these fields is extremely challenging, but high-energy gamma-ray observations of blazars provide indirect constraints on the fields in voids. The SKA will search for the signature of cosmic-web magnetic fields through Faraday rotation of polarized radio sources. Understanding these fields is essential because they may influence gas accretion onto galaxies and affect the propagation of cosmic rays across cosmic distances.

Theoretical Models and Numerical Simulations

Simulating magnetic fields in galaxy formation is a major computational challenge. Codes such as ENZO, GADGET-3, and AREPO now include magnetohydrodynamics (MHD) to track magnetic field evolution alongside gravity, gas dynamics, and feedback. These simulations reveal that magnetic fields, while dynamically important, do not dominate galaxy formation but instead modulate it in subtle but crucial ways. For example, MHD simulations show that the star formation efficiency in galaxies is reduced by 20–40% compared to simulations without magnetic fields, in better agreement with observations. They also reproduce observed magnetic field strengths and patterns, including the formation of large-scale magnetic spirals. A key open question is the origin of the initial seed fields — whether from the early universe (primordial) or from astrophysical processes like the Biermann battery in the first stars. Future simulations that include realistic cosmic-ray transport and radiative cooling will further refine our understanding.

Conclusion: The Magnetic Universe Ahead

Magnetic fields are not a minor afterthought in galaxy formation — they are a fundamental component that shapes the gas dynamics, star formation, feedback, and long-term evolution of galaxies. From regulating the birth of stars in molecular clouds to driving outflows that redistribute gas, and from guiding spiral structure to influencing the outcome of mergers, magnetism is woven into the fabric of galaxies. The next decade of radio astronomy, led by the SKA, will provide transformative data to test theoretical models and uncover magnetic field histories across cosmic time. As we piece together the puzzle of galaxy formation, accounting for magnetic fields is no longer optional — it is essential for a complete picture of how the universe built its luminous structures.

For further reading, see this review on magnetic fields in galaxy evolution and the SKA science page on cosmic magnetism.