They Sold the Family Home for a $700,000 Gain. The IRS Only Ever Saw $200,000 of It

Photo of Michael Williams
By Michael Williams Published

Quick Read

  • Married couples selling their primary residence can exclude $500,000 of capital gains under Section 121, leaving only the excess taxable at long-term rates.

  • Both spouses must pass the 24-of-60-month use test, and the exclusion can only be claimed once every two years.

  • The $500,000 cap hasn't been inflation-adjusted since 1997, so every capital improvement receipt you keep directly reduces your taxable gain.

  • Are you ahead, or behind on retirement? SmartAsset's free tool can match you with a financial advisor in minutes to help you answer that today. Each advisor has been carefully vetted, and must act in your best interests. Don't waste another minute; learn more here.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.
They Sold the Family Home for a $700,000 Gain. The IRS Only Ever Saw $200,000 of It

© Mikolette / E+ via Getty Images

If you own a home you’ve lived in for a few years, the IRS is quietly offering you one of the biggest tax-free windfalls in the code. When a married couple sells the family house for a $700,000 gain, they can legally erase $500,000 of it before the IRS ever sees a dollar. Only $200,000 shows up as taxable. This is the Section 121 home sale exclusion, and it applies to your primary residence, not a rental, not a flip.

With the Case-Shiller National Home Price Index sitting at 335.1 in May 2026, near a 90.9 percentile rank against historical highs, gains this size are no longer a coastal fantasy. They are landing on kitchen tables across the country.

The Buried Rule in Plain English

When you sell your primary residence, Section 121 lets you exclude up to $250,000 of capital gain if you’re single and up to $500,000 if you’re married filing jointly. The gain is your sale price minus your cost basis (what you paid, plus qualifying improvements, minus selling costs). Everything under the cap is invisible to the IRS. Everything above it gets taxed at long-term capital gains rates, typically 0%, 15%, or 20% depending on your income.

So a married couple with a $700,000 gain reports the sale, subtracts the $500,000 exclusion, and lands at $200,000 of taxable long-term gain. That is the whole trick.

The Statute That Makes It Real

The authority is 26 U.S. Code §121, enacted by the Taxpayer Relief Act of 1997. IRS Publication 523 (Selling Your Home) walks through the mechanics. The $250,000 and $500,000 thresholds were set in 1997 and were never indexed for inflation, which is why they haven’t budged even as the CPI climbed to 332.568 in June 2026. That mismatch is exactly why more sellers each year bump into the cap.

Who Qualifies, and Who Doesn’t

To claim the full exclusion, you must pass two tests during the five-year period ending on the sale date:

  • Ownership test: You owned the home for at least 24 months.
  • Use test: You lived in it as your main home for at least 24 months (the months don’t have to be consecutive).

For the $500,000 married cap, either spouse can satisfy the ownership test, but both must meet the use test, and neither can have used the exclusion on another sale in the prior two years. Vacation homes, pure investment properties, and houses you’ve owned less than two years generally don’t qualify. Time the property spent as a rental after 2008 can also chip away at the exclusion under the “non-qualified use” rules.

How to Actually Use It

  1. Rebuild your basis. Start with your purchase price. Add closing costs you paid, plus every capital improvement: new roof, kitchen remodel, addition, HVAC replacement. Routine repairs don’t count. A higher basis means a smaller gain.
  2. Confirm the 2-of-5 clock. Pull your prior tax returns and utility records if needed. The months you lived there as your main home are what matter.
  3. Run the math before you list. If your projected gain is $520,000 and you’re married, waiting a few months to hit the 24-month use test can save five figures in tax.
  4. Report it on Form 8949 and Schedule D only if the gain exceeds the exclusion or you received a Form 1099-S. Otherwise, you generally don’t have to report the sale at all.
  5. Apply the exclusion, then tax the rest at long-term capital gains rates (0%/15%/20%), plus the 3.8% Net Investment Income Tax if your modified AGI crosses the threshold.

The Catch Most Sellers Miss

You can only claim the full Section 121 exclusion once every two years. Sell two homes inside a 24-month window and the second sale gets no exclusion, unless the move was forced by a job change of at least 50 miles, a health reason, or an unforeseen circumstance defined in the regulations, in which case you get a prorated exclusion.

The other trap: the $250,000/$500,000 caps are not inflation-adjusted. With 4.09 million annualized existing home sales as of June 2026 and prices still climbing, more sellers are punching through the ceiling every quarter. If your projected gain is closing in on the cap, keep every improvement receipt. Each qualifying dollar of basis is a dollar the IRS never touches.

Contact [email protected] for any questions or corrections.

Photo of Michael Williams
About the Author Michael Williams →

I am a long time investor and student of business, and believe finding good companies that can become great investments is the best game on earth. After 20 years of writing and researching the public markets it is clear that individuals have never had more tools and information to take control of their financial lives. From ETFs and $0 commissions to cryptos and prediction markets there has never been a greater democratization of access to investing. 

I write to help people understand the investments available to them so they can make the best choice for their portfolio, whether they're starting out or looking for income in retirement. 

Continue Reading

Top Gaining Stocks

COIN Vol: 17,252,695
FCX Vol: 23,650,383
MRNA Vol: 73,310,320
HCA Vol: 1,378,835
TSLA Vol: 45,984,471

Top Losing Stocks

CTRA Vol: 73,319,495
SRE Vol: 2,396,019
EIX Vol: 1,846,320
AEP Vol: 3,308,938
EQR Vol: 17,443,069