What Is a First Lien Mortgage and How Does It Work?

A first lien mortgage is the primary loan recorded against your home, and it holds the senior claim on the property ahead of any other private lender. If the home is ever sold in foreclosure, that lender gets paid in full before a second mortgage, a home equity line, or a judgment creditor sees a dollar. That priority is why first mortgages carry the lowest rates you’ll be offered on your home — and why the stakes are highest on this loan if you fall behind.

How a Mortgage Becomes the First Lien

Lien priority generally follows a “first in time, first in right” rule. When your lender records the mortgage or deed of trust in the county land records at closing, the clerk stamps it with a date and time. That timestamp is the moment your loan takes its place in line. Any lien recorded later against the property — a home equity loan, a judgment, a second mortgage — sits behind it.

Two things secure that first position in practice. Before closing, the lender orders a title search to confirm no earlier mortgage, unpaid tax lien, or competing claim is already sitting on the property. Anything the search turns up has to be cleared before the loan funds. The lender also requires a lender’s title insurance policy, which covers the lender if a hidden defect surfaces later — say, a previously unrecorded lien or a forged deed somewhere in the chain of ownership.1Consumer Financial Protection Bureau. What Is Lender’s Title Insurance? That policy only protects the lender. If you want the same protection for your own equity, you have to buy a separate owner’s policy.

Recording fees vary by county, from around $20 in some places to several hundred dollars in others, and some states add a mortgage recording tax calculated as a percentage of the loan amount.

Liens That Can Outrank Your First Mortgage

“First lien” doesn’t mean nothing can ever come ahead of it. A handful of claims, created by statute rather than private contract, are allowed to jump the line regardless of when they were recorded. If you own a home, these are the ones worth knowing about:

  • Property tax liens. Fall behind on property taxes and the government’s lien sits ahead of your mortgage. This is true in every state.
  • HOA and condo assessments. Many states give homeowners and condo associations a limited super lien for unpaid dues, commonly up to six months of assessments. A handful of states allow up to nine.
  • Mechanic’s liens. In some states, a contractor’s lien relates back to the date work began rather than the date it was filed. If construction started before your mortgage was recorded, that lien can end up senior. A few states go further and give mechanic’s liens blanket priority over pre-existing mortgages on certain new residential construction.
  • Government special assessments. Assessments for sewer lines, roads, and similar infrastructure improvements can also sit ahead of a first mortgage.

For a borrower, the practical lesson is that keeping property taxes and HOA dues current isn’t just about avoiding those specific bills. Letting them lapse creates a lien your mortgage lender takes seriously, because any senior claim reduces the value of the collateral behind their loan.

Why a First Lien Gets You a Lower Rate

Because the first lien holder gets paid before every other private creditor in a foreclosure, the loan is less risky for the lender, and that lower risk shows up directly in the interest rate you’re offered. Second-lien products like home equity loans and HELOCs generally carry noticeably higher rates for exactly the opposite reason: if the property is foreclosed and there isn’t much left after the first mortgage is paid, the junior lender may recover little or nothing. The lender’s spot on the repayment ladder is priced into every rate quote you see.

What Happens If You Default

The 120-Day Window Before Foreclosure Starts

Federal rules generally bar a mortgage servicer from making the first legal filing to start a foreclosure until you are more than 120 days behind on payments.2eCFR. 12 CFR 1024.41 – Loss Mitigation Procedures During that stretch, the servicer is required to evaluate you for options like a loan modification or a repayment plan. A few exceptions apply — for instance, if the foreclosure is based on a due-on-sale clause violation, or if the servicer is joining a foreclosure another lienholder already started.

How the Sale Proceeds Get Divided

Once a foreclosure sale happens, the money is distributed in a strict order. The first lien holder is paid the full outstanding balance, including accrued interest and fees, before anyone else touches the proceeds. Whatever is left flows to junior lienholders in the order they were recorded. If anything remains after every lien is satisfied, the surplus goes to the former homeowner.

When the sale doesn’t bring in enough, junior creditors absorb the loss first. A home that sells for $300,000 with a $310,000 first mortgage balance leaves nothing for a second mortgage, a judgment creditor, or any other subordinate claim.

Junior Liens Are Wiped From the Title

A foreclosure by the first lien holder removes all junior liens from the property.3IRS. Internal Revenue Manual – Judicial/Non-Judicial Foreclosures The buyer at the sale takes the home free of those subordinate claims. The reverse isn’t true: a foreclosure started by a junior lienholder does not disturb liens senior to it, so a second mortgage foreclosure would leave the first mortgage in place.

One thing worth keeping straight: foreclosure eliminates the lien, not the underlying debt. If a second mortgage lender doesn’t recover enough at the sale, you can still owe the remaining balance on that loan, and the lender can pursue you by filing suit, garnishing wages, or going after other assets.

Deficiency Judgments on the First Mortgage

If the foreclosure sale doesn’t cover the first mortgage balance, the shortfall is called a deficiency. In many states, the first lien lender can sue for a deficiency judgment — a court order making you personally responsible for the gap. On that $300,000 sale against a $310,000 balance, the lender could seek a $10,000 judgment.

Several states restrict or prohibit deficiency judgments, particularly for purchase-money loans on owner-occupied homes. Whether a lender can actually collect a deficiency depends on your state’s rules, whether the foreclosure went through the courts or was handled outside them, and whether the loan was used to buy the home or came later as a refinance or cash-out. If foreclosure is on the table for you, your state’s deficiency law is one of the most financially significant questions to get answered.

What Happens to Priority When You Refinance

Refinancing creates a wrinkle in the priority order. When your original mortgage is paid off and replaced with a new one, the new mortgage didn’t exist on the day any second lien was recorded. Read strictly, the second lien would jump into first position and the refinance would land behind it. Two mechanisms usually prevent that.

Subordination Agreements

If you have a second mortgage or HELOC, the refinance lender will almost always require the junior lender to sign a subordination agreement, in which the junior lender formally agrees to stay behind the new first mortgage.4Fannie Mae. Multistate Subordination Agreement (Refinance Mortgage) Form 3747 Junior lenders are not obligated to sign, which is one of the main reasons refinancing with a second lien in place can drag or fall through.

Equitable Subrogation

Many states also recognize equitable subrogation, a doctrine that lets the refinance lender step into the priority spot of the loan it paid off. The reasoning is that the junior lienholder is no worse off than before, since the total amount of senior debt hasn’t grown, so giving the junior lender a windfall promotion would be unfair. Application varies by state, and the protection may not fully hold if the new loan is significantly larger than the one it replaced.

If you’re refinancing and have a second lien, expect your lender to handle priority through one or both of these routes before you get to the closing table.