A junior lien is any legal claim against your property that sits behind an earlier-recorded lien in payment priority. If the property is ever sold to satisfy debts, the senior lienholder gets paid in full first, and the junior lienholder collects only from whatever is left. That second-place position is what defines the lien, and it shapes everything else about it: the interest rate you pay, what happens in a foreclosure, and how hard the lien is to clear from your title.
How a Lien Ends Up Junior
Priority is set by recording. When a lender or creditor files a lien with the county recorder’s office, the timestamp on that filing locks in the lien’s rank against every other claim on the property. The general rule is “first in time, first in right”: the earliest recorded lien is the senior lien, and everything filed after it is junior, no matter how large the debt or what kind of creditor is behind it.1Internal Revenue Service. Chief Counsel Advice 200922049 – Priority of Federal Tax Lien
A lien that exists but hasn’t been recorded can lose priority to one filed later, which is why lenders move quickly to get their paperwork on record at closing. Federal tax liens work a little differently: the lien itself arises automatically on the date the IRS assesses the tax,2Office of the Law Revision Counsel. 26 U.S. Code 6321 – Lien for Taxes but its priority against competing creditors runs from the date the IRS files a Notice of Federal Tax Lien.3Internal Revenue Service. Internal Revenue Manual 5.17.2 – Federal Tax Liens
The Junior Liens You’re Most Likely to Have
Junior liens come in two flavors: the ones you agreed to and the ones somebody put on your property without asking.
Voluntary junior liens are the ones you sign up for, usually to borrow against equity while a first mortgage is still in place:
- A second mortgage, a fixed-rate loan secured by the home and recorded behind the first mortgage.
- A home equity line of credit (HELOC), a revolving credit line secured by the home and sitting behind the primary mortgage.
- A home equity installment loan, similar to a second mortgage but typically drawn for a specific purpose like a renovation.
Involuntary junior liens attach without your agreement. A judgment lien is recorded after a creditor wins a lawsuit against you and files the judgment against your property. State, local, or federal tax liens can also land in junior position depending on when their notices are filed relative to other recorded claims.
Why a Second-Position Loan Costs More
A lender in second position knows it may recover little or nothing if the property goes through foreclosure. That risk gets priced into the loan. Home equity loans and HELOCs consistently carry higher interest rates than first mortgages for exactly this reason. The further back a lien sits in line, the more you pay for the money.
When a Later Lien Can Jump Ahead
Chronological priority has real exceptions, and they matter because a lender or homeowner who assumes “recorded first equals safest” can be wrong.
Property Tax Liens
In virtually every state, a local government’s lien for unpaid real property taxes has “super-priority.” It jumps ahead of everything, including a first mortgage recorded years earlier. State law generally treats real estate tax liens as superior even to federal tax liens.4Internal Revenue Service. Internal Revenue Manual 5.17.2 – Federal Tax Liens – Section: 5.17.2.6.5.6 Falling behind on property taxes therefore threatens every other lienholder’s position.
Mechanic’s Liens
Contractors and suppliers who improve a property can file mechanic’s liens, and in many states those liens “relate back” to a date earlier than when they were actually recorded. Depending on the state, that date may be when construction visibly began or when the specific contractor first supplied labor or materials. A contractor who starts work in January but files in December can end up with priority from January, ahead of anything recorded in between.
HOA Super-Liens
A growing number of states give homeowners association assessment liens a limited super-priority over first mortgages. A portion of unpaid HOA dues can take precedence over a mortgage recorded well before the dues came due.
Subordination Agreements
Priority can also shift by contract. In a subordination agreement, a senior lienholder voluntarily drops behind a newly recorded lien. This most often comes up in a refinance. Replacing your first mortgage means recording a brand-new lien, and without a subordination agreement that new lien would fall behind any existing HELOC or second mortgage. Refinance lenders generally won’t close under those conditions, so the second lienholder signs a subordination agreement to keep the new mortgage in first position. Some HELOC lenders charge a fee to process the request, and it can add time to the closing.
What Happens If the Senior Lender Forecloses
This is where junior liens become dangerous, mostly for the creditor holding them but sometimes for you too. When a senior lienholder forecloses and forces a sale, the proceeds are distributed in strict priority order. The senior lien is paid first, including principal, accrued interest, and foreclosure costs. Only after that debt is fully covered does anything flow to junior lienholders.
The Junior Lien Is Extinguished
If the sale generates enough to cover the senior debt but not the junior lien, the junior lienholder takes what remains and eats the rest of the loss. If the sale doesn’t even cover the senior balance, the junior lienholder gets nothing. Either way, the junior lien is wiped from the property’s title. The buyer takes the property free of that claim.
Surplus Funds
If the sale brings in more than enough to pay the senior debt, the surplus goes to junior lienholders in order of their priority. A second-position lienholder collects before a third. Anything left after all liens are paid belongs to the former property owner. In many jurisdictions, surplus funds are deposited with the court when there’s a dispute, and claimants have to file to collect. If you hold a junior lien and learn that a senior foreclosure has happened, move quickly. Delay can complicate recovery.
Deficiency Judgments
Extinguishing the lien doesn’t necessarily kill the underlying debt. If the junior lienholder collected less than what it was owed, it may seek a deficiency judgment against you for the remainder. That turns what’s left into an unsecured debt, no longer tied to the property, and the creditor can pursue collection through wage garnishment or bank levy.
A significant number of states restrict or prohibit deficiency judgments in certain situations, particularly on purchase-money loans or after non-judicial foreclosures. Deadlines to file are often short. The rules vary widely, and the difference can be tens of thousands of dollars, so check your state’s law carefully if you’re in this position.
What Happens If the Junior Lender Forecloses
The picture reverses when a junior lienholder is the one starting the foreclosure. A junior-lien foreclosure does not wipe out the senior lien. The first mortgage survives the sale and stays attached to the property. Whoever buys at the auction takes title subject to that senior debt, effectively inheriting the first mortgage.
That reality shrinks the pool of interested bidders. A buyer has to factor the full senior balance on top of whatever they bid, so the property’s practical value at sale is reduced by the amount still owed to the first-position lender. Junior lienholders do foreclose, especially when there’s meaningful equity above the senior debt, but it’s less common because the economics are harder to make work.
Tax Consequences If the Debt Is Cancelled
When a senior foreclosure extinguishes your junior lien and the junior lienholder writes off the remaining balance instead of chasing a deficiency, the IRS generally treats the cancelled amount as taxable income to you. If the cancelled debt is $600 or more, the creditor must file a Form 1099-C reporting the cancellation, and a Form 1099-A for the loan itself even if the foreclosure proceeds didn’t cover any of the debt.5Internal Revenue Service. Instructions for Forms 1099-A and 1099-C
If you were insolvent at the time of the cancellation, you may be able to exclude the cancelled debt from income. The insolvency exclusion lets you exclude cancelled debt up to the amount by which your total liabilities exceeded the fair market value of your total assets immediately before the discharge.6Office of the Law Revision Counsel. 26 U.S. Code 108 – Income From Discharge of Indebtedness Somebody who just lost a house to foreclosure often meets that test.
A separate exclusion for cancelled mortgage debt on a primary residence, under Section 108(a)(1)(E), expired on December 31, 2025.5Internal Revenue Service. Instructions for Forms 1099-A and 1099-C Legislation to make it permanent had been introduced in Congress but not enacted at the time of writing. If you’re dealing with cancelled junior lien debt now, check whether that exclusion has been reinstated, and otherwise plan around the insolvency exclusion or talk to a tax professional.
Getting a Junior Lien Off Your Title
The cleanest way to clear a junior lien is to pay the underlying debt in full. Once you do, the creditor has to execute a lien release, often titled a Satisfaction of Mortgage or Release of Lien, and that document has to be recorded with the county to formally clear title. Don’t assume it happens automatically. Follow up and confirm the release was recorded, because an unreleased lien will show up on future title searches and cause problems when you try to sell or refinance.
In a refinance, the new lender will require every junior lien to be either paid off or subordinated. Expect any HELOC you’re keeping open to require a subordination agreement from its lender.
Sometimes a junior lien lingers on the record long after the statute of limitations on the debt has run out. The lien doesn’t disappear on its own. Clearing it usually takes a quiet title action, a court proceeding that removes the stale lien from the record. It’s an extra step, but without it the lien keeps clouding your title.