Married couples can shield up to $500,000 in home-sale profit from taxes if they lived there two of the last five years

Attractive happy couple receive good news unfolding letter in the kitchen while have breakfast

Homeowners who bought during the pandemic-era price surge and now sell their primary residence could keep as much as $500,000 in profit out of the IRS’s reach, but only if they pass a strict residency clock. Federal law requires the home to have been owned and used as a principal residence for at least two of the five years before the sale date. For married couples filing jointly, that timing test is the single gate between a six-figure tax shield and a potentially large capital gains bill.

Why the two-year residency clock matters in 2026

The exclusion exists under the federal principal residence rule, which is current through June 5, 2026. Eligible single filers may exclude up to $250,000 of gain, while married couples filing jointly may exclude up to $500,000. Those dollar limits have not been adjusted for inflation since they were set, even as home values in many metro areas have climbed well past the point where sellers routinely clear six figures in profit.

The tension is sharpest for couples who move frequently. A separate IRS rule blocks anyone from claiming the exclusion if they already excluded gain from another home sale within the two years ending on the current sale date. In high-cost cities where job changes or family needs push owners to sell and rebuy on compressed timelines, that two-year look-back can collide with the two-year residency requirement. A couple that sells one home, buys another, and then sells again within three years of the first sale risks failing one or both tests, losing part or all of the exclusion on the second transaction.

Ownership, use, and look-back rules in Section 121

Three conditions must line up for a married couple to claim the full $500,000 exclusion. First, the property must have been owned for at least two of the five years before the sale. Second, it must have been used as the main home for the same aggregate period. Third, neither spouse can have excluded gain from a different home sale during the two-year look-back window. All three tests apply independently, and failing any one of them can reduce or eliminate the benefit.

Sellers who fall short of the full two-year mark are not always shut out entirely. The IRS allows partial exclusions when a sale is driven by a change in employment, a health condition, or unforeseen circumstances. The Schedule D instructions for Form 1040 describe how to calculate a reduced exclusion in those cases. But the burden falls on the taxpayer to document the qualifying event, and the IRS has published no aggregate data on how often partial exclusions are granted or denied.

Gaps in public data and unresolved questions

One significant blind spot is the absence of any published IRS statistics showing how many married couples actually claim the $500,000 exclusion each year, or how many attempt it and fail. Without that data, there is no way to measure how often the look-back rule or the residency test trips up sellers in practice. The IRS publishes guidance on eligibility, but not outcome-level records or audit summaries tied to Section 121 claims.

Rental-use complications add another layer of uncertainty. Homeowners who convert a former residence into a rental, or who rent out a portion of their home, face additional calculations that can shrink the tax-free gain. Depreciation taken while the property was used as a rental generally must be “recaptured” and taxed when the home is sold, even if the overall gain is otherwise excludable. The law also disallows the exclusion for periods of “nonqualified use,” such as years when the property was held as a rental before being converted to a primary home, which can force sellers to apportion their gain between qualifying and nonqualifying years.

Because these rules are layered on top of the basic ownership and use tests, they can be hard for nonprofessionals to model in advance. The IRS’s own guidance on tax issues when selling a residence outlines the broad framework but does not provide granular examples for every rental or mixed-use scenario. That leaves many owners relying on tax software or paid preparers to translate their actual occupancy history into a defensible exclusion amount.

Frequent movers and remote workers face especially murky territory. A homeowner who splits time between cities, or who moves for a job and then returns, must track where they actually lived, not just where they received mail or kept voter registration. The statute measures “use” as a principal residence, a fact-intensive standard that can hinge on day-to-day reality rather than paperwork. Yet there is no public record of how agents or auditors weigh those facts in close cases, nor how many taxpayers lose part of the exclusion because their living patterns were ambiguous.

With the law’s dollar caps fixed and home prices still elevated in many markets, more sellers are being pushed up against the limits of what Section 121 can shelter. For now, married couples who bought in the pandemic run-up and are eyeing a sale before mid-2026 must navigate the same two-out-of-five-year clock, the same look-back rule, and the same opaque enforcement landscape that has existed for years-only with more money on the line if they misread the rules.