What Is a First Lien?
A first lien is the loan claim on a home that ranks ahead of every other loan claim on it. A home equity loan taken out while a mortgage is in place sits behind that mortgage. If the home is sold to pay its debts, the first lien is paid before any loan behind it.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
Key Takeaways
- A second mortgage is paid off second when a home is sold to pay its debts, so the first lien is paid first. Second liens often carry higher rates for that reason.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
- Fannie Mae requires any lien behind its first-lien loan to be clearly subordinate, and its title insurance rules require every other lien to be listed as subordinate to its mortgage.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)[3]Fannie Mae, Selling Guide B7-2-03, General Title Insurance Coverage (07/06/2022)
- FHA's rule says that once the insured mortgage is recorded, the home must be free and clear of all other liens, except the ones the rule allows.[4]Electronic Code of Federal Regulations, 24 CFR 203.32, Mortgage lien
- Regulation Z sets a lower price trigger for a higher-priced first-lien loan than for a subordinate-lien loan, and a higher-priced first-lien loan on a principal home needs an escrow account, with some exemptions.[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans
How a First Lien Works
A lien is a legal claim on property that secures a debt. When a home secures more than one loan, the claims rank in order, and the loan at the front of the line holds the first lien.
The order decides who is paid first. The CFPB explains that a second lien is paid off second if the home is sold to pay off the debts. If there is not enough equity to pay both loans in full, the second lender may not get everything it is owed.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
That is why the CFPB says second mortgage loans often carry higher interest rates than first mortgage loans.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
State and local law help decide which lien ranks first. Federal tax law itself points to local law when it describes liens that can rank ahead of security interests that are "prior in time".[6]U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo) Fannie Mae's rules also turn on whether state law keeps a lien in its place.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
What Program Rules Require of a First Lien
Fannie Mae, which buys loans, and FHA, which insures them, both write first place into their rules.
| Program | What its rules say |
|---|---|
| Fannie Mae | It purchases or securitizes first-lien loans, and any lien behind them must be clearly subordinate to its first mortgage.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) |
| Fannie Mae title insurance | The policy must insure that the mortgage is a lien of the required priority, and it must list all other liens and state that they are subordinate to Fannie Mae's mortgage lien.[3]Fannie Mae, Selling Guide B7-2-03, General Title Insurance Coverage (07/06/2022) |
| FHA-insured loans | After the insured mortgage is recorded, the home must be free and clear of all liens other than that mortgage, except as the rule allows.[4]Electronic Code of Federal Regulations, 24 CFR 203.32, Mortgage lien |
| FHA second mortgages | A second lien behind the insured mortgage needs HUD's prior approval. For a second mortgage from a lender other than a government agency or eligible nonprofit, the two loans together also cannot go over the insured loan's loan-to-value limit.[4]Electronic Code of Federal Regulations, 24 CFR 203.32, Mortgage lien |
The CFPB says lender's title insurance is usually required to get a mortgage loan, and title service fees include the title search fee. Title insurance can provide protection if someone later says they have a claim against the home.[7]Consumer Financial Protection Bureau, "What are title service fees?"
Tax Liens and the First Lien
Holding the first lien does not put a mortgage ahead of every claim. Local law can give some tax liens priority over a mortgage that came before them.[6]U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo)
| Lien | How federal law treats it |
|---|---|
| Property tax and special assessment liens | A federal tax lien, even after its notice is filed, is not valid against them where local law gives them priority over earlier security interests.[6]U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo) |
| Federal tax lien | It is not valid against the holder of a security interest, such as a mortgage lender, until notice of the lien is filed.[6]U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo) |
FHA's rules show the link to monthly payments. An FHA escrow account must cover real estate taxes, special assessments and any item that would create liens positioned 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) See property taxes for how that bill is set.
First Liens in Regulation Z
Federal rules treat first liens and subordinate liens differently. A higher-priced mortgage loan is a loan on the borrower's principal home whose APR is above the average prime offer rate for a comparable loan by a set margin. The CFPB publishes that benchmark in a table updated at least weekly.[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans
| Loan | It is higher-priced when its APR exceeds the average prime offer rate by |
|---|---|
| First lien, within Freddie Mac's maximum loan size | 1.5 or more percentage points[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans |
| First lien, above Freddie Mac's maximum loan size | 2.5 or more percentage points[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans |
| Subordinate lien | 3.5 or more percentage points[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans |
FHFA sets that maximum loan size, the conforming loan limit.[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans
For a higher-priced loan secured by a first lien on a principal home, the lender must set up an escrow account for property taxes and required insurance before closing, with some exemptions.[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans In general, that account cannot be cancelled until the loan ends or the borrower asks at least five years after closing.[5]Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans
What a Refinance Does to a First Lien
A refinance pays off the old first mortgage with the payoff statement figure, and the new loan is recorded. If a home equity loan or line of credit stays on the home, its place in line has to be settled.
HUD's handbook shows how a lien can move up. For a HUD lien under its Section 235 program, it says the HUD lien moves into first-lien position when the original first mortgage is paid in full.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)
Fannie Mae requires a recorded resubordination agreement when a second lien stays through a refinance, unless state law keeps the lien in its place. Title insurance against a lien that was not properly resubordinated does not release the lender from that rule.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025) The subordination agreement page covers who signs it and what it costs.
Example of Lien Priority
These are example numbers, not an offer. A home is sold for $400,000 to pay its debts, after selling costs.
| Claim | Amount owed | Paid from the sale |
|---|---|---|
| First lien | $250,000 | $250,000, paid first |
| Second lien | $60,000 | $60,000, paid from what is left |
| Left for the owner | $90,000 |
The first lien is paid in full before the second lien receives anything. In this example, both are paid in full and the owner keeps the rest.
Frequently Asked Questions
Is my mortgage a first lien?
Usually, if no other loan on the home ranks ahead of it. A home equity loan or line of credit taken out while the mortgage is in place is a second mortgage, behind it.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
Can a second lien become a first lien?
It can happen. HUD's handbook says a HUD lien under its Section 235 program moves into first-lien position when the original first mortgage is paid in full. Under Fannie Mae's rules, a second lien kept through a refinance is resubordinated instead.[8]U.S. Department of Housing and Urban Development, Handbook 4000.1, FHA Single Family Housing Policy (issued 08/12/2026)[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
Can a tax lien come ahead of a first mortgage?
A property tax or special assessment lien can, where local law gives it priority. A federal tax lien is not valid against a mortgage lender's security interest until notice of the lien is filed.[6]U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo)
Does a refinance keep my first lien position?
Fannie Mae requires the new loan to be free of liens that rank ahead of it. A second lien that stays needs a recorded resubordination agreement, unless state law keeps its place.[2]Fannie Mae, Selling Guide B2-1.2-04, Subordinate Financing (08/06/2025)
Why do first-lien loans often cost less?
The first lien is paid first when a home is sold to pay its debts. A second lender may not get the full amount it is owed, so the CFPB says second mortgage loans often carry higher interest rates.[1]Consumer Financial Protection Bureau, "What is a second mortgage loan or 'junior-lien'?"
The Bottom Line
A first lien is the loan claim at the front of the line on a home, paid before any loan behind it. Program rules, title insurance and federal pricing rules all depend on it, and a refinance has to settle where every other lien stands once the old first mortgage is paid off.
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 second mortgage loan or 'junior-lien'?". https://www.consumerfinance.gov/ask-cfpb/what-is-a-second-mortgage-loan-or-junior-lien-en-105/. Accessed 12/03/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 12/03/2026. ↩
- Fannie Mae, Selling Guide B7-2-03, General Title Insurance Coverage (07/06/2022). https://selling-guide.fanniemae.com/sel/b7-2-03/general-title-insurance-coverage. Accessed 12/03/2026. ↩
- Electronic Code of Federal Regulations, 24 CFR 203.32, Mortgage lien. https://www.ecfr.gov/current/title-24/subtitle-B/chapter-II/subchapter-B/part-203/subpart-A/subject-group-ECFRadeba4d431b246f/section-203.32. Accessed 12/03/2026. ↩
- Consumer Financial Protection Bureau, Regulation Z, 12 CFR 1026.35, Requirements for higher-priced mortgage loans. https://www.consumerfinance.gov/rules-policy/regulations/1026/35/. Accessed 12/03/2026. ↩
- U.S. Code, 26 U.S.C. 6323, Validity and priority against certain persons (2024 edition, govinfo). https://www.govinfo.gov/content/pkg/USCODE-2024-title26/html/USCODE-2024-title26-subtitleF-chap64-subchapC-partII-sec6323.htm. Accessed 12/03/2026. ↩
- Consumer Financial Protection Bureau, "What are title service fees?". https://www.consumerfinance.gov/ask-cfpb/what-are-title-service-fees-en-157/. Accessed 12/03/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 12/03/2026. ↩