Quick Answer
You can still claim the full $250,000/$500,000 capital gains exclusion when selling a home with a home office, but you must pay depreciation recapture taxes on any depreciation claimed. For example, if you claimed $8,000 in depreciation, you'll owe about $2,000 in recapture taxes even if your $80,000 gain is otherwise excluded.
Best Answer
Robert Kim, Tax Return Analyst
Best for homeowners selling their primary residence after claiming home office deductions
Your capital gains exclusion remains fully available
Good news: using part of your primary residence as a home office doesn't reduce your $250,000 (single) or $500,000 (married filing jointly) capital gains exclusion. However, you'll still face depreciation recapture taxes on any depreciation you claimed through the actual expense method.
The key distinction is between the primary residence portion (eligible for exclusion) and the business use portion (subject to recapture). The IRS doesn't require you to allocate the exclusion based on square footage or reduce it proportionally.
Example: $150,000 gain with home office depreciation
Tom and Lisa (married) bought their home for $500,000 in 2020. Lisa used 250 sq ft of their 2,500 sq ft home (10%) as a home office and claimed actual expenses. They sold in 2026 for $650,000.
Depreciation claimed (6 years):
Sale calculation:
Tax treatment:
Requirements to qualify for the exclusion
You must still meet the standard Section 121 requirements:
Home office use doesn't affect these requirements as long as the home remained your primary residence.
Different rules for separate structures
If your home office was in a separate structure (like a detached garage or shed), different rules may apply. The IRS may treat this as a separate property, potentially disqualifying that portion from the exclusion entirely.
What you should do
Before selling, gather all Forms 8829 to calculate total depreciation claimed. If you used the simplified method ($5 per square foot), you have no depreciation recapture concerns. Consider timing the sale with lower-income years to minimize the impact of recapture taxes. Use our refund estimator to project your total tax liability from the sale.
Key takeaway: Your capital gains exclusion remains fully available when selling a home with a home office, but expect to pay 25% tax on any depreciation previously claimed.
*Sources: IRC Section 121, IRS Publication 523*
Key Takeaway: The full capital gains exclusion remains available, but you'll pay 25% tax on depreciation recapture even if your overall gain is excluded.
Capital gains exclusion availability by home office method and property status
| Situation | Exclusion Available | Depreciation Recapture | Complexity Level |
|---|---|---|---|
| Primary residence, simplified method | Full $250K/$500K | None | Simple |
| Primary residence, actual method | Full $250K/$500K | 25% on depreciation claimed | Moderate |
| Converted to rental, any method | Prorated by personal use years | 25% on all depreciation | Complex |
| Separate structure office | May be reduced | 25% on depreciation claimed | Complex |
More Perspectives
Michelle Woodard, Tax Policy Analyst
Best for those who used a home office, then moved and converted the property to rental before selling
Complex rules for converted rental property
If you moved out and rented your former primary residence after using it as a home office, the capital gains exclusion rules become more restrictive. You can only exclude gain attributable to periods of personal use, not rental use.
Example: 3 years personal use, 2 years rental
David used his home as primary residence with home office from 2019-2022, then moved and rented it out 2022-2024 before selling.
Exclusion allocation:
Depreciation issues:
Post-2008 rules are stricter
For properties converted to rental after 2008, you cannot exclude gain attributable to depreciation claimed during rental periods. This is separate from and in addition to home office depreciation recapture.
Key takeaway: Converting your former home office to rental property significantly complicates the exclusion calculation and may reduce the benefit substantially.
Key Takeaway: Converting to rental property after home office use creates complex allocation rules that may significantly reduce your available exclusion.
Robert Kim, Tax Return Analyst
Best for homeowners who used the simplified $5 per square foot method for their home office deduction
No depreciation recapture with simplified method
If you used the simplified method for your home office deduction (claiming $5 per square foot up to 300 sq ft annually), you have no depreciation recapture concerns. The simplified method doesn't allow depreciation deductions, so there's nothing to recapture upon sale.
Example: Clean home sale with simplified method
Maria used 200 sq ft as a home office for 4 years, claiming the simplified method:
Sale consequences:
Why this matters for your sale
Choosing the simplified method over actual expenses means:
Many homeowners find the simplified method provides the best balance of tax benefits and simplicity, especially if they plan to sell within a few years.
Retroactive method changes not allowed
You cannot change from actual expense method to simplified method retroactively to avoid recapture. The IRS requires consistency in the method used each year.
Key takeaway: Using the simplified home office method eliminates all depreciation recapture concerns, allowing you to claim the full capital gains exclusion without complications.
Key Takeaway: The simplified method creates no depreciation to recapture, making home sales much cleaner and simpler from a tax perspective.
Sources
- IRS Publication 523 — Selling Your Home
- IRC Section 121 — Exclusion of gain from sale of principal residence
Related Questions
Reviewed by Robert Kim, Tax Return Analyst on February 28, 2026
This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.