What Happens to a Federal Tax Lien After Foreclosure?

What happens to a federal tax lien after foreclosure depends on two things: whether the lien was senior or junior to the foreclosing mortgage, and whether the IRS received proper advance notice of the sale. When a senior mortgage forecloses and the lender notifies the IRS correctly, the junior tax lien is usually stripped from the property. When notice is defective, or when the tax lien is senior, the lien stays attached and the new owner takes the property with the government’s claim still on it. And whatever happens to the lien on that specific property, the underlying tax debt still belongs to the homeowner.

Whether the Lien Survives the Sale

Lien priority follows a “first in time, first in right” rule. A federal tax lien only becomes enforceable against buyers, lenders, and other creditors once the IRS files a Notice of Federal Tax Lien in the local recording office, and that filing date fixes its place in line.1Office of the Law Revision Counsel. 26 USC 6323 – Validity and Priority Against Certain Persons If the mortgage was recorded before the IRS filed, the mortgage is senior and the tax lien is junior. If the IRS filed first, the tax lien is senior and a foreclosure by the mortgage holder cannot disturb it.

Only a foreclosure by a senior lienholder can potentially wipe out the junior federal tax lien, and even then only if the IRS is properly notified. The notice rules differ by foreclosure type.

Nonjudicial Sales

For a trustee sale or power-of-sale foreclosure, the foreclosing lender must send the IRS written notice by registered or certified mail, or by personal service, at least 25 days before the sale.2Office of the Law Revision Counsel. 26 USC 7425 – Discharge of Liens When notice is timely and complete, the sale affects the junior federal tax lien the same way local law treats other junior liens. In most states that means the lien comes off the property and the buyer takes title free of it.

If the notice is late or defective, the outcome flips. The federal tax lien remains attached to the property as if the foreclosure never happened, and the new buyer owns real estate that still carries the government’s claim.3eCFR. 26 CFR 301.7425-2 – Discharge of Liens; Nonjudicial Sales The IRS Internal Revenue Manual describes the lien in that situation as “undisturbed.”4Internal Revenue Service. IRM 5.12.4 – Judicial/Non-Judicial Foreclosures

Judicial Foreclosures

When the foreclosure runs through the courts, the United States can be named as a party in any suit to foreclose on property in which it holds an interest, and the government has 60 days to respond.5Office of the Law Revision Counsel. 28 USC 2410 – Actions Affecting Property on Which United States Has Lien The court’s judgment then has the same effect on a junior federal tax lien as local law provides for discharging other junior liens. If the tax lien is senior to the foreclosing mortgage, the sale must be made “subject to and without disturbing” the government’s lien unless the United States consents to the sale free and clear.

The 120-Day Right of Redemption

Even when a foreclosure properly strips the tax lien from the property, the IRS keeps one more option. The government has 120 days from the sale date, or a longer state-law redemption period if one exists, to redeem the property from the foreclosure purchaser.2Office of the Law Revision Counsel. 26 USC 7425 – Discharge of Liens The IRS uses this when a property sold at auction for significantly less than fair market value; the government redeems, resells, and applies the difference to the tax debt.

The redemption price is not just what the buyer paid at auction. The IRS must pay the buyer’s full purchase price plus interest at 6 percent per year from the sale date to the redemption date, and must reimburse necessary maintenance expenses minus any income the buyer received from the property.6eCFR. 26 CFR 301.7425-4 – Discharge of Liens; Redemption by United States The buyer gets compensated but loses the property and any anticipated upside. In practice the IRS redeems selectively, targeting cases where the price gap justifies the administrative work. For the four months after the sale, though, the possibility hangs over every purchase.

The Tax Debt Doesn’t Disappear

Losing the house does not cancel what you owe. The lien is a claim against a specific piece of property; the debt is the total balance owed to the IRS. Removing the lien from the foreclosed property is not the same as wiping out that balance.

If the foreclosure proceeds don’t cover the lien in full, the IRS can pursue the rest through other means. It has broad levy authority to seize wages, bank accounts, and other property to satisfy unpaid taxes.7Office of the Law Revision Counsel. 26 USC 6331 – Levy and Distraint The federal tax lien can also attach to other assets you own now or acquire later, including other real estate, vehicles, and financial accounts.

The government doesn’t have unlimited time. Federal law gives the IRS 10 years from the date a tax is assessed to collect it by levy or lawsuit.8Office of the Law Revision Counsel. 26 USC 6502 – Collection After Assessment After that Collection Statute Expiration Date, the debt becomes legally unenforceable. Certain events pause the clock: filing an offer in compromise, going through bankruptcy, requesting an installment agreement, or living outside the country for six or more continuous months.

If a balance remains after foreclosure, you have resolution options. The IRS accepts offers in compromise that settle a debt for less than the full amount when a taxpayer genuinely can’t pay.9Internal Revenue Service. Offer in Compromise Installment agreements spread the balance into monthly payments. And where collection would create serious economic hardship, the IRS can place the account in “currently not collectible” status, pausing active collection while your finances stabilize.

Discharging the Lien Before Foreclosure

Homeowners facing foreclosure don’t have to wait passively for the outcome. The IRS can issue a certificate of discharge that removes the lien from a specific property before the sale, which can smooth the foreclosure, attract more bidders, and produce a higher sale price that benefits everyone including the government.

Federal law provides several grounds for discharge: the taxpayer’s other property still covered by the lien is worth at least double the tax debt plus senior liens; a partial payment equal to the government’s interest in the released property; a showing that senior debts exceed the property’s value so the IRS would collect nothing; an agreement to escrow the sale proceeds subject to the lien’s priority; or a cash deposit or bond equal to the government’s interest.10Office of the Law Revision Counsel. 26 USC 6325 – Release of Lien or Discharge of Property The application is IRS Form 14135, and it should be filed at least 45 days before the date the discharge is needed.11Internal Revenue Service. Publication 783 – How to Apply for a Certificate of Discharge From Federal Tax Lien

A related tool is subordination. It doesn’t remove the lien but lets a new lender jump ahead of the IRS in priority, which is sometimes enough to make a refinance possible and avoid foreclosure altogether.12Internal Revenue Service. Understanding a Federal Tax Lien

If You Are Buying at the Auction

The rules above cut the other way for anyone bidding on a foreclosed property. Run a full title search before bidding to see whether a Notice of Federal Tax Lien has been filed and where it stands in priority. If a junior tax lien is involved, plan around the 120-day redemption window; renovations and improvements during those four months are exposed, because the IRS reimburses necessary maintenance but not upgrades. And if the foreclosing lender failed to give the IRS proper notice, the tax lien stays attached to the property after the sale, leaving the buyer to negotiate a discharge with the IRS or pursue the foreclosing party.3eCFR. 26 CFR 301.7425-2 – Discharge of Liens; Nonjudicial Sales