Moving Into a Former Rental for Two Years Only Partially Shields Sale Gains

After a 2008 law change, living in a former rental for two years no longer makes the entire sale gain eligible for the home-sale tax exclusion. The IRS taxes the portion tied to nonqualified use based on rental days compared with total ownership days. On a $400,000 gain with eight of ten years as rental use, only $80,000 would be excludable, leaving $320,000 taxable, and depreciation recapture can be taxed at up to 25%.
A 2008 amendment to the home-sale exclusion changed how former rentals are taxed. Under Section 121(b)(5), gain tied to periods after Dec. 31, 2008, when the property was not the owner's main home is considered nonqualified use. The taxable share is calculated by comparing those nonuse days with total ownership days.
Pre-2009 rental periods are excluded from that nonqualified-use calculation, though related depreciation can still create taxable gain. Also, time after the owner last occupied the home, if within the five-year window before sale, does not count as nonqualified use. This makes renting first and moving in later less favorable than the reverse.
This rule could affect landlords who convert rentals into primary residences before selling, especially single filers with large gains. It may reduce expected after-tax proceeds and complicate retirement or estate planning. Buyers and sellers might reassess how long to rent versus occupy a property, while tax professionals could see more demand for allocation and depreciation calculations. The broader housing market may feel only modest effects, since the provision targets a specific ownership pattern rather than all home sales.