1031 Exchange Explained: Defer Taxes, Build Wealth
A beginner’s guide to the 1031 like-kind exchange: how it defers capital gains and depreciation recapture, a worked example with real numbers, the 45/180-day rules, and when it is not worth it.
The Short Answer
A 1031 exchange lets you sell a rental property and buy another one without paying tax on your profit right away. The name comes from Section 1031 of the tax code. Instead of paying capital gains tax and depreciation recapture when you sell, you roll the whole profit into the next property and pay the tax later, if ever.
That matters because money you don’t send to the IRS today stays invested. It keeps earning rent and appreciation for you. Repeat that over a few decades and the gap gets big, which is why experienced investors call the 1031 exchange one of the best wealth-building tools in real estate.
It is also a strict, deadline-driven process. Miss a step and the tax comes due anyway. This guide explains how it works in plain English so you know what to ask your CPA and exchange company.
First, What Tax Are You Avoiding?
When you sell a rental you have owned for more than a year at a profit, you usually owe two kinds of federal tax:
- Capital gains tax on the appreciation. For most people the federal long-term rate is no higher than 15%, though higher earners can pay 20%.
- Depreciation recapture. Each year you own a rental you deduct depreciation, which lowers your taxes while you hold it. When you sell, the IRS takes some of that back. The part of your gain that comes from depreciation on real estate (called unrecaptured section 1250 gain) is taxed at up to 25%.
- On top of that, some investors owe the net investment income tax, and most states tax capital gains too.
How a 1031 Exchange Works, Step by Step
Almost every 1031 exchange today is a “deferred” exchange. You sell your old property first, then buy the new one a few weeks or months later. Here is the usual flow:
- Before you close the sale, hire a qualified intermediary (QI), also called an exchange company or accommodator, and sign an exchange agreement with them.
- You sell the old property (the “relinquished property”). The sale money goes to the QI, not to you.
- Within 45 days of the sale, you identify in writing the property or properties you might buy.
- Within 180 days of the sale (or your tax return due date, if that comes first), you close on one or more of the properties you identified. The QI sends the money to the closing.
- You report the exchange on IRS Form 8824 with your tax return for the year you sold.
A Worked Example: Sell and Pay Tax vs. 1031 Exchange
Let’s use simple, made-up numbers. Years ago you bought a rental for $200,000. You have taken $50,000 of depreciation, so your adjusted basis (what the IRS treats as your cost) is now $150,000. You sell for $350,000. After $20,000 of selling costs, you net $330,000, and you still owe $120,000 on the mortgage.
Your taxable gain is $330,000 minus $150,000, or $180,000. Here is a rough federal tax bill if you simply sell, assuming the 15% capital gains rate and the 25% maximum rate on the depreciation part:
| Item | Amount |
|---|---|
| Net sale price after selling costs | $330,000 |
| Adjusted basis ($200,000 cost − $50,000 depreciation) | $150,000 |
| Total gain | $180,000 |
| Tax on $50,000 of depreciation at 25% | $12,500 |
| Tax on $130,000 of appreciation at 15% | $19,500 |
| Estimated federal tax | $32,000 |
Illustration only. Real taxes depend on your income, your state, the net investment income tax and other details. Your CPA will calculate the actual numbers.
Where the Wealth Comes From
After paying off the $120,000 mortgage, you have $210,000 in cash. If you sell normally and pay $32,000 in tax, you have $178,000 left to invest. With a 1031 exchange, all $210,000 goes into the next property.
Say you put 25% down on the next rental. Then let both properties grow 4% a year for 10 years:
| Scenario | Result |
|---|---|
| Sell and pay tax: cash for the next down payment | $178,000 |
| Sell and pay tax: property you can buy at 25% down | $712,000 |
| Sell and pay tax: value after 10 years at 4% | ≈ $1,054,000 |
| 1031 exchange: cash for the next down payment | $210,000 |
| 1031 exchange: property you can buy at 25% down | $840,000 |
| 1031 exchange: value after 10 years at 4% | ≈ $1,243,000 |
Same assumptions for both: 25% down, 4% yearly appreciation, ignoring rent, loan paydown, costs and taxes along the way. Real results will be different.
Why Investors Call It a Wealth-Building Strategy
In the example, the exchange buyer ends up with a property worth about $189,000 more after 10 years, and also collects rent on a bigger property the whole time. That extra growth came from $32,000 that stayed invested instead of going to taxes.
Investors repeat this. They trade a single-family rental for a duplex, the duplex for a small apartment building, and so on, deferring the tax at each step. Each exchange carries the old deferred gain forward, so the IRS is effectively giving you an interest-free loan on the tax you would have paid.
It is also a way to change strategy without a tax hit: move from a high-maintenance property to an easier one, from a slow-growth market to a stronger one, or from several small rentals to one larger one.
The Key Rules, Checked Against IRS Sources
These are the main rules. Each one comes from the tax code (26 U.S.C. §1031), the Treasury regulations or the IRS Form 8824 instructions listed in the sources below.
- Real property only. Since 2018, only real estate qualifies. Equipment, vehicles, furniture and other personal property no longer qualify.
- Held for investment or business. Both the property you sell and the one you buy must be held for investment or used in a business, like a rental. Property held mainly for resale, such as a flip, does not qualify.
- Your home does not qualify. Section 1031 doesn’t apply to a property used only as your personal residence. (Selling your home has its own tax break, the home sale exclusion.)
- “Like-kind” is broad for real estate. Real properties are generally like-kind to each other, improved or not. A single-family rental can be exchanged for a duplex, an apartment building, a commercial building or land you hold as an investment.
- U.S. for U.S. Property in the United States and property outside the United States are not like-kind.
- 45-day identification. You must identify replacement property in a signed, written document within 45 days of selling. It must clearly describe the property, such as by street address, and go to someone involved in the exchange like your QI, not to you or a “disqualified” person.
- Identification limits. You can identify up to three properties of any value, or any number as long as their total value isn’t more than 200% of what you sold. (There is a narrow 95% exception if you go over.)
- 180-day closing. You must receive the replacement property within 180 days of the sale or by your tax return due date (including extensions), whichever comes first. The deadlines end at midnight on day 45 and day 180, and the rules don’t push them back for weekends or holidays.
- Use a qualified intermediary. You can’t touch the money between the sale and the purchase. The exchange agreement must limit your right to receive, borrow against or otherwise benefit from the funds. Your own agent, such as your employee, attorney, accountant or real estate agent within the past two years, generally can’t be your QI.
- Related parties. If you exchange with a family member or other related party and either of you sells the property within two years, the deferred gain can become taxable, with limited exceptions.
Equal Value, Debt and “Boot”
Any cash or non-real-estate value you walk away with is called “boot,” and it is taxable up to the amount of your gain. A loss isn’t recognized in an exchange.
Debt counts too. If the buyer of your old property takes over or pays off your mortgage, the IRS treats that debt relief like cash you received, unless you take on at least as much debt on the new property or add your own cash to make up the difference.
That leads to the common rule of thumb for deferring all of the tax: buy a replacement property of equal or greater value, reinvest all of the net cash from the sale, and replace the debt you paid off with new debt or extra cash. In our example, buying an $840,000 property with $210,000 down and a $630,000 loan does all three. Buying a cheaper property, or pocketing some of the cash, means paying tax on part of the gain.
Common Mistakes
- Taking the sale money yourself, even briefly. Once the cash is yours, it is generally too late. Set up the QI before you close the sale.
- Waiting until after the sale to think about it. The 45-day clock starts the day you close.
- Identifying only one property. If that deal falls apart after day 45, you may not be able to substitute another. Many investors list backups within the three-property limit.
- Missing the tax return deadline. If you sell late in the year, your return may be due before day 180. Filing an extension can keep the full 180 days.
- Trading down. Buying a cheaper property or taking cash out creates taxable boot.
- Using a property you mostly live in, or a flip. Neither is held for investment the way the rules require.
- Overpaying to beat the deadline. A bad deal costs more than the tax you saved. Run the numbers on the replacement property like any other purchase.
- Changing who owns it without checking first. If you plan to sell in your own name and buy in a new LLC or with a partner, ask your QI and CPA before you do.
Risks and Downsides
- It’s a deferral, not a tax break that makes the gain disappear. The deferred gain carries into the new property, which gets a lower tax basis. If you later sell without another exchange, you pay tax on the old gain and the new one.
- Less depreciation going forward. Because the new property keeps your old, lower basis, your future depreciation deductions are smaller than if you had bought it fresh.
- The deadlines are strict. There is no grace period for a busy closing schedule or a slow lender.
- Your money is locked up. During the exchange the cash sits with the QI and can’t be used for anything else.
- Costs and complexity. You pay QI fees and likely CPA fees, and the paperwork has to be right.
- You stay in real estate. Exchanging means taking on another property, with its mortgage, tenants and repairs.
What Happens to the Deferred Tax Long Term?
Some investors keep exchanging for the rest of their lives. Under current federal law, when someone inherits property, their tax basis is generally reset to the property’s fair market value on the date of death (26 U.S.C. §1014). That can mean the deferred gain is never taxed as income.
Be careful with this one. Tax laws change, estate and state taxes are a separate question, and the right plan depends on your family situation. Treat it as a topic for an estate planning attorney and CPA, not as a guarantee.
When a 1031 Exchange Isn’t Worth It
- Your gain is small. If the tax bill is modest, the fees and stress may not be worth it.
- Your tax rate is low this year. If your income is low enough to fall in the 0% capital gains bracket, there may be little to defer (depreciation recapture can still apply).
- You’re selling at a loss. A loss isn’t recognized in an exchange, so you would usually rather sell normally and use the loss.
- You want out of real estate. An exchange only works if you buy more real estate.
- You can’t find a good replacement. Never buy a weak deal just to save taxes.
- You need the cash. Any money you take out is taxable anyway.
- It was your home. Look at the home sale exclusion instead, and talk to a tax pro if the home was also a rental at some point.
Keep Learning
New to rental investing? These are good next steps before you think about your first exchange.
Sources
Rules in this article come from these sources (checked November 2026). The tax figures in the example are simplified illustrations, not tax calculations.
- 26 U.S.C. §1031: Exchange of real property held for productive use or investment
- 26 CFR §1.1031(k)-1: Treatment of deferred exchanges (identification, QI, disqualified persons)
- IRS: Instructions for Form 8824, Like-Kind Exchanges
- IRS Topic 409: Capital gains and losses (15% and 25% rates)
- 26 U.S.C. §1014: Basis of property acquired from a decedent
Not Tax Advice
This article is general education, not tax, legal or financial advice. 1031 exchanges have strict rules, and one mistake can make the whole gain taxable. Before you list a property you might exchange, talk to a CPA or tax attorney and a qualified intermediary, and let them set up the exchange before your sale closes. Tax laws and IRS guidance can change after this article was written.
Try the Calculator
Put these concepts into practice with our interactive tool.
Open ROI Projection Calculator