She Moves Into Assisted Living in 2027 and Rents Out the House. She Collects Rent Until 2030, Then Sells, and the First $250,000 of Gain Is Tax-Free

Moving into assisted living does not automatically hand the IRS your home's built-up gains, but the window to protect them closes faster than most families expect.

Published September 29, 2026, 1:41pm ET · 3 min read

Life After Work desk. Editor: David Beren.

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

Close-up shot of a person's hands wearing a white shirt, using a black fountain pen to sign a document on a white desk. To the left, a small, detailed model of a two-story house with a blue roof and light-colored walls is visible. The scene suggests a formal business transaction.
A person signs important documents next to a model home, symbolizing the financial planning involved in real estate transactions. This imagery reflects the careful considerations for homeowners preparing for future sales and potential tax exclusions. © guvendemir / E+ via Getty Images

A homeowner who moves into assisted living can rent out the home for years and still claim the federal capital gains exclusion when they sell. The exclusion requires two years of residence within the five years before sale, and that residence can be up to 3 years in the past. A single seller meeting this test excludes up to $250,000 of gain, even after years as a rental.

Of course, timing matters, as national home prices, as tracked by the Case-Shiller index, stood at 336.7 in June 2026, measured against January 2000, when the number was closer to 100. Far too many retired people have large gains built in, and existing-home sales fell to 3.98 million in August 2026, the lowest in a year. In a slow market, setting a closing date is harder.

How a Rental House Keeps Its Tax-Free Status

A homeowner who moves out in 2027, rents the house, and sells in 2030 qualifies if she lived there at least two years before moving out and closes within three years of that date. Rental years do not reduce the exclusion. Rental use after the last day of principal residence falls outside the rule that normally reduces the exclusion for nonresidential time.

Where the Tax Code Spells It Out

Under Internal Revenue Code §121(a), gain is excluded if the property was “owned and used by the taxpayer as the taxpayer’s principal residence for periods aggregating 2 years or more” during the 5-year period ending on the sale date. Section 121(b)(1) caps the exclusion at $250,000; married couples filing jointly can exclude up to $500,000. Section 121(b)(5)(C)(ii)(I) excludes from nonqualified use “any portion of the 5-year period described in subsection (a) which is after the last date that such property is used as the principal residence of the taxpayer.” The exclusion specifically applies to sales that took place after May 6, 1997.

Who Qualifies and Who Gets Shut Out

  • Sellers who owned and lived in the home for at least two of the five years before the sale.
  • Sellers who have not used the exclusion on another sale during the 2-year period before this one.
  • Married couples get the higher cap only if both spouses meet the use test and at least one meets the ownership test.

Sellers who leased before living get less. Time as a rental before residence, counted from January 1, 2009, counts as nonqualified use and reduces the exclusion proportionally. Sellers who close after three years lose the exclusion. Under §121(d)(7), a homeowner unable to care for herself needs only 1 of the 5 years of residence, and time in a licensed care facility counts as living in the home.

How the 2027 to 2030 Timeline Works

  1. Document the move-out date with facility records and the first lease.
  2. Confirm at least two years of residence before that date.
  3. Report rental income and expenses on Schedule E. Depreciation on the building starts once leased.
  4. Schedule closing before the third anniversary of move-out. An earlier listing is common in a soft market.
  5. Report the sale on Form 8949 and Schedule D, with depreciation reported separately.

Depreciation and Deadline Traps That Cost Sellers

Depreciation is the main exception. Section 121(d)(6) makes depreciation recapture taxable, so the exclusion never covers depreciation taken during rental years. That rule covers depreciation claimed, or that could have been claimed, so skipping the deduction does not avoid tax. This portion, called unrecaptured §1250 gain, is taxed at a maximum rate of 25%. Rent collected is taxed as ordinary income each year.

The deadline is the other trap. If move-out is early 2027 and closing shifts to late 2030, the five-year window no longer contains two full years of residence. The whole exclusion is lost, not part of it. A buyer’s financing delay or failed inspection can push a sale past the deadline. Existing-home sales fell from 4.19 million in May 2026 to 3.98 million in August, showing how easily a transaction can fall through.

Families planning this path usually track three items: the documented move-out date, the depreciation total built up on the rental, and a closing date well inside the three-year limit. The $250,000 cap remains fixed under the current statute. Any change would require new legislation.

Contact [email protected] for any questions or corrections.

David Beren

David Beren has been a Flywheel Publishing contributor since 2022. Writing for 24/7 Wall St. since 2023, David loves to write about topics of all shapes and sizes. As a technology expert, David focuses heavily on consumer electronics brands, automobiles, and general technology. He has previously written for LifeWire, formerly About.com. As a part-time freelance writer, David’s “day job” has been working on and leading social media for multiple Fortune 100 brands. David loves the flexibility of this field and its ability to reach customers exactly where they like to spend their time. Additionally, David previously published his own blog, TmoNews.com, which reached 3 million readers in its first year. In addition to freelance and social media work, David loves to spend time with his family and children and relive the glory days of video game consoles by playing any retro game console he can get his hands on.

All articles →