Heating and Cooling Processes in the ISM
The interstellar medium (ISM) doesn't sit at one uniform temperature. Instead, a constant tug-of-war between heating and cooling processes determines the thermal state of the gas, producing the distinct phases (cold, warm, hot) that characterize the ISM. Understanding this energy balance is essential for explaining why star-forming regions exist where they do and how galaxies evolve over time.
Heating Mechanisms in the ISM
Several processes inject thermal energy into interstellar gas. Their relative importance depends on the local environment: the radiation field, the density, and whether the gas is diffuse or locked inside a dense molecular cloud.
Photoelectric Heating
This is the dominant heating mechanism in diffuse neutral gas. UV photons (typically from OB stars) strike dust grains and PAHs (polycyclic aromatic hydrocarbons), ejecting electrons from their surfaces via the photoelectric effect. These ejected electrons carry kinetic energy that they share with the surrounding gas through collisions, raising the gas temperature.
The efficiency of this process depends on the grain charge. As grains lose electrons they become positively charged, making it harder to eject additional electrons. Typical photoelectric heating efficiencies are around 0.1โ1% of the incident UV energy.
Cosmic Ray Heating
Cosmic rays are high-energy particles (mostly protons, with energies up to eV) that can penetrate deep into regions where UV photons cannot reach. When a cosmic ray ionizes a gas atom or molecule, the freed electron carries away kinetic energy and thermalizes with the surrounding gas.
This makes cosmic ray heating the primary heating source in dense molecular clouds, where dust shielding blocks UV radiation almost entirely. The ionization rate per hydrogen atom is roughly in typical molecular cloud interiors.
X-ray Heating
X-rays from hot stars, supernova remnants, and active galactic nuclei (AGN) can ionize inner-shell electrons of heavier atoms. The resulting photoelectrons and Auger electrons carry significant kinetic energy into the gas. This mechanism matters most near compact objects and in the vicinity of AGN, where the X-ray flux is intense.
Chemical Heating
Exothermic chemical reactions release energy directly into the gas. The most important example is the formation of on dust grain surfaces: when two hydrogen atoms meet on a grain and form a molecule, the binding energy () is partly transferred to the grain and partly to the kinetic energy of the newly formed . In dense molecular clouds, this can be a significant heat source.
Cooling Processes
Cooling removes thermal energy from the gas by converting it into radiation that escapes the region. The dominant cooling channel depends strongly on the gas temperature and ionization state.

Line Emission Cooling
This is the most important cooling mechanism across a wide range of ISM conditions. Gas particles are collisionally excited to higher energy states and then radiate photons as they de-excite. Because the emitted photon typically escapes the cloud, that energy is permanently lost from the gas.
The key coolants vary by environment:
- Neutral atomic gas (warm/cold neutral medium): Fine-structure lines of at 158 ฮผm and at 63 ฮผm dominate. These ions have low-lying energy levels easily excited at temperatures of a few thousand kelvin or less.
- Molecular gas: Rotational lines of and rovibrational lines of carry away energy. CO is especially effective because its low rotational energy spacing allows excitation even at .
- Warm ionized gas ( K): Forbidden lines of metals like , , and are efficient coolants.
Recombination Cooling
When a free electron recombines with an ion, the excess kinetic energy of the electron is radiated away. This process is important in regions and other ionized environments. The recombination rate scales as , so it becomes more efficient at higher densities and lower temperatures within ionized gas.
Bremsstrahlung (Free-Free) Cooling
In hot ionized gas ( K), electrons decelerate as they pass near ions and emit photons in the process. The cooling rate scales as , making it the dominant cooling mechanism in the hot ionized medium and in supernova-heated gas.
Dust Cooling
In dense regions, gas particles collide with dust grains and transfer kinetic energy to them. The grains then re-radiate this energy as thermal infrared emission. This channel becomes efficient when the gas is denser than the dust temperature would suggest, effectively coupling gas and dust thermally at densities above roughly .
Thermal Equilibrium and Instability
The Equilibrium Condition
The gas reaches thermal equilibrium when the total heating rate per unit volume equals the total cooling rate:
Here is the heating rate (energy per unit volume per unit time), is the number density, and is the cooling function, which depends on temperature and composition. At equilibrium, the gas settles to a temperature where these rates balance.

Thermal Instability and the Multi-Phase ISM
The cooling function is not a smooth, monotonically increasing function. It has bumps and dips corresponding to different atomic and molecular transitions becoming active at different temperatures. This creates a situation where, at a given pressure, there can be multiple stable equilibrium temperatures.
The classic result (from Field 1965) is that the ISM naturally separates into distinct thermal phases:
- Cold Neutral Medium (CNM): K,
- Warm Neutral/Ionized Medium (WNM/WIM): K,
- Hot Ionized Medium (HIM): K,
Gas at intermediate temperatures between these phases is thermally unstable: a small perturbation causes it to either heat up or cool down until it reaches one of the stable phases. This is why the ISM is "clumpy" rather than uniform.
Timescales
Whether thermal equilibrium actually holds in a given region depends on how the cooling time compares to the dynamical time. The cooling time is roughly:
If is much shorter than the dynamical time (the time for gas to move or be compressed significantly), the gas can maintain thermal equilibrium. If not, the gas may be out of equilibrium, and you need to track its thermal evolution explicitly.
Feedback Processes
Stellar feedback continuously reshapes the ISM's thermal structure, preventing it from settling into a static equilibrium.
Supernovae
A single supernova releases roughly erg of energy. The resulting blast wave heats surrounding gas to K, creating hot, low-density bubbles that can persist for millions of years. Supernovae also enrich the ISM with heavy elements (metals), which changes the cooling function by adding new line-emission channels. This is a direct link between stellar evolution and ISM thermodynamics.
Stellar Winds and Radiation
Massive stars drive fast winds () that sweep up surrounding material into shells and bubbles, compressing and heating the gas. Radiation pressure from luminous stars can also push on dust grains, which drag the gas along, redistributing material on local scales.
H II Regions
UV photons from massive O and B stars ionize surrounding hydrogen, creating regions heated to K. These regions expand as the ionization front moves outward, compressing the neutral gas ahead of them. This compression can trigger new star formation, creating a feedback loop.
The Self-Regulation Picture
These feedback processes create a self-regulating cycle. Star formation heats and disrupts the ISM, which suppresses further star formation locally. As the gas cools and re-condenses, new star-forming regions emerge. This cycle maintains the multi-phase structure of the ISM and regulates the overall star formation rate in galaxies. On larger scales, strong feedback can drive galactic outflows and fountains, cycling material between the disk and halo.