Home Office Deduction Calculator · Guides

Does Claiming the Home Office Deduction Affect Capital Gains When You Sell Your Home?

Your home-sale exclusion survives the deduction. The only thing that follows you to closing is tax on depreciation you already wrote off, and there is a clean way around even that.

Published October 11, 2026

Does claiming the home office deduction affect capital gains when you sell your home? The worried version of this question keeps self-employed people from claiming a deduction they are entitled to, year after year. Here is the plain version: if your office sits inside your home, your home-sale exclusion does not shrink. You still get to exclude up to $250,000 of gain as a single filer ($500,000 married filing jointly), the same as if you had never claimed a dime. The tax code does not punish you for the deduction. It just asks for one thing back at the closing table: tax on the depreciation you already wrote off.

Run the actual numbers and the fear deflates fast. Say you claimed $10,000 of depreciation on the office portion over the years. When you sell, that $10,000 is classified as unrecaptured Section 1250 gain and taxed at a maximum of 25 percent. That is $2,500. It is real money, but compare it with what the deduction did for you: that same $10,000 came off your income in the years you claimed it, saving you tax at your ordinary rate each year, and you held onto the savings years before the bill arrived. Deferral is the whole game here, and the deferral is yours to keep.

And here is the detail that settles the question for a lot of people: the 25 percent only bites under the actual-expenses method. Use the simplified method, $5 per square foot capped at 300 square feet, and depreciation is treated as zero. No depreciation means no recapture and no sale-time bill. A home sold after years of simplified-method deductions looks, for tax purposes, exactly like a home with no office deduction at all. If a future home sale is what keeps you up at night, the simplified method is the clean exit.

The trap: "allowed or allowable"

If you used actual expenses, there is one more thing to know, and it is the most expensive misunderstanding in this whole area. The IRS recaptures depreciation you were entitled to claim, whether or not you actually claimed it. The phrase in the rules is "allowed or allowable." Skip the depreciation line on Form 8829 and you do not dodge the tax at sale; you just give up the yearly savings while the sale-time bill stays put. If you are on the actual-expenses method, claim the depreciation every year. There is no version of this where skipping it helps you.

So should you claim it, or skip it because you might sell?

Claim it. The math wins in almost every case, and here is the decision rule I would actually use. If you take the simplified method, there is no downside at sale time at all, so there is nothing to decide. If you take actual expenses, the recapture is capped and you kept the savings for years, so claim it and move on. The one setup I would think twice about is a detached structure, a converted garage or backyard studio that is not part of the same dwelling unit as your home. There, the gain allocated to the business portion can fall outside the exclusion entirely, which is a much bigger deal than recapture. That corner deserves its own guide, and I wrote one.

Frequently asked questions

Does claiming the home office deduction reduce my $250,000/$500,000 home-sale exclusion?

No, not if the office is inside the same dwelling unit as your living space. Under current IRS rules the sale is not split into separate residential and business transactions, so you keep the full exclusion on the gain. Only the depreciation you deducted gets separate tax treatment.

I used the simplified home office method. Do I owe anything extra when I sell?

No. The simplified method ($5 per square foot, up to 300 square feet) treats depreciation as zero, so there is nothing to recapture. A home sale under the simplified method looks exactly like a sale with no home office deduction at all.

What if I used actual expenses but never claimed depreciation?

You still owe recapture. The IRS rule covers depreciation that was "allowed or allowable," meaning depreciation you were entitled to claim counts whether or not you claimed it. Skipping the depreciation line costs you the yearly savings and leaves the sale-time tax in place.

What about a home office in a detached garage or backyard studio?

That is the one setup where the answer changes. A separate structure that is not part of the same dwelling unit can have its allocated gain fall outside the home-sale exclusion entirely, which is a bigger deal than depreciation recapture. Get advice before selling if this is your situation.

Should I skip the home office deduction if I plan to sell next year?

Almost certainly not. With the simplified method there is no sale-time cost at all. With actual expenses, the recapture is capped at 25% of the depreciation, and you kept the tax savings for every year you claimed it. The deferral alone makes claiming it the better move.

This guide is general information, not tax advice. Rules change and individual situations vary, so check the current IRS guidance or a tax professional before you file.

Figure out which method saves you more this year.

Use the Home Office Deduction Calculator