A junior lien on a mortgage is any recorded claim against your home that sits behind your primary mortgage in line to be paid. If the property is ever sold or foreclosed on, the first mortgage lender collects in full before the junior lienholder sees anything. That subordinate spot is what makes junior liens more expensive to borrow against and more consequential to carry than most homeowners realize.
How the Order Gets Set
A lien is a creditor’s legal right to hold an interest in your property until a debt is paid. When more than one creditor has a claim on the same house, the law needs a tiebreaker. The rule is “first in time, first in right”: the lien recorded earliest at the county recorder’s office holds the top position, and everything recorded after it falls in behind.
The mortgage you took out to buy the house was almost certainly recorded first, so it sits senior. Everything recorded later is junior, no matter how large the debt or who the creditor is. A $500,000 second mortgage recorded after a $200,000 first is still the junior lien.
The senior lender faces relatively low risk because it gets paid first from any sale. A junior lender accepts a real chance of never recovering its money, and that risk shows up in the loan terms. Junior liens almost always carry higher interest rates than the primary mortgage to compensate.
What Counts as a Junior Lien
The most familiar junior liens are the ones you take out on purpose. A second mortgage or junior lien is a loan you take out using your house as collateral while you still have another loan secured by the same property.1Consumer Financial Protection Bureau. What Is a Second Mortgage Loan or Junior-Lien? These come in two common shapes. A fixed-rate home equity loan gives you a lump sum upfront with predictable monthly payments. A home equity line of credit (HELOC) works more like a credit card secured by your home: you draw against a credit limit as needed, pay it down, and draw again.
Other junior liens show up whether you want them or not. When a creditor wins a lawsuit against you for an unpaid debt, the court awards a money judgment, which can then be recorded against your real estate as a judgment lien. Because it’s recorded after your existing mortgage, it falls behind in the priority line.
Contractors and suppliers who perform work on your home can file a mechanic’s lien if they aren’t paid. In many states, mechanic’s liens operate under a “relation-back” doctrine: the lien’s priority date is not when it was recorded but when the work first began. If a contractor broke ground before a lender recorded a mortgage, the mechanic’s lien can actually jump ahead of that mortgage in priority.
When the First Mortgage Isn’t Actually First
The first-in-time rule isn’t absolute. Several kinds of liens carry what lawyers call “super-priority” and can cut ahead of a first mortgage regardless of when they were recorded. This matters because a homeowner who assumes the first mortgage always wins can be blindsided.
- Property tax liens. Virtually every state gives unpaid property tax assessments automatic priority over all other claims. A municipality can foreclose on a tax lien and wipe out the first mortgage. This is one reason mortgage lenders insist on escrowing property taxes.
- HOA assessment liens. Roughly 20 states grant homeowners association liens a limited super-priority that can jump ahead of a first mortgage for a defined period of unpaid assessments. The scope varies by state, but the practical effect is that an HOA can foreclose and potentially extinguish a first mortgage’s interest in the property.
- Purchase-money mortgages. A mortgage taken out at the same time you buy the property generally takes priority over judgment liens that attached to you before closing. Without this protection, anyone with a prior judgment against a buyer could block the purchase.
- Federal tax liens. IRS liens follow the first-in-time rule based on when the tax is assessed, not when a notice is filed. A federal tax lien filed before your lender records a mortgage will take the senior position.2Internal Revenue Service. 5.17.2 Federal Tax Liens
What Junior Status Costs You
Because of the elevated risk of non-recovery, junior lien products consistently carry higher interest rates than first mortgages. The spread between the two reflects the lender’s subordinate position and the greater chance it never recovers principal.
Interest paid on a HELOC or home equity loan may be tax-deductible, but only if you use the borrowed funds to buy, build, or substantially improve the home securing the loan. Interest on the same loan used for other purposes, such as paying off credit card debt or funding a vacation, is not deductible.3Internal Revenue Service. Real Estate Taxes, Mortgage Interest, Points, Other Property Expenses The combined limit for deductible mortgage interest (first mortgage plus home equity debt used for improvements) is $750,000 in total acquisition debt for mortgages originated after December 15, 2017.
What Happens to a Junior Lien in Foreclosure
The real danger of junior status shows up when the senior lender forecloses. The property is sold and proceeds are distributed in strict priority order: costs of the sale first, then the senior mortgage, then junior liens in the order they were recorded, and anything left over to the former homeowner.
Junior lienholders only collect if the sale price exceeds the full senior debt. In most residential foreclosures, it doesn’t. When a junior lien gets nothing from the sale, the lien itself is extinguished and the creditor loses its secured interest in the property.
That doesn’t necessarily mean the debt disappears. In many states, the wiped-out junior lienholder can pursue a deficiency judgment, a court order making the borrower personally liable for the unpaid balance. The creditor can then try to collect through wage garnishment or bank levies, just like any other unsecured debt. A significant number of states restrict or prohibit deficiency judgments after residential foreclosure, so your exposure depends heavily on local law.
When the Junior Lienholder Forecloses
A junior lienholder can also initiate foreclosure if you default on their loan, but the result looks very different. The senior mortgage survives. The buyer at auction takes the property subject to the full senior debt, which remains an active lien. That makes junior lien foreclosure sales unattractive to bidders, since anyone who buys must either pay off or assume the first mortgage on top of what they bid. Junior lien foreclosures are far less common as a result, and they often produce minimal recovery.
The Tax Bill After a Write-Off
When a junior lienholder writes off the remaining balance or agrees to settle for less than what’s owed, the forgiven amount is generally treated as taxable income. If a lender cancels $600 or more in debt, it must send you IRS Form 1099-C reporting the canceled amount.4Internal Revenue Service. Topic No. 431 – Canceled Debt You’re required to report all canceled debt as income on your return, even amounts under $600 that don’t trigger a 1099-C.5Internal Revenue Service. Cancellation of Debt – Principal Residence
The insolvency exclusion is the most commonly used escape. If your total liabilities exceed the fair market value of your total assets immediately before the debt is canceled, you’re considered insolvent and can exclude the canceled amount from income up to the extent of your insolvency.6Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness For someone who just lost a home to foreclosure and still carries more debt than assets, this often applies.
One change to know for 2026: the Qualified Principal Residence Indebtedness exclusion, which previously allowed homeowners to exclude up to $750,000 in forgiven mortgage debt on a primary residence, expired at the end of 2025 and has not been renewed. Congress has extended it at the last minute in past years, but as of now it is no longer available. The insolvency exclusion and other provisions under Section 108 still apply.
Refinancing, Selling, or Paying Off With a Junior Lien Attached
Lien positions aren’t permanently locked, but they don’t shift on their own either.
Subordination Agreements
When you refinance your first mortgage, the original loan is paid off and the new one takes its place. Under the first-in-time rule, this creates a problem: your existing HELOC or second mortgage would automatically move into the senior spot because it’s now the oldest recorded lien.1Consumer Financial Protection Bureau. What Is a Second Mortgage Loan or Junior-Lien? No refinancing lender will accept second position, so they require the junior lienholder to sign a subordination agreement voluntarily staying behind the new first mortgage.
The junior lienholder isn’t obligated to agree, and some charge a processing fee when they do. If it refuses, the refinance can stall or fall apart entirely. This is a common frustration for homeowners trying to take advantage of lower rates while carrying a HELOC.
Selling With a Junior Lien
In a voluntary sale, every lien must be satisfied at closing. The title company identifies all recorded liens during the title search and ensures each creditor is paid from the sale proceeds in priority order. If the price covers both the first mortgage and the junior lien, the process is straightforward: each creditor receives its payoff and files a release.
Problems arise when the home’s value has dropped below the combined debt. If you owe $250,000 on your first mortgage and $60,000 on a HELOC but the home sells for $280,000, there isn’t enough to pay off the HELOC in full. The junior lienholder has to agree to accept less than the full balance, known as a short payoff, or the sale can’t close. Some junior lienholders refuse entirely, effectively blocking the sale until you make up the difference out of pocket.
Judgment liens add another layer. Unlike a HELOC lender who chose to make the loan, a judgment creditor has no business relationship with you and little incentive to cooperate. Getting one to release or reduce its claim often requires direct negotiation and sometimes a lump-sum settlement offer.
Lien Releases
When you pay off a second mortgage, HELOC, or judgment lien in full, the creditor must execute a formal release of lien, and that release has to be recorded at the county recorder’s office to clear the claim from your title. Until it’s recorded, the lien technically still shows up on title searches and can complicate future sales or refinances. If a creditor drags its feet, your state may have a statutory deadline and penalties for the delay.
Getting Rid of a Junior Lien in Bankruptcy
Homeowners who owe more on their first mortgage than their home is worth can sometimes eliminate a junior lien entirely through Chapter 13 bankruptcy. The process, called lien stripping, converts a wholly unsecured junior mortgage into unsecured debt, which is then partially repaid through the Chapter 13 plan alongside credit card balances and medical bills.
The key requirement is that the amount owed on the senior lien must exceed the home’s current fair market value. If the senior mortgage is $300,000 and the home is worth $280,000, the second mortgage is entirely underwater and can be stripped. If the home is worth $310,000, the second mortgage is at least partially secured and stripping isn’t available. The lender can challenge your appraised value, and the bankruptcy court may hold a hearing where appraisers testify.
Lien stripping is only permanent if you complete the full Chapter 13 repayment plan, which typically runs three to five years. Drop out early, and the junior lien snaps back into place.7Office of the Law Revision Counsel. 11 USC 506 – Determination of Secured Status This option is not available in Chapter 7. The Supreme Court held in Dewsnup v. Timm that Chapter 7 debtors cannot use Section 506(d) to strip down liens.8Justia US Supreme Court. Dewsnup v Timm, 502 US 410 (1992)