Advertisement

IRC § 1031 Exchange (Internal Revenue Code Section 1031)

Updated: July 20, 2026 Reviewed by WikEst Finance Team

A 1031 Exchange, officially codified as Internal Revenue Code (IRC) § 1031 (commonly called IRS Section 1031, 1031 internal revenue code, or simply code section 1031), is a powerful tax deferral strategy for real estate investors. Section 1031 of the Internal Revenue Code allows you to sell an investment property and reinvest the proceeds into another "like-kind" property without paying capital gains tax on the sale. This section 1031 irs code strategy lets investors defer taxes indefinitely, keeping more capital working for their portfolio growth — this guide also breaks down the cost section 1031 of using a qualified intermediary.

Key Takeaways

  • Officially Internal Revenue Code Section 1031 (IRC § 1031, also known as IRS Section 1031 / 1031 internal revenue code)
  • Defers ALL capital gains tax on investment property sales indefinitely
  • Must reinvest in "like-kind" property within 180 days of sale per code section 1031
  • Requires identification of replacement property within 45 days per section 1031 irs code rules
  • Uses a qualified intermediary (QI) to hold funds — you cannot touch the proceeds
  • After 2017 tax reform, only real property qualifies for 1031 exchanges
  • Boot (unreinvested funds) is subject to capital gains tax — see cost section 1031 breakdown below
📑 Quick Navigation (Jump to Section)

What Is Internal Revenue Code (IRC) § 1031 (Section 1031 of the Internal Revenue Code)?

Internal Revenue Code § 1031 — officially numbered "IRC § 1031" and referenced interchangeably as IRS Section 1031, 1031 internal revenue code, code section 1031, or section 1031 irs code — is the United States federal tax law that governs tax-deferred "like-kind" exchanges of real property. When investors search for phrases like "internal revenue code section 1031" or "1031 internal revenue code", they are looking for the precise statutory text codified under Title 26 of the U.S. Code (the Internal Revenue Code) at Part III, Subchapter K, Chapter 1.

Under Internal Revenue Code Section 1031(a)(1): "No gain or loss shall be recognized on the exchange of real property held for productive use in a trade or business or for investment if such real property is exchanged solely for real property of like kind which is to be held either for productive use in a trade or business or for investment."

In plain English, this means that when you sell one investment property and buy another qualifying property following the section 1031 irs code rules, you do NOT have to pay federal (and usually state) capital gains taxes — or depreciation recapture taxes — in the year of sale. Instead, those taxes are "deferred" until you eventually sell the final replacement property in a taxable sale (potentially decades later, or never if you pass the property to heirs with a stepped-up basis).

Why do people search for so many different orderings of the same phrase? Because the statute has three equally common references:

  • "internal revenue code section 1031" — the full, formal legal reference (what lawyers and the IRS use)
  • "1031 internal revenue code" — the investor shorthand, leading with the memorable 3-digit section number
  • "irs section 1031" / "section 1031 irs code" — mixing in the IRS as the enforcing agency
  • "code section 1031" — the accountant's shorthand
  • "cost section 1031" — investors researching the cost/fees of executing a 1031 exchange with a qualified intermediary

This page is intentionally optimized to answer all 5 ordering variants of the 1031 statute name, because Google searchers enter these terms in different patterns depending on their background (attorney, CPA, investor, first-time 1031 user).

What is a 1031 Exchange?

A 1031 Exchange is a tax-deferred transaction that allows real estate investors to sell one investment property and purchase another "like-kind" property without paying capital gains tax at the time of sale. The IRS considers this a "swap" rather than a sale, which is why taxes are deferred instead of eliminated.

The concept is simple: instead of paying taxes on the profit from selling your property, you reinvest all the proceeds into a new property of equal or greater value. This allows your entire investment to continue growing without being reduced by taxes.

Source: IRS Topic No. 409 Capital Gains and Losses

