Astronomy · 29 July 2026 · 5 min

The life cycle of a star, from nebula to white dwarf or black hole

On this page
  1. Birth: nebula to protostar
  2. The main sequence
  3. Ending one: stars like the Sun
  4. Ending two: massive stars
  5. Why big stars die young
  6. Where your atoms came from
  7. Mistakes examiners see often
  8. Learning the sequence
  9. Sources and further reading

The carbon in your muscles and the oxygen you breathe were made inside stars that died before the Sun existed. Stars are born, shine for millions or billions of years, and then end in ways that depend almost entirely on one property: mass.

NebulaProtostarMain sequenceRed giantPlanetary nebulaWhite dwarfRed supergiantSupernovaNeutron staror black holeStar about the mass of the SunStar many times the mass of the Sun
Every star starts the same way. After the main sequence, its mass decides which path it follows.

Birth: nebula to protostar

The space between stars contains, in places, huge clouds of gas (mostly hydrogen, with some helium) and dust. Such a cloud is a nebula.

If one part of a nebula becomes a little denser than its surroundings, gravity starts to pull material inwards. As the clump collapses, its centre gets hotter. This hot, growing ball is a protostar. It glows, but it is not yet a true star.

The main sequence

When the core reaches millions of degrees Celsius and is dense enough, nuclear fusion begins: hydrogen nuclei join to form helium, and a small amount of mass is converted into a large amount of energy. That energy is why stars shine.

The star now settles into its longest and steadiest stage, the main sequence, in which two effects are balanced:

While they balance, the star stays about the same size. The Sun is a main sequence star, about 4.6 billion years old and roughly halfway through this stage.

Stars do not "burn" like a fire. There is no oxygen and no flame; the energy comes from fusion of nuclei.

Ending one: stars like the Sun

When hydrogen in the core starts to run out, the balance breaks.

  1. Red giant. The core shrinks and heats up while the outer layers swell enormously and cool, glowing red. In roughly 5 billion years the Sun will become a red giant large enough to swallow Mercury and Venus, and possibly the Earth.
  2. Planetary nebula. The outer layers drift away as a glowing shell of gas. The name is a historical accident: through small telescopes these shells looked a little like planets. They have nothing to do with planets.
  3. White dwarf. The leftover core is about the size of the Earth but extremely dense. No fusion happens in it; it shines with stored heat and slowly cools.
  4. Black dwarf. Eventually a white dwarf should cool until it no longer glows. The universe is not yet old enough for any to exist, so this stage is predicted rather than observed.

Ending two: massive stars

  1. Red supergiant. The star swells even larger, and its core fuses heavier and heavier elements, building up to iron.
  2. Supernova. Fusing iron releases no energy, so the core can no longer support itself. It collapses in a fraction of a second and the star explodes. For a few weeks a supernova can outshine an entire galaxy.
  3. Neutron star or black hole. The remaining core becomes a neutron star, an object about the size of a city and so dense that a teaspoonful would weigh billions of tonnes, or, for the most massive stars, a black hole, whose gravity is so strong that not even light escapes. Some neutron stars spin rapidly and sweep beams of radio waves past Earth like a lighthouse; these are pulsars.

Why big stars die young

A massive star has more fuel, but it uses it far faster. The comparison below uses made-up round numbers to show the idea.

Star A Star B
Fuel 1 unit 10 units
Rate of use 1 unit per 10 billion years 1 unit per million years
Lifetime 10 billion years 10 × 1 million = 10 million years

Star B has ten times the fuel yet lives a thousand times shorter. Real stars are messier, but the pattern holds: a star many times the Sun's mass may last only a few million years, while the Sun's main sequence stage lasts about 10 billion. The smallest stars, red dwarfs, use fuel so slowly that none has yet left the main sequence.

Where your atoms came from

The early universe contained almost nothing but hydrogen and helium. Heavier elements, including the carbon and oxygen in your body, were made by fusion inside stars and scattered into space when those stars shed their outer layers or exploded. Many elements heavier than iron formed in supernovae and in collisions between neutron stars. That debris joined new nebulae, which in time formed new stars and planets, including the Solar System.

Star colour gives a clue to surface temperature: blue-white stars are hottest, red ones coolest. Orion shows both. Betelgeuse is a red supergiant expected to end as a supernova, though "soon" for a star could mean any time in the next hundred thousand years. Rigel is a blue-white supergiant. Our stargazing guide shows how to find them.

Mistakes examiners see often

Learning the sequence

Learn the shared start first (nebula, protostar, main sequence), then the two endings as a pair. You can practise the order with this life cycle of stars maze on ModernScholar. If you prefer paper, a blank flow chart from EduPrintables lets you test yourself from memory, then check against the chart above.

A quick card test: write the ten stages on ten cards, shuffle, and lay out each path in turn. Which three cards appear in both paths? (Nebula, protostar and main sequence.)

The Sun's light also drives the seasons on Earth, and for the worlds that orbit it, see the planets of the Solar System.

Sources and further reading

Read next

The Magellan–Elcano expedition and the first voyage around the worldThe International Space Station and how astronauts live thereHow latitude and longitude work