The last surviving creatures on Earth will be tiny organisms living deep underground, according to scientists.
Researchers used a computer model to assess our planet's fate billions of years from now.
They found that as the Sun becomes hotter and brighter, only microbes would be able cope with the extreme conditions that the solar changes would bring.
The research is being presented at the National Astronomy Meeting.
Jack O'Malley James, from the University of St Andrews in Scotland, said: "There won't be very much oxygen present, so they need to be able to survive in low or zero-oxygen environments, high pressures, and high salinities because of evaporating oceans."
The future of life on Earth is tied to that of the Sun, and over time, our star will become more and more luminous.
Scientists from the universities of St Andrews, Dundee and Edinburgh used this fact to create a forecast for our planet's future environment.
In a billion years' time, the heat from the Sun will become so intense, that the oceans start to evaporate.
"Once you get to this tipping point, you get a lot more water in the atmosphere and because water vapour is a greenhouse gas, that sets this runaway greenhouse effect... and you end up with the Earth heating up to 100C or more plus what we experience today," explained Mr O'Malley James, a PhD student.
This, he said, combined with falling levels of oxygen, would lead to the rapid loss of plants and larger animals.
Soon after, a group of microbes called extremophiles would be the only life forms left.
These tiny organisms are found on Earth today, and can cope with hostile environments.
These, the scientists said, would be the only creatures that could withstand the heat, aridity and poisonous atmosphere of this future Earth. They believe that they would probably be clustered around the last drops of water deep underground.
Eventually as conditions worsen they too will vanish, and in about 2.8 billion years, Earth will be devoid of all life.
The researchers said that studying the rise and fall of life on our planet could give us an insight into how life might survive elsewhere in the Universe.
Mr O'Malley James told the BBC: "If you were to find an Earth-like planet and to take a snapshot in time of the life living on the surface, it's more likely that you would find microbial life than you would the more complex life like we see on Earth today."
The researchers said that microbes cause subtle changes to the ratios of gasses in the atmosphere, and this could enable astronomers to one day detect their presence on other Earth-like planets.
"One of the best candidates is methane. This could be used to indicate the presence of life, although it depends on how much is produced and whether it builds up to a detectable level in the atmosphere... If we can pick up all these subtle levels of gasses on remote planets - maybe we could detect it," Mr O'Malley James said.