As of 2026-11-03, the sale year is unknown, so this is the general federal rule. Conversion does not erase depreciation allowed or allowable. Gain from depreciation after May 6, 1997 cannot be excluded under section 121 and is unrecaptured section 1250 gain. Straight-line residential rental depreciation is generally not additional depreciation taxed as ordinary income.

If you owned and used the home as your main home for two of the five years before sale and meet the other eligibility tests, other gain may be excluded, but not the depreciation portion.

Because rental use came first, part of the remaining gain may be nonqualified-use gain and stay taxable. The IRS treats that earlier rental period as nonqualified use. Rental after the last principal-residence use, within five years before sale, is not nonqualified use. Confirm dates, depreciation allowed or allowable, filing status, and any rental space separate from the dwelling.

California’s treatment is not established by the federal publications here. Confirm current Franchise Tax Board rules for the sale year; do not assume the federal exclusion produces the same state result.

Primary sources

IRS Publication 523, Selling Your Home

Publication 544, Sales and Other Dispositions of Assets

Browse more tax answers →