What Is a Subordinate Lien and How Does It Work?

A subordinate lien is a legal claim against property that ranks behind at least one other claim on the same asset, which is why a second mortgage or home equity line of credit gets paid only after the first mortgage is fully satisfied. That junior position is not a technicality. It drives the interest rate you pay, controls whether you see a dollar from a foreclosure sale, and shapes what the IRS and a bankruptcy court can do with the debt later.

How Lien Priority Is Decided

The default rule is “first in time, first in right.” Whichever lien is recorded first at the county recorder’s office holds the top spot, and every lien recorded after that one slots in behind it.1Internal Revenue Service. IRS Chief Counsel Advice 200922049 The senior lien on a home is almost always the mortgage used to buy it. Everything recorded after is, by default, subordinate.

Recording is what makes a lien’s position official. A creditor who never records risks losing out to one who does, because the timestamp on the public record is what establishes the place in line.

Exceptions That Jump the Line

A few claims override the recording-date rule and can leap over a first mortgage that has been in place for years.

Unpaid property taxes and local government assessments carry super-priority. They sit ahead of every other lien, including a first mortgage. Federal law recognizes this by providing that even a filed federal tax lien cannot beat a local property tax lien that has priority under state law over earlier-recorded security interests.2Office of the Law Revision Counsel. 26 USC 6323 – Validity and Priority Against Certain Persons If property taxes go unpaid long enough, the taxing authority can force a sale that wipes out every mortgage on the property.

Mechanic’s liens are the other common surprise. When a contractor or supplier isn’t paid, their lien in many states “relates back” to the date work began or materials were first delivered, not the date it was recorded. That relation-back can push a mechanic’s lien ahead of a mortgage recorded after construction started. The rules vary significantly by state; some give mechanic’s liens broad priority, others limit or don’t apply the relation-back effect.

Purchase money mortgages, the loans used to actually buy the property, generally take priority over judgment liens that already existed against the buyer. The lender’s claim attaches at the same instant the buyer acquires title, which protects purchase lenders from being blindsided by a buyer’s pre-existing debts.

The Common Subordinate Liens on a Home

Most junior liens on residential property fall into three familiar forms.

  • Second mortgages. A homeowner takes out a loan secured by property that already has a first mortgage. Recorded later, the second sits behind the first. Homeowners often use these to tap equity without disturbing a first mortgage that carries a low rate.
  • Home equity lines of credit. A HELOC functions like a credit card secured by the home. Because it’s recorded after the first mortgage, it occupies a junior position. The lender’s exposure moves as you draw and repay, but the priority position itself does not change.
  • Judgment liens. These are involuntary. When a creditor wins a lawsuit and records the judgment, it attaches to the debtor’s real estate behind any mortgages already on record.

What Happens if You Default

The subordinate position creates real exposure, and foreclosure is where it bites. When the senior lender forces a sale, proceeds move through what lenders call a waterfall. Super-priority claims come first: delinquent property taxes and the costs of the sale. The senior lien holder gets paid next, in full, including principal, accrued interest, and legal fees. Only then does anything flow to junior lien holders, in order of their priority.

The real risk is that nothing flows at all. If a home sells at foreclosure for $450,000 and the first mortgage balance is $460,000, the second mortgage holder gets zero. That outcome is common whenever values decline or a homeowner has borrowed heavily against accumulated equity.

Foreclosure wipes out the junior lien’s claim on the property, but it does not erase the underlying debt. The junior lender can still pursue the borrower personally for the unpaid balance. What was a secured loan becomes unsecured, closer in standing to credit card debt. Whether the creditor actually pursues a deficiency judgment depends on state law and whether the borrower has other assets worth chasing. Many states restrict deficiency judgments, particularly after nonjudicial foreclosures.

This is also why second mortgages and HELOCs carry higher interest rates than first mortgages. The lender is pricing the chance of ending up with nothing.

A Junior Lender Can Foreclose on Its Own

A subordinate lien holder can start foreclosure on its own, even if you’re current on the first mortgage. Stop paying the second and the second-mortgage lender has the legal right to force a sale, regardless of your first-mortgage status.

What changes in that scenario is the fate of the senior lien. When a junior lien holder forecloses, the first mortgage survives the sale. Whoever buys at auction takes the property subject to that existing first mortgage and must keep making payments or face foreclosure from the senior lender. The property is harder to sell at auction with a senior mortgage still attached, and the price is usually too low to make the exercise worthwhile for the foreclosing junior. That math is why junior-lien foreclosures are less common in practice, but the right exists. Ignoring a second mortgage because the first is current can still cost you the house.

