
Short answer
A 1031 exchange works like this: you sell an investment property, a qualified intermediary holds the sale money, you identify a replacement within 45 days, and you buy it within 180 days using all of that money. Because you never receive the cash and you end up with like-kind real estate, the capital gains tax and depreciation recapture are deferred instead of paid. The eight steps below follow one example sale from start to finish.
| Property sold | A rental duplex in Denver, owned 9 years |
|---|---|
| Sale price | $750,000 (net of $45,000 selling costs: $705,000) |
| Adjusted basis | $355,000 ($450,000 purchase less $95,000 depreciation) |
| Mortgage paid off at sale | $300,000 |
| Cash to the QI | $405,000 |
| Gain | $350,000 |
On this page
- 01Step 1: check that your property qualifies
- 02Step 2: hire a qualified intermediary before you close
- 03Step 3: sell the property
- 04Step 4: identify replacement property by day 45
- 05Step 5: work out how much to buy
- 06Step 6: close on the replacement by day 180
- 07Step 7: report it on Form 8824
- 08Step 8: understand the new basis
- 09What the exchange saved
- 10The downsides
- 11Frequently asked questions
- 12Sources
Step 1: check that your property qualifies
The duplex is a rental held for investment, so it qualifies. A home you live in or a house bought to flip would not. Both the property you sell and the one you buy must be U.S. real estate held for investment or business. See what property qualifies.
Step 2: hire a qualified intermediary before you close
The intermediary (QI) has to be in place before the sale closes. You sign an exchange agreement, and your sale contract is assigned to the QI so the closing proceeds go to the QI instead of you (Treas. Reg. §1.1031(k)-1(g)). Your own attorney or real estate agent cannot serve as your QI. See how to set up a 1031 exchange.
Step 3: sell the property
At closing, the title company pays off the $300,000 mortgage and the selling costs, and wires the remaining $405,000 to the QI's exchange account. The investor never has access to it. If the money came to the investor, even briefly, the exchange would fail.
Step 4: identify replacement property by day 45
The sale closes on March 2. Day 45 is April 16. By then the investor sends the QI a signed list of up to three properties: a $780,000 fourplex, a $790,000 retail condo and, as a backup, an interest in a Delaware statutory trust. See the 45-day rule.
Step 5: work out how much to buy
To defer all of the tax, the investor must:
- buy property costing at least the $705,000 net sale price,
- use all $405,000 held by the QI, and
- take on at least $300,000 of new debt, or add cash to cover any shortfall.
Any cash kept, or debt not replaced, is taxable "boot". See equal or greater value and the boot calculator.
Step 6: close on the replacement by day 180
The investor buys the $780,000 fourplex on August 10, well inside day 180 (August 29). The QI wires the $405,000, and a new $375,000 loan covers the rest. Because the investor bought more than they sold, used all the cash and took on more debt than they paid off, there is no boot. If the sale had closed late in the year, the investor's tax return due date could have come before day 180, which is solved by filing an extension. See the 1031 timeline.
Step 7: report it on Form 8824
With the tax return for the year of the sale, the investor files Form 8824, showing the properties, the dates and the deferred gain. See how to report a 1031 exchange.
Step 8: understand the new basis
The $350,000 of deferred gain carries into the fourplex. Its basis is about $430,000 ($780,000 cost less the $350,000 deferred gain), not $780,000. That means smaller depreciation deductions and, if the investor later sells for cash, a tax bill that includes the old gain. If the investor keeps exchanging and holds until death, heirs generally get a stepped-up basis. See what happens when you sell a 1031 property later.
What the exchange saved
| Tax on a regular sale (federal, illustrative) | Amount |
|---|---|
| Depreciation recapture: $95,000 at up to 25% | $23,750 |
| Capital gain: $255,000 at 15% | $38,250 |
| Net investment income tax, if it applies: 3.8% of $350,000 | $13,300 |
| Total deferred, before state tax | up to $75,300 |
Colorado would add state income tax on top. That money stays invested in the fourplex instead of going to tax. Rates depend on income; check your numbers with the 1031 exchange calculator.
The downsides
- The tax is deferred, not forgiven, unless you hold until death.
- The new property's lower basis means less depreciation.
- The 45-day and 180-day deadlines can push you into a weak purchase.
- You pay QI fees and cannot take cash out tax-free.
The full list of requirements is in 1031 exchange rules, and the law behind them is explained in Section 1031 in plain English.
Frequently asked questions
Can you give an example of a 1031 exchange?
An investor sells a rental for $750,000, the QI holds the $405,000 of cash left after the mortgage payoff, and the investor buys a $780,000 fourplex within 180 days using all of that cash plus a $375,000 loan. The $350,000 gain is deferred.
How much does a 1031 exchange intermediary cost?
A standard forward exchange usually costs in the hundreds to low thousands of dollars in QI fees. Reverse and improvement exchanges cost more. See the full cost breakdown on our 1031 exchange costs page.
Can an LLC do a 1031 exchange?
Yes. The LLC that sells must be the one that buys. A single-member LLC disregarded for tax is treated as its owner.
Do I have to reinvest the whole amount?
To defer all the tax, yes: reinvest all the net cash and replace the debt. You can keep some cash, but that part is taxable.
Sources
- 26 U.S.C. §1031 (the statute)
- Treas. Reg. §1.1031(k)-1 (deferred exchanges and qualified intermediaries)
- Instructions for Form 8824 (reporting the exchange)
- 26 U.S.C. §1014 (stepped-up basis at death)
This article is general information, not tax or legal advice. Talk to your CPA or tax attorney about your situation.












