Tax Obligations When You Sell a House Containing a Home Office

A home office can provide a great tax deduction, but could have a capital gains tax impact when you sell your home.

By , J.D. · USC Gould School of Law

A home office can provide a useful income tax deduction if you have a business, or are an employee and qualify for the deduction. However, taking this deduction could have a capital gains tax impact when you sell your home.

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 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 ten years and had a home office in a bedroom, amounting to 20% of the home. He sells the home for $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 Outside the Home

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, you should eliminate the office outside the walls of your home and move it inside your home for at least two years before you sell it.

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 six 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 six 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.

More Information

For complete details on tax issues with home offices, check out IRS Publication 587, Business Use of Your Home.

Talk to a Lawyer

Need a lawyer? Start here.

How it Works

  1. Briefly tell us about your case
  2. Provide your contact information
  3. Choose attorneys to contact you
Get Professional Help

Talk to a Real Estate attorney.

How It Works

  1. Briefly tell us about your case
  2. Provide your contact information
  3. Choose attorneys to contact you