Tax Bill if the Junior Debt Is Canceled

When a subordinate lien gets wiped out in foreclosure, or a lender agrees to forgive the remaining balance, the IRS generally treats the canceled amount as ordinary income. A second mortgage lender writing off $40,000 after a foreclosure can leave the borrower owing income tax on that $40,000, with the cancellation reported on Form 1099-C.3Internal Revenue Service. Canceled Debt – Is It Taxable or Not?

The treatment also depends on whether the loan was recourse or nonrecourse. With recourse debt, where the lender can pursue the borrower personally, the canceled amount above the property’s fair market value counts as ordinary income. With nonrecourse debt, where the lender’s only remedy is the property, the full debt amount is treated as the sale price. That can produce a capital gain but generally does not produce cancellation-of-debt income.3Internal Revenue Service. Canceled Debt – Is It Taxable or Not?

Federal law lets you exclude canceled debt from income in a few situations. The two that matter most for junior-lien borrowers are the insolvency exclusion and the qualified principal residence indebtedness exclusion.

The insolvency exclusion applies when total liabilities exceed total assets immediately before the discharge, and the excluded amount is capped at the amount of insolvency.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness If you are insolvent by $50,000 and a lender cancels $60,000 in junior mortgage debt, $50,000 can be excluded and $10,000 is reportable income. You claim the exclusion by filing Form 982 with your tax return.5Internal Revenue Service. What if I Am Insolvent?

The qualified principal residence indebtedness exclusion allowed homeowners to exclude up to $750,000 in forgiven mortgage debt on their primary home. It applies only to discharges before January 1, 2026, or to those under a written arrangement entered into before that date.4Office of the Law Revision Counsel. 26 USC 108 – Income From Discharge of Indebtedness For a 2026 discharge without a pre-existing written agreement, this exclusion is no longer available unless Congress extends it. The insolvency exclusion becomes the primary fallback.

Wiping Out a Junior Lien in Bankruptcy

Bankruptcy can change the picture entirely. In Chapter 13, a debtor can ask the court to “strip” a junior lien off the property if the home’s fair market value is less than the total owed on all senior liens. When senior debt alone exceeds the home’s value, the junior lien is treated as wholly unsecured and the court can void it.

The mechanics come from a federal statute that splits a secured claim into the portion backed by actual property value and the portion exceeding it.6Office of the Law Revision Counsel. 11 USC 506 – Determination of Secured Status If the home is worth $300,000 and the first mortgage is $320,000, an $80,000 second has no property value backing it. The court can reclassify the whole second as unsecured, to be handled like credit card balances in the plan, and strip the lien from title.

The strip only becomes permanent if the debtor completes the full Chapter 13 plan, which typically runs three to five years. Drop out early and the lien snaps back.

Chapter 7 offers no such remedy. The Supreme Court confirmed in 2015 that a debtor cannot void a junior mortgage lien under Section 506(d) in Chapter 7 when the creditor’s claim is both secured by a lien and allowed under the Bankruptcy Code, even if the property is worth less than the senior debt.7Justia US Supreme Court. Bank of America, N.A. v. Caulkett, 575 U.S. 790 (2015) Chapter 13 demands years of repayment, but it gives you a tool for eliminating underwater junior liens that Chapter 7 does not.

Subordination Agreements and Refinancing

A subordination agreement voluntarily rearranges lien priority. Two lien holders agree in writing that one will step behind the other, overriding the recording-date rule. The agreement has to be signed, notarized, and recorded to be enforceable.

Refinancing is where this comes up most. When you refinance, the old first mortgage is paid off and a new loan replaces it. The moment the old first is released, any existing second mortgage automatically moves into first position, and the new refinance loan, recorded after it, would land in second.

No refinance lender will fund on those terms. So the new lender requires the existing second mortgage holder to sign a subordination agreement, formally agreeing to stay junior to the new first.

The second lender does not have to agree. A junior lender may refuse if the new first mortgage is significantly larger than the original, if the combined loan-to-value climbs above a comfortable threshold (often around 85%), or if a HELOC’s unused credit line represents too much potential future exposure. When the second lender refuses, your options narrow to paying off the second before refinancing, renegotiating terms, or abandoning the refinance. Expect the subordination process to add weeks to the timeline, because the second lender must review the new loan and may require a fresh appraisal.