Savvy Nickel LogoSavvy Nickel
Ctrl+K

What Is a 1031 Exchange and How Do Real Estate Investors Avoid Capital Gains?

A 1031 exchange lets real estate investors defer capital gains taxes indefinitely by rolling proceeds from one property into another. Here are the rules, the timeline, the pitfalls, and when it actually makes sense.

BY SAVVY NICKEL TEAM ON APRIL 14, 2026
Share:Email
What Is a 1031 Exchange and How Do Real Estate Investors Avoid Capital Gains?

Real estate investors have a significant tax advantage that stock investors do not: the ability to sell a property and defer all capital gains taxes by rolling the proceeds into a new property. This is a 1031 exchange, named after Section 1031 of the Internal Revenue Code.

For long-term real estate investors, understanding this rule can mean the difference between a 20-30% tax bill at sale and no tax at all, potentially indefinitely. Used repeatedly over an investing career, 1031 exchanges allow investors to compound returns on capital that the IRS would otherwise claim the moment a property is sold.

What Is a 1031 Exchange?

A 1031 exchange (also called a like-kind exchange) allows a real estate investor to sell an investment property and defer capital gains taxes by reinvesting the proceeds into a "like-kind" replacement property of equal or greater value within specified timeframes.

"Like-kind" is broader than most investors initially assume. In the real estate context, virtually any investment real estate qualifies: single-family rentals, apartment buildings, commercial properties, raw land, industrial warehouses, and retail spaces can all be exchanged for one another. A duplex can be exchanged for an office building. A raw land parcel can be exchanged for an apartment complex.

What 1031 exchanges cannot be used for:

  • Primary residences (your home does not qualify)
  • Vacation homes used primarily for personal use
  • Property held primarily for sale rather than investment (fix-and-flip inventory)
  • Stocks, bonds, or other personal property (since 2018, the exchange is limited to real property only)

Why It Matters: The Tax Impact Without a 1031

Without a 1031 exchange, selling an investment property triggers capital gains taxes on your profit.

Capital gains tax components on investment real estate:

  • Long-term capital gains tax: 0%, 15%, or 20% depending on your taxable income (for property held over one year)
  • Depreciation recapture: Up to 25% tax on the depreciation deductions you claimed during ownership
  • Net Investment Income Tax (NIIT): Additional 3.8% for high-income taxpayers (income above $200,000 single / $250,000 married)
  • State income tax: Varies by state, 0-13%

Example of tax without a 1031:

An investor buys a rental property for $250,000, claims $40,000 in depreciation over 10 years, then sells for $420,000. The gain structure:

ComponentAmount
Sale price$420,000
Adjusted basis (purchase - depreciation)$210,000
Total gain$210,000
Depreciation recapture (taxed at up to 25%)$40,000
Long-term capital gain (taxed at 15-20%)$170,000
Federal tax on depreciation recapture~$10,000
Federal tax on capital gain (20%)~$34,000
NIIT (3.8%)~$7,980
State tax (e.g., 6%)~$12,600
Total tax bill~$64,580

That is $64,580 paid to the government before reinvesting a dollar. With a 1031 exchange executed properly, that entire bill is deferred. The investor keeps the full $420,000 working in the next property.

The 1031 Exchange Rules: What You Must Do

The IRS requirements are specific and unforgiving. Missing a single deadline or rule disqualifies the exchange.

Rule 1: Use a Qualified Intermediary (QI)

You cannot touch the proceeds from the sale. The money must go directly from the sale to a Qualified Intermediary, an IRS-designated third party who holds the funds until the replacement property closes. If the proceeds hit your bank account even briefly, the exchange is disqualified and the full tax becomes due immediately.

Qualified Intermediaries charge $500 to $1,500 for most exchanges. This is a small cost relative to the tax deferral.

Rule 2: Identify Replacement Property Within 45 Days

From the date of closing on your sold property, you have exactly 45 calendar days to identify potential replacement properties in writing to your Qualified Intermediary. There are no extensions for weekends, holidays, or closing delays.

Under the 3-Property Rule (the most commonly used identification rule), you can identify up to three replacement properties regardless of their value. You ultimately only need to close on one (or more, but at least one).

Under the 200% Rule, you can identify more than three properties as long as their combined market value does not exceed 200% of the sold property's value.

Rule 3: Close on the Replacement Property Within 180 Days

From the date of the sale closing, you have 180 calendar days to close on the replacement property. Note that this is not 180 days from identification. The 45-day and 180-day clocks start on the same day: the date you closed on the relinquished property.

Practical implication: If you find a replacement property on day 40 of the identification window and execute a purchase contract, you still must close within the 180-day total window. Delays in financing, inspections, or seller negotiations that push you past day 180 disqualify the exchange.

Rule 4: Equal or Up in Value (To Defer All Gain)

