When Will the Sun Blow Up?

The sun is not going to blow up, rather it is expanding over time. The sun is expected to engulf Earth in 5 billion years, after it finishes expanding it will become a planetary nebula throwing off its outer layers in about 6-7 billion years.