Lost your home to foreclosure? Check if you are owed money →

Who Gets Paid First When a Foreclosed Home Sells for More Than Owed?

By AuctionBlock Research TeamApril 7, 2026|8 min read
foreclosure lien prioritysurplus fundslien priority stackjunior lienshomeowner rightsforeclosure distributionIRS lien

Think you might be owed money? If your property was sold at a foreclosure auction, there may be surplus funds waiting for you. Free check →

Who Gets Paid First When a Foreclosed Home Sells for More Than Owed?

When a foreclosed home sells at auction for more than the amount owed, that extra money does not just disappear. It enters a legally defined distribution system called the foreclosure lien priority stack — a hierarchy that determines who gets paid, in what order, and how much. Understanding foreclosure lien priority is essential for any former homeowner trying to figure out whether surplus funds are waiting for them and how much they might actually receive.

This guide explains the full lien priority stack from top to bottom, clarifies how each type of lien affects your potential surplus recovery, and helps you understand where you stand in line.

What Is Lien Priority and Why Does It Matter?

A lien is a legal claim against a property that secures a debt. When you buy a home with a mortgage, the lender places a lien on the property. If you fail to pay property taxes, the county places a lien. If a contractor does work on your home and you do not pay, they can file a mechanic's lien. If a creditor wins a lawsuit against you, they can record a judgment lien.

Foreclosure lien priority determines the order in which these creditors are paid when the property is sold at a foreclosure auction. The general rule is "first in time, first in right" — meaning liens recorded earlier typically take priority over liens recorded later. But there are important exceptions.

When a foreclosed home sells for more than the total of all liens and costs, the excess becomes surplus funds. But before you, the former homeowner, see any of that surplus, every creditor with a valid lien ahead of you in the priority stack must be satisfied.

The Complete Foreclosure Lien Priority Stack

Here is the typical order of payment when a foreclosed property sells for more than what was owed. Note that this order can vary by state, and some categories may not apply to every situation.

1. Property Tax Liens (Government Priority)

Property tax liens almost always sit at the top of the priority stack, regardless of when they were recorded. This is because taxing authorities have what is called "super-priority" — a status granted by state law that puts the government's claim ahead of nearly all other creditors.

In a mortgage foreclosure, outstanding property taxes are typically paid from the sale proceeds before the mortgage lender receives anything. In a tax foreclosure, the tax debt is the reason for the sale itself and is satisfied first by definition.

This super-priority status means that even if you had a mortgage recorded 20 years ago, a property tax lien from last year takes precedence.

2. First Mortgage (Senior Deed of Trust)

The first mortgage — the original loan used to purchase the home — is typically the next lien in the priority stack after property taxes. In a mortgage foreclosure, this is usually the lender who initiated the foreclosure.

The first mortgage lender receives the full outstanding balance of the loan, including:

  • Remaining principal balance
  • Accrued interest
  • Late fees
  • Attorney fees incurred in the foreclosure process
  • Costs of the foreclosure sale itself

Only after the first mortgage is fully satisfied does money flow to the next tier of the priority stack.

3. Second Mortgage or Home Equity Line of Credit (HELOC)

If the homeowner took out a second mortgage or HELOC after the first mortgage, that lender has the next claim. Second mortgages and HELOCs are "junior" to the first mortgage because they were recorded later.

In a mortgage foreclosure initiated by the first mortgage lender, the second mortgage or HELOC is wiped out — meaning the lien is extinguished. But the second lender retains the right to claim surplus funds from the sale. If there is enough surplus to cover the second mortgage balance, that lender is paid in full before any money moves down the stack.

If there is not enough surplus to cover the second mortgage, the lender receives whatever is available and may pursue a deficiency judgment against the borrower for the remainder (depending on state law).

4. HOA and Condo Association Liens

Homeowners association (HOA) and condominium association liens occupy a unique position in the priority stack. In many states, HOA liens have limited super-priority status — meaning a portion of the HOA debt (typically covering a set number of months of past-due assessments) takes priority even over the first mortgage.

However, the super-priority portion is usually limited. The remainder of the HOA debt falls into the general priority stack based on when the lien was recorded. The specifics vary significantly by state.

After the first mortgage and second mortgage are satisfied, any remaining HOA lien amount is paid from the surplus.

5. Judgment Liens

Judgment liens arise when a creditor sues the homeowner and wins a monetary judgment, which is then recorded against the property. Common sources of judgment liens include:

  • Credit card debt lawsuits
  • Medical debt collection
  • Personal injury judgments
  • Business debt
  • Divorce-related judgments

Judgment liens are paid from surplus funds in the order they were recorded. A judgment lien recorded in 2020 takes priority over one recorded in 2022.

6. IRS Tax Liens (Federal)

Federal tax liens filed by the Internal Revenue Service attach to all property owned by the taxpayer. Their priority position depends on when the Notice of Federal Tax Lien was filed relative to other liens.

However, the IRS has a special rule: it has a 120-day right of redemption after a foreclosure sale. This means the IRS can actually buy the property from the auction purchaser within 120 days of the sale. In practice, the IRS rarely exercises this right, but it is a factor that can complicate and delay the surplus distribution process.

IRS liens that were recorded before other junior liens will be paid before those junior liens. IRS liens recorded after other liens follow the standard "first in time, first in right" rule.

7. State Tax Liens

State tax liens work similarly to IRS liens. Their priority depends on recording date, and they must be satisfied from surplus before the former homeowner receives anything (assuming they were recorded before the foreclosure).

8. Mechanic's Liens

Mechanic's liens are filed by contractors, subcontractors, or material suppliers who performed work on the property and were not paid. In many states, mechanic's liens relate back to the date the work began, which can give them an earlier effective date than the date the lien was actually recorded.

The priority of mechanic's liens varies significantly by state. In some states, they take priority over mortgages recorded after the work commenced. In others, they are subordinate to previously recorded mortgages.

9. The Former Homeowner

After every valid lien in the priority stack has been satisfied, any remaining surplus belongs to the former homeowner. This is the equity you built through your down payment, monthly principal payments, and any appreciation in the property's value.

You are last in line — but being last does not mean there is nothing left. In many cases, particularly when home values have risen, the surplus after all liens are paid can still be substantial.

How Foreclosure Lien Priority Affects Your Surplus Recovery

Understanding the full priority stack helps you set realistic expectations about your potential surplus recovery. Here are the key takeaways:

If you had few or no junior liens: Your surplus recovery potential is highest. If the only debt on the property was the first mortgage, the entire surplus after that mortgage is satisfied belongs to you.

If you had a second mortgage or HELOC: That lender will be paid from the surplus before you. If the surplus is less than the second mortgage balance, you may receive nothing from the surplus — though you also will not owe the difference in states that prohibit deficiency judgments on purchase-money loans.

If you had judgment liens: Each judgment creditor in the priority stack will be paid before you. Multiple judgment liens can quickly consume available surplus.

If the IRS had a lien on your property: The IRS claim must be satisfied before you receive surplus, and the 120-day redemption period can delay the entire distribution process.

Can You Challenge Lien Priority?

In some cases, yes. Lien priority can be contested if:

  • A lien was improperly recorded or is invalid
  • A lien has expired under state law
  • A creditor's claim amount is inflated or incorrect
  • A lien was subordinated by agreement
  • A mechanic's lien was not properly perfected

If you believe that a junior lienholder's claim is invalid or overstated, you may be able to challenge it in court. This can increase the amount of surplus available to you.

What Happens When There Are Not Enough Surplus Funds?

If the surplus is not enough to cover all junior lien claims, the funds are distributed to lienholders in priority order until they are exhausted. The former homeowner receives nothing from the surplus in this scenario.

However, even if you receive nothing from the surplus, you have still benefited from the foreclosure sale to the extent that liens against you were satisfied. For example, if you owed $50,000 on a second mortgage and the surplus covered that debt, you no longer owe that $50,000 — even if there was nothing left over for you.

The Tyler v. Hennepin Connection

While the Supreme Court's 2023 ruling in Tyler v. Hennepin County specifically addressed tax foreclosures, its core principle is relevant to all foreclosure surplus situations: the entity that forces the sale — whether it is a government or a bank — is entitled only to what it is owed, not to the homeowner's equity.

This principle reinforces why foreclosure lien priority matters. The system exists to ensure that every creditor receives what they are legally owed and that any remaining value is returned to the person who built that equity — the homeowner.

How AuctionBlock Navigates the Lien Priority Stack for You

At AuctionBlock, we help former homeowners understand exactly where they stand in the foreclosure lien priority stack and what surplus they may be entitled to recover.

Our team:

  • Reviews the lien history on your former property to identify all claims against the surplus
  • Calculates an estimated recovery amount based on the sale price and known lien balances
  • Prepares and files your surplus claim with the correct documentation
  • Monitors the claim through the review and disbursement process

And we do all of this for a flat $4,999 fee — not a percentage. Whether your surplus recovery is $5,000 or $200,000, our fee stays the same. Competitors charging 25% to 40% would take $1,250 to $2,000 on a small $5,000 surplus — or $50,000 to $80,000 on a $200,000 surplus. Our flat fee means you keep more of what is rightfully yours.

Visit AuctionBlock.org/get-help to find out where you stand in the lien priority stack and how much surplus you may be owed.

You might be owed thousands.

When a home sells at foreclosure auction for more than what was owed, the extra money belongs to you. We help families recover it — flat fee, no percentage taken.

Check If You Are Owed Money

Free to check. No obligation. Takes 2 minutes.

$4,999

Flat fee (tax surplus)

$0

Upfront cost

16

States served

No %

We never take a cut

Related Articles

Not sure if this applies to you?

Answer a few quick questions and we will tell you if surplus funds may be available from your foreclosure. Completely free.

Get Started Free

Disclaimer: This article is for educational purposes only and does not constitute legal, financial, or tax advice. Laws and programs vary by state and county and may change. Consult a qualified attorney or HUD-approved housing counselor for advice specific to your situation. AuctionBlock.org helps families recover surplus funds from foreclosure auctions.