The $500,000 Home-Sale Exclusion Has Not Moved Since 1997. What It Does to a Couple Selling a $1.1 Million House They Bought for $300,000

Published December 5, 2026, 5:26am ET · 4 min read

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

A smiling older couple is packing moving boxes in a brightly lit room. The man, with gray hair and a light blue shirt, uses a tape dispenser on a large cardboard box while looking down. The woman, with blonde hair and a striped shirt, stands beside him, smiling and gesturing towards the box. Several other packed and open cardboard boxes are scattered around, along with a green plant and a large window in the background.
An older couple packs moving boxes, symbolizing the widespread trend of people, including retirees, considering a relocation for financial or lifestyle reasons. © LightFieldStudios / iStock via Getty Images

For a husband and wife in their mid-60s, filing jointly, who sell for $1.1 million the house they bought for $300,000, that’s an $800,000 gain. Federal law shelters $500,000[1] of it, and in the example below the remaining $300,000 costs $62,919 once Medicare surcharges are counted.

Under 26 U.S.C. § 121(b)(2)(A), joint filers can exclude up to $500,000[1] of gain on a principal residence. Under § 121(b)(1), a single filer can exclude $250,000[1]. Congress set those amounts in the Taxpayer Relief Act of 1997, and they are not indexed to inflation.

Three Tests Decide Whether the Full $500,000 Applies

Section 121(a) requires that the home was owned and used as a principal residence for periods adding up to 2 years or more during the 5-year period[1] ending on the sale date. Under § 121(b)(2)(A), the joint limit requires that either spouse meets the ownership test, both meet the use test, and neither is barred by § 121(b)(3). That paragraph blocks the exclusion if another sale within the prior 2-year period[1] already used it.

The exclusion applies to gain. Gain equals the sale price minus selling costs, less adjusted basis. Adjusted basis includes purchase costs and capital improvements. The example uses the purchase price as basis. That simplifying assumption overstates the gain for most long-time owners.

$300,000 of Taxable Gain Triggers Three Separate Federal Costs

Long-term gain stacks on top of ordinary taxable income. For 2026, joint filers pay 0% up to $98,900 of taxable income, 15% up to $613,700 and 20% above. The 3.8%[2] net investment income tax applies to the lesser of investment income or MAGI above $250,000. IRMAA uses income from a prior tax return[3] under a two-year lookback, so income from a 2026 sale sets the couple’s 2028 Part B and Part D premiums.

Assumptions: tax year 2026; married filing jointly; no state income tax is modeled because it varies; both spouses qualify under § 121; basis equal to the purchase price; no selling costs or improvements; pre-sale AGI of $122,200, all of it ordinary income; $32,200 standard deduction, with the age-65 add-ons ignored; MAGI equal to AGI; both spouses enrolled in Parts B and D; 2026 IRMAA tiers used for illustration because the 2028 tiers have not been published.

Step Amount
Gain (sale price minus basis) $800,000
Joint exclusion $500,000[1]
Taxable long-term gain $300,000
Ordinary taxable income before the sale $90,000
Gain taxed at 0% (fills to $98,900) $8,900
Tax on remaining $291,100 at 15% $43,665
MAGI with sale $422,200
NIIT (3.8% of $172,200 above $250,000) $6,543.60
IRMAA, tier over $410,000: Part B $446.30[3] plus Part D $83.30 monthly, two people, 12 months $12,710.40
Total federal cost tied to the sale $62,919

$12,200 of Documented Improvements Moves the Medicare Tier

MAGI of $422,200 sits $12,200 above the $410,000[3] boundary. On the 2026 table, the next tier down adds $324.60[3] for Part B and $60.40 for Part D per person each month. That comes to $9,240 for the couple, or $3,470.40 less. Each IRMAA tier is a cliff, so one dollar over the boundary triggers the full surcharge.

Every documented dollar of basis also cuts 15% capital gains tax and 3.8% NIIT in this example. IRS Publication 523 says to keep basis records until 3 years after the due date of the return for the year of the sale. This is one of several IRS rules that quietly drain six figures from retirement-era finances, and we mapped the rest in a free guide.

  • Improvement records: Roofs, additions and remodels raise basis. Receipts lost decades ago cannot be rebuilt after the return is filed.
  • Closing date: The closing date fixes the tax year, and that cannot be changed. An RMD in the same year, or a Roth conversion, lands in the same MAGI.
  • Selling costs: Commissions and qualifying closing costs reduce the amount realized.

A Surviving Spouse Has Two Years to Keep the $500,000

Section 121(b)(4) gives an unmarried surviving spouse the $500,000[1] limit if the sale occurs not later than 2 years after the date of death and the joint requirements were met immediately before the death. After that window the limit drops to $250,000[1], and the same gain leaves $550,000 taxable. As a single filer, the survivor faces a NIIT threshold of $200,000[2] under § 1411(b)(3), plus the single-filer IRMAA tiers. The two-year deadline and the basis file belong in a plan the widowed spouse can run.

What to Check in Your Own Case

  • Your purchase settlement statement, for acquisition costs that add to basis.
  • Receipts for capital improvements, totaled against any gain above the exclusion.
  • Form 1099-S after closing. If you receive one, Publication 523 says to report the sale on Form 8949 even if you have no taxable gain.
  • Both spouses’ ownership and residence dates over the five years before the planned closing.
  • Your projected MAGI for the sale year, compared with the IRMAA tier boundaries on your most recent Medicare premium notice.

Contact [email protected] for any questions or corrections.

Jake FitzGerald

Jake has been been working in financial media for almost 15 years. He focuses on all things personal finance for 24/7 Wall St. with high hopes to educate and entertain. Most recently, Jake spent 12 years working various roles at The Motley Fool. He started copy editing fool.com content, worked on premium and marketing campaigns, and helped launch The Ascent, a personal finance brand.

His work has been featured on platforms like MSN, Yahoo Finance, USA Today, and more. He's written about credit cards, social security, ETFs, savings accounts, and just about anything else you can imagine when thinking about money. Jake love to cook, play golf, and tell people he's never had a cavity. (It's true!)

All articles →

Sources

  1. 26 U.S.C. § 121 — Exclusion of gain from sale of principal residenceOffice of the Law Revision Counsel, U.S. House of Representatives
  2. 26 U.S.C. § 1411 — Imposition of taxOffice of the Law Revision Counsel, U.S. House of Representatives
  3. 2026 Medicare Parts A & B Premiums and DeductiblesCenters for Medicare & Medicaid Services