In five billion years, the Sun will expand and engulf the inner planets. An analysis now suggests that Earth might be spared.