A mortgage is a type of loan that allows you, the borrower, to purchase a home without having to pay for the entire purchase price in cash. Mortgages typically have longer terms, such as 15, 20, and 30 years, but can be shorter depending on your financial goals. Similar to other loans you may have, you repay both the amount you borrow, plus interest.