If you moved into a nursing home before you had lived in your house for two full years, you can still qualify for the capital gains exclusion when you sell. The Section 121 disability exception for a nursing home stay lets you count time in a licensed care facility as time living in the home, provided you actually used the home as your principal residence for at least one year during the five years before the sale.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence That keeps the door open to excluding up to $250,000 in gain, or $500,000 for married couples filing jointly, even though you weren’t physically in the house for the full two years.
Who Qualifies
Two things have to be true. You must be physically or mentally incapable of self-care, and you must have owned and lived in the home as your main residence for at least one full year during the five-year window before the sale.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
The IRS treats someone as incapable of self-care when they cannot dress, clean, or feed themselves due to a physical or mental condition, or when they need constant attention to prevent injury to themselves or others. The incapacity has to exist during the period you spend in the care facility. A past condition that resolved before the facility stay won’t satisfy the test.
The twelve months of actual residence don’t need to be consecutive, but they are a hard floor. Without a full year of physical presence in the home during the look-back period, facility time cannot substitute for the missing use, and the disability exception is simply not available.
Which Facilities Count
The statute requires that you reside in a facility licensed by a state or political subdivision to care for someone in your condition.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Nursing homes are the obvious case. Assisted living centers, memory care units, and other residential care facilities can also qualify, as long as they hold the appropriate state license for the specific condition requiring care.
In-home nursing care does not qualify, no matter how extensive. The exception is written for people who had to leave the house. If you’re still living at home, even with round-the-clock skilled nursing, you’re accumulating use-test time the normal way. Independent living and standard retirement communities generally fall outside the rule unless they carry a state license authorizing medical or personal care for residents with your condition. Before you rely on the exception, confirm the licensure through your state health department or the facility’s administrator, and get it in writing.
How Facility Time Counts Toward the Two-Year Use Test
Once you clear the twelve-month threshold, the math is simple. Every day you spend in a qualifying licensed facility while you still own the home counts as a day of residence in the home for Section 121 purposes.2Internal Revenue Service. Publication 523, Selling Your Home The five-year look-back period is unchanged; only the composition of your use time shifts.
Take a homeowner who lives in her house for fourteen months, moves into a licensed nursing home for twenty months, and then sells. She has fourteen months of actual use, which exceeds the twelve-month floor. Her twenty months of facility time count as home use. That gives her thirty-four months of qualifying use inside the five-year window, well above the twenty-four months required, and she can claim the full exclusion.
Someone who lived in the home for only eleven months before entering a facility falls short of the twelve-month floor. Facility time cannot bridge the gap, so the disability exception is unavailable. A partial exclusion may still be possible under separate rules discussed below.
The Ownership Test Still Applies Separately
The disability exception modifies only the use test. The standard two-year ownership requirement is a separate condition, and it isn’t touched. This rarely matters because you keep owning the home while you live in a care facility, so the ownership clock keeps running. But someone who bought a house, lived there a year, moved into a nursing home, and then sold fourteen months after purchase would satisfy the use test through the exception and still fail the ownership test.
Married Couples
To claim the full $500,000 joint exclusion, each spouse must independently meet the use requirement, while only one spouse needs to meet the ownership requirement.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence When one spouse enters a facility, the disability exception can carry that spouse’s use test. The spouse who stays in the house still has to meet the two-year use requirement on their own.
In most cases this works out. If one spouse moves into a nursing home after eighteen months of shared occupancy and the other stays in the house, the stay-at-home spouse keeps accumulating use time normally. The spouse in the facility already has eighteen months of actual use and can count facility time toward the rest. Both meet the use test, and the couple qualifies for the $500,000 exclusion.
The problem case is when both spouses move into a facility early. Each spouse independently needs twelve months of actual use before facility time starts counting for them. If both spouses lived in the home for only ten months before entering care, neither one qualifies for the exception.
Surviving Spouses
A surviving spouse who hasn’t remarried at the time of sale can count the deceased spouse’s ownership and use time toward the Section 121 requirements, including facility time the deceased spouse accumulated under the disability exception.2Internal Revenue Service. Publication 523, Selling Your Home If the deceased spouse met the twelve-month floor and then lived in a nursing home, that facility time carries over into the surviving spouse’s eligibility calculation.
A stepped-up basis in the deceased spouse’s share of the home also applies, set to fair market value on the date of death.2Internal Revenue Service. Publication 523, Selling Your Home The step-up and the disability exception work independently: the step-up shrinks the amount of gain in the first place, and the exception makes sure the surviving spouse still meets the use requirement. Together they often eliminate the tax hit entirely when the family home is sold after one spouse’s illness.
Renting the Home While You’re in the Facility
Homeowners sometimes rent out the house to help pay for care. Time you spend in a licensed care facility under the disability exception is not classified as nonqualified use, so simply moving into the facility without renting the property doesn’t create a nonqualified-use problem.2Internal Revenue Service. Publication 523, Selling Your Home
Renting is a different story. Nonqualified use is any period after 2008 when neither you nor your spouse used the property as a main home, and gain attributable to nonqualified use cannot be excluded. Renting the property out while you’re in the facility means the home is functioning as rental property, and you would also need to claim depreciation on the home during the rental period. Depreciation claimed on the property is never excludable under Section 121, whether or not you otherwise qualify for the full exclusion. If you’re weighing whether to rent, talk to a tax professional about how the disability exception, nonqualified-use allocation, and depreciation recapture interact before you list the house.
If You Didn’t Reach Twelve Months
Taxpayers who can’t hit the twelve-month floor may still qualify for a partial exclusion under Section 121(c) when the sale is primarily due to a health-related move. You qualify if you moved to get diagnosis or treatment for a disease, illness, or injury affecting yourself or a family member, or if a doctor recommended a change of residence for health reasons.2Internal Revenue Service. Publication 523, Selling Your Home
The partial exclusion is prorated by how much of the two-year requirement you actually met. Take the shortest of your actual residence, your ownership, or the time since you last used Section 121 on a different home. Divide that by 730 days (or 24 months). Multiply the fraction by $250,000. That’s your reduced exclusion limit. Married couples filing jointly run the calculation for each spouse and add the results.
A single homeowner who lived in the house for eight months before a health-related move to a care facility would divide 8 by 24, giving one-third. One-third of $250,000 is roughly $83,333 in excludable gain. Not the full exclusion, but far better than paying tax on the entire profit.
Documentation to Keep
The IRS won’t take your word for it. Build a paper trail covering each element of the claim:
- A signed letter from your doctor confirming you are physically or mentally incapable of self-care, naming the condition and the dates during which you required care in a facility. This is the single most important document.
- A copy of the facility’s state license, or a letter from the administrator confirming the facility is licensed to care for people with your condition. Request it explicitly rather than assuming it exists.
- Admission agreements, monthly invoices, and discharge paperwork showing the exact dates of your stay.
- Utility bills, bank statements at the home address, voter registration, or similar records showing that you actually lived in the home for the required twelve months before entering the facility.
Keep the file for at least three years after you file the return that reports the sale.3Internal Revenue Service. How Long Should I Keep Records
Reporting the Sale
Whether you have to report the sale depends on two things: whether the closing agent issued you a Form 1099-S, and whether your gain exceeds the exclusion. If you didn’t get a 1099-S and your entire gain is excludable, you generally don’t need to report the sale.4Internal Revenue Service. Topic No. 701, Sale of Your Home Most closing agents issue one, so most sellers will report.
When you do report, the sale goes on Form 8949 and Schedule D, with a code identifying it as a Section 121 exclusion and the excluded gain entered as a negative adjustment so it doesn’t show up as taxable income.5Internal Revenue Service. Instructions for Form 8949 If the gain exceeds $250,000 (or $500,000 on a joint return), only the excess is taxed, at long-term capital gains rates.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses Most homeowners using the disability exception don’t have gains that large, but if you’ve owned the home for decades or sit in a high-appreciation market, run the numbers before closing.