Yes. If you deducted or were entitled to deduct depreciation on a home office under the actual expense method, part of your gain can be taxable when you sell. The federal home sale exclusion generally cannot cover gain up to the amount of depreciation allowed or allowable after May 6, 1997. An office inside the house generally does not require a separate allocation between residential and business gain. A detached business space or a separate unit may require an allocation. IRS Publication 523, selling your home · Internal Revenue Code section 121
If you used the simplified home office method, allowable depreciation on the home for those years is deemed zero. Prior actual expense years still matter. Before estimating tax, gather your purchase and sale records, identify the home office method used each year, and locate any records of depreciation from other business or rental use of the property. IRS simplified method FAQs
Check whether the home sale exclusion applies
The federal exclusion can generally cover up to $250,000 of gain for an eligible individual or up to $500,000 for a married couple filing jointly who meet the applicable requirements. The usual tests ask whether you owned the home and used it as your main home for at least two years during the five years ending on the sale date. You also generally need to have gone at least two years since using the exclusion on another home sale. The ownership and use periods can be different if both fall within the required window. IRS Topic 701, sale of your home
For the full joint exclusion, either spouse can meet the ownership test, both must meet the use test, and both must satisfy the prior sale requirement. Special rules may apply after certain moves for work, health, or unforeseen circumstances, and the result can be a reduced maximum exclusion. Determine your available exclusion before applying it to the gain. Sales involving divorce, a deceased spouse, or certain periods of qualified official extended duty may require additional calculations. IRS Publication 523, eligibility and partial exclusion
An office occupying one room in your main house generally does not make the residence a separate business property for the home sale exclusion. The house can remain your principal residence during the period you work in that room. What changes the calculation is often the depreciation tied to the room. Check for additional complications if you rented out the whole home, lived in only one unit of a multiunit property, or conducted business in a detached structure. IRS Publication 523, business or rental use of home
Reconstruct home office depreciation by year
A homeowner using actual expenses generally starts the depreciation calculation with the lower of the home's adjusted basis or fair market value when business use began, excluding land, and applies the business use percentage. The applicable depreciation rules determine the amount over time. An earlier business percentage matters even if you later downsized the workspace, changed your calculation method, or returned the space to personal use. IRS Publication 587, depreciating your home · AE guide to calculating a home office deduction
Review each return for the home office worksheet, Form 8829 if applicable, supporting schedules, and notes about amounts limited by income. A single home office deduction shown on Schedule C can combine several costs. You need the depreciation component, with any relevant carryover reconciled to later years. If the annual limitation affected your deduction, verify what was allowed or allowable using the underlying records before treating a worksheet's tentative depreciation figure as the final answer. IRS Form 8829 instructions
Allowed or allowable means that skipping an available depreciation deduction generally does not preserve basis or make the related gain eligible for exclusion. Reconstruct an omitted or incomplete calculation from the facts for each year. Resolving an incorrect depreciation history can require more than changing the number on the sale return, especially if the same error carried across several returns. Distinguish building depreciation from depreciation on furniture, computers, or other business equipment that was separately tracked. IRS Publication 551, adjusted basis · IRS Publication 587, home and equipment depreciation
The simplified method removes home office depreciation for the years you use it. Suppose you claimed the simplified deduction for three years and actual expenses with allowable home depreciation of $2,000 for one year. The simplified years contribute zero home office depreciation. The actual expense year still contributes $2,000 to the sale analysis. If the property has a separate rental depreciation history, reconcile that history independently. IRS simplified method FAQs
Work through the gain and exclusion
Start with the sale price and subtract eligible selling expenses to calculate the amount realized. Determine the home's adjusted basis from purchase cost and other eligible adjustments. Qualifying capital improvements can increase basis. Depreciation generally decreases it. Compare the amount realized with the adjusted basis to determine the gain or loss. The amount still owed on a mortgage affects how much cash you receive from closing, while the gain calculation uses the property's sale and basis figures. IRS Publication 523, figuring gain or loss
For example, assume you sell for $575,000 with $25,000 in qualifying selling expenses. Your amount realized is $550,000. You originally paid $340,000 and later made $20,000 of qualifying improvements. Your depreciation adjustment is $8,000. Assuming no other changes, the adjusted basis is $352,000 and the gain is $198,000. If the office was inside the house, the home's remaining use was eligible, and you qualify for the full $250,000 exclusion, $190,000 may be excluded. The $8,000 attributable to depreciation after May 6, 1997 remains taxable. IRS Publication 523, gain and depreciation after May 6, 1997
These numbers illustrate how depreciation enters two parts of the calculation. It first reduces basis, raising total gain relative to an otherwise identical property. Section 121 then limits the amount of that gain eligible for exclusion. If the home's other gain is already larger than the available exclusion, the excess can also be taxable. If your calculation shows a loss, there is no gain to shelter. A loss on the personal residence portion is generally nondeductible. Internal Revenue Code section 121 · IRS Publication 523, gain or loss
For typical straight-line depreciation of real property held longer than a year, the taxable depreciation component may be treated as unrecaptured section 1250 gain. It is generally subject to a federal maximum rate of 25%, and the actual rate depends on the return. Certain depreciation can have different treatment under the recapture rules. Check the applicable Schedule D worksheet or other required reporting rather than multiplying every dollar of depreciation by 25%. State treatment can differ. IRS Topic 409, capital gains and losses · IRS Schedule D instructions
Compare the result when the exclusion is smaller than the gain
Consider an eligible single homeowner with a $290,000 gain after reducing basis for $10,000 in home office depreciation. Assume the office was inside the living area, the depreciation relates to periods after May 6, 1997, and the remaining gain is eligible for the usual exclusion. Set aside the $10,000 depreciation component. Of the other $280,000, the exclusion can shelter $250,000, leaving $30,000. The total recognized gain is $40,000, and the depreciation component may be taxed differently from the other $30,000. IRS Publication 523, gain calculation and exclusion
If the same homeowner qualifies only for a reduced exclusion, calculate that reduced amount before comparing it with the nondepreciation gain. A move for a qualifying reason may let you apply a fraction of the usual maximum. For example, a qualifying move after an ownership and use period of 12 months could produce a maximum of $125,000 for a single filer who meets the other applicable conditions. Verify the shortest relevant period used in the IRS worksheet. The depreciation component remains subject to its own rule. IRS Publication 523, partial exclusion
Two records can materially improve the estimate. The first is a schedule of improvements and sale costs. A qualifying addition, new roof, or major renovation can affect adjusted basis, while ordinary repair and maintenance costs generally do not increase basis on their own. The second is the depreciation schedule. In a mixed-use property, confirm whether a project benefited the residence, a separate business unit, or both. Preserve invoices and the allocation because they establish where an improvement belongs in the computation. IRS Publication 523, basis adjustments
The calculation also helps explain why closing proceeds can differ sharply from taxable gain. Paying off a large loan may leave you with relatively little cash at closing, even though years of appreciation produced a substantial gain. Likewise, receiving a large wire from the closing agent does not establish a large taxable gain if your initial basis and available exclusion are both substantial. Use the settlement figures to verify sale costs, then use the tax worksheets to estimate gain and the portion eligible for exclusion. IRS Topic 701
Determine whether the office is part of the living area
If your office occupied a spare room within the house, the IRS generally does not require you to divide the total gain between that room and the home's residential space. In the example above, the homeowner determines overall gain on the house and then accounts for the depreciation excluded from section 121 treatment. The allocation used for annual home office expenses still helps substantiate how much depreciation was allowed or allowable. IRS Publication 523, space within the living area
Now consider a detached workshop used only for business. If that space is separate from your living area and its use does not qualify for the exclusion, allocate the property's basis and amount realized between the separate business and residential portions. The IRS instructs taxpayers to use the same allocation method used to determine depreciation adjustments. A separate building can account for a meaningful share of property value, and records should support the particular allocation. IRS Publication 523, separate part of property · IRS Publication 544, sales and other dispositions
A separate apartment in a duplex can present a similar issue when you lived in one unit and used the other for business or rental. The portion potentially eligible for exclusion depends on your use history for each part. If you later lived in the separate unit, document when you moved and how long it served as your principal residence. Satisfying the residence use test for that portion can affect the exclusion analysis. The post-May 6, 1997 depreciation still requires its own treatment. IRS Publication 523, eligibility and separate parts
Review changes in use before and after the home office
Turning a home office back into a bedroom does not erase depreciation from the business years. Save the date business use ended and the records showing the property's later use. If you converted the entire home from a main residence to residential rental, review the ownership and use window, depreciation attributable to the rental, and the nonqualified use rules. The dates matter even if you sold a few years after moving out. IRS Publication 523, nonqualified use
Section 121 generally treats certain periods after 2008 in which the property was not used as a principal residence as nonqualified use, with exceptions. One exception can apply to the part of the five-year period after the last date you or your spouse used the property as your principal residence. Depreciation may still produce taxable gain during a period covered by an exception to nonqualified use. A property rented before you moved in can create a different result from a property rented after your last move out. Prepare a timeline for each use before running the exclusion calculation. Internal Revenue Code section 121 · IRS Publication 523, business or rental use
A rented home office presents a different fact pattern. A tenant who allocates rent to a business workspace generally is not depreciating the landlord's building through a home office claim. If the tenant later buys the property and uses it for business, begin a separate owner history and determine when any eligible building depreciation started. Review substantial improvements or business assets you own separately from the landlord's building. IRS Publication 587, rent and depreciation · AE guide to deducting a rented home office
Use the reporting forms for your sale
You generally report the main home sale if you received Form 1099-S, cannot exclude all gain, or choose to report otherwise excludable gain. A personal home sale report often uses Form 8949 and Schedule D. If you separately allocated gain or loss to a business portion, you may need Form 4797 for that portion. A residence with an internal home office and a property with a separate qualifying business space can therefore follow different reporting paths. Check the instructions for the year of sale. IRS Form 8949 instructions · IRS Form 4797 instructions
Bring a copy of the closing statement and any Form 1099-S to the tax return review. If there were several sellers, reconcile the proceeds reported for each person to the ownership and sale documents. The gross proceeds on a reporting form help verify the transaction, while the purchase and sale records support your basis, adjustments, and allowable selling costs. When a sale spans business and residential portions, retain a reconciliation linking both calculations back to the same closing statement. IRS Publication 523, reporting your home sale
Gather the records before closing
Create a worksheet with the property's purchase date, original cost, eligible improvements, dates it served as your main home, and any periods of business or rental use. For each home office year, record whether you used actual expenses or the simplified method, the business portion of the property, and the depreciation allowed or allowable. Preserve documentation for any changes in square footage or separate uses. An annual table is easier to check against tax returns than a total reconstructed from memory. Record the tax return or worksheet that supports each annual depreciation figure. IRS Publication 551, basis records · IRS Publication 587, recordkeeping
If a detached building or separate unit is involved, retain floor plans, relevant appraisals, records of improvements, and past depreciation schedules. Identify any unrelated assets included in the sale and how the sale agreement treats them. A separately sold piece of business equipment may have different basis and recapture rules from the house. Keep tax worksheets showing the final allocation with the closing documents so the amount assigned to the residential and business portions can be reproduced. IRS Publication 544, business property dispositions
For a sale you are planning, use the expected proceeds and selling expenses to estimate the gain, then run the depreciation and exclusion calculations separately. When you are choosing a home office method for an eligible current year, compare the estimated current deduction under each method and consider the effect of any additional building depreciation on your eventual sale. A switch to the simplified method can affect a new year, while your existing depreciation history continues to matter. Bring the calculation forward when your plans or the property's use change. IRS simplified method FAQs