With a 30-year fixed-rate mortgage, your payments will be set up so that the mortgage can be entirely paid back in monthly installments over the course of 30 years. However, most people don't hold on to their mortgages that long; if you refinance or sell your home, you'll pay off the mortgage early.