When you sell a home, the amount arriving in your bank account can be very different from the gain used for tax purposes.
Paying off the mortgage reduces the cash you receive. It does not, by itself, reduce your taxable gain. That distinction is worth understanding before you make plans for the proceeds.
Calculate the gain first
The starting point is generally the selling price, reduced by eligible selling expenses, minus your adjusted tax basis.
For a purchased home, basis generally begins with its cost and is adjusted for items such as qualifying capital improvements. Ordinary maintenance is not automatically an addition to basis.
Here is a simplified example: a home sells for $1,000,000, eligible selling expenses are $60,000, and adjusted basis is $600,000. The gain before any exclusion is $340,000. The remaining mortgage balance does not change that calculation.
Inherited or gifted homes can have different basis rules, so do not assume the original purchase price is always the correct starting point.
Check whether the exclusion applies
Eligible taxpayers may exclude up to $250,000 of gain from the sale of a main home, or up to $500,000 for qualifying married taxpayers filing jointly.
Generally, the ownership and residence requirements involve at least two years during the five years ending on the sale date. For the full joint exclusion, at least one spouse must meet the ownership requirement, both must meet the residence requirement, and the other eligibility rules must be satisfied.
The exclusion generally cannot be used again within two years of another excluded home sale. Some taxpayers qualify for a partial exclusion under specific exceptions.
These are exclusions of gain, not exclusions of the sale price or cash proceeds.
Flag rental use early
If the home was rented out or used for business, the calculation deserves additional attention. Certain rental periods can limit the exclusion, and gain attributable to depreciation allowed or allowable after May 6, 1997 generally cannot be excluded.
Moving back into a former rental does not automatically make every dollar of gain eligible.
Gather the documents before closing
Pull together the purchase closing statement, improvement records, expected selling costs, residence dates, and any rental depreciation schedules. If you receive Form 1099-S, the sale must be reported even if all the gain is excludable.
A pre-sale estimate gives you a better basis for deciding how much of the proceeds to spend, reinvest, or reserve.
WiseBeing Tax & Accounting can help review the tax implications of a planned home sale. Schedule a consultation before closing so the calculation can inform your decisions.

