You can sell a house with a lien on it, but the lien must be cleared from the title before ownership transfers to the buyer. In most sales, this happens automatically at closing: the escrow or title company uses the sale proceeds to pay off each lienholder, records the lien releases, and hands you whatever is left. The complication comes when the proceeds won’t stretch to cover every debt, when the IRS is involved, or when the lien on record shouldn’t be there in the first place.
How the Payoff Happens at Closing
A lien is a creditor’s recorded claim on your property that gives them a right to a share of the sale price whenever you sell or refinance.1FDIC. Obtaining a Lien Release A buyer’s mortgage lender won’t fund a loan against a property that still has outstanding claims against the title, so the closing process is built around clearing them.
The mechanics are straightforward. Before closing, you request a payoff letter from each lienholder stating the exact balance owed as of a specific date, including any interest and fees.1FDIC. Obtaining a Lien Release For your mortgage, the loan servicer supplies it; for a tax lien or judgment lien, you contact the relevant agency or creditor. Those payoff letters go to the escrow or title company handling the closing.
When the buyer’s funds arrive, the escrow agent pays each lienholder directly out of the proceeds before any money reaches you. The title company will not transfer ownership until every recorded lien is satisfied. Once paid, the lienholder issues a lien release, which is recorded with the same county office where the original lien was filed.1FDIC. Obtaining a Lien Release For a mortgage, the servicer is responsible for recording the release after receiving payoff funds.2Fannie Mae. Satisfying the Mortgage Loan and Releasing the Lien Recording fees typically run under $70.
Whatever remains after the liens, commissions, and other closing costs are paid goes to you.
Who Gets Paid First When There’s Not Enough to Go Around
When multiple liens exist and the proceeds can’t cover them all, priority decides the order of payment. The general rule is “first recorded, first paid.” Two important exceptions apply.
Property tax liens almost always jump to the front regardless of when they were recorded. Under federal law, a local property tax lien takes priority over a federal tax lien if state law already gives it priority over earlier-recorded security interests like mortgages.3Internal Revenue Service. IRM 5.17.2 Federal Tax Liens Federal tax liens, by contrast, are not valid against a prior-recorded mortgage or judgment lien creditor until the IRS files a Notice of Federal Tax Lien in the county records.4Office of the Law Revision Counsel. 26 U.S. Code 6323 – Validity and Priority Against Certain Persons
The closing agent pays creditors from the top of the priority list down. If the money runs out before reaching a lower-priority lienholder, that creditor gets nothing from the sale, and the sale can’t close unless that creditor agrees to release its lien anyway. That’s the situation that pushes sellers into short sale negotiations.
Federal Tax Liens Need an Extra Step
A federal tax lien can’t simply be paid off at the closing table the way a mortgage or judgment lien can. You need to apply for a Certificate of Discharge using IRS Form 14135, which asks the IRS to release its lien from the specific property being sold.5Internal Revenue Service. Application for Certificate of Discharge of Property From Federal Tax Lien The application requires a professional appraisal, a copy of the sales contract, and a proposed closing statement showing what the IRS will receive from the proceeds. Build extra time into your sale timeline; IRS processing is not fast.
If the Lien Shouldn’t Be There
Not every lien on a title search is valid. Liens are sometimes filed in error, attached to the wrong property, or left on the books long after the debt was paid. A lien can also expire when the creditor fails to enforce it within the deadline set by state law. Mechanic’s liens, for example, typically must be followed by a foreclosure lawsuit within a set period or they become unenforceable.
Contact the lienholder first and ask them to file a release. Many stale or erroneous liens clear this way without a court fight. If the lienholder refuses or can’t be found, you’ll need to petition the court for an order discharging the lien, with evidence that the debt was already paid, the lien was procedurally defective, or the enforcement deadline has passed. A real estate attorney can handle this, and the cost is easy to justify when the alternative is a sale that falls apart at closing.
When You Owe More Than the House Will Sell For
Sometimes the combined debt exceeds what the property can bring on the open market. The proceeds won’t cover everything, and you can’t close without the lender’s cooperation. Two paths exist.
Short Sale
A short sale is a sale for less than the total owed, with the lender’s approval. You apply to your lender with a hardship letter explaining why you can’t keep up with the debt. The lender agrees to accept less than the full balance and release its lien so the sale can close.
If there are multiple liens, each lienholder has to sign off independently. A second-mortgage holder facing little or nothing from the proceeds has less reason to cooperate, and these negotiations can drag on for months.
Here is the part sellers most often miss: releasing the lien is not the same as forgiving the debt. Unless the short sale agreement explicitly waives the deficiency, the lender can still pursue you in court for the unpaid balance. Around ten states have anti-deficiency laws that restrict or prohibit this for certain residential mortgages, but in most of the country you need to negotiate a written deficiency waiver as part of the approval.
Deed in Lieu of Foreclosure
A deed in lieu is a direct transfer of the property to the lender in place of a sale. The lender takes the house, and you walk away from the mortgage. Banks generally approve this only when the mortgage is the only lien on the property, because the bank doesn’t want to inherit other creditors’ claims. The lender may agree to forgive the remaining balance, provide relocation assistance, or let you stay in the home longer than a foreclosure would. As with a short sale, get the deficiency waiver in writing before you sign.
Tax on Forgiven Debt
If a lender writes off part of your debt in a short sale or deed in lieu, the IRS generally treats the forgiven amount as taxable income. Any lender canceling $600 or more of debt must send you a Form 1099-C, and you report the amount on your return for the year of cancellation.6Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not?
The treatment turns on whether you were personally liable. For recourse debt, taxable cancellation income equals the forgiven amount minus the property’s fair market value. For nonrecourse debt, where the property alone secures the loan, there’s no cancellation of debt income, though you may have a capital gain or loss on the sale itself.6Internal Revenue Service. Topic No. 431, Canceled Debt – Is It Taxable or Not?
There used to be a broad exclusion for homeowners. The Mortgage Forgiveness Debt Relief Act excluded canceled debt on a primary residence from taxable income, applying to debt discharged before January 1, 2026, or under a written agreement entered into before that date.7Office of the Law Revision Counsel. 26 U.S. Code 108 – Income From Discharge of Indebtedness As of 2026, that exclusion has expired for new arrangements. Legislation to extend it has been introduced in Congress but not enacted. If you’re completing a short sale in 2026 without a pre-existing written agreement, plan for the forgiven amount to be taxable unless you qualify for another exception, such as insolvency at the time of cancellation.
Impact on Credit and Buying Again
A short sale stays on your credit report for seven years from the date of the first missed mortgage payment tied to it. The initial score drop is often 100 to 160 points, and it fades over time as positive payment history rebuilds. Tax liens no longer appear on credit reports as of 2018, so a resolved tax lien shouldn’t directly affect your score.
The bigger issue for most sellers is the waiting period before qualifying for another mortgage:
- Conventional loans (Fannie Mae/Freddie Mac): four years after a short sale, or two years with documented extenuating circumstances such as a job loss or medical crisis beyond your control.8Fannie Mae. Significant Derogatory Credit Events – Waiting Periods and Re-Establishing Credit
- FHA loans: three years if you were behind on the mortgage when the short sale closed. No waiting period if you were current on all payments for the 12 months before the sale.
- VA loans: generally two years, with a possible exception if you were current on the loan before the sale.
A deed in lieu carries the same four-year waiting period as a short sale for conventional loans.8Fannie Mae. Significant Derogatory Credit Events – Waiting Periods and Re-Establishing Credit If you expect to buy again soon, keeping your payments current for as long as possible before the sale closes can meaningfully shorten the waiting period for your next loan.