Can you sell a house with a mortgage?
Quick answer
Yes. The loan is paid off from the sale money at closing, using a payoff statement from your servicer, and you keep what is left after your selling costs.
- The longest a servicer normally has to send a payoff statement after a written request
- 7 business days
- Highest prepayment penalty on a covered loan in its first two years, where one is allowed
- 2% of balanceRegulation Z, 12 CFR 1026.43(g)
- When such a penalty has to stop
- After 3 yearsRegulation Z, 12 CFR 1026.43(g)
Source Regulation Z, 12 CFR 1026.36Checked
You don’t have to clear the loan before you sell. Paying off any mortgages tied to the property is one of the things that happens at closing, along with transferring ownership and sending you the proceeds. What you need is a price that covers the mortgage and your closing costs, or a plan if it won’t. The payoff is a step in how to sell a house that rewards an early phone call. The federal rules below apply in every state, and your loan documents can add terms of their own.
How the payoff works
Your mortgage servicer issues a payoff statement showing the payoff amount, the total needed to close the loan on a given date. The closing agent sends that amount from the sale proceeds, and the rest, less your other costs, comes to you.
For a loan secured by your home, Regulation Z says the statement must be accurate and sent within a reasonable time, at most seven business days after a written request. You or someone acting for you can ask. The seven-day limit doesn’t hold when the loan is in bankruptcy or foreclosure, is a reverse or shared appreciation mortgage, or when a natural disaster or similar event gets in the way. Those still have to be answered within a reasonable time.
The figure won’t match the mortgage balance on your last bill. Interest builds daily, and the statement lists anything else owed. Servicers may count days differently, so use the daily amount printed on your own statement.
| Line | Example |
|---|---|
| Balance after your last payment | $250,000.00 |
| Yearly interest rate | 6% |
| Interest per day ($250,000 x 6% / 365) | $41.10 |
| Days from the last payment to the payoff date | 15 |
| Interest to add | $616.44 |
| Payoff | $250,616.44 |
If the closing slips by a week, this example adds another $287.67. Closings do slip, and interest keeps better time than anyone else in the room. Ask for a statement good through a few days past the planned date.
What you keep from the sale proceeds
Take the same mortgage and a $400,000 sale with selling costs of 8%, or $32,000:
| Line | Amount |
|---|---|
| Sale price | $400,000.00 |
| Selling costs at 8% (example) | -$32,000.00 |
| Payoff | -$250,616.44 |
| Left for you | $117,383.56 |
The 8% sits inside the range Freddie Mac gives for commission, fees and taxes together. Each line is itemized in our guide to the cost of selling a house. One of the larger ones may be the buyer agent commission, if you agree to pay it.
Your home equity before selling
Equity is the market value of your home minus the remaining mortgage balance and any other loans secured by it. In the example, a $400,000 home with about $250,000 of remaining balance holds about $150,000 of equity. What reaches you is smaller, because the payoff amount includes interest to the payoff date and your closing costs come out first. If your equity is less than those costs, the shortfall section below applies.
Selling with a second mortgage or a HELOC
Any other mortgage secured by the home has to be dealt with as well. Ask each lender for its own payoff figure, and ask how a line of credit is closed so that nothing can be drawn on it afterward. A $30,000 line in the example takes the money left down to $87,383.56.
Prepayment penalties and due-on-sale
Federal rules bar prepayment penalties on many home loans and cap them on the rest of the loans they cover. A due-on-sale clause matters when the loan isn’t being paid off.
Under Regulation Z, a covered mortgage can carry a prepayment penalty only if it is otherwise allowed by law, the APR can’t rise after closing, the loan is a qualified mortgage, and it isn’t a higher-priced loan. Even then:
| When you pay the loan off | Highest penalty | On a $250,000 balance |
|---|---|---|
| First two years | 2% of the balance prepaid | $5,000 |
| Third year | 1% of the balance prepaid | $2,500 |
| After three years | None | $0 |
The lender also has to offer an alternative loan without the penalty. These limits apply to transactions the rule covers, so an older loan or a line of credit may work differently. Read your promissory note, or ask the mortgage servicer, “Is there a charge for paying in full, and until what date?” Dull question, possible four-figure answer. Get the reply in writing if there is a charge.
If you are within weeks of an anniversary, the closing date could change the charge. Weigh that against the season, using the figures in the best time to sell a house.
What a due-on-sale clause does
A due-on-sale clause lets the lender demand the whole balance if the property is sold or transferred without its prior written consent. In an ordinary sale this is no obstacle, because the loan is paid in full at closing.
It matters when a buyer wants to take over your loan. Federal law lets lenders enforce the clause and encourages them to permit assumptions, so the answer depends on the lender and the loan. Be wary of any plan that leaves the loan in your name after the home belongs to someone else. You would still owe the debt and no longer control the property.
There are transfers that can’t trigger the clause on a home with fewer than five units. Examples in the statute include a transfer to a relative on the borrower’s death and one where the borrower’s spouse or children become owners. Those are family transfers. A sale to a buyer isn’t on that list.
If you owe more than the sale price
If the payoff is larger than what the sale brings in after costs, you either pay the difference at closing or ask the lender to approve a short sale. Forgiven debt can be taxable.
| Line | Example |
|---|---|
| Price | $300,000 |
| Selling costs (6%, example) | -$18,000 |
| Available for the loan | $282,000 |
| Payoff | $320,000 |
| Shortfall | $38,000 |
The first three lines deserve a check before the last one worries you. Get comparable home sales from a licensed agent and a written payoff figure. Online estimates are confident creatures, and your lender won’t accept one at closing. Then look at the options:
- Bring cash to closing. You pay the shortfall and the loan ends.
- Wait. Each regular payment lowers the remaining balance, though prices in your local market can move either way.
- Ask about a short sale. The lender agrees to a sale for less than it is owed. It has to approve it.
- Ask about other help. If you are struggling to pay, the servicer may have options that don’t involve selling.
Asking the mortgage servicer for help
Regulation X sets the process for mortgage servicers it covers. If a complete loss mitigation application arrives more than 37 days before a foreclosure sale, the servicer generally has 30 days to evaluate you for every option available and tell you its decision in writing. The rule doesn’t require any particular option to be offered. A HUD-approved housing counselor can help you prepare the application, and a call made early leaves the most choices open.
Tax on forgiven debt
Canceled debt is generally income for tax. There was an exclusion for debt on a main home. IRS Publication 4681 says it can’t be used for discharges completed, or agreements entered into, after December 31, 2025. Exclusions for bankruptcy and insolvency may still apply. Whether the loan is recourse or nonrecourse also changes the treatment. Speak to a tax professional before agreeing to a short sale, and ask an attorney in your state whether the lender could still pursue the balance.
Steps to sell
Get a payoff amount early, price the home so the sale covers the mortgage and the closing costs, and let the closing agent pay the lender. In order, the process runs like this:
- Find every mortgage on the property. First mortgage, second mortgage, line of credit.
- Request a payoff statement in writing. Give the servicer a likely date and ask for the daily interest.
- Check your note for a prepayment penalty. Note the date it ends.
- Estimate what you keep. Price, less costs, less every payoff.
- List, negotiate and accept an offer. Compare offers by the amount left for you.
- Give the closing agent your loan details. They will need an updated mortgage payoff for the day itself.
- Keep making payments until the loan is paid. A contract with a buyer doesn’t pause the bill, however finished it all feels.
- Check the final figures before you sign. Match the mortgage payoff on the closing papers to the servicer’s statement.
- Ask the servicer to confirm a zero balance. Ask about any escrow money and cancel automatic payments once that is confirmed.
Paying off the mortgage doesn’t change the tax on the sale, according to the IRS. Tax depends on the gain, which is the subject of our guide to capital gains tax on a home sale.
Can you sell a house with a reverse mortgage?
Yes, with its own rules. For a federally insured reverse mortgage (HECM) that isn’t yet due, federal regulation lets the borrower sell for at least the lesser of the loan balance and the appraised value. Once it is due and payable, the floor is an amount HUD sets, which can’t be more than 95% of the appraised value.
Can you sell a home if you are behind on mortgage payments?
You can sell, as long as the sale and the payoff can be completed in time. The payoff will include what is overdue. Call the servicer first, ask where the loan stands, and bring in a housing counselor or attorney if a foreclosure date has been set. This page is general information, as our disclaimer says.
Sources
- Regulation Z, 12 CFR 1026.36, eCFR (Office of the Federal Register). Accessed December 1, 2026.
- Regulation Z, 12 CFR 1026.43(g): prepayment penalties, eCFR (Office of the Federal Register). Accessed December 1, 2026.
- 12 U.S. Code 1701j-3: due-on-sale clauses, Legal Information Institute. Accessed December 1, 2026.
- Regulation X, 12 CFR 1024.41: loss mitigation procedures, eCFR (Office of the Federal Register). Accessed December 1, 2026.
- Publication 4681 (2025), Canceled Debts, Foreclosures, Repossessions, and Abandonments, Internal Revenue Service. Accessed December 1, 2026.
- FAQ: paying off the mortgage when you sell, Internal Revenue Service. Accessed December 1, 2026.
- 24 CFR 206.125: sale of a home with a HECM, eCFR (Office of the Federal Register). Accessed December 1, 2026.
- Understanding the costs of selling your home, Freddie Mac. Accessed December 1, 2026.
- Closing your home sale, Freddie Mac. Accessed December 1, 2026.