What Is Lien Priority and Why Does It Matter for Your Mortgage?
Two loans can be secured by the exact same house and still not be treated equally. The difference comes down to lien priority — a concept that rarely comes up until a sale, refinance, or default forces the question of who gets paid, and in what order.
The short answer
Lien priority is the ranking of claims against a property, generally determined by the order in which loans were recorded with the local government. A first mortgage typically holds first position, meaning it gets repaid first from sale proceeds; a second loan, like a home equity loan or HELOC, holds a junior position and only gets repaid after the first lien is satisfied. This order matters most when there isn’t enough value in the property to pay every lienholder in full.
How priority is typically established
Recording date generally governs priority: whichever lien is recorded first with the county or local land records office usually holds the senior position, and every lien recorded afterward against the same property falls in line behind it. This is why a first mortgage almost always sits ahead of a second mortgage or HELOC taken out later, even if both are eventually outstanding at the same time.
Why it matters in a sale
When a home is sold, proceeds are used to pay off liens in order of priority before anything reaches the seller. A first-position lender is paid in full first; only after that is a second-position lender paid from whatever remains; and only after both are satisfied does the homeowner receive the leftover equity. If the sale price doesn’t cover every lien, junior lienholders may receive less than they’re owed, or nothing at all.
Why it matters in a refinance
Refinancing a first mortgage while a second lien, such as a HELOC, remains in place typically requires the second lienholder to agree to what’s called a subordination agreement, which preserves the new first mortgage’s senior position. Without that agreement, the new loan could technically end up junior to the existing second lien — an outcome most first-lien lenders won’t accept, which is why subordination is often a required step in this kind of refinance.
Why it matters in a default
- Foreclosure proceeds follow the same order. The first lienholder is paid before any junior lienholder sees a dollar.
- Junior lienholders carry more risk. This is part of why a second-position loan often comes with a higher interest rate than a first mortgage of similar size.
- A junior lien doesn’t disappear if unpaid. It can still result in a deficiency claim against the borrower even after the property is gone, depending on the loan type and state rules.
The takeaway
Lien priority is easy to overlook because it doesn’t affect the monthly bill — it only becomes visible at the moments that matter most: selling, refinancing, or defaulting. Knowing where each loan against a property stands in that order helps explain loan pricing, why lenders ask for subordination agreements, and what actually happens to sale or foreclosure proceeds when more than one loan is involved.