When you sell a house that still has a mortgage, the loan doesn’t transfer to the buyer and you don’t have to pay it off before you list. Instead, your remaining balance is paid off at closing out of the sale proceeds, and you keep whatever is left. If the house sells for less than you owe, you’ll need to cover the gap yourself or get your lender to agree to a short sale. Here’s how it works, step by step.
The short answer
Most people sell a house with a mortgage. At closing, the title company or closing attorney orders a payoff statement from your loan servicer, sends the servicer the exact amount from the buyer’s funds, and records a release of the lien. Your loan is then closed. You walk away with the sale price minus the payoff, any other liens and your selling costs. If that number is negative, you’re “underwater,” and you’ll need cash at closing, lender approval for a short sale, or another plan.
What is a mortgage payoff statement?
A payoff statement is a letter from your servicer that shows the exact amount needed to pay your loan in full as of a specific date. It’s usually higher than the “principal balance” on your monthly statement, because it typically includes:
- Remaining principal
- Interest owed through the payoff date. Mortgage interest is paid in arrears, so your last payment didn’t cover the days since. Payoff quotes include a daily (per diem) interest figure for each extra day.
- Any late fees or unpaid charges
- A prepayment penalty, if your loan has one
- Small fees for recording the lien release, depending on the servicer and state
Every payoff quote has a “good through” date. If closing slips past it, the title company gets an updated quote. Under federal rules, servicers generally must send an accurate payoff statement within seven business days of a written request, with some exceptions such as loans in bankruptcy or foreclosure.
How the loan actually gets paid off at closing
- You accept an offer and sign the purchase contract.
- The title company or closing attorney orders the payoff and runs a title search to find every lien on the property, including any home equity loan or line of credit.
- The settlement statement is prepared, showing the sale price, your payoff, other liens and closing costs, and your net proceeds.
- At closing, the buyer’s funds are wired to the title company, which sends the payoff to your servicer and any other lienholders.
- The servicer records a lien release (sometimes called a satisfaction of mortgage or reconveyance), and you receive your remaining proceeds.
You don’t write a check to your lender yourself. The closing agent handles it so the buyer gets clear title. If you have a second mortgage, a HELOC, a tax lien or a judgment, those get paid from the proceeds too. Our guide to selling a house with a lien explains how that works.
What about my escrow account?
If your lender collects property taxes and insurance through escrow, there’s often money left in that account when the loan is paid off. Federal rules generally require the servicer to refund the remaining escrow balance within 20 days (excluding weekends and legal holidays) after you pay the loan in full. Your property taxes are also prorated at closing, so you pay only your share through the closing date.
One thing to remember: don’t cancel your homeowners insurance until the sale has closed. Cancel it afterward, and any unused premium is usually refunded.
Will I owe a prepayment penalty?
Most homeowners won’t. For most mortgages made since January 2014, federal rules only allow a prepayment penalty on certain fixed-rate qualified mortgages, only during the first three years, and capped at 2% of the balance in the first two years and 1% in the third. Older loans, some non-qualified loans and some investment property loans can have different terms. Check your loan documents or ask your servicer before you set a price, so it isn’t a surprise at closing.
What if I owe more than the house is worth?
This is called being underwater, and it limits your options, but it doesn’t mean you’re stuck. Common paths include:
- Bring cash to closing. If the gap is small, some sellers cover it from savings so the sale can go through.
- Ask for a short sale. Your lender agrees to accept less than the full payoff. It takes paperwork and lender approval, and it can take a while. The CFPB notes that in some states you can still owe the remaining balance (the deficiency), so ask the lender to waive it in writing.
- Wait, if you can. Paying down the loan while values change can close the gap over time.
- Talk to a HUD-approved housing counselor, especially if you’re also behind on payments.
Be aware of the tax side, too. Mortgage debt a lender forgives can count as taxable income. A federal exclusion for forgiven debt on a primary residence covered discharges before January 1, 2026, and the IRS says it does not apply to discharges completed or agreements entered into after December 31, 2025. Other exclusions, such as insolvency, may still apply. IRS Publication 4681 covers the details, and a tax professional can tell you where you stand.
Can I sell if I’m behind on payments?
Yes. Missed payments, late fees and any foreclosure costs are added to the payoff, but as long as there’s enough equity, the sale pays everything off and stops the foreclosure. Timing matters, because those costs keep growing. If you’re in this spot, our page on options when you’re behind on mortgage payments walks through the choices, and we also explain what to expect if you need to sell a house facing foreclosure.
How to estimate what you’ll walk away with
| Item | Listing with an agent | Cash sale to BAM |
|---|---|---|
| Mortgage payoff and other liens | Paid from proceeds | Paid from proceeds |
| Agent commissions | Usually yes | None |
| Seller closing costs | Usually yes | We pay them |
| Repairs and buyer credits | Often | None, we buy as-is |
| Months of payments while it sells | Depends on the market | Close in as little as 2–3 weeks |
A listing will often get a higher sale price, and if your house is in good shape and you have time and equity, that may be your best route. A cash sale can make more sense when the house needs work, your payments are piling up, or you need a certain closing date. Our guide to who pays closing costs when selling can help you run the numbers either way.
How a cash sale handles your mortgage
It works the same way: the title company gets your payoff and pays the lender at closing. The difference is that there’s no buyer’s loan to fall through and no appraisal to wait on. At BAM, we’ve been buying houses for 20+ years, and we’ve purchased more than 500 of them. We make a fair cash offer within 24 hours and show you the math, including how your payoff fits in, so you know what you’ll walk away with before you agree to anything. We buy houses as-is in any condition, charge no commissions or fees, and pay all the closing costs. You can see each step on our how it works page.
Want to know what you’d net after your mortgage is paid off? Get a free, no-obligation cash offer, or call us at (312) 818-3954.
Mortgage, foreclosure and tax rules vary by loan and by state. This is general information, not legal or tax advice, so check with your servicer, a real estate attorney or a tax professional about your situation.



