Two ways to start. A free fit call, or the Diagnostic in writing.
Client login786-952-6621

Selling a Home Used Partly for Business: How the Home Office Affects Your Exclusion

Written by Yarik Yarosh, CPA (US & Canada) September 5, 2026 · FL CPA license AC61704 · CPA Ontario

Selling a home that has been used partly for business creates a tax question that surprises many owners: does the home office disqualify part of the gain from the $250,000/$500,000 exclusion under IRC 121? The answer depends on two factors: where the office was located (inside the home vs. a separate structure) and whether depreciation was claimed. For offices within the home (a dedicated room or area), the IRS simplified the rules starting in 2003: the entire home, including the office portion, qualifies for the Section 121 exclusion, BUT depreciation allowed or allowable after May 6, 1997 must be recaptured as unrecaptured Section 1250 gain at a maximum 25% rate. For offices in a separate structure (a detached building), the business portion is treated as a different property and doesn’t qualify for the exclusion at all, meaning you must allocate the gain and pay capital gains tax on the business portion. The simplified home office deduction method ($5/sq ft, max 300 sq ft) claims zero depreciation, so choosing that method eliminates the recapture problem entirely.

✓Key takeaway

Home sale with business use, rules summary:

Office LocationIRC 121 ExclusionDepreciation Recapture
Within the home (room, area)Full gain eligible for exclusionMust recapture depreciation taken after 5/6/1997 at max 25%
Separate structure (detached building)Business portion doesn’t qualify for exclusionFull gain on business portion taxable (LTCG + depreciation recapture)

IRC 121 basic requirements:

RequirementRule
Ownership testOwned the home for at least 2 of the last 5 years
Use testUsed as principal residence for at least 2 of the last 5 years
Exclusion amount$250,000 (single), $500,000 (MFJ)
FrequencyGenerally once every 2 years

Depreciation recapture on home office (within the home):

ElementDetails
What’s recapturedDepreciation allowed or allowable after May 6, 1997
Tax rate on recaptureMaximum 25% (unrecaptured Section 1250 gain)
“Allowable” meansEven if you did NOT claim the depreciation, you must recapture it if you were entitled to it
Simplified method users$0 depreciation claimed = $0 recapture

How does a home sale work with a home office?

What are the two methods for calculating the home office deduction?

The simplified method allows $5 per square foot of your home used for business, up to 300 square feet, for a maximum deduction of $1,500. The regular method calculates actual expenses (mortgage interest or rent, property taxes, utilities, insurance, repairs, depreciation) based on the percentage of your home used exclusively and regularly for business. The regular method requires more recordkeeping but often produces a larger deduction, especially for larger office spaces or expensive homes. Under the regular method, the home office deduction cannot create a business loss, but excess deductions carry forward to the next year. Employees working from home cannot claim the home office deduction under current law (the deduction was suspended for employees by the TCJA through 2025), but self-employed individuals and independent contractors remain eligible.

What expenses qualify under the regular home office deduction method?

Direct expenses (used solely for the office, like painting the office room) are fully deductible. Indirect expenses (benefiting the entire home) are deductible based on the business-use percentage: mortgage interest or rent, property taxes, homeowner’s insurance, utilities, general repairs, and depreciation of the home. The business-use percentage is typically calculated as the square footage of the office divided by total home square footage. Unrelated expenses (like lawn care or kitchen remodeling) are not deductible. The home office deduction cannot create a business loss under the regular method; excess deductions carry forward to future years.

Related guides:

Can you claim a home office deduction if you also rent office space?

Yes, having a separate office doesn’t automatically disqualify your home office deduction as long as your home office meets the regular and exclusive use test under IRC 280A. The home office must be your principal place of business or a place where you regularly meet clients, even if you also maintain another workspace. Under the Soliman test from the Supreme Court decision, a home office qualifies as your principal place of business if you perform substantial administrative or management activities there and have no other fixed location for those activities. The simplified method allows a $5 per square foot deduction up to 300 square feet ($1,500 maximum), while the regular method requires tracking actual expenses and calculating the business-use percentage of your home.

Want this checked against your own situation?

Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.

Get the next cross-border guide by email

One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.

Cite this page

Yarik Yarosh, CPA. "Selling a Home Used Partly for Business: How the Home Office Affects Your Exclusion." Blue Cloud CPA, September 5, 2026. https://bluecloudcpa.com/guides/small-business-selling-home-used-for-business-tax-rules

This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.