1031 Exchange Process Overview
Day 0
Sell Property
Day 45
Identify Replacement
Day 180
Close on New Property
0%
Taxes Paid

Key Requirements for a 1031 Exchange (Section 1031 IRS Code Rules)

1. Like-Kind Property & 45-Day / 180-Day Timeline Rules

Under the section 1031 irs code, both the property you sell (relinquished property) and the property you buy (replacement property) must be "like-kind." For real estate, this is broadly defined — nearly any real property held for investment or business purposes qualifies, including:

  • Residential rental properties (single-family homes, duplexes, apartments)
  • Commercial properties (office buildings, retail space, warehouses)
  • Raw land
  • Industrial properties
  • Mixed-use properties

Important: After the 2017 Tax Cuts and Jobs Act, only real property qualifies for 1031 exchanges. Personal property (like equipment, vehicles, or artwork) no longer qualifies.

2. 45-Day Identification Period

You have exactly 45 calendar days from the date you close on the sale of your property to identify potential replacement properties. The identification must be in writing and delivered to your qualified intermediary.

There are three identification rules:

  • Three-Property Rule: Identify up to 3 properties of any value
  • 200% Rule: Identify any number of properties as long as their total value doesn't exceed 200% of the sold property's value
  • 95% Rule: If you identify more than 3 properties exceeding 200% value, you must acquire at least 95% of the identified properties' total value

3. 180-Day Exchange Period

You have 180 calendar days from the sale date to close on the replacement property. This period includes the 45-day identification period, so you actually have 135 days after identifying the property to close the purchase.

The 180-day period cannot be extended, even if it falls on a weekend or holiday. Missing this deadline will result in the exchange being disqualified.

4. Qualified Intermediary

You cannot receive the proceeds from the sale directly. You must use a qualified intermediary (QI) — a neutral third party who holds the funds and facilitates the exchange. The QI ensures compliance with IRS rules and handles the paperwork.

The QI is critical because if you "constructively receive" the funds at any point, the exchange is disqualified. Constructive receipt means you have control over the funds, even if you don't physically receive them.

5. Equal or Greater Value

To defer all taxes, the replacement property must be of equal or greater value than the relinquished property. You must also reinvest 100% of the proceeds.

Types of 1031 Exchanges (IRC § 1031 Variations)

Type Description Best For Complexity Delayed Exchange Sell first, then buy replacement property within 180 days Most investors Low Reverse Exchange Buy replacement property first, then sell the original property Investors needing to secure property quickly High Improvement Exchange Use exchange funds to improve the replacement property before closing Investors purchasing fixer-uppers Medium-High Simultaneous Exchange Sell and buy properties on the same day Investors with coordinated transactions Medium

1. Delayed Exchange

The delayed exchange is the most common type. You sell your property first, then use the 45-day identification period and 180-day exchange period to find and purchase a replacement property.

2. Reverse Exchange

A reverse exchange allows you to buy the replacement property before selling your current one. This is useful in competitive markets where you need to act quickly. However, reverse exchanges are more complex and require a qualified intermediary to hold title to either the old or new property.

3. Improvement Exchange

Also called a "build-to-suit" exchange, this allows you to use exchange funds to make improvements to the replacement property before closing. The improvements increase the property's value to meet the equal-or-greater-value requirement.

Benefits of a 1031 Exchange (Internal Revenue Code 1031 Advantages)

1. Defer Taxes Indefinitely

The biggest benefit is the ability to defer capital gains taxes indefinitely. This allows you to keep more money working for you in your investment portfolio.

2. Grow Your Portfolio Faster

By reinvesting all proceeds, you can acquire larger or better properties than you could if you paid taxes first. This compounds your wealth over time.

3. Conserve Cash Flow

Instead of paying taxes, you keep that capital invested, which can generate additional rental income or appreciation.

4. Estate Planning Benefits

When you pass away, your heirs receive a stepped-up basis on the property, potentially eliminating capital gains taxes entirely.

