Does depreciation on a rental or home office affect my exclusion?
Yes. Any gain up to the depreciation you took (or could have taken) on the home after May 6, 1997 can't be excluded. It's taxed at up to 25%. The rest of the gain can still be excluded, up to the cap.
Sources
I used a room as a home office. Do I lose the exclusion?
No. If the office is inside your home, you don't have to split the sale into a home part and a business part. You just can't exclude the gain equal to the depreciation you took (or could have taken) after the cutoff date, which is taxed. If you used the simplified method (a flat rate of $5 per square foot, up to 300 square feet), there was no depreciation in those years, so nothing to tax for them. Years you used actual expenses are different.
Sources
Authority, strongest first
- Regulation Treas. Reg. § 1.121-1
- Rev. Proc. Rev. Proc. 2013-13, § 4.06
- Publication IRS Publication 523 (2025), Selling Your Home
Reg. 1.121-1(e)(1) (no allocation within the same dwelling unit) and (e)(4) Examples 5 and 6. Pub. 523's example (from Reg. Example 5) is a law office inside a single dwelling unit. Rev. Proc. 2013-13, section 4.06: depreciation for a year in which the safe harbor is used is deemed to be zero; section 4.07 governs a later year using actual expenses. Depreciation allowed or allowable in actual-expense years still matters under 121(d)(6).
What if part of my property is a rental or business apart from my living space?
That part is handled separately. If you lived in one half of a duplex and rented the other, or lived above a store, you must split the sale between the home and the business part. The business part isn't eligible for the exclusion unless you also lived in it for the required time.
Sources
I moved out and rented the house before selling. Can I still exclude the gain?
Usually yes, as long as you lived there at least 2 of the last 5 years. The rental years after you moved out don't count against you. The depreciation you took for the rental, though, is taxed.
Sources
I rented the house for years before I moved in. How is that taxed?
A slice of the gain, matching the share of your ownership time when it wasn't your main home, can't be excluded. Only time on or after January 1, 2009 counts. The depreciation you took is carved out first and taxed separately.
Sources
Are there exceptions to the nonqualified use rule?
Yes, three. Time after you last lived in the home (in the 5-year window) doesn't count. Up to 10 years of qualified extended duty (military, Foreign Service, intelligence) doesn't count. And up to 2 years of temporary absence for a job change, health, or an unforeseen event doesn't count.
Sources
I turned my vacation home into my main home. What now?
You can use the exclusion once you've lived there 2 years, but the years it was a vacation home or rental on or after January 1, 2009 are nonqualified use, so part of the gain is taxed. The more years you lived there compared with how long you've owned it, the smaller the taxed share.
Sources
Can I do a like-kind exchange into a rental, then move in and use the exclusion?
Not right away. If you got the property in a 1031 exchange, you can't use the exclusion unless you wait 5 years from the date you acquired it. And a main home can't be the starting point of a 1031 exchange to begin with.
Sources
I rent a room or use Airbnb while I live there. Does that hurt me?
A room inside your home doesn't need to be split out, so the exclusion generally stays. The catch is depreciation: if you took it, or were allowed to take it, you'll owe tax on that amount at sale. 'Allowed or allowable' means skipping the deduction doesn't avoid it.
Sources