Section 1031 of the Internal Revenue Code allows an investor to defer capital gains tax on the sale of investment property if the proceeds are reinvested in "like-kind" replacement property under specific rules. The premise is that an exchange is a continuation of the same investment — you are not cashing out, just repositioning — so there is no realized gain to tax. The deferred gain is tracked in your adjusted basis in the replacement property.
Here is how the deferral works mechanically: suppose you bought a rental property for $400,000 and it is now worth $700,000. Without a 1031 exchange, selling it would trigger capital gains tax on the $300,000 appreciation plus recapture tax on accumulated depreciation. With a 1031 exchange, you reinvest the full $700,000 into a new property, carry your $400,000 adjusted basis into the new property, and pay no tax at the time of sale. The tax is deferred, not forgiven — but with proper planning, it can be deferred indefinitely.
Despite the name, "like-kind" does not mean you must exchange one apartment building for another apartment building. The like-kind requirement for real property is extremely broad: any real property held for productive use in a trade or business or for investment qualifies, regardless of property type. You can exchange a single-family rental for a commercial office building, an industrial warehouse for a multifamily apartment complex, or bare land for a shopping center.
The only major restrictions are that the property must be held for investment or business use — not primarily for personal use or resale. Your primary residence does not qualify. Fix-and-flip properties held primarily for sale to customers (dealer property) do not qualify. Vacation homes that you primarily use personally may not qualify. But virtually any property you hold as a long-term investment — long-term rentals, commercial leases, NNN properties, farmland, ground leases — meets the like-kind standard.
Once you close on the sale of your relinquished property, two critical deadlines begin running simultaneously. First, you have exactly 45 calendar days to identify potential replacement properties in writing to a qualified intermediary. Second, you have exactly 180 calendar days from the sale of the relinquished property to close on the replacement property (or until the due date of your tax return for the year of sale, if earlier).
The 45-day identification window is tight — there are no extensions for weekends, holidays, or market conditions. You can identify up to three properties under the "three-property rule," or more properties if they meet the "200% rule" (total value does not exceed 200% of the relinquished property's value). The 180-day closing window is more manageable but still requires a qualified intermediary to hold the exchange proceeds — you cannot touch the money. Violating either deadline or taking constructive receipt of the funds disqualifies the exchange and triggers immediate taxation.
To achieve a fully tax-deferred exchange, you must reinvest all of the net proceeds and acquire a replacement property of equal or greater value. If you receive cash or other non-like-kind property (called "boot") from the exchange, the boot is taxable in the year of the exchange. Mortgage boot — relieving yourself of debt in the exchange — is treated as taxable unless you take on equal or greater debt in the replacement property.
Partial exchanges are common and still beneficial. If you sell a $1 million property and reinvest only $700,000, you have $300,000 in taxable boot. The gain is recognized proportionally up to the amount of boot received. Savvy investors plan partial exchanges when they want to access some capital while still deferring the majority of their gain. The key is that only the boot portion is taxed — the deferred gain attributable to the reinvested portion continues to be deferred in the new property.
The ultimate destination of a 1031 exchange strategy is the step-up in basis at death under IRC Section 1014. When a taxpayer dies holding appreciated property, the beneficiaries receive a new tax basis equal to fair market value as of the date of death. All accumulated deferred gains from 1031 exchanges, all depreciation recapture, and all other embedded tax liabilities are permanently wiped out.
This means an investor can acquire a $500,000 property, do multiple 1031 exchanges into $2 million and then $5 million properties, accumulate enormous deferred gains and recapture, and then leave the final property to their heirs with a $5 million basis — eliminating the entire deferred tax liability. The estate may owe estate taxes on the value, but the income tax on decades of capital gains simply disappears. When combined with a thoughtful estate plan, the 1031 exchange effectively converts a tax deferral into a permanent tax elimination.
Worked Example
The investor purchased the condo for $600,000 in 2019. After 6 years of cost segregation and standard depreciation, his adjusted basis has declined to $430,000. The property is now worth $1,100,000. Without a 1031 exchange, he would owe approximately $67,500 in depreciation recapture tax (25% on $170,000 in claimed depreciation) plus $127,500 in federal capital gains tax (20% on the $670,000 gain minus the recaptured amount) plus 3.8% net investment income tax — a total federal tax bill of roughly $222,000. By executing a 1031 exchange into a $1,200,000 multifamily property in Atlanta, he defers all $222,000 in tax, carries his $430,000 adjusted basis into the new property, and now controls a $1,200,000 asset with zero current-year tax cost.
The wall that prevents most rental losses from offsetting W-2 income — and the two main strategies to legally break through it.
Understand how the IRS lets you write off the cost of a rental building over time — and why that creates a powerful paper loss that can offset real income.
Learn how a cost segregation study reclassifies building components into 5-, 7-, and 15-year buckets to dramatically accelerate depreciation in the early years of ownership.