Let’s assume, for a moment, that a home has been in the family for thirty years, and that the wife moves into assisted living in year one, while the husband continues living there. When he eventually sells in year seven, the couple expects the standard $500,000 married-filing-jointly exclusion under IRC §121 to shelter most of the gain.
What many families discover too late is that the exclusion quietly dropped to $250,000, so any momentum for the assisted living exception closed, and the tax bill on a $620,000 gain reflects a planning error that a calendar and one conversation with a tax advisor would have prevented.
How the Use Test Works and Where It Breaks Down
The §121 exclusion requires each spouse to meet both an ownership test and a use test. The ownership test simply requires that the home be owned for at least two of the five years before the sale.
The use test requires that the home be used as a principal residence for at least two of the five years preceding the sale date. For the full $500,000 married-filing-jointly exclusion, both spouses must independently satisfy the use test.
When one spouse enters assisted living, they stop accumulating days of physical presence in the home. If the sale happens more than five years after the ill spouse stopped living there, that spouse has zero qualifying days during the relevant five-year lookback window, failing the use test entirely.
Now, the couple can only claim the $250,000 exclusion available to the spouse who still qualifies. On a $620,000 gain, that drop in exclusion produces approximately $94,000 in avoidable federal tax at the combined long-term capital gains and net investment income tax rate.
The Exception Congress Built for This Situation
There is a caveat, as IRC §121(d)(7) creates a specific carve-out for taxpayers who become physically or mentally incapable of self-care. Under this provision, time spent in a licensed care facility, including assisted living and nursing homes certified under applicable state law, counts as time spent using the home as a principal residence for purposes of the use test.
The critical requirement is that the ill spouse must have owned and used the property as their principal residence for at least one year during the five-year period immediately preceding the sale.
That one-year floor is the planning pivot point, if the home is sold while the ill spouse still has qualifying use time within the lookback window, §121(d)(7) preserves the full $500,000 exclusion. If the family waits until that window has closed entirely, the exception provides no relief, and the exclusion drops.
The Calendar Math That Determines Everything
Consider a couple where the wife entered assisted living in January 2021 after living in the home continuously before that date. If the home is sold before January 2026, the wife has at least one year of qualifying use during the five-year lookback period, and §121(d)(7) allows her assisted living time to count toward the use test, preserving the full $500,000 exclusion.
If the family waits until February 2026 or later, her last day of physical presence in the home falls outside the five-year window, the exception cannot be claimed, and the exclusion drops to $250,000. The one-month difference on a $620,000 gain is the difference between approximately $28,500 in federal tax and approximately $88,000 to $94,000, depending on the couple’s income and rate.
The care facility exception does not require an immediate sale, but it does require the sale to occur while the qualifying use period remains within the five-year lookback.
What Families Need to Do Right Now
Any family with a spouse currently in assisted living or a care facility should calculate the date on which that spouse’s last day of principal residence use falls out of the five-year lookback window.
That date is a hard deadline for the sale if the full $500,000 exclusion is to be preserved. Waiting for the right market conditions or delaying while the healthy spouse remains in the home can eliminate the exception entirely. The licensed facility must be certified under applicable state or local law to care for individuals in the taxpayer’s condition, so confirming that status in writing before the sale closes is also a necessary step.
Families relying on §121(d)(7) should document the medical incapacity, the facility’s licensing, and the ownership and use history with a tax professional before the transaction closes. Once the window passes, there is no retroactive remedy.