
.png)
Not seeing your tax topic? Search for our database of articles.
Selling your home is one of the largest financial transactions most people make, and the tax treatment is more favorable than most people realize — but it's not entirely tax-free for everyone.
The primary tax benefit for home sellers is the home sale exclusion: if you've owned your home and used it as your primary residence for at least two of the five years before the sale, you can exclude up to $250,000 of gain from federal income tax ($500,000 if you're married filing jointly). The two-year ownership and use periods don't have to be consecutive, and you don't have to be living in the home at the time of the sale. If you've lived there for two years and qualify, and your gain is under the threshold, you owe nothing and don't even need to report the sale on your tax return.
Calculating your gain requires knowing your "adjusted basis" in the home — not just what you paid for it. Your basis starts with the purchase price, then increases by the cost of capital improvements (not repairs) you made over the years. Adding a room, finishing a basement, replacing the roof, or installing new windows all increase your basis, which reduces the taxable gain. Keeping records of home improvements throughout your ownership period is important exactly for this reason. Your basis is reduced by any depreciation you claimed if you ever used part of the home for business or rented it out.
If your gain exceeds the exclusion amount, the excess is taxed as a capital gain — long-term (at 0%, 15%, or 20% depending on your income) if you've owned the home for more than a year. High-income sellers may also owe the 3.8% Net Investment Income Tax on gains above the exclusion. If you don't meet the two-year ownership and use requirement — say, you're selling after only 14 months due to a job transfer — you may qualify for a partial exclusion proportional to how much of the two-year period you completed, particularly if you're moving for a job change, health reason, or other unforeseen circumstance.
If you've ever rented out your home or claimed a home office deduction, part of the gain may be taxable as depreciation recapture, which is taxed at ordinary income rates up to 25% — this portion isn't sheltered by the home sale exclusion. Real estate commissions and other selling costs reduce your realized amount and therefore your taxable gain. After a large home sale, particularly if you owe tax on some portion of the gain, consider making a quarterly estimated tax payment to avoid underpayment penalties rather than waiting until April.