Back in 1997, Congress allowed homeowners to sell a home and exclude as much as $500,000 in profit for a married couple, or $250,000 for a single filer, from federal tax. Those figures were never adjusted upward after that.
The IRS still applies those same limits, even though home values have risen sharply over the years.
At the same time, the median price of a newly built home increased from roughly $145,000 in 1997 to $393,300 more recently, according to Census Bureau and HUD data compiled by the St. Louis Fed. That is more than two and a half times higher.
In other words, the longer you have owned your house, the more likely you are to exceed a limit that has barely moved in decades. That is a policy issue, not a personal failure.
As a CPA since 1981, I can tell you there is good news: this is one of the easier tax bills to reduce, because much of the solution is paperwork you may already have. Here are six ways to keep more of your money.
1. Learn the rule, then calculate your own gain
To qualify for the exclusion, you generally must have owned the home and used it as your main residence for at least 24 months during the five years before the sale, according to the IRS.
You also generally cannot use the exclusion if you claimed it on another home sale within the prior two years.
Here is a simple example. Suppose a married couple bought a home years ago for $180,000 and sells it now for $760,000. That creates a $580,000 gain, which is $80,000 above the exclusion.
If they fall in the 15% long-term capital gains bracket, that extra $80,000 produces a $12,000 federal tax bill — enough to buy a decent used car, only to hand it over to the IRS.
Keep that $12,000 in mind. The next two steps can cut it down.
Also, if you receive a Form 1099-S at closing, you must report the sale even if the entire gain is tax-free.
2. Old receipts can save real money
Your gain is not simply the sale price minus what you paid. The IRS lets you add the cost of qualifying improvements to your basis — the home’s tax cost — as long as those improvements are still part of the property when you sell.
IRS Publication 523 says improvements are upgrades that add value, extend the life of the home or adapt it for new uses. Examples include a new roof, siding, storm windows, landscaping, a deck, a garage and a pool. Routine repairs and maintenance do not count.
Back to the couple above: if they can document $35,000 in improvements, the taxable gain drops from $80,000 to $45,000, and the tax falls to $6,750. That is $5,250 saved for a little time spent sorting paperwork.
If you no longer have the receipts, try checking old bank and credit card statements, asking contractors for copies and searching for permits with your city or county. Then use Worksheet 2 in Publication 523 to total everything.
3. Selling costs reduce the gain too
The IRS also allows you to subtract selling expenses. That can include real estate commissions, advertising, legal fees and certain loan charges that the seller pays but would normally be the buyer’s responsibility.
That can matter a lot in a slower housing market. Some sellers are paying to help reduce a buyer’s mortgage rate just to complete the sale, and those costs may count if the paperwork supports it.
Suppose our couple pays $38,000 in commissions and other selling expenses. Their taxable gain drops to $7,000, and the tax falls to $1,050.
That is a change from $12,000 to $1,050 on the same house and the same sale price. The only difference is knowing the rules.
Quick thought — many financial “gurus” became wealthy by selling advice, not by following it. I prefer to share what actually works, because I have lived it. Sign up for the free Money Talks Newsletter for money advice from someone who uses it himself. 10 seconds, no spam.
4. If you’re widowed, watch the two-year window
When a spouse dies, the surviving spouse’s exclusion generally drops to $250,000. But the IRS gives you a temporary exception.
You can still exclude up to $500,000 if you sell within two years of your spouse’s death, have not remarried, satisfy the ownership and residence requirements, and neither spouse used the exclusion on another home within the prior two years.
Sell at 23 months, and you may qualify for the full amount. Sell at 25 months, and the limit could be cut in half.
Grief does not follow IRS timing, but this rule does. If this applies to you, it is worth noting the date now, even if you are not close to listing the home.
5. If you moved early, you may still qualify for part of the break
Many people assume that leaving before two years means losing the exclusion entirely. That is not always true.
The IRS allows a partial exclusion if the sale was triggered by a change in workplace location, a health issue or an unexpected event.
A new job location at least 50 miles farther away than your former workplace can qualify. So can a doctor’s recommendation to move for health reasons, or a home that is destroyed or condemned.
The formula is straightforward: divide the number of qualifying months by 24, then multiply by $250,000, or $500,000 for a married couple if both qualify.
For example, a single filer who lived in the home for 12 months before a qualifying move could exclude up to $125,000 of gain. Worksheet 1 in Publication 523 explains the calculation.
6. Don’t ignore the second tax hit
Any gain you cannot exclude is added to your adjusted gross income, and that figure affects more than just capital gains tax.
Adjusted gross income is also a major factor in determining whether Social Security benefits become taxable — potentially up to 85%. The income thresholds involved are frozen too.
Medicare premium surcharges are generally based on tax information from two years earlier, according to Social Security. A large home sale is not considered a life-changing event that lets you request a lower premium.
Higher-income taxpayers may also owe the 3.8% net investment income tax once modified adjusted gross income exceeds $250,000 on a joint return or $200,000 for single filers, the IRS says. The upside is that the excluded portion of your gain does not count.
And if your taxable gain is small, some of it may fall into the 0% capital gains bracket. Here is how that 0% threshold works.
Bottom line
Congress could fix this with a short bill. Proposals such as the More Homes on the Market Act would raise the limits and index them for inflation, but they remain proposals unless lawmakers pass them.
Most people who sell a home they have owned for 20 years probably never run these numbers before closing. You can do it yourself at no cost. Publication 523 includes three worksheets that help determine your exclusion, your gain and whether any of it is taxable.
The IRS also offers free help through the Tax Counseling for the Elderly program, especially for people 60 and older, and through Volunteer Income Tax Assistance sites for eligible taxpayers. Services differ by location, so ask whether the volunteer can handle a home sale.
Where I would not do it alone: if you ever rented out the home or used part of it as a home office. Publication 523 says the exclusion does not cover depreciation you claimed, or could have claimed, after May 6, 1997, and that is where mistakes can become expensive.
For a sale this large, a second opinion is often worth it, and you can find a financial advisor here.
More from Digilifetrends
She Wants to Invest $400,000 in an Annuity to Avoid Market Swings. Using Pretax IRA Money Instead of After-Tax Savings Would Make Another $12,240 of Her Social Security Taxable
An advisor guides an older couple through critical financial and estate planning decisions, such as asset protection for long-term care.
4 min read · Published 2026-11-29Savvy Senior: Should you convert a traditional IRA to a Roth IRA?
Dear Savvy Senior,
3 min read · Published 2026-11-29