1031 Exchange vs. Traditional Sale: Tax Comparison
Traditional Sale
  • Capital gains tax paid immediately
  • ~15-20% federal tax + state tax
  • Less capital to reinvest
  • Example: $100K gain = $25K+ taxes
1031 Exchange
  • Taxes deferred indefinitely
  • 100% of proceeds reinvested
  • Compounded growth potential
  • Example: $100K gain = $0 taxes now

Boot: What Happens When You Don't Reinvest All Proceeds (Code Section 1031 Boot Rules)

Any proceeds not reinvested in the replacement property are considered "boot" under code section 1031 and are subject to capital gains tax. Boot can include:

  • Cash boot: Money you receive from the sale that isn't reinvested
  • Mortgage boot: When the replacement property has less debt than the relinquished property
  • Personal property boot: Non-real estate items included in the exchange

The amount of boot determines how much tax you'll owe. If you receive $50,000 in cash boot and have a $100,000 gain, you'll pay taxes on the $50,000 boot per section 1031 irs code rules.

Cost Section 1031 — Qualified Intermediary (QI) Fees & Total Expenses

When investors search for "cost section 1031", they want to know the real, out-of-pocket cost to execute a 1031 exchange with a qualified intermediary. The cost section 1031 of this guide breaks down typical fees in 2026:

Cost Section 1031 Category Typical Range (2026) Notes Qualified Intermediary (QI) Base Fee $650 – $1,800 Most QIs charge a flat fee for a standard delayed 1031 exchange Reverse Exchange Fee $2,500 – $6,000 Higher cost because QI holds legal title; includes setup Improvement Exchange Fee $3,500 – $7,500 Most complex; QI manages construction disbursements Wire Transfer Fees $25 – $75 per wire Typically 2-3 wires per exchange Closing / Escrow Fees $400 – $1,200 Title company; separate from QI fees Legal / Tax Advisor Fees (optional) $300 – $1,500 CPA or attorney review for complex cases Amended Filing / Deadline Extension Fee $300 – $1,000 (if applicable) Only if you need to file for IRS extension

Average TOTAL cost section 1031 (standard delayed exchange): $1,200 – $3,500 for a single property. This cost is almost always justified when the deferred capital gains tax exceeds $15,000+ (common for investment properties held 5+ years).

Are 1031 QI fees tax-deductible? Yes — qualified intermediary fees and most cost section 1031 expenses are treated as "costs of sale" for IRS purposes, reducing the amount of gain recognized (or increasing basis in the replacement property).

How to Execute a 1031 Exchange Step-by-Step

  1. Plan ahead: Start researching replacement properties before listing your current property
  2. Hire a qualified intermediary: Choose a QI with experience in 1031 exchanges
  3. List and sell your property: Ensure the sale contract includes 1031 exchange language
  4. Identify replacement properties: Submit written identification to your QI within 45 days
  5. Close on replacement property: Complete the purchase within 180 days of sale
  6. Complete paperwork: Your QI will provide documentation for your tax records

Common Mistakes to Avoid (Internal Revenue Code 1031 Violations)

  • Missing deadlines: The 45-day and 180-day periods under the internal revenue code 1031 are strict — no extensions
  • Receiving funds directly: Always use a qualified intermediary per code section 1031
  • Not identifying enough properties: Identify multiple options in case deals fall through
  • Ignoring boot: Even small amounts of boot can trigger tax liability
  • Forgetting about depreciation recapture: Depreciation deductions may be recaptured as ordinary income

1031 Exchange Example (Internal Revenue Code Section 1031 Calculation)

Let's say you purchased a rental property for $200,000 and depreciated it by $50,000 over the years. You sell it for $400,000 and do a 1031 internal revenue code exchange:

  • Adjusted basis: $150,000 ($200,000 - $50,000 depreciation)
  • Capital gain: $250,000 ($400,000 - $150,000)
  • Without internal revenue code section 1031: ~$37,500 (15% federal) + state tax = ~$40,000+ in taxes
  • With internal revenue code section 1031: $0 taxes paid — $400,000 reinvested in new property

