A home mortgage is a loan given by a bank, mortgage company, or other financial institution for the purchase of a primary or investment residence.