To defer all capital gains taxes, the replacement property must be:

  • Of equal or greater value than the relinquished property
  • Funded with all net equity from the sale (no cash pocketed)
  • Acquired with the same amount of debt or more

If you trade down in value, buy a less expensive replacement, or pocket some cash at closing, the portion not reinvested is called boot and is taxable in the year of the exchange. Partial deferral is possible; full deferral requires full reinvestment.

Types of 1031 Exchanges

Simultaneous exchange: Both properties close on the same day. Rare and logistically difficult, but clean and simple when it works.

Delayed exchange: The most common type. You sell first, your QI holds proceeds, and you close on the replacement within 180 days.

Reverse exchange: You buy the replacement property first, then sell the relinquished property. More expensive and complex, requiring an Exchange Accommodation Titleholder (EAT) to hold title to one property. Useful when you find the perfect replacement before your current property sells.

Build-to-suit (improvement) exchange: You receive property into the exchange and use a portion of the sale proceeds to make improvements before taking title. Allows exchange proceeds to fund property improvements and include them in the exchanged value.

Real-World Examples

Example: Patricia, 58, scaling up her rental portfolio
Situation: Patricia owns a duplex she bought 12 years ago for $185,000. It is now worth $390,000. She has claimed $52,000 in depreciation. Without a 1031, she estimates her tax bill at approximately $55,000 if she sells.
Strategy: She engages a Qualified Intermediary before listing the duplex. She closes the duplex sale and instructs the title company to wire proceeds directly to her QI. On day 38, she identifies two replacement properties: a fourplex listed at $410,000 and a small commercial building at $395,000.
Close: She closes on the fourplex on day 147 (within the 180-day window). The fourplex purchase is $410,000, exceeding the $390,000 sale price. She uses the proceeds from the QI plus a new mortgage to fund the purchase.
Result: Zero capital gains tax due. The $52,000 in depreciation recapture and $170,000 in appreciation are fully deferred. She now controls a larger income-producing asset with her full equity working for her.
Example: David, 64, approaching retirement
Situation: David owns a rental property worth $520,000 with a $100,000 basis. He is approaching retirement and wants to exchange into a lower-maintenance property rather than pay a massive capital gains bill.
Strategy: He executes a 1031 exchange from his single-family rental into a fractional ownership stake in a Delaware Statutory Trust (DST), which qualifies as like-kind property. DSTs are investment vehicles that pool multiple investors into institutional real estate (apartment complexes, medical offices) and are specifically structured to qualify for 1031 treatment.
Result: He defers approximately $80,000 in capital gains taxes, receives passive income from the DST distributions, and eliminates all landlord responsibilities. His equity continues compounding in institutional real estate without the tax friction of a direct sale.

What Happens to the Taxes Eventually?

1031 exchanges defer taxes. They do not eliminate them permanently, with one important exception.

At death, the tax disappears. Under current law, when a real estate investor dies, heirs receive the property at a stepped-up basis equal to fair market value at the date of death. All deferred capital gains and depreciation recapture are permanently eliminated. This is the ultimate 1031 exit strategy: exchange throughout your lifetime, die holding the last property, and the entire deferred tax liability vanishes.

Tax law risk: The stepped-up basis at death is a function of current tax law. Congress has periodically proposed eliminating or limiting it. Investors who rely on this strategy should stay informed about legislative changes.

Installment sales and alternative exits: If you need liquidity and do not want to do another exchange, you can sell with seller financing to spread the gain over multiple years via installment sale treatment, reducing the annual tax impact.

Common Mistakes

Receiving cash at closing. Any proceeds that flow to you rather than to the QI are immediately taxable as boot. Instruct every party in advance that funds must go directly to the Qualified Intermediary.

Missing the 45-day identification deadline. This is the most common failure point. The clock starts the day you close, not the day you want it to. Begin identifying replacement properties before you even list the relinquished property.

Choosing the wrong replacement property under time pressure. The 45-day clock creates urgency that can push investors into poor replacement choices. Having a replacement property under informal agreement before the sale closes dramatically reduces this pressure.

Not understanding depreciation recapture. Even if capital gains are deferred, some investors are surprised to learn that depreciation recapture on a disqualified exchange can be substantial. Work with a CPA who specializes in real estate tax before executing any exchange.

For context on how capital gains taxes work more broadly, see Capital Gains Tax Explained: Short Term vs Long Term. And for how tax-deferred real estate fits alongside tax-deferred retirement accounts in a complete financial plan, see What Is a Required Minimum Distribution and When Does It Hit You?.

This post is for informational purposes only and does not constitute tax or legal advice. 1031 exchange rules are complex and subject to change. The consequences of errors are significant and potentially irreversible. Always work with a qualified tax attorney, CPA, and Qualified Intermediary before initiating a 1031 exchange.

Share:Email

Savvy Nickel Team

Financial education expert dedicated to making complex money topics simple and accessible for everyone.