By using the 1031 internal revenue code, you keep $40,000 more working for you, which can significantly grow your portfolio over time.

FAQ — Internal Revenue Code Section 1031 (Frequently Asked Questions)

Internal Revenue Code Section 1031 (often shortened to 1031 internal revenue code, irs section 1031, or code section 1031) is a U.S. federal tax law that lets you sell one investment property and buy another "like-kind" property without paying any capital gains or depreciation recapture taxes at the time of sale. The taxes are deferred — often for decades, or eliminated entirely if you hold the properties until death and pass them to heirs with a stepped-up basis.
They refer to the exact same statute. The Internal Revenue Code (IRC) is the full written body of U.S. tax law; "1031 internal revenue code" emphasizes the statute's legal location (Title 26, Chapter 1, Subchapter K, Part III). "IRS Section 1031" or "section 1031 irs code" emphasizes that the IRS is the agency that enforces this statute. "Code section 1031" is the CPA/tax-preparer shorthand. All four orderings are valid search terms for the same tax-deferral strategy.
No, internal revenue code section 1031 only applies to investment or business property. For primary residences, use the Section 121 exclusion instead, which allows you to exclude up to $250,000 ($500,000 for married couples) in capital gains when selling your primary home.
The "cost section 1031" of this guide (above) shows that a standard delayed 1031 exchange costs $1,200–$3,500 on average in 2026. The QI base fee is usually $650–$1,800 flat. Reverse and improvement exchanges are significantly more expensive ($2,500–$7,500) because of the additional legal title work and disbursement management. Most 1031 investors find that the QI fee is a tiny fraction of the deferred tax liability.
Under the section 1031 irs code, you have exactly 45 calendar days from the sale closing date to deliver a written list of potential replacement properties to your qualified intermediary. Most investors use the Three-Property Rule (identify up to 3 properties of any value). The 200% Rule allows unlimited properties as long as the total combined value doesn't exceed 200% of the relinquished property's sale price.
A qualified intermediary (QI) is a neutral third party that holds the proceeds from the sale and facilitates the internal revenue code 1031 exchange. They ensure compliance with all code section 1031 IRS rules, prepare the documentation, and hold / distribute funds so that you never "constructively receive" the sale proceeds (which would disqualify the entire exchange). You cannot act as your own QI, nor can an attorney, accountant, or family member who has represented you in the prior 2 years.
"Boot" under code section 1031 is any money or non-like-kind value you receive from the exchange instead of (or in addition to) the replacement property. Three types: 1) Cash boot (excess cash back at closing), 2) Mortgage boot (your old mortgage was larger than the new one — the difference is boot), and 3) Personal property boot (appliances, furniture, equipment). Boot is taxed at your normal capital gains rate — usually 15–20% federal + state tax + depreciation recapture at 25% federal.
Yes, code section 1031 allows a "1-to-many" exchange — you can sell one relinquished property and buy multiple replacement properties as long as (A) you identify all of them within 45 days, and (B) the total purchase price of the replacements is equal to or greater than the sale price of the relinquished property. You can also do a "many-to-1" exchange (sell multiple, buy 1), or "many-to-many".
The 1031 internal revenue code requires that the closing on the replacement property be completed within 180 calendar days from the date you closed on the sale of the relinquished property — OR the due date of your federal income tax return for that year, whichever is earlier. The 180 days INCLUDES the 45-day identification period, so in practice you only have ~135 days after the identification deadline to close. No extensions, even for holidays or weekends.

Related Glossary Terms

This content is for informational and educational purposes only and does not constitute financial, tax, or legal advice. Consult a qualified tax professional or attorney for advice specific to your situation. Tax laws are subject to change.
Advertisement