!Taxes when house sale includes home office

When you’re self-employed and maintain a home office, you can save on income taxes by taking the home office tax deduction. However, having the home office can impact capital gains taxes if and when you sell your home at a profit.

Keep reading to learn more about how issues like the location of your office and what depreciation deductions you've taken in the past will impact the amount you potentially owe in capital gains tax.

In This Article

Tax Implications When the Office Is Within Your Home

If your home office was located within your home, you do not need to allocate the gain (profit) on the sale of the property between the business part of the property and the part used as a home. This means that your entire profit qualifies for the special home sale tax exclusion from capital gains tax.

Under this exclusion, a substantial amount of the profit you make on the sale of your home is not taxable: up to $250,000 of the profit for single taxpayers and $500,000 for married taxpayers filing jointly. You may qualify for the exclusion if you lived in your home for at least two out of five years before you sell it.

Example: Richard, a single taxpayer, lived in his home for 10 years and had a home office in a bedroom, amounting to 20% of the home. He sells the home for a $100,000 profit. Since the office was within the walls of his home, his entire profit qualifies for the $250,000 exclusion and Richard owes no tax on it.

Tax Implications When the Office Is Located on Your Property But In a Separate Structure

On the other hand, if your home office was not located inside your home—for example, it was in an unattached garage, cottage, or guest house—you must allocate your profit between the living and office portions of the home and pay capital gains taxes on the profits that you allocate to your office.

Example: Assume that Richard from the above example has his home office in an unattached garage, amounting to 20% of his total home. Since his home office was not within the walls of his home, he must allocate his $100,000 profit between the main home and office. He owes tax on the $20,000 of capital gains attributable to his office (20% x $100,000 = $20,000).

To avoid this tax hit, Richard could have moved the office from the garage to the house at least two years before the sale, at which point the garage would have qualified as part of the residence (and thus have been eligible for the $250,000 exclusion).

Accounting for Past Depreciation Deductions

Regardless of where your home office was located, you will have to pay a capital gains tax on the depreciation deductions you took after May 6, 1997 for the office. This is the annual deduction you are allowed for the yearly decline in value due to wear and tear on the portion of the building that contains your home office. These recaptured deductions are taxed at a 25% rate (unless your income tax bracket is lower than 25%).

Example: Carmen bought a $200,000 home 6 years ago and used one of her bedrooms as her home office. She sold her home this year for $300,000, realizing a $100,000 gain (profit). Her depreciation deductions for her home office for the last 6 years totaled $2,000. She must pay a tax of 25% of $2,000, or $500.

Having to pay a 25% tax on the depreciation deductions you took in the years before you sold your house is actually not a bad deal. This is probably no more—and is often less—tax than you would have to pay if you didn't take the deductions in the first place and instead paid tax on your additional taxable income at ordinary income tax rates.

For More Information

For complete details on tax issues with home offices, check out IRS Publication 587, Business Use of Your Home. Also see Avoiding Capital Gains Tax When Selling Your Home: Read the Fine Print. And if it looks like you'll owe money, also see Paying Capital Gains Taxes When You Sell Your Home.