The Sun has been the central source of energy for life on Earth for billions of years, but it will not shine forever. Like every star, it has a finite supply of nuclear fuel. Astronomers expect it to change dramatically as the hydrogen in its core is depleted, eventually swelling into a red giant and later shedding its outer layers. The Sun will not explode as a supernova; instead, it will end its life as a compact white dwarf surrounded for a time by glowing gas.

The Sun Is Still in Its Stable Middle Age
The Sun formed about 4.6 billion years ago and is currently in the main-sequence stage of its life, the long period during which a star produces most of its energy by fusing hydrogen into helium in its core. The energy released by fusion creates outward pressure that balances the inward pull of gravity, allowing the Sun to remain relatively stable in size and brightness over billions of years. This balance is known as hydrostatic equilibrium. Astronomers estimate that the Sun has roughly another five billion years before the supply of hydrogen in its core becomes insufficient to sustain the present stage of fusion. Its later evolution will be shaped by changes in the core and the outer layers.
When the Core Runs Low on Hydrogen
As hydrogen in the Sun’s core is gradually used up, the balance between gravity and internal pressure will change. The core will contract and become hotter, while hydrogen fusion continues in a shell surrounding it. Energy from this process will cause the outer layers to expand enormously, and the Sun will enter the red-giant phase of its evolution. Its visible surface will become cooler than it is today, giving it a reddish appearance, even as its overall size and total luminosity increase. The expanding Sun will dramatically alter the inner Solar System, and the exact fate of Earth will depend on the details of the Sun’s future expansion and the changing orbit of our planet.

What Will Happen to Earth?
Long before the Sun reaches its red-giant stage, the gradual increase in its brightness is expected to make Earth increasingly hostile to life as we know it. Oceans and the climate will be profoundly affected on timescales far shorter than the Sun’s final transformation. During the red-giant phase, the Sun will expand enough to engulf Mercury and Venus. Earth’s ultimate physical fate is more complicated because the Sun will lose mass as it evolves, changing the orbit of the planets, but our planet will not remain habitable.
The Sun Will Shed Its Outer Layers
After the red-giant phase, the Sun will lose much of its outer atmosphere through a series of mass-loss events. The expelled gas will spread into space and may form a planetary nebula, a glowing shell illuminated by the hot stellar core left behind. The term “planetary nebula” is historical and can be misleading, because these objects have nothing to do with planets; early telescope observers simply thought some of them resembled planetary disks. They are clouds of gas released by dying stars with relatively low or intermediate mass. The material will gradually disperse into the surrounding interstellar environment, returning elements that may later become part of new stars and planetary systems.
The Final Stage: A White Dwarf
The remaining core will become a white dwarf, an extremely dense stellar remnant roughly comparable in size to Earth but containing a substantial fraction of the Sun’s original mass. It will no longer generate energy through sustained nuclear fusion. Instead, it will slowly radiate away the heat it has retained, cooling over immense periods of time. The Sun does not have enough mass to end its life in a core-collapse supernova.
How Do Scientists Know This?
Astronomers study stars at many stages of their lives, including red giants, planetary nebulae and white dwarfs, to understand how stars change as their fuel is consumed. By comparing their masses, temperatures, chemical compositions and brightness, researchers can test models of stellar evolution and determine which stages different stars are likely to experience. Computer simulations combine these observations with the physics of nuclear reactions, gravity, radiation and the movement of energy inside stars to predict the Sun’s long-term future. The Sun is not massive enough to explode as a supernova, so its expected fate is to shed its outer layers and leave behind a dense white dwarf that will cool slowly over an immense period of time.
The Sun’s death is unimaginably far in the future, but understanding it helps scientists explain how stars evolve and how the elements that make planets and living things are recycled through the cosmos. By comparing the Sun with stars at different stages, astronomers can test models of stellar structure, nuclear fusion and mass loss. The material released by aging stars enriches interstellar clouds, which can later form new stars and planetary systems. Studying the Sun’s distant future therefore also helps explain the wider life cycle of matter in the galaxy.
