
Across this series we have followed one building. A $15 million hotel, bought with eyes open to the after-tax layer most underwriting ignores. Cost segregation turned roughly $4 million of its basis into year-one deductions. Then the recapture post showed the bill that comes due at sale, and ended on a single sentence: a 1031 exchange can defer the whole thing. This is that post.
A 1031 exchange is the difference between paying tax on the way out and keeping that capital working in the next deal. For the hotel, that is the difference between a $2.5 million check to the IRS and a larger building generating a fresh round of depreciation. The mechanics matter, the deadlines are unforgiving, and “deferred” does not mean “forgiven.” Here is the whole picture.
What a 1031 exchange actually does
Section 1031 of the tax code lets you sell investment real estate and roll the proceeds into a “like-kind” replacement property without recognizing the gain at the time of sale. The tax is not erased. It is deferred, carried forward into the new property through a reduced basis. You defer both the depreciation recapture and the capital gains tax, provided you follow the rules precisely.
“Like-kind” is broad for real estate. Almost any investment or business real property exchanges for almost any other: the hotel can become an apartment complex, an industrial park, or raw land held for investment. What does not qualify is your primary residence, property held primarily for resale (a dealer’s inventory), and, since 2018, anything that is not real property.
The hotel exit, with and without the exchange
Recall where the hotel stands after a five-year hold. It was bought for $15 million, depreciated by roughly $5.19 million (the cost-seg buckets plus five years of straight-line on the building), and now sells for $18 million. That sale triggers two separate taxes: recapture on the depreciation taken, and capital gains on the $3 million of true appreciation.
| Exit tax component | Amount taxed | Rate | Tax |
|---|---|---|---|
| Section 1245 recapture (cost-seg buckets) | $4,080,000 | 37% | $1,509,600 |
| Section 1250 recapture (building) | $1,111,538 | 25% | $277,884 |
| Capital gain on appreciation | $3,000,000 | 23.8% | $714,000 |
| Total tax if sold outright | $2,501,484 |
Sell the hotel outright and roughly $2.5 million leaves the deal as tax. Exchange it instead, and that entire $2.5 million stays invested. That is not a rebate or a saving in the abstract; it is $2.5 million of buying power that would otherwise be gone, now available as equity in the next property.
Rolling up: the $15M hotel into a $25M asset
This is where the exchange earns its place in the series, because it does not just defer a bill. It restarts the engine. Trade the hotel for a $25 million replacement property and you have done two things at once: deferred $2.5 million of tax, and acquired roughly $7 million of new basis above what the hotel carried.
That new basis is fresh depreciable property. A cost segregation study on the step-up portion breaks out its own 1245 components, and with 100% bonus depreciation restored, those become year-one deductions all over again.
| The roll-up | Amount |
|---|---|
| Replacement property | $25,000,000 |
| Tax deferred by exchanging | $2,501,484 |
| New basis acquired above the old asset | $7,000,000 |
| Est. 1245 components on new basis (~27%) | $1,890,000 |
| Year-one bonus deduction on the new basis | $1,890,000 |
So the cycle from the start of this series repeats itself, one rung higher. The cost-seg upside built the deduction. Recapture was the bill. The 1031 defers the bill and converts it into equity in a bigger building, which generates its own cost-seg upside. Done well, an investor compounds basis up the chain of properties while the deferred tax simply rides along behind, never paid.
The rules that make or break it
The deferral is generous, which is why the IRS enforces the procedure strictly. Miss a deadline and the exchange collapses into a fully taxable sale. Three constraints matter most.
The 45-day identification window
From the day the hotel closes, you have 45 calendar days to identify potential replacement properties in writing. No extensions, no exceptions for weekends or holidays. Most investors identify under the “three-property rule” (up to three properties, any value) and line up candidates before the sale closes, not after.
The 180-day closing window
You must close on the replacement property within 180 days of the hotel’s sale, or by your tax return due date, whichever is earlier. The 45 days run concurrently inside the 180, so identification eats into the closing clock. This is why 1031s are planned at the front of a sale, never improvised at the end.
The qualified intermediary
You cannot touch the sale proceeds. If the money hits your account, the exchange is dead and the full gain is recognized. A qualified intermediary holds the funds between sale and purchase. Choosing a reputable, bonded intermediary is not a formality; their solvency is your deferral.
Two more traps worth naming. To defer the full bill you must buy equal or greater in value and reinvest all the equity; any cash you pull out, called “boot,” is taxed immediately. And the replacement debt must be equal or greater than the debt retired, or the difference is treated as boot as well.
Deferred is not forgiven, until it is
Every dollar deferred through a 1031 is still owed. The reduced basis on the replacement property carries the gain forward, so if you eventually sell for cash and stop exchanging, the deferred tax from every prior property comes due at once. Deferral is a loan from the government at zero interest, not a pardon.
There is one exit that does forgive it. If you hold the property until death, your heirs receive a stepped-up basis to fair market value. The deferred gain, including all the recapture accumulated across every exchange in the chain, is wiped out. This is the strategy investors call “swap till you drop”: keep exchanging up through your lifetime, never paying the deferred tax, and let the step-up at death erase it entirely. It turns a deferral strategy into a permanent one.
That is a planning decision that sits at the intersection of tax and estate law, and it is well beyond what any single article should settle for your situation. It is exactly the kind of question to raise with an estate attorney alongside your tax advisor.
Where this leaves the hotel, and the series
The thesis of this whole series has been that the after-tax outcome of a deal is decided at acquisition, not at filing. The 1031 exchange is the clearest proof. The investor who models the exit at purchase knows, before ever buying the hotel, that the recapture bill is deferrable and that the equity can roll up into the next property tax-free. That knowledge changes what they are willing to pay and how they structure the hold. The investor who discovers the $2.5 million bill the week of closing has no moves left.
If you are weighing an exchange against an outright sale, the math only works if it is run before the sale, not after. Our 1031 advisory work models exactly this: the deferred bill, the roll-up basis, and the cost-seg restart on the replacement. For a related structuring problem we have written about, see the 1031 partner buyout that everyone structures and nobody models.
Nothing here is tax or legal advice for your specific situation. Figures are simplified illustrations continuing an example used across this series, not a projection for any particular property, and depend on facts only you and your advisors have. Section 1031 rules, deadlines, and rates change; confirm current treatment with your tax advisor and, for the estate angle, your estate attorney.


