A 1031 exchange on a mixed-use property works only for the business or investment portion of the building. The personal-residence side is carved out and handled as an ordinary sale, while the investment side can roll into a like-kind replacement to defer capital gains. That means every mixed-use property 1031 exchange begins with an allocation between the two portions, and the quality of that allocation drives the size of the deferral, the tax owed on the residential side, and the basis you carry into the replacement.
What Qualifies and What Doesn’t
Section 1031 applies to real property held for investment or productive use in a business. It does not apply to property used for personal purposes, including your home.1Internal Revenue Service. Publication 544 Sales and Other Dispositions of Assets When one deed covers both a residence and a business asset, the IRS treats them as functionally separate properties even though they share an address. A ground-floor retail space with the owner’s apartment upstairs is the classic case. A duplex where you live in one unit and rent the other works the same way, as does a house with a dedicated rental suite.
The IRS looks at actual use, not labels. A home office that serves as your primary place of business counts as the investment portion. A basement apartment rented to a tenant at fair market value counts. A guest bedroom used by relatives at the holidays does not. The question is whether a given space generates income or supports a trade, and whether you can document that use consistently.
Allocating Value Between the Two Portions
Before you list the property, divide both the sale price and your original cost basis between the personal and investment sides. That single allocation determines how much gain you can defer, how much residential gain you may owe tax on, and the basis that carries into your replacement property.
Square footage is the simplest method. If you own a 3,000-square-foot building and rent out 1,500 square feet, half the sale price and half the basis go to the investment side. Simple isn’t always accurate, though. A commercial storefront on a busy street is worth more per square foot than the apartment above it. When the spaces have meaningfully different values, a professional appraisal that assigns separate market values to each portion is the better approach. The Tax Court has indicated that allocations agreed on by parties with opposing financial interests in a purchase agreement will generally be respected unless clearly unrealistic.
Shared costs get split the same way. A new roof, a foundation repair, or a building-wide HVAC system benefits both portions, so those expenses are divided using the same ratio. The investment portion’s basis is then reduced by any depreciation you claimed, or could have claimed, during the years you owned the property.2Internal Revenue Service. Publication 551 – Basis of Assets That adjusted basis is compared to the allocated sale price to determine how much gain you’re deferring.
Combining Section 121 With the Exchange
The reason mixed-use owners bother with the split is that it unlocks two tax breaks on one sale. Section 121 lets you exclude up to $250,000 of gain from the sale of your principal residence, or $500,000 for married couples filing jointly, as long as you owned and lived in the home for at least two of the five years before the sale.3Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Revenue Procedure 2005-14 spells out how to layer that exclusion on top of a 1031 exchange for the investment portion of the same property.4Internal Revenue Service. Revenue Procedure 2005-14
The ordering matters. Apply Section 121 to the residential gain first. Any residential gain above the exclusion limit is taxed as capital gain. The business portion’s gain then gets deferred into the replacement property through the 1031 exchange. The IRS does not allow the same dollar of gain to benefit from both provisions, so the two portions have to stay cleanly separated in the math.
This is where allocation shows its weight. Under-allocate to the residence and you leave exclusion dollars on the table. Over-allocate and you shrink the investment portion, defer less, and expose more gain immediately. Converting personal space to business use shortly before sale, hoping to inflate the investment side, invites IRS scrutiny and will likely fail.
Boot and Why It’s Almost Guaranteed Here
“Boot” is anything of value you receive in the exchange that is not like-kind real property. In a mixed-use exchange, boot is nearly unavoidable because the personal-use portion cannot go into the exchange. Boot also arises from cash pocketed at closing, a reduction in mortgage debt, or personal property such as furniture or equipment included in the deal. Any gain is taxable to the extent you receive boot.5Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
Mortgage boot catches people off guard. If your old property had a $400,000 loan and the replacement has a $300,000 loan, the $100,000 of debt relief is treated as cash received. The statute is explicit: when another party assumes your liability, it counts as money received. You can offset mortgage boot by adding your own cash into the exchange, but that has to be planned before closing, not after. Losses on the investment portion, meanwhile, cannot be recognized in a partially like-kind exchange. The deferral runs in one direction.
Mechanically, the deferral works by carrying the old investment property’s basis into the replacement, reduced by any cash received and increased by any gain recognized.5Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The gain is not erased; it’s embedded in the replacement’s lower basis and comes due when you eventually sell without exchanging again. Any depreciation recapture on the business portion, deferred here, is taxed at a maximum federal rate of 25% when it does come due.6Internal Revenue Service. Topic No 409 Capital Gains and Losses
The 45- and 180-Day Deadlines
Two rigid deadlines govern every 1031 exchange, and missing either one makes the entire gain taxable immediately. You have 45 calendar days from the sale of your relinquished property to identify potential replacements, and 180 calendar days to close on one of them.5Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment There are no extensions, no hardship exceptions, no grace periods. If the 180th day falls after your tax return is due for the year of the sale, the return deadline becomes the effective cutoff unless you file an extension.
The identification itself must follow one of three rules:
- Three-property rule: identify up to three potential replacement properties regardless of value.
- 200% rule: if you identify more than three, their combined fair market value cannot exceed twice the value of the property you sold.
- 95% rule: if you exceed both limits above, you must actually acquire at least 95% of the value of the properties you identified.
Violating any of these is treated the same as identifying nothing, which collapses the exchange.7eCFR. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges The identification must be in writing and delivered to your qualified intermediary or another party in the exchange. Verbal identifications do not count.
For mixed-use owners, the identified replacement must itself be held for investment or business use. A property you plan to use as a personal vacation home does not qualify, even if you intend to rent it out occasionally.
You Have to Use a Qualified Intermediary
You cannot touch the sale proceeds at any point during the exchange. If exchange funds reach your bank account or you gain the ability to access them, the IRS treats you as having received the money and the deferral dies. Treasury Regulations require that the exchange run through a qualified intermediary, a third party who holds the funds between the sale of the old property and the purchase of the new one.7eCFR. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges
Not just anyone can serve. The regulations bar anyone who has acted as your employee, attorney, accountant, investment broker, or real estate agent within the two years before the exchange.7eCFR. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges These “disqualified persons” are considered your agents, and an agent holding your funds is the same as you holding them. Someone whose only prior involvement was helping with earlier 1031 exchanges, or a financial institution providing routine escrow or title services, is not automatically disqualified.
You should have no right to withdraw, borrow against, or pledge the funds during the exchange period. The QI industry is largely unregulated at the federal level, so confirm that your intermediary keeps exchange funds in a segregated or qualified escrow account rather than commingling them with operating funds. If a QI goes bankrupt with commingled funds, your recourse may be limited.
Safe Harbor When a Portion Is a Dwelling
The statute sets no hard minimum ownership period, but Revenue Procedure 2008-16 creates a safe harbor for dwelling units that removes most of the ambiguity. Follow it and the IRS will not challenge whether the property qualifies as held for investment.8Internal Revenue Service. Revenue Procedure 2008-16
For the relinquished property, the safe harbor looks at the two 12-month periods immediately before the exchange. In each period, the dwelling unit must have been rented at fair market rent for at least 14 days, and personal use cannot exceed the greater of 14 days or 10% of the days it was rented. The same requirements apply to the replacement property for the two 12-month periods after the exchange.
This matters most when a mixed-use owner is changing how a property is used. Stop living in the residential portion and rent it out for two years before selling, and you strengthen the argument that the whole building is investment property. Move into part of a replacement property right after closing and you risk the IRS arguing that the replacement was never truly held for investment. The safe harbor gives a clear target: rent for two full years after closing, keep personal use minimal, and document it.
How the Two Sides Get Reported
Because a mixed-use exchange is really two transactions, the return touches more forms than a straight sale.
- Form 8824, Like-Kind Exchanges, reports the 1031 portion, including the allocated fair market value of the investment side, its adjusted basis, and the gain deferred into the replacement.9Internal Revenue Service. About Form 8824 Like-Kind Exchanges
- Form 4797, Sales of Business Property, reports any gain or loss on the business portion that was not deferred, including depreciation recapture.10Internal Revenue Service. Instructions for Form 4797
- Schedule D reports capital gain on the personal-use portion after applying any Section 121 exclusion.
Behind those forms, keep documentation that can survive an audit: closing statements from both the sale and the purchase, the written identification letter, the qualified intermediary agreement, and the appraisal or square-footage calculations. Historical depreciation schedules for the business portion are especially important, because they set the adjusted basis and the amount of recapture. Retain everything for as long as you own the replacement property and at least three years after you file the return reporting its eventual sale. The deferred gain follows the replacement indefinitely, and the IRS can question the original exchange when it reviews the later disposition.