Scientists say the sun will not stay stable forever. In roughly a billion years, it is expected to begin running low on fuel and swell into a red giant, a change that would dramatically reshape conditions across the solar system. For Earth, that future looks especially severe, with the planet’s oceans and atmosphere expected to be stripped away as temperatures rise.

The outlook becomes even harsher as the sun continues to expand. Based on current understanding, Earth may ultimately be swallowed by the enlarged sun. After that phase ends, the sun is expected to collapse into a much fainter white dwarf, leaving behind far less heat and light than life on Earth depends on today.

That long-term forecast is why researchers and science writers continue to ask how to keep Earth habitable when the sun dies. The question is less about near-term risk and more about the limits of planetary survival: whether a world like Earth could somehow remain suitable for life as its star changes beyond recognition. Any answer would involve overcoming both extreme heating during the red giant stage and deep cold after the sun becomes a white dwarf.

The bigger scientific takeaway is that habitability is not permanent, even for a planet in the sun’s current comfort zone. Earth’s future is tied to the life cycle of its star, and the red giant transition marks the point where the planet’s oceans, air and possibly the planet itself are no longer secure. The discussion highlights both the fragility of Earth’s environment and the vast timescales that shape the fate of worlds.