The homestead exemption is a legal provision that protects a certain amount of equity in a homeowner's primary residence from creditors in a bankruptcy case. The amount of the exemption varies by state and can be used to protect a homeowner's equity in their home up to a certain dollar amount.