A home equity loan is a type of mortgage loan. It isn’t a primary mortgage, like the one you use to buy a home, but rather a secondary mortgage secured by the property. This junior lien is also called a second mortgage. Since your property serves as collateral for a home equity loan, not repaying the loan could result in foreclosure.