The exchange rules let you defer gain only to the extent you reinvest. Three conditions, taken together, produce full deferral:
- The replacement property's purchase price is equal to or greater than the net sale price of the relinquished property.
- All of the net equity from the sale goes into the replacement property.
- Debt on the replacement property is equal to or greater than the debt paid off on the sale, or the shortfall is made up with additional cash from outside the exchange.
Anything you receive that is not like-kind real property is called boot, and boot is taxable up to the amount of your realized gain. Boot does not kill the exchange; it simply reduces how much you defer.
Cash boot and mortgage boot
Take a sale at $2,000,000 with a $800,000 mortgage paid off at closing and, for simplicity, no closing costs. Net equity to the QI is $1,200,000.
| Replacement purchase | Result |
|---|---|
| $2,500,000, using all $1,200,000 of equity plus a $1,300,000 loan | Full deferral. Value is up, all equity reinvested, debt increased. |
| $2,000,000, using $1,000,000 of equity plus a $1,000,000 loan; QI returns $200,000 to you | $200,000 of cash boot, taxable. Debt was replaced, but equity was not. |
| $1,800,000, using all $1,200,000 of equity plus a $600,000 loan | $200,000 of mortgage boot, taxable. Debt relief of $800,000 was replaced by only $600,000 of new debt and no extra cash. |
| $1,800,000, using $1,200,000 of equity, a $400,000 loan, and $200,000 of your own cash | Still $200,000 of boot. Trading down in value always produces boot; adding cash offsets a debt shortfall only when total value is maintained. |
Netting works in one direction. New cash you bring to the purchase can offset debt relief. New debt cannot offset cash you take out. If you want to pull some equity out, your CPA can model whether a partial exchange or a refinance of the replacement property after the exchange is complete makes more sense.
Closing costs
Costs that are a normal part of selling or buying real estate, sometimes called exchange expenses, reduce the amount you must reinvest and do not create boot when paid from exchange funds: brokerage commissions, title insurance, escrow and recording fees, transfer taxes, attorney's fees for the transaction, and the QI's fee. Costs that relate to financing or to operating the property are treated differently; paying them from exchange funds is generally treated as a cash distribution to you. The common examples are loan origination fees, lender's title policies, appraisal fees required by the lender, prorated rent and security deposits, and property tax prorations. Have the closing agent separate these on the settlement statement, and plan to pay non-exchange items from outside funds.
What the deferred tax would have been
A sale without an exchange triggers up to four layers of tax on investment real estate:
- Depreciation recapture. Straight-line depreciation you have taken on a building is "unrecaptured section 1250 gain," taxed at a maximum federal rate of 25 percent. If a cost-segregation study reclassified components as section 1245 property, depreciation on those components is recaptured as ordinary income.
- Long-term capital gain on the appreciation above your original cost, at 15 or 20 percent federally depending on your income.
- Net investment income tax of 3.8 percent under section 1411 on the gain, for taxpayers above $200,000 of modified adjusted gross income ($250,000 married filing jointly).
- State income tax, from zero in some states to more than 13 percent in California.
In a partial exchange, boot is taxed in a specific order: first as unrecaptured section 1250 gain to the extent of prior depreciation, then as capital gain. Taking $200,000 of boot when you have $300,000 of accumulated depreciation means that $200,000 is taxed at the 25 percent rate, not the capital gains rate.
Carryover basis and excess basis
Your basis in the replacement property is your adjusted basis in the relinquished property, plus any additional cash and net new debt you put in, minus any boot you received, plus any gain you recognized. Using the first example above: an adjusted basis of $700,000 in the building you sold for $2,000,000, exchanged into a $2,500,000 property with no boot, gives a basis of $1,200,000 in the new property, not $2,500,000.
That $1,200,000 has two parts. The $700,000 carried over keeps the old property's depreciation schedule, so you continue depreciating it over the remaining years as if nothing happened. The $500,000 of "excess basis" from trading up is treated as newly acquired property and depreciated on a fresh schedule, 39 years for nonresidential property. Your CPA can elect instead to treat the whole replacement property as newly placed in service.
Step-up at death, and state taxes
Under section 1014, property included in your estate receives a basis equal to its fair market value at death. The deferred gain, the recapture, and the carryover basis all disappear; your heirs start fresh. This is what practitioners mean by "swap till you drop": a series of exchanges held until death can mean the gain is never taxed by anyone. Whether that fits your estate plan is a conversation for your attorney.
Nearly every state with an income tax follows section 1031 for state purposes. A few impose their own rules when you exchange out of the state: California, Oregon, Montana, and Massachusetts track the deferred gain and tax it when you eventually sell, even if the final sale is elsewhere. The reporting guide covers the filings involved.
This guide is educational and is not tax, legal, or investment advice. Your qualified intermediary, CPA, and attorney make the determinations for your exchange.
This article is educational and is not tax, legal or investment advice. Your qualified intermediary, CPA and attorney should confirm how any rule applies to you.