The Sun's Death Won't Be An Explosion. It Will Be Much, Much Slower
The explosion of the sun is a threat straight out of science fiction, but could it really happen, and if so, what would the consequences be for our solar system? When a star explodes, it forms a supernova, a sudden and massive burst of light that can outshine a whole galaxy. Supernovae leave their mark on the skies as nebulae, clouds of solar debris that make for many of the most iconic astronomical images ever captured. Supernovae can give birth to black holes and neutron stars, and their light can be observed from thousands of light years away.
Supernovae usually happen when a star stops producing nuclear fuel, causing a pressure imbalance between the core and the surface that makes the star collapse on itself. The force of this collapse generates shock waves that obliterate the star in a violent burst. If the sun were to explode in such a fashion, it would obviously be bad news for Earth and every other object in the solar system. The explosion would destroy the inner planets, but we humans wouldn't even make it to that point. Roughly 99% of the energy generated from the supernova would be spewed out in the form of neutrinos, which would vaporize everything on Earth before the shockwaves of the explosion even reach the planet. Fortunately, we'll never have to worry about such an event because the sun is not going to explode. Not now, not later, not ever. However, our sun will eventually die, but in a far different and much slower fashion.
Step 1: The sun will burn hotter and hotter
Our sun will never go supernova because it simply isn't big enough. It would need to be about ten times more massive to collapse with such force. The life cycle of a star depends on its size, and the ultimate fate of a star the same mass as our sun is to essentially burn out. Before that happens, though, the heat is going to go way up.
The sun is primarily composed of hydrogen atoms, which collide under tremendous pressure and temperature with each other to form helium. This process, known as nuclear fusion, is how the sun generates energy, and that energy output is steadily increasing, albeit at a pace far too slow for us to notice. Scientists estimate that the sun's energy output has increased by roughly a third since its formation 4.6 billion years ago. That trend is expected to continue, with the sun burning about ten percent brighter every billion years.
Such an increase in solar energy will introduce Earth to a whole new kind of global warming. The polar ice caps will melt and the atmosphere will fill with water vapor that traps even more heat. By one or two billion years from now, temperatures will have risen so much that the oceans will boil away, leaving the planet as a lifeless wasteland, similar to present-day Venus. After the oceans evaporate, the atmosphere will dissipate, and ultimately, Earth will be left as a barren shell of its former self. But that's only the beginning of the end for the sun itself.
Step 2: The sun will run out of fuel and expand
The sun has a limited supply of hydrogen which it steadily depletes through the process of nuclear fusion. At this point, NASA estimates that the sun is a little more than 70% hydrogen. The vast majority of what remains is helium, which hydrogen is converted into during nuclear fusion. Eventually, the sun will turn all of the hydrogen in its core into helium, and it will cease to generate energy. This point marks the end of a star's primary life sequence, but it isn't expected to happen for five billion years, meaning that the sun today isn't even halfway through its active lifespan.
The sun, like all stars, exists in a delicate balance between the outward pressure of its core and the inward pressure of gravity. When the core is depleted of hydrogen, it can no longer stand up to the force of gravity, causing the star to collapse. This is how supernovae are generated, but for a smaller star like the sun, the effect will be a bit less dramatic. The solar core will be compacted to an incredibly dense, hot state. At this point, the helium will begin fusing into heavier elements along with whatever traces of hydrogen remain in the outer layers of the sun. The heat will cause the star to expand, setting it on track to become a red giant.
Step 3: The sun will become a red giant
The sun as we know it is an example of a main sequence star, the main sequence being the hydrogen-burning phase of a star's life. The sun's main sequence is estimated to last 10 billion years in total, ending around 5 billion years from now. After that, the sun's outer layers will expand, and it will become brighter. However, the surface temperature will cool by about half, which will change the sun's light from bright white to red. At this point, it will become a red giant, like the star Betelgeuse, which is commonly used to locate the constellation Orion.
It is unclear how big the sun will get when it enters the red giant phase. The red giant stars that have been observed so far range from 100 to 1,000 larger than the sun is today. The expansion would consume Mercury and Venus, and most likely Earth as well. If our planet did survive, it would be so close to the expanded sun that everything on the surface would incinerate. But the sun's transformation into a red giant will only push its habitable zone further, and this could potentially make icy dwarf planets in the Kuiper Belt, such as Eris, into oases of liquid water ready to harbor life. Unfortunately for any new life that might emerge at that point, the solar system won't have very much time left.
Step 4: With its fuel exhausted, the sun will become a white dwarf
The red giant phase of a star only lasts about a billion years at best. While that could potentially be enough time for new life to emerge in the distant reaches of the universe, the habitable zone will end when the sun moves into the next stage of its death. Eventually, all of the helium that was fused from the sun's original hydrogen supply will also be exhausted, and all fusion will cease. The star will eject its outer layers, creating a glowing cloud called a planetary nebula. In the center of this nebula, the remaining core of the sun will contract into a white dwarf.
Once there is no fusion whatsoever in the sun's core, there will be nothing to resist gravity, causing the core to crush itself down to around the size of planet Earth. A white dwarf can reach temperatures approaching 200,000 degrees Fahrenheit, which is over 10 times the temperature of the sun's surface. However, that is significantly colder than the current core of the sun, which is about 27 million degrees. At this point, the sun is like the smoldering ashes left behind from a fire, all but dead.
Step 5: After trillions of years or more, the sun will become a black dwarf
With no more nuclear fusion occurring, a white dwarf cannot generate any energy. All that's left is for the residual heat left in the core to dissipate. If a white dwarf cools completely, to the point that it no longer emits any light or heat, it becomes a black dwarf, a dense clump composed primarily of carbon and oxygen, the products of helium fusion. The absence of light would make this corpse of a star invisible to the eye, and detectable only by the gravitational field it would maintain. However, all of this is merely theoretical, because not only has the sun not turned into a black dwarf yet, no other star in the Universe has.
White dwarfs take a long, long time to fully cool down. That's because they are so small and densely compacted that there is little surface area for heat to escape from. It would take trillions or potentially even quadrillions of years for a black dwarf to form. The Universe itself is only 13.8 billion years old today, which means that even the oldest stars are still in the early stages of the white dwarf phase. By the time the first black dwarf forms, our own sun will be further into the white dwarf phase than the oldest white dwarf in existence today.