Section 121 home sale exclusion after moving to memory care

My mother moved to a memory care facility in March 2024 after her dementia diagnosis made living alone unsafe. We sold her house in October 2024 for a significant gain. She owned it for 22 years and lived there continuously until the move, so the ownership test is easy. The residence test is what I'm worried about — she only lived there about 21 of the last 60 months before the sale because the memory care move happened mid-year. I've read something about a reduced exclusion for health-related moves but I don't understand how to calculate it or where on Form 8949 and Schedule D it goes. Her return is simple otherwise, just Social Security and the house. Does the section 121 home sale exclusion after moving to memory care work differently than a regular partial exclusion? Do I need Form 1099-S to report it, and what if we didn't get one?

29 comments

The good news first: the 24-month residence requirement has a specific exception for moves to a licensed care facility. Publication 523 covers this. If your mother became physically or mentally unable to care for herself, the rule treats time she lived in a licensed care facility as time she lived in the home — but only if she already used the home as her main residence for at least 12 months during the 5-year lookback. The 12-month floor matters. With 21 months of actual residence before the move, she clears the 12-month hurdle, and the care facility time can fill in the rest.

Maya G.

Author

That's the piece I was missing — the 12-month floor. She had 21 months of actual residence before the move so she's well past that. And the memory care facility is definitely licensed. Does the full exclusion apply then, or just a partial?

The care facility exception under section 121(d)(7) means she can count time in the licensed facility as residence time for purposes of the 24-out-of-60-month test. So if her actual home use plus the care facility time together reach 24 months within the 5-year window, she qualifies for the full exclusion, not a reduced one. The partial exclusion is only for cases where the special rule still doesn't get you to 24 months, or where the health move rule doesn't apply at all.

Maya G.

Author

So walk me through the math: she lived there through March 2024 — that's roughly 21 months of the last 60. The facility qualifies. The sale was October 2024, so she was in memory care about 7 months before sale. 21 + 7 = 28 months. That clears 24. Full exclusion?

Yes, that math works. 28 months total clears the 24-month threshold. As long as the facility is licensed and her condition meets the standard (unable to care for herself), the full exclusion should apply. Publication 523's eligibility test walks through each step if you want to verify.

I dealt with almost the same situation with my father two years ago — licensed memory care, sold the house several months after he moved. I uploaded the closing disclosure, his prior years' returns, and the facility admission paperwork to taxr.ai and Taxr pulled together a worksheet showing exactly which months counted toward the 24-month test, flagged that the facility had to be licensed under state law, and listed what records to keep in case the IRS asked. That documentation checklist was the most useful part. The underlying rule is in Publication 523 — the care facility exception is real and it covers exactly this scenario.

Maya G.

Author

Did Taxr flag anything about whether to report the sale at all if the full gain is excluded?

Form 1099-S is the trigger for mandatory reporting. If a 1099-S was issued, you report the sale on Form 8949 regardless of whether any gain is taxable. Under the current Form 8949 instructions, a home sold at a gain where the gain is fully excluded and no 1099-S was received does not need to go on Form 8949 at all — you can omit it. But if a 1099-S was issued, it goes in Part II (long-term, since she owned it 22 years) with box F checked, code H in column (f), and the excluded gain as a negative number in column (g) so the taxable amount nets to zero.

Maya G.

Author

We didn't receive a Form 1099-S from the title company. The title company said one might not have been required. So we may be able to omit the sale entirely?

Yes, if no 1099-S was issued and the full gain is excluded, you can omit the sale from Form 8949 and Schedule D. Keep all the records though — the closing statement, the facility admission date, proof of licensure — in case the IRS asks.

One thing to double-check: the exclusion is per taxpayer. If your mother is filing single, the exclusion limit applies to her individually. The 22-year ownership satisfies the ownership test easily. The key question is whether she used the home as her principal residence — not a vacation property or rental — for the required period. If any part of the home was rented out during the 5 years before sale, that changes the calculation.

Maya G.

Author

No rental, no other use. It was her only home for 22 years straight. She's filing single. So the single-filer exclusion limit applies and that's it.

The "unable to care for herself" standard in Publication 523 is worth reading carefully. It's not just any health reason — it covers physical or mental inability to care for yourself. Dementia and Alzheimer's are explicitly the kind of conditions that qualify. The IRS doesn't require a doctor's letter to file, but keeping one in the records is smart if you're ever questioned.

