A foreclosure sale does not hand the buyer a clean title. Several categories of liens and encumbrances survive the auction and become the new owner’s responsibility: unpaid property taxes, senior mortgages when a junior lienholder forecloses, federal tax liens where notice rules weren’t followed, other federal agency liens in nonjudicial sales, the super-priority portion of HOA assessments in some states, certain mechanic’s liens under state relation-back rules, and pre-existing easements, covenants, and zoning restrictions. Whether a particular claim clears depends on lien priority, the type of foreclosure, and whether every interested party got proper notice. These are the liens that survive foreclosure, and any one of them can cost more than the winning bid.
How Priority Decides What Clears
Every claim against a property has a rank. The general rule is first in time, first in right: a lien recorded earlier outranks one recorded later. When the holder of a senior lien forecloses, junior liens are generally wiped from the title and the debts, if anything is left of them, become unsecured claims against the former owner. When a junior lienholder forecloses, senior claims stay put.
That framework has real exceptions. Some liens jump the line regardless of recording date, and some junior liens survive because of a defect in how the foreclosure was run. Both patterns are where buyers get hurt.
Unpaid Property Taxes
Delinquent property taxes hold super-priority status. They outrank every other claim, including the first mortgage, and a foreclosure sale never clears them. IRS guidance confirms that where local law puts real estate taxes ahead of mortgages, they also take priority over federal tax liens.1Internal Revenue Service. IRM 5.17.2 Federal Tax Liens Buy a property with $15,000 in back taxes attached, and that bill is now yours. This is the most common title surprise at foreclosure auctions and the reason experienced buyers check the tax status first.
Senior Mortgages When a Junior Lienholder Forecloses
If a second mortgage holder or judgment creditor initiates the foreclosure rather than the first mortgage lender, the first mortgage survives completely. The buyer takes the property subject to that senior debt, which frequently dwarfs whatever the auction price was. This scenario is less common than a first-mortgage foreclosure, but it is genuinely dangerous for anyone who doesn’t verify which lien is actually being foreclosed.
Federal Tax Liens
IRS liens follow special federal rules that override normal state priority. When a senior lienholder forecloses on a property that has a federal tax lien attached, the foreclosing party has to send written notice to the IRS by registered or certified mail at least 25 days before the sale.2Office of the Law Revision Counsel. 26 USC 7425 – Discharge of Liens If the notice isn’t sent or arrives late, the IRS lien stays on the property regardless of who buys it.3eCFR. 26 CFR 400.4-1 – Notice Required With Respect to a Nonjudicial Sale
Even when notice is proper, the IRS keeps a 120-day right of redemption after a nonjudicial sale. During that window it can take the property from the auction purchaser by reimbursing the sale price.2Office of the Law Revision Counsel. 26 USC 7425 – Discharge of Liens Where state law provides a longer redemption period, the IRS gets that longer period. Four months of uncertainty over whether you keep the property is a real cost, even when everything else went right.
Other Federal Government Liens
Liens from federal agencies other than the IRS, such as SBA loans or HUD, follow a different pattern in nonjudicial (power-of-sale) foreclosures. Unlike IRS liens, which can be discharged with proper notice, other federal government liens may not be extinguished by a nonjudicial foreclosure at all, even when they sit junior to the foreclosing lien. Clearing them typically requires a judicial foreclosure that names the federal agency as a party. Any recorded federal interest on the property calls for a careful look before bidding.
HOA Super-Priority Liens
About 20 states give homeowners’ association liens a limited super-priority that jumps ahead of the first mortgage. The super-priority portion usually covers six to nine months of unpaid assessments plus related collection costs; only that limited amount takes priority, and the rest of the HOA debt stays junior. The Federal Housing Finance Agency has stated that it will not consent to HOA foreclosures that extinguish Fannie Mae or Freddie Mac mortgage liens, which adds another layer of complexity in these situations.4Federal Housing Finance Agency. Statement on HOA Super-Priority Lien Foreclosures
Mechanic’s Liens Under Relation-Back Rules
In some states, a mechanic’s lien for unpaid construction work takes its priority from the date work actually began on the property, not from the date the lien was recorded. Under this relation-back doctrine, a contractor who started work before a mortgage was recorded can hold a lien senior to that mortgage even though the paperwork came later. If the mortgage holder then forecloses, the mechanic’s lien can survive. Whether relation-back applies depends entirely on state law, so where the property sits matters.
Easements, Covenants, and Zoning
Not every surviving encumbrance costs money at closing. Utility easements, shared driveway agreements, and restrictive covenants recorded before the foreclosed mortgage typically stay in place. Zoning restrictions and building code requirements are never cleared by foreclosure; they run with the land permanently. None of these will hit you with a bill, but they can limit what you’re allowed to do with the property.
Junior Liens That Survive Because of Notice Failures
A foreclosure only wipes out junior liens if those lienholders were properly notified or made parties to the action. Skip a junior lienholder, and that lienholder’s claim survives as if the foreclosure never happened. This is one of the most common ways title problems emerge after a foreclosure purchase. A second mortgage holder who was never served with the complaint still has a valid lien on the property, and the buyer inherits it.
In judicial foreclosures, junior lienholders must be named as defendants. In nonjudicial foreclosures, notice requirements vary by state, but the principle holds: no notice, no extinguishment. A thorough title search is the only reliable way to confirm that every lienholder was properly included.
Why Judicial vs. Nonjudicial Matters for Survival
In a judicial foreclosure, a court supervises the process, reviews who has been joined, orders the sale, and enters a judgment. Priority and notice disputes get resolved before the sale, which generally produces a cleaner title for the buyer. The tradeoff is time; the process often takes close to a year.
Nonjudicial foreclosure happens outside of court. A trustee runs the process under the terms of the deed of trust, and the sale can wrap up in a month or two. Without a judge verifying that every lienholder was notified, and with non-IRS federal liens potentially surviving nonjudicial sales entirely, the due diligence burden falls on the buyer.
Redemption Rights Are Not Liens, but They Attach to the Property
In roughly half the states, a former owner can reclaim the property after the sale by paying the full sale price plus costs within a set redemption period. These windows range from a few months to two years depending on state law and the type of foreclosure. During that period the buyer technically owns the property but faces the risk of losing it back to the former owner. The IRS holds a parallel 120-day redemption right after nonjudicial sales, or longer where state law provides.2Office of the Law Revision Counsel. 26 USC 7425 – Discharge of Liens Spending money on renovations during a redemption period is a gamble; a successful redemption typically returns the sale price, not the cost of your upgrades.
Protecting Yourself Before You Bid
The most important step happens before the auction. Get a professional title search done. It examines public records for deeds, mortgages, tax liens, judgments, and other claims, and it will show whether the foreclosing party holds the senior lien, whether junior lienholders were properly notified, and whether any super-priority claims exist. Professional title searches typically cost between $50 and $350. Skipping this step is how buyers end up personally responsible for liens worth tens of thousands.
Understand the deed you’re getting. Foreclosure auctions produce a trustee’s deed or sheriff’s deed, not a general warranty deed. A warranty deed carries the seller’s promise that title is free of defects; a foreclosure deed only transfers whatever interest the borrower had pledged as collateral. If a defect exists that the foreclosing party didn’t catch, the deed won’t protect you.
After the purchase, consider an owner’s title insurance policy. Lender’s title insurance, which most mortgage companies require, only protects the lender’s interest up to the loan amount. An owner’s policy protects your equity up to the full purchase price against undiscovered title defects such as forged deeds, undisclosed heirs, and recording errors.5Consumer Financial Protection Bureau. What Is Lender’s Title Insurance? Some title companies are reluctant to insure foreclosure purchases, and those that will may charge higher premiums or add exceptions for known risks. If no insurer will touch the property, treat it as a serious warning about the title’s condition.