Defer the tax. Keep the equity working.

Enter the sale and the replacement to see your deferred gain, taxable boot, new basis, and the exact dates your 45-day and 180-day clocks run out.

Figures: IRC Section 1031; Treasury Reg. 1.1031(k)-1; Rev. Proc. 2000-37. Source: Internal Revenue Service (irs.gov).

Exchange estimator

Estimate only. Assumes a valid delayed exchange with a qualified intermediary: like-kind investment real property, 45-day identification and 180-day exchange periods. Boot (cash or debt relief) is taxable. Depreciation recapture carries to the replacement property. Not tax or legal advice.
45 daysidentification period
180 daysexchange period
$0 bootneeded for full deferral

Summary: A Section 1031 delayed exchange defers capital gains and depreciation recapture when investment or business real property is sold and the proceeds are reinvested in like-kind property through a qualified intermediary. Replacement property must be identified in writing within 45 calendar days of closing and acquired within 180 days. To defer all gain, the replacement must cost at least as much, all debt must be replaced, and no cash taken; any boot is taxable up to the realized gain. The deferred gain carries into the replacement property's basis.

How a 1031 exchange works

Section 1031 lets you defer capital gains tax (and depreciation recapture) when you sell investment or business real property and reinvest the proceeds in like-kind replacement property. Like-kind for real estate is broad: an apartment building for a strip mall, raw land for an office, a duplex for a Delaware Statutory Trust interest. What matters is that both properties are held for investment or business use; personal residences do not qualify.

Most exchanges are delayed exchanges using a qualified intermediary (QI): the QI holds the sale proceeds so you never touch the cash (touching it disqualifies the exchange), and you must identify replacement property within 45 days of closing and close on it within 180 days. Miss either deadline by a day and the whole gain becomes taxable. To defer all the gain, buy replacement property worth at least as much as what you sold and replace all the debt; any cash you keep or debt you shed is boot, taxed up to the amount of your gain.

The tax is deferred, not forgiven: your depreciation history and gain carry into the replacement property's basis. Sell the replacement for cash years later and the deferred gain (plus recapture) comes due. Hold until death and the heirs' step-up can erase it.

Worked example

Sell a rental for $500,000 with $30,000 of selling costs and an adjusted basis of $320,000: amount realized $470,000, realized gain $150,000. The $200,000 mortgage is paid off; you buy a $520,000 replacement with a new $200,000 mortgage and take no cash. Boot: $0 cash plus $0 debt relief = $0. Recognized gain: $0. Deferred gain: the full $150,000. New basis in the replacement: $320,000. Take $20,000 cash at closing instead and $20,000 of the gain becomes taxable now.

1031 exchange rules at a glance

Download the 1031 rules table (CSV).

RuleRequirement
Like-kindReal property for real property; both held for investment or business
Identification period45 calendar days from relinquished closing
Exchange period180 calendar days from relinquished closing (or tax return due date, if earlier)
Identification rules3-property rule, 200% rule, or 95% rule
Qualified intermediaryMust hold proceeds; cannot be you, your agent, or a related party
Full deferralBuy equal or greater value; replace all debt; take no cash
BootCash or net debt relief; taxable up to the realized gain

Guides

Related tools

Data current as of October 2026. Sources: IRC Section 1031, Treasury Reg. 1.1031(k)-1, Rev. Proc. 2000-37, Rev. Proc. 2008-16. This tool gives rough estimates for planning only and is not tax, legal, or financial advice.