from wikipedia:

According to astronomers, the Earth should last for at least 5 billion (5×10<sup>9</sup>) more years before the sun becomes a red giant. Due to the sun's loss of mass the Earth would escape to an orbit at a further distance than its current orbit. The immense heat however would likely boil off the oceans and turn the Earth into a barren wasteland looking like Mars does with a similar climate to Venus. Irrespective of the Earth surviving that event, the sun would have further evolved into a white dwarf and provide too little heat to sustain life.
Others say the atmosphere will lose its water vapor to space within 1.1 billion years (1.1×10<sup>9</sup>) because the sun will become about 10% hotter, and that the oceans will evaporate within 3.5 billion years (3.5×10<sup>9</sup>) when the sun is 40% hotter.
In 3.5 billion years (3.5×10<sup>9</sup>) the Andromeda Galaxy may collide with ours and may wipe out some solar systems.

i like to believe that our planetary rent comes due, and we can't pay it so we move out, but the place is so rundown that they can't pawn the place off on anyone, so galactic squatters move in, turning the place into a den of drugs and disappearances.

and so, the earth will come to its end, when the home owner's association of the milky way comes to the decision to have it bulldozed in favour of a parking lot.