A junior lien on a mortgage is any legal claim recorded against your home after your primary mortgage, which puts it behind that first mortgage in line to be paid if the property is ever sold or foreclosed on. The first mortgage gets paid in full before a junior lienholder sees anything. That subordinate position is the whole concept, and it drives nearly everything else about how these liens behave, what they cost, and what happens when things go wrong.
How a Lien Becomes Junior
A lien is a creditor’s legal right to hold an interest in your property until a debt is paid. If you don’t pay, the lienholder can force a sale to recover what’s owed. When more than one creditor has a claim on the same house, the law needs a tiebreaker, and the tiebreaker is a doctrine called “first in time, first in right.” The lien recorded earliest at the county recorder’s office holds the top position. Every lien recorded after that is a junior lien, regardless of the dollar amount or who the creditor is.
Your purchase-money mortgage is almost always recorded first, so it sits in the senior position. A $500,000 second mortgage recorded afterward is still junior to a $200,000 first mortgage. The size of the debt does not change the order.
Priority has real financial teeth. A senior lender faces relatively low risk because its claim is satisfied first from any sale proceeds. A junior lender accepts a much higher risk of recovering nothing, and that risk is priced into the loan. Junior liens almost always carry higher interest rates than the primary mortgage.
Common Types of Junior Liens
The most familiar junior liens are second mortgages and home equity lines of credit. 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? The lender records its lien after the first mortgage and knowingly accepts the subordinate position.
Second mortgages come in two forms. A fixed-rate home equity loan gives you a lump sum upfront with predictable monthly payments. A 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. Both let you tap built-up equity without refinancing the whole first mortgage.
Judgment liens are another common type. When a creditor wins a lawsuit against you for an unpaid debt, the court awards a money judgment, and that judgment can then be recorded against your real estate. Because it is recorded after your existing mortgage, it falls behind all pre-existing claims.
Mechanic’s Liens
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, meaning the lien’s priority date is not when it is recorded but when work first began on the property. If a contractor broke ground before a lender recorded a mortgage, the mechanic’s lien can actually jump ahead of that mortgage. This is one reason title searches look carefully at recent construction activity.
When a Junior Lien Isn’t Really Junior
The first-in-time rule has exceptions. Several types of claims carry what lawyers call “super-priority,” which lets them cut ahead of even a first mortgage no matter when they were recorded.
- 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, which is why mortgage lenders insist on escrowing 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 an HOA can foreclose and potentially extinguish a first mortgage’s interest.
- Purchase-money protection. A mortgage taken out at the moment you buy the property generally takes priority over judgment liens that already attached to you as a buyer. Without this, anyone with a prior judgment against you could block the purchase.
- Federal tax liens. IRS liens follow the first-in-time rule based on when the tax is assessed, so 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
A homeowner who assumes the first mortgage always comes first can be blindsided when a tax authority or HOA forecloses ahead of the bank.
What Happens to a Junior Lien in Foreclosure
The real stakes of junior status show up when the senior lender forecloses. The property is sold and the 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 finally anything left over goes 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 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 Is the One Foreclosing
Junior lienholders can also start a foreclosure if the borrower defaults, but the outcome looks different. When a junior lienholder forecloses, the senior mortgage survives. The buyer at auction takes the property subject to the full senior debt, which remains an active lien. That makes these sales unattractive to bidders and often produces minimal recovery for the junior lienholder.
Tax Fallout If a Junior Lien Is Written Off
When a junior lienholder writes off the remaining balance after foreclosure, or settles 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.3Internal Revenue Service. Topic No. 431 – Canceled Debt You’re required to report all canceled debt as income, even amounts under $600 that don’t trigger a 1099-C.4Internal Revenue Service. Cancellation of Debt – Principal Residence
The insolvency exclusion is the most commonly used relief. If your total liabilities exceed the fair market value of your total assets immediately before the cancellation, you’re considered insolvent, and you can exclude the canceled amount from income up to the extent of your insolvency.5Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness For someone who just lost a home and still carries more debt than assets, this exclusion often applies.
One change worth flagging for 2026: the Qualified Principal Residence Indebtedness exclusion, which previously let homeowners exclude up to $750,000 in forgiven mortgage debt on a primary residence, expired at the end of 2025 and has not been renewed. The insolvency exclusion and other provisions under Section 108 still apply, but the straightforward principal-residence exclusion does not.
Refinancing or Selling With a Junior Lien
A junior lien complicates two of the most common things homeowners do: refinance the first mortgage and sell the house.
Subordination When You Refinance
When you refinance your first mortgage, the original loan is paid off and the new loan takes its place. Under the first-in-time rule, that creates a problem: your existing HELOC or second mortgage, which was junior, would automatically slide into the senior position 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 a second-position loan, so they require the junior lienholder to sign a subordination agreement voluntarily staying junior behind the new first mortgage.
The junior lienholder isn’t obligated to agree, and some charge a processing fee. If they refuse, the refinance can stall or fall apart entirely.
Lien Releases When You Pay Off
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 is recorded, the lien 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.
Selling for Less Than You Owe
In a voluntary sale, every lien on the property must be satisfied at closing. The title company identifies all recorded liens during the title search and ensures each creditor is paid in priority order. If the sale price covers both the first mortgage and the junior lien, the process is straightforward.
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 the HELOC in full. The junior lienholder would need to agree to accept less than the full balance, known as a short payoff, or the sale can’t close. Some junior lienholders refuse, effectively blocking the sale until the borrower makes up the difference.
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.
Stripping a Junior Lien in Bankruptcy
Homeowners who owe more on their first mortgage than the home is worth can sometimes eliminate a junior lien entirely through Chapter 13 bankruptcy. This 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 home’s 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.6Office 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 (1992) that Chapter 7 debtors cannot use Section 506(d) to strip liens.7Justia US Supreme Court. Dewsnup v Timm, 502 US 410 (1992)