Where Do Gamma Ray Bursts Come From: Stars to Neutron Stars

Gamma-ray bursts come from two main sources: the collapse of massive stars and the collision of ultra-dense stellar remnants like neutron stars. These are the most powerful explosions in the universe, releasing more energy in seconds than the Sun will produce in its entire lifetime. The type of burst depends largely on how long it lasts, with each duration category pointing to a different cosmic event.

Two Categories, Two Very Different Origins

Astronomers split gamma-ray bursts into two broad families based on duration. Long-duration bursts last more than about two seconds and are linked to the deaths of massive stars. Short-duration bursts, clocking in under two seconds, come from mergers of compact objects like neutron stars. This clean division has held up well since the 1990s, though recent observations have turned up a few oddballs that blur the line.

Long Bursts: Massive Stars Collapsing

Most gamma-ray bursts fall into the long-duration category, and they originate from a specific type of stellar death. The process starts with a star at least 30 times the mass of the Sun, often a Wolf-Rayet star that has already shed its outer hydrogen layers. When the iron core of such a star can no longer support itself against gravity, it collapses directly into a black hole.

What happens next is where the burst comes from. A disk of stellar material forms around the newborn black hole, and over the course of several dozen seconds, that disk feeds matter inward. The energy released during this accretion escapes preferentially along the star’s rotation axis, where there’s less material blocking the way. This creates two narrow jets, typically less than 10 degrees wide, that punch through the remaining stellar envelope at close to the speed of light.

As these jets bore through the dying star, they get squeezed even narrower. Simulations show jets that start at 20 degrees get compressed to roughly 5 degrees by the time they break free. The material in these jets reaches terminal speeds around 150 times the speed of light in terms of their Lorentz factor, a measure of how relativistic the flow is. Once the jets clear the star, internal collisions within the outflowing plasma produce the gamma rays we detect from billions of light-years away. This entire scenario is called the collapsar model.

Because these bursts require massive, short-lived stars, they tend to occur in galaxies with active star formation. At relatively nearby distances, that means small, actively star-forming galaxies. At greater distances, some have been found in dusty regions of larger galaxies, and at least one host galaxy at a distance corresponding to when the universe was about 1.5 billion years old showed higher-than-expected levels of heavy elements in its gas.

Short Bursts: Neutron Stars Colliding

Short gamma-ray bursts have a completely different origin. They come from the merger of two neutron stars, or possibly a neutron star and a black hole, that have been spiraling toward each other for millions or even billions of years. As the two objects close in on their final orbits, they reach speeds approaching half the speed of light and radiate enormous amounts of energy as gravitational waves. In the final fraction of a second, they collide.

The merger ejects neutron-rich matter at extreme temperatures and densities, launches a relativistic jet (producing the gamma-ray burst itself), and creates a glowing cloud of debris called a kilonova. This was confirmed dramatically in August 2017, when the LIGO and Virgo gravitational-wave detectors picked up the signal from a neutron star merger roughly 130 million light-years away in the galaxy NGC 4993. Telescopes spotted the corresponding light about 11 hours later, marking the first time a gravitational wave event was matched to an electromagnetic counterpart.

These mergers are also cosmic forges. The extreme conditions create heavy elements through a process called r-process nucleosynthesis, building atoms all the way up the periodic table. The James Webb Space Telescope observed one such event 29 and 61 days after the initial burst and detected an emission line from tellurium (element 52) along with signatures of lanthanides, a group of heavy metals. This confirmed that neutron star mergers produce heavy elements across a broad range of atomic masses, making them a primary source of elements like gold, platinum, and uranium in the universe.

How the Gamma Rays Actually Get Made

Regardless of whether the source is a collapsing star or a merger, the gamma rays themselves are produced the same way. The enormous energy released in a tiny region creates what physicists call a fireball: an opaque ball of matter, antimatter pairs, and radiation. This fireball is accelerated to near-light speed by its own radiation pressure.

As the expanding material plows into surrounding gas, it creates powerful shock waves. Electrons caught in these shocks spiral through magnetic fields and emit synchrotron radiation, which is the actual light we detect as gamma rays. After the initial burst fades, the decelerating material continues to glow at lower energies (X-rays, visible light, radio) for days to months. This “afterglow” gradually dims as the ejected material slows down, and studying it is how astronomers pin down the distance and energy of each burst.

The energy involved is staggering. A typical gamma-ray burst releases between 1051 and 1054 ergs. For context, the most extreme burst ever recorded, GRB 221009A in October 2022, released an equivalent energy exceeding five times the mass of the Sun converted entirely into energy. It was the brightest burst detected in nearly 55 years of gamma-ray astronomy, over ten times brighter than the previous record holder. Part of its brilliance came from being unusually close: about 2.3 billion light-years away, roughly 20 times nearer than the average burst.

Ultra-Long Bursts: A Third Category

Some gamma-ray bursts refuse to fit neatly into either box. Ultra-long bursts can stretch what is normally a seconds-to-minutes event into something lasting hours or even most of a day. One such event showed low-energy X-rays nearly a full day before the main gamma-ray emission, something standard models struggle to explain.

Two main ideas compete to explain these outliers. The first stays within the massive-star framework but proposes that something about the collapse, perhaps the type of star or the nature of the remnant left behind, creates a central engine that simply keeps running far longer than normal. The second idea is entirely different: a star wandering too close to a black hole and getting torn apart, feeding a jet aimed toward Earth. These tidal disruption events were predicted in the 1970s but not observed until decades later. One variation proposes “micro-tidal disruption events” where a star is shredded by a stellar-mass black hole (roughly ten times the Sun’s mass) rather than the supermassive black holes typically involved.

What makes ultra-long bursts particularly puzzling is that they show short-timescale flickering long after the initial explosion, suggesting the central engine keeps sputtering back to life intermittently rather than fading smoothly.

How We Detect Them

Gamma rays don’t penetrate Earth’s atmosphere, so detection relies entirely on space-based instruments. NASA’s Fermi Gamma-ray Space Telescope and Neil Gehrels Swift Observatory are the primary workhorses. When a burst triggers their detectors, coordinates are automatically relayed to ground-based telescopes worldwide, which then swivel to catch the fading afterglow.

On the International Space Station, a system called the Orbiting High-energy Monitor Alert Network (OHMAN) links NASA’s NICER X-ray telescope with a Japanese all-sky X-ray detector called MAXI. When MAXI spots an outburst, OHMAN automatically redirects NICER to observe it within hours, a process that previously required human intervention from the ground. This kind of rapid, automated follow-up is critical because afterglows fade quickly, and the first hours of data carry the most information about what caused the burst and where it came from.