Schedule D is where the net result lands after Form 8949. If you do have to report (because a 1099-S arrived), the sale flows from Form 8949 Part II to Schedule D Part II. With the full gain excluded via code H, the Schedule D line just shows zero gain. I had a situation with a relative's property where I wasn't sure the exclusion was being applied correctly — I gave Taxr the draft Schedule D and the Form 8949 and it compared the numbers line by line and flagged that the excluded amount in column (g) wasn't matching the calculated gain. Caught a data-entry error before filing.

Maya G.

Author

Good reminder on the Schedule D flow. I'll make sure the column (g) entry matches the actual gain exactly.

The 5-year lookback runs back from the sale date, not the move date. So from October 2024 you count back to October 2019. Any residence use and qualifying care facility time within that October 2019 to October 2024 window counts. If she lived there continuously from before October 2019 through March 2024, she has well over 24 months of combined qualifying time.

Maya G.

Author

Yes, she was in the home from long before October 2019 right through March 2024. That's about 54 months of actual residence in the window, then 7 months of care facility time. Way over 24 months.

Something I want to flag: the exclusion only covers gain on the residence portion. If the property had any business or rental use at any point, those periods are treated separately and may generate taxable gain (or depreciation recapture) even if the residence gain is fully excluded. Since the poster said it was always purely a personal residence, this shouldn't apply — but worth stating clearly.

Does she need to file at all if Social Security and an excluded home sale are her only income? That depends on her total gross income after exclusion. The home sale gain drops to zero after the exclusion, so it doesn't add to gross income (assuming no 1099-S requiring reporting). Whether Social Security is taxable depends on her combined income. This is probably worth checking against the filing requirement thresholds in the Form 1040 instructions.

Maya G.

Author

She has some modest taxable Social Security after the combined-income calculation, so she will file. But it's good to know the excluded sale gain doesn't pump up her income.

To answer the original question about where to find this rule: Publication 523 at irs.gov has the full eligibility test laid out step by step. The care facility exception is one of the exceptions to the residence requirement in the eligibility test, not the "Does Your Home Qualify for a Partial Exclusion of Gain" section. And as others noted, if the combined qualifying months clear 24, it's the full exclusion, not a partial one.

When I was handling my aunt's estate, her house had been sold after she moved to assisted living and I wasn't sure whether the care facility time counted for the 24-month test. I gave Taxr the admission letter, the closing statement, and the prior-year returns and it drafted a summary of which months counted, confirmed the facility type mattered, and listed the specific records to retain if the IRS later questioned the exclusion. Helped me feel confident the return was supportable. The rule itself is in Publication 523 — the care facility exception is narrow but it fits dementia situations well.

Maya G.

Author

That documentation summary approach is exactly what I need. I'll pull together the admission date, the facility's state license, and the closing disclosure and keep them together.

Basis calculation matters too. The excluded gain is the sale price minus selling costs minus her adjusted basis in the home. Make sure the basis includes any capital improvements over 22 years — a new roof, an addition, HVAC replacement. Those additions increase basis and reduce the gain. Publication 551 covers basis of assets if you need the details.

Maya G.

Author

Good point. We have records of a kitchen renovation and a roof replacement. I'll add those to the basis calculation.

If the gain after all adjustments still exceeds the exclusion limit — which is unlikely given typical home values and a single filer's exclusion — the excess goes on Form 8949 Part II and Schedule D as a long-term capital gain. But from what you've described, the full exclusion covers it. Run the numbers before assuming though.

The holding period question is settled: 22 years of ownership, sold after holding more than 1 year, so any taxable gain would be long-term. That's Part II of Form 8949 and Part II of Schedule D. Long-term rates are generally lower than short-term rates, though the actual rate depends on taxable income — the Schedule D instructions have the tax rate worksheet.

If this return feels complicated because of the care facility timing questions, an enrolled agent or CPA who handles elder tax situations can verify the exclusion calculation and the basis figure. The stakes are real and the documentation requirements for the facility exception are specific. It's not a situation where a guess is worth the risk.

Maya G.

Author

Noted. I may bring in an EA just to review before filing. The numbers are large enough that I don't want to get the exclusion wrong.