Education
1031 Exchange Guide: How to Defer Capital Gains Legally

Section 1031 of the Internal Revenue Code allows real estate investors to defer federal capital gains taxes on qualifying property exchanges. Rather than paying taxes on a gain when you sell an investment property, you reinvest the proceeds into a replacement property of like kind, and the tax obligation moves with the new asset. Over decades of compounding deferrals, a well-executed 1031 exchange strategy can substantially increase the capital available for property accumulation. Here is how the rules actually work.
Core Requirements: The Rules That Govern Exchanges
The property being sold and the replacement property must both be held for investment or business use. Personal residences do not qualify — the primary residence exclusion under Section 121 is a separate provision and cannot be combined with a 1031 exchange. Raw land held for investment can generally be exchanged for improved income property, and vice versa. The key is that both properties must be used in a trade or business or held for investment.
The replacement property must be identified within 45 calendar days of the sale date, and the transaction must close within 180 days. The 45-day identification and 180-day closing deadlines are strict, though the IRS may grant deadline relief for federally declared disasters. The equity from the sold property must be fully deployed into the replacement property — any cash taken out, known as boot, triggers a taxable event on that portion of the gain. Similarly, if you assume debt on the replacement property that is less than the debt you paid off on the sold property, the difference is treated as boot received.
Like-Kind: What the IRS Actually Allows
Courts and the IRS have interpreted like-kind broadly within real estate, which gives investors meaningful flexibility. Improved land can be exchanged for raw land, a commercial building can be exchanged for a strip mall, and a residential rental can be exchanged for an industrial property. The definition of like-kind for real property is broad precisely because the IRS looks at the nature or character of the property, not its specific use or type.
Personal property — equipment, vehicles, furniture, fixtures — does not qualify under the current rules following the 2017 Tax Cuts and Jobs Act, which eliminated 1031 exchange treatment for personal property. If you are selling a property with significant personal property components, the gain attributable to those personal property items will be taxable. This is one reason investors prefer pure real estate assets when structuring exchange transactions.
Qualified Intermediaries and the Compliance Framework
You cannot handle the exchange proceeds yourself — the funds must pass through a qualified intermediary (QI) who holds the sale proceeds in escrow and is responsible for ensuring the transaction meets all compliance requirements. The QI's role is to facilitate the exchange, not to provide tax advice. Most title companies and real estate attorneys offer QI services or can refer you to a dedicated exchange company.
The 45-day identification window and 180-day closing window are strict deadlines, though the IRS may grant deadline relief for federally declared disasters. Failure to identify a replacement property within 45 days disqualifies the entire exchange — you will owe capital gains tax on the full gain from the sale. Many investors manage this risk by identifying multiple replacement properties within the 45-day window — the rules allow you to identify more than one property, as long as you ultimately close on one. This backstop strategy prevents a missed deadline from turning a legitimate deferral into an unexpected tax bill.
2026 Tax Considerations and Depreciation Recapture
Depreciation recapture rules still apply to 1031 exchanges. When you exchange a property where depreciation was taken — which reduces your tax basis but is not currently taxed — the recapture obligation carries forward to the replacement property. If you took $100,000 in depreciation deductions over years of ownership, depreciation on post-1986 real property generally creates unrecaptured Section 1250 gain taxed at a maximum 25% federal rate — not ordinary income — when the replacement property is eventually sold without the benefit of an exchange. This is not a reason to avoid 1031 exchanges — the deferral benefit almost always outweighs the eventual recapture — but it is a reason to track your accumulated depreciation carefully so there are no surprises at final sale.
State tax treatment of 1031 exchanges varies significantly. Some states fully conform to the federal rules, while others do not and will tax the gain in the year of the exchange. California generally conforms to qualifying real-property 1031 exchanges, with state modifications — and requires annual FTB Form 3840 reporting when California property is exchanged for out-of-state replacement property. Consult a tax professional experienced in real estate exchanges before executing any transaction, particularly one involving significant gain.
A Worked Example: A 1031 Exchange Sequence
Consider an investor who owns a rental property in Anchorage, Alaska, purchased 8 years ago for $300,000. The current market value is approximately $485,000. The adjusted cost basis — original purchase price minus depreciation taken — is approximately $216,000. The seller expects to net approximately $470,000 after selling expenses (5–6% of sale price).
Step 1: Identify the relinquished property sale as a 1031 candidate. The investor's tax basis is $216,000; the sale price is $470,000; the gain is $254,000. Of this, $84,000 represents prior depreciation recapture (taxed at 25% federal, totaling approximately $21,000) and $170,000 represents long-term capital gain (taxed at 15% federal for most investors, totaling $25,500). Plus a 3.8% Net Investment Income Tax (NIIT) on the long-term gain ($6,460) — which applies only if the taxpayer's income exceeds the statutory thresholds and the gain is net investment income. Total federal tax: approximately $52,960. For Alaska investors, no state income tax applies.
If the investor did a straight sale, they would receive approximately $417,000 net of federal taxes (after paying off any remaining mortgage and accounting for selling expenses). If the investor does a 1031 exchange, the full $470,000 is available for reinvestment, and the federal tax of approximately $52,960 is deferred until the replacement property is eventually sold outside of a 1031 exchange.
Step 2: Identify a replacement property within 45 days. The investor has 45 calendar days from the closing date of the relinquished property to identify up to three potential replacement properties (under the 200% identification rule, with fallback rules for larger identifications). The replacement property must be identified in writing to the qualified intermediary.
Step 3: Close on the replacement property within 180 days. The investor has 180 calendar days from the relinquished property closing to close on the replacement property. The replacement property must be of equal or greater value, and all net sale proceeds must be reinvested (or the un-reinvested portion is treated as "boot" and taxed accordingly).
Step 4: Execute the exchange through a qualified intermediary. The investor cannot touch the sale proceeds directly — they must be held by a qualified intermediary (QI) until reinvested. The investor's mortgage payoff, selling expenses, and QI fee are paid from the proceeds; the remainder is applied to the replacement property.
Step 5: Complete the exchange and file the appropriate tax forms. Form 8824 is filed with the investor's federal return for the year of the exchange. The deferred gain is tracked through the adjusted basis of the replacement property. Future depreciation on the replacement property resets based on the new purchase price (with adjustments for any remaining unrecognized gain).
Common 1031 Exchange Mistakes
Missing the 45-day identification deadline. The 45-day identification window is rigid. It starts on the closing date of the relinquished property and ends 45 calendar days later — even if the 45th day falls on a weekend or holiday. The investor must identify replacement properties in writing to the QI before the deadline, or the exchange fails.
Touching the sale proceeds. The IRS requires that the sale proceeds be held by a qualified intermediary during the exchange period. If the investor takes constructive receipt of the proceeds — even briefly, even by accident — the exchange is invalidated and the deferred gain becomes immediately taxable. This is the single most common 1031 mistake.
Failing to reinvest all net proceeds. If the investor identifies a replacement property that costs less than the relinquished property, the difference is treated as "boot" — taxable to the investor in the year of the exchange. The replacement property must be of equal or greater value, and all net sale proceeds (after selling expenses and mortgage payoff) must be reinvested.
Using the wrong qualified intermediary. The QI must be independent of the investor and the transaction. Using an attorney, accountant, or real estate agent who is also a party to the transaction disqualifies the exchange. The QI should be a bonded, independent firm with experience in 1031 exchanges.
1031 Exchange Decision Checklist
- Have you identified the property as a 1031 candidate and confirmed the holding period (more than one year for long-term capital gain treatment)?
- Have you engaged a qualified intermediary before the relinquished property closing?
- Have you identified at least one viable replacement property before the 45-day deadline?
- Is the replacement property of equal or greater value?
- Have you budgeted for selling expenses (5–8% of sale price), QI fee (typically $750–$2,500), and any additional mortgage costs on the replacement?
- Have you consulted with a tax advisor familiar with 1031 exchanges before initiating the transaction?
When 1031 Exchange Doesn't Apply
The 1031 exchange framework applies to investment or business property held for productive use in a trade or business. It does not apply to personal residences, including properties that have been used as personal residences at any point in the prior 5 years (special rules apply for partial exclusions). It does not apply to inventory or property held primarily for sale, such as developer lots or fix-and-flip inventory. It does not apply to partnership or LLC interests in some structures — exchanges of partnership interests are limited. Investors should match the framework to the actual property and ownership structure.


