Independent · not a recovery company Public-record guide · Updated 2026-06-06

Who Gets the Surplus? Lien Priority, Heirs & Order of Payment

A balance scale weighing documents, representing the order of payment for surplus funds
Direct answer Surplus funds are paid in a strict priority order: first the foreclosing (senior) lender is satisfied, then junior lienholders in the order their liens were recorded (second mortgage, HELOC, judgment liens, sometimes HOA and tax liens), and finally the former owner receives whatever is left. You’re last in line — but everything remaining after valid liens is yours.

“Who gets the money?” has a precise legal answer. Surplus is distributed as a waterfall: each claimant is paid in turn, and money only flows down once the level above is full.

The order of payment (the waterfall)

  1. Foreclosing / senior lien. The lender that brought the foreclosure is paid what it’s owed, plus costs. (By definition, the surplus is what’s left after this.)
  2. Junior lienholders, by priority. Other liens recorded against the property are paid in order — typically a second mortgage or HELOC, then recorded judgment liens, and sometimes HOA or condo assessment liens.
  3. Government liens. Tax and other government liens may be paid here; federal tax (IRS) liens follow special rules and can carry redemption rights.
  4. The former owner. Whatever remains after all valid liens belongs to you (or your heirs).

Priority is generally set by recording date (“first in time, first in right”), but exceptions exist — property-tax liens often jump the line, and some HOA liens have special status by state law.

Second mortgages and HELOCs

A valid second mortgage or home-equity line is a junior lien. It’s paid out of the surplus before you get the remainder. If your surplus is larger than those balances, you still keep the difference. If a lien is invalid, paid off, or time-barred, you can dispute it — which is one situation where a lawyer is worth it.

Claiming as an heir or for a deceased owner

If the former owner has passed away, the surplus becomes part of their estate. Heirs or the estate’s representative can claim it by providing:

  • The owner’s death certificate
  • Proof of your authority or right to inherit — letters of administration, a probate order, or a small-estate affidavit where allowed
  • The usual identity and prior-ownership documents

Co-owners and divorce

If the property had multiple owners, the surplus is generally split according to ownership interest. Divorce decrees or property settlements can affect who is entitled — bring those documents to the claim.

When the office can’t decide

If multiple parties claim the same surplus and priority isn’t clear, the trustee or county typically deposits the funds with the court, which holds a hearing and decides. In California, for example, the trustee must do this if it can’t determine priority within 90 days Civ. Code §2924j.

Once you understand where you stand in line, move on to how to file your claim — and check your state’s deadline first.

Common questions

Who gets surplus funds first?
After the foreclosing (senior) lender is paid, surplus goes to junior lienholders in order of priority (recording date), and whatever remains goes to the former owner. The former owner is last in line but is entitled to everything left after valid liens.
Can heirs claim surplus funds for a deceased owner?
Yes. If the former owner has died, their heirs or estate can usually claim the surplus by providing the death certificate and proof of their right to inherit (such as letters of administration or a probate order).
Does a second mortgage take my surplus funds?
A valid second mortgage or HELOC is a junior lien and is generally paid from the surplus before you receive the remainder. If the surplus exceeds those liens, you keep the difference.
Do HOA or IRS liens get paid before me?
Often yes, if they are valid recorded liens. HOA liens and government liens (including federal tax liens, which have special rules) can be paid from the surplus ahead of the former owner. The exact priority depends on lien type and state law.

This article is general information, not legal or financial advice. Foreclosure surplus and tax-sale overage laws, deadlines, and procedures vary by state and county and change over time. Always confirm the current rules with your county clerk, trustee, or treasurer, your state’s unclaimed-property office, or a licensed attorney before acting. Sources are listed on our sources page.