What Is a Lien?
A lien is a legal claim against property that secures payment of a debt. A mortgage is a lien on the home, and it stays on the property records until the loan is paid off and released. Unpaid taxes and court judgments can also create liens, which generally must be paid off before a home is sold or refinanced.[1]Consumer Financial Protection Bureau, "What is a judgment?"[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"[3]Internal Revenue Service, "Understanding a federal tax lien"
Key Takeaways
- The federal bankruptcy law defines a lien as a charge against or interest in property to secure payment of a debt or performance of an obligation.[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition)
- A mortgage is a lien created by agreement. A judicial lien comes from a judgment or other court process, and a statutory lien arises from a law.[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition)
- When a home secures more than one loan, the first lien is paid first if the home is sold to pay the debts, and junior liens are paid from what is left.[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
- The IRS releases a federal tax lien within 30 days after the tax debt is paid in full.[3]Internal Revenue Service, "Understanding a federal tax lien"
- After a mortgage is paid off, state property records show whether the lien was released.[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"
How a Lien Works
A lien is a legal right to the value of a property.[1]Consumer Financial Protection Bureau, "What is a judgment?" It stays attached to the property while the debt it secures is owed. Paying the debt ends the claim, and the release is then recorded.
A loan lien is written into a security instrument, such as a mortgage or deed of trust. Fannie Mae, for example, requires a second lien to be reflected in a recorded mortgage, deed of trust or other security instrument.[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) State property records show when a lien is released, and the CFPB notes there may be a delay between payoff and release.[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"
Not every lien starts with a signed loan. A court judgment can put a lien on a home, and so can an unpaid tax debt.[1]Consumer Financial Protection Bureau, "What is a judgment?"[3]Internal Revenue Service, "Understanding a federal tax lien"
Types of Liens on a Home
Title 11 of the U.S. Code, the federal bankruptcy law, sorts liens by how they arise.[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition)
| Type | How it arises | Examples on a home |
|---|---|---|
| Lien created by agreement, called a security interest | The owner signs for it[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition) | A first mortgage, a home equity loan, a home equity line of credit[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?" |
| Judicial lien | A judgment, levy or other legal process[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition) | A lien after a court judgment on a debt[1]Consumer Financial Protection Bureau, "What is a judgment?" |
| Statutory lien | A law, once set conditions are met[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition) | A federal tax lien, which exists once the IRS assesses a tax, sends a bill and the debt goes unpaid[3]Internal Revenue Service, "Understanding a federal tax lien" |
Liens can also come from the home's past. The CFPB says common title claims come from a previous owner's unpaid taxes or from contractors who say they were not paid for work on the home.[7]Consumer Financial Protection Bureau, "What are title service fees?"
Lien Order
When a home secures more than one debt, the claims line up in order. The first mortgage holds the first lien, and a loan behind it is a junior lien, also called a second lien.[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?" If the home is sold to pay the debts, the first lien is paid in full first, and junior liens are paid from what is left.[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
Program rules protect the first lien's place. Fannie Mae requires the property to be free and clear of all liens having priority over its loan.[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) FHA requires the home to be free and clear of all liens other than the FHA-insured mortgage and the second liens FHA rules allow.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)
Some bills can create liens that rank ahead of a mortgage. FHA's escrow account must cover property taxes, hazard insurance, special assessments and any item that would create a lien ahead of the FHA-insured mortgage, other than condo or homeowners association fees.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026) A lien holder can also agree to move behind another lien through a subordination agreement.[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
Liens in a Refinance
The CFPB says liens generally must be paid off before you sell your home or refinance your mortgage.[1]Consumer Financial Protection Bureau, "What is a judgment?" Closing usually includes a title search and lender's title insurance, which can provide protection if someone later says they have a claim against the home.[7]Consumer Financial Protection Bureau, "What are title service fees?"
| Loan | What the rules say about liens |
|---|---|
| VA cash-out refinance | It is made to refinance existing mortgage loans or other liens secured of record on the veteran's home.[9]U.S. Government Publishing Office, 38 U.S.C. 3710, Purchase or construction of homes (United States Code, 2023 edition) |
| FHA loan, court judgments | Judgments must be resolved or paid off before or at closing. A payment agreement counts if at least three months of payments were made on time and the judgment will not rank ahead of the FHA-insured mortgage.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026) |
| FHA loan, tax liens | A tax lien may stay unpaid with a repayment agreement and at least three months of on-time payments. Except for federal tax liens, the lien holder must subordinate it to the FHA-insured mortgage.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026) |
| Fannie Mae refinance | Paying off a second lien that was not used to buy the home makes the loan a cash-out refinance.[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) |
The old mortgage is paid off with the payoff statement figure, and the lien it secured is then released.[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"
Federal Tax Liens
A federal tax lien is the government's legal claim against your property when a tax debt goes unpaid. The IRS files a public document, the Notice of Federal Tax Lien, to tell other creditors.[3]Internal Revenue Service, "Understanding a federal tax lien"
The IRS lists four ways a federal tax lien can change:[3]Internal Revenue Service, "Understanding a federal tax lien"
- Release: the IRS releases the lien within 30 days after the tax debt is paid in full.
- Discharge: the lien comes off one specific property.
- Subordination: the lien stays, but other creditors may move ahead of the IRS, which may make it easier to get a loan or mortgage.
- Withdrawal: the public notice comes off the record, though the amount is still owed.
Example of Liens on a Home
These are example numbers, not an offer. The home is worth $400,000.
| Lien | Amount | Place in line |
|---|---|---|
| First mortgage | $200,000 | First lien |
| Home equity loan | $30,000 | Junior lien |
| Judgment lien | $5,000 | Behind both loans in this example |
| All liens | $235,000 | 58.75% of the home's value |
A new first loan that pays all three would start at $235,000 plus closing costs. Under Fannie Mae's rules, paying off the home equity loan, a second lien not used to buy the home, makes that refinance a cash-out refinance.[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
Lien Release vs Subordination
| Release | Subordination | |
|---|---|---|
| What happens to the lien | It comes off the property[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"[3]Internal Revenue Service, "Understanding a federal tax lien" | It stays, ranked behind another lien[3]Internal Revenue Service, "Understanding a federal tax lien"[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) |
| When it happens | After the debt is paid in full[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"[3]Internal Revenue Service, "Understanding a federal tax lien" | When the lien holder agrees, often during a refinance[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) |
| Where it shows | State property records[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?" | A recorded agreement, unless state law keeps the lien's place[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) |
Frequently Asked Questions
Is a mortgage a lien?
Yes. A mortgage creates a lien by agreement: the home secures the loan until it is paid off. A home equity loan or line of credit on the same home is a second, junior lien.[4]U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition)[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
Can I refinance with a lien on my home?
The lien has to be paid off at closing or kept behind the new loan through a subordination agreement. The CFPB says liens generally must be paid off before a home is sold or refinanced.[1]Consumer Financial Protection Bureau, "What is a judgment?"[6]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
How do I know if my mortgage lien was released?
State property records show it. Contact the county recorder of deeds, or the company that paid off the loan. The lender should also return the original note to you.[2]Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?"
How long does the IRS take to release a tax lien?
The IRS releases a federal tax lien within 30 days after the tax debt is paid in full.[3]Internal Revenue Service, "Understanding a federal tax lien"
What is a junior lien?
A lien that ranks behind the first lien, such as a home equity loan behind a first mortgage. If the home is sold to pay the debts, it is paid after the first lien.[5]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
The Bottom Line
A lien is a creditor's legal claim on a property until a debt is paid. A mortgage is a lien, and taxes and court judgments can add others. In a refinance, each lien is either paid off or kept behind the new loan.
The guide to what happens to your old mortgage when you refinance goes deeper. See more terms in the GoodLoan glossary and the refinance and home equity guide.
Want to see this on your own numbers? We look them up for you, with no impact on your credit score. Call, text or chat (866) 599-0088, 8am to 8pm Eastern.
Article Sources
GoodLoan writers use primary sources only: regulators, government agencies, program handbooks and filings.
- Consumer Financial Protection Bureau, "What is a judgment?". https://www.consumerfinance.gov/ask-cfpb/what-is-a-judgment-en-1381/. Accessed 11/24/2026. ↩
- Consumer Financial Protection Bureau, "After I have paid off my mortgage, how do I check if my lien was released?". https://www.consumerfinance.gov/ask-cfpb/after-i-have-paid-off-my-mortgage-how-do-i-check-if-my-lien-was-released-en-206/. Accessed 11/24/2026. ↩
- Internal Revenue Service, "Understanding a federal tax lien". https://www.irs.gov/businesses/small-businesses-self-employed/understanding-a-federal-tax-lien. Accessed 11/24/2026. ↩
- U.S. Government Publishing Office, 11 U.S.C. 101, Definitions (United States Code, 2023 edition). https://www.govinfo.gov/content/pkg/USCODE-2023-title11/html/USCODE-2023-title11-chap1-sec101.htm. Accessed 11/24/2026. ↩
- Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?". https://www.consumerfinance.gov/ask-cfpb/what-is-a-second-mortgage-loan-or-junior-lien-en-105/. Accessed 11/24/2026. ↩
- Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025). https://selling-guide.fanniemae.com/sel/b2-1.2-04/subordinate-financing. Accessed 11/24/2026. ↩
- Consumer Financial Protection Bureau, "What are title service fees?". https://www.consumerfinance.gov/ask-cfpb/what-are-title-service-fees-en-157/. Accessed 11/24/2026. ↩
- U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026). https://www.hud.gov/sites/default/files/Housing/documents/40001-hsgh-Update-18.pdf. Accessed 11/24/2026. ↩
- U.S. Government Publishing Office, 38 U.S.C. 3710, Purchase or construction of homes (United States Code, 2023 edition). https://www.govinfo.gov/content/pkg/USCODE-2023-title38/html/USCODE-2023-title38-partIII-chap37-subchapII-sec3710.htm. Accessed 11/24/2026. ↩