How are stars formed? The short answer
Stars form inside giant, cold clouds of gas and dust called molecular clouds. Gravity pulls a dense clump of the cloud together. As the clump collapses it heats up and becomes a glowing protostar. When its core reaches about 10 million °C, hydrogen nuclei start fusing into helium. That nuclear fusion releases enough energy to push back against gravity, and the collapse stops. At that moment a true star is born.17
Stars are still being born right now. Our Milky Way holds more than 100 billion stars,1 and new ones keep switching on in places like the Orion Nebula and the Pillars of Creation.34
Where are stars formed? Inside stellar nurseries
The raw material for stars is spread thinly between the stars as gas and dust. In some places it gathers into huge molecular clouds. They are mostly hydrogen, can stretch hundreds of light-years across, and hold from about 1,000 to 10 million times the mass of the Sun.1 Their insides are astonishingly cold: only about 10–20 kelvin, which is 10–20 degrees above absolute zero.3
Because young stars appear in batches inside these clouds, astronomers call them stellar nurseries.1 A few famous ones:
- The Pillars of Creation, towers of gas and dust in the Eagle Nebula, about 6,500 light-years away. Hubble made them famous in 1995. The Webb telescope's infrared camera sees through the dust to newborn stars only a few hundred thousand years old.4
- The Orion Nebula, about 1,500 light-years away, where roughly 2,200 young stars crowd into a space a little more than a dozen light-years wide.3
- The Taurus Molecular Cloud, about 450 light-years away, the closest large star-forming region. Its dense clumps sit along long, thin filaments, like beads on a string.15
Why can't we just photograph stars being born? Dust blocks visible light. Infrared light gets through, so telescopes like Webb and Herschel use infrared to look inside.34
How do stars form, step by step?
Every star's life is a tug of war between two forces: gravity pulling inward and gas pressure pushing outward.38 Star birth is the story of gravity winning for a while, until fusion forces a truce.
- A cold cloud forms clumps. Cold gas moves slowly, so it pushes back weakly. Gravity gathers it into dense clumps, and inside those, even denser cores, the embryos of stars.13 Sometimes a push starts things off, such as a nearby exploding star or two clouds bumping together.7
- Gravity takes over and the core collapses. To become a star, a core has to shrink so much that its density goes up by a factor of nearly 1020 (a 1 followed by 20 zeros).3
- The collapse makes heat. Falling gas speeds up and crashes together, and the energy of falling turns into heat.16 The warm, glowing ball is a protostar, a baby star. At first all its energy comes from this collapse, not from fusion.1
- It spins up and grows a disk. As the core shrinks it spins faster, like a figure skater pulling in her arms. Gas falling toward the equator gets held back by the spin and forms a flat, whirling disk.3
- Jets and winds clear the view. Young stars blast beams of gas out of their poles, and a stellar wind slowly sweeps away the dusty cocoon.34
- Fusion switches on. When the core reaches about 10 million degrees, hydrogen nuclei fuse into helium.7 (Textbooks quote 10 to 15 million, depending on the star.58) Fusion's energy balances gravity, the shrinking stops, and the object is now a main-sequence star, the long, steady stage where it will spend most of its life.110
4 hydrogen nuclei → 1 helium nucleus + energy
That energy is huge. Each second, the Sun fuses about 600 million tons of hydrogen into helium, and about 4 million tons of that mass turns into pure energy.3 The Sun's core sits at about 15 million °C.2
How long does it take for a star to form?
It depends on the star's mass. Stars much heavier than the Sun reach the main sequence in a few thousand to a million years. The Sun needed millions of years, and the smallest stars need tens of millions.5 The first free-fall collapse of a core is fast by comparison, just thousands of years, which is one reason it's so rarely caught in the act.3
What if the clump is too small? Brown dwarfs
A clump between roughly 13 Jupiters and about 0.075 times the Sun's mass (roughly 1/13) never gets hot enough in the middle for steady hydrogen fusion.5 It becomes a brown dwarf, a "failed star" of roughly 13 to 80 times Jupiter's mass that gives off almost no visible light.9 At the other end, stars top out at somewhere between 100 and 200 Suns, because a very heavy newborn star shines so fiercely that it blows away any extra gas.5
The life cycle of a star: mass decides everything
Once a star is born, its mass sets the rest of its story: how hot and what colour it is, how long it lives, and how it dies.18 You might guess that bigger stars last longer because they have more fuel. It's the other way round. A heavier star has more weight pressing on its core, so the core has to be hotter to hold it up, and hotter cores burn fuel much, much faster.10
Temperatures and lifetimes from OpenStax Table 22.1; colours from OpenStax 17.2.1011 The universe is about 13.8 billion years old,16 so the longest-lived red dwarfs have not had time to burn out.
Hot stars glow blue and cool stars glow red: a star's colour tells you its surface temperature.11 Small, cool red dwarfs are by far the most common stars, about three quarters of the stars in the Milky Way, and some may shine for trillions of years.9
How stars die
- Low and medium mass (like the Sun): when core hydrogen runs out, the star swells into a red giant, puffs its outer layers off as a glowing planetary nebula, and leaves behind its core, an Earth-sized white dwarf that cools for billions of years.19
- High mass (more than roughly 8 Suns, depending on the star): the core fuses heavier and heavier elements up to iron, then collapses and rebounds in a supernova. What's left is a neutron star or a black hole.19
How was our Sun formed?
Our Sun formed about 4.6 billion years ago from a spinning cloud of gas and dust called the solar nebula. As it collapsed, it spun faster and flattened into a disk. Most of the material fell to the centre and became the Sun, which now holds 99.8% of the solar system's mass. Much of what was left in the disk built the planets, including Earth.2 That's no accident: disks are a normal by-product of star birth, which is why so many stars have planets.3
The Sun is about halfway through its roughly 10-billion-year life. In about 5 billion years it will become a red giant, and later a white dwarf.214
Stars make the next generation of stars (and us)
Star birth and star death are linked. Material thrown out by dying stars and supernovae mixes into future molecular clouds and ends up in the next generation of stars.1 The blast of a supernova, or the strong winds of massive stars, can even squeeze a nearby cloud and trigger new star birth.37 Many of the elements needed for life were made in supernovae,12 so most of the atoms in you, other than hydrogen, were cooked up in stars that died before the Sun was born.
Common misconceptions
"Big stars live longest because they have the most fuel." They burn it far faster. A 40-Sun star lasts about a million years; the Sun lasts about 10 billion.
10
"Stars are on fire." Stars aren't burning like wood or coal. Their energy comes from nuclear fusion. A Sun made of coal would burn out in a few thousand years.
6
"All the stars formed long ago." Stars are forming right now, in Orion, in the Eagle Nebula and in clouds all over the galaxy.
34
"A protostar is already a star." It glows from the heat of collapse. It only counts as a star once hydrogen fusion starts in its core.
7
"Anything big and hot enough becomes a star." Below about 1/13 of the Sun's mass, the core never ignites, and you get a brown dwarf.
5
FAQ
How are stars formed, step by step?
1) A cold molecular cloud of gas and dust forms dense clumps. 2) Gravity makes a clump collapse. 3) The falling gas heats up, spins faster and flattens into a disk, forming a protostar. 4) When the core reaches about 10 million °C, hydrogen fuses into helium. 5) The energy from fusion balances gravity, and a stable star is born.
Where do stars come from?
Stars come from giant, cold clouds of gas (mostly hydrogen) and dust called molecular clouds, or stellar nurseries. Famous examples are the Orion Nebula and the Pillars of Creation in the Eagle Nebula.
How long does it take for a star to form?
It depends on mass. Very massive stars reach the stable, hydrogen-fusing stage in a few thousand to a million years. A Sun-like star takes millions of years, and the smallest stars take tens of millions of years.
How long does a star live?
A star's mass decides its lifespan. A star 40 times the Sun's mass lasts about a million years, the Sun about 10 billion years, and small red dwarfs hundreds of billions of years or more, longer than the universe has existed so far.
Will stars ever stop forming?
Not for a very long time. Stars are forming right now in our galaxy, for example in Orion and the Eagle Nebula. Star formation only uses a small part of a cloud's gas, and exploding stars return material to space for future stars, but the supply of gas will slowly run down over many billions of years.
What is a protostar?
A protostar is a baby star: a hot, glowing ball of gas that is still shrinking and pulling in material. It shines from the heat of its collapse, not from fusion. It becomes a true star when hydrogen fusion starts in its core.
What is a brown dwarf?
A brown dwarf is a 'failed star'. It forms like a star but has less than about 1/13 of the Sun's mass (roughly 13 to 80 times Jupiter's mass), so its core never gets hot enough for steady hydrogen fusion.
Sources
- NASA Science, Stars
- NASA Science, Sun: Facts
- OpenStax Astronomy 2e, 21.1 Star Formation
- NASA Science, Pillars of Creation (Webb NIRCam image)
- OpenStax Astronomy 2e, 21.2 The H–R Diagram and the Study of Stellar Evolution
- OpenStax Astronomy 2e, 16.1 Sources of Sunshine
- NASA Science, The Life and Death of a Planetary System, ch. 1
- NASA Imagine the Universe, Stars
- NASA Science, Types of Stars
- OpenStax Astronomy 2e, 22.1 Evolution from the Main Sequence to Red Giants
- OpenStax Astronomy 2e, 17.2 Colors of Stars
- Center for Astrophysics | Harvard & Smithsonian, How do stars and planets form and evolve?
- NASA Science, Hubble: Messier 16 (Eagle Nebula)
- NASA Space Place, How Old Is the Sun?
- ESA Herschel, The Taurus molecular cloud
- NASA Science, What is the Universe?