
If real estate has a cheat code, it's Section 1031 of the Internal Revenue Code. It lets you sell an investment property, buy another one, and defer the capital gains tax and depreciation recapture you'd otherwise owe. Your full equity keeps working for you instead of a chunk of it going to the IRS and the Franchise Tax Board.
It's also one of the easiest things in real estate to mess up. The deadlines don't bend, the rules are technical, and a single wrong move, like letting the sale proceeds touch your bank account, can blow up the whole exchange. So let's walk through how a 1031 exchange actually works, the traps that catch people, and a few advanced moves most investors don't hear about until they need them.
What a 1031 exchange actually does
A 1031 exchange, also called a like-kind exchange, lets you defer recognizing gain when you exchange real property held for investment or for use in a business for other real property held the same way. Notice the word defer. The tax isn't forgiven. Your old basis carries over into the new property, and the deferred gain comes due if you eventually sell without exchanging again.
Why does deferral matter so much? Picture two investors who each sell a building with $1,000,000 of gain. One pays the tax and reinvests what's left. The other exchanges and reinvests everything. The second investor buys a bigger property, collects more income, and earns appreciation on a larger base, with what is effectively an interest-free loan from the government. Repeat that a few times over a career and the difference is enormous.
What qualifies, and what doesn't
Since 2018, Section 1031 applies only to real property. The good news is that "like-kind" is broad for real estate. You can exchange:
- A rental house for an apartment building
- An apartment building for a retail center, office or industrial building
- Raw land for an improved property, or the reverse
- One property for several, or several for one
What doesn't qualify:
- Your primary residence. That's covered by a different rule, the Section 121 exclusion.
- Property held primarily for sale, like flips or lots a developer builds to sell. That's dealer inventory, not investment property.
- Vacation homes used mostly personally. There is an IRS safe harbor for vacation properties that are rented out enough and used personally little enough, but a cabin your family uses every summer generally won't fit.
- Stocks, bonds, partnership interests and other non-real-estate assets.
The rules you can't break
1. Use a qualified intermediary, and never touch the money
In a typical delayed exchange, you can't receive the sale proceeds, not even for a day. A qualified intermediary (QI) holds the funds from your sale and uses them to buy the replacement property. The exchange agreement has to be in place before the sale closes. If the proceeds land in your account, the exchange generally fails. Choose your QI carefully. They're holding your money, so ask about bonding, insurance and how funds are held.
2. The 45-day identification deadline
From the day your relinquished property closes, you have 45 calendar days to identify potential replacement properties in writing. Not business days. Weekends and holidays count, and there are no extensions for "the seller was slow to respond." You can identify using one of these rules:
- Three-property rule: up to three properties of any value. This is the one most people use.
- 200% rule: any number of properties, as long as their combined value doesn't exceed 200% of what you sold.
- 95% rule: any number and value, but you must actually acquire at least 95% of the total value you identified. Rarely practical.
3. The 180-day closing deadline
You must close on the replacement property within 180 calendar days of selling, or by the due date of your tax return for that year (including extensions), whichever comes first. That second part catches people who sell late in the year. If you sell in December, file an extension, or your deadline may arrive in April.
4. Same taxpayer
The taxpayer who sells must be the taxpayer who buys. If an LLC owned by you and your partner sells, that LLC needs to buy. A single-member LLC that's disregarded for tax purposes is generally treated as you, so that works. Partnerships that want to split up are a whole planning conversation of their own, and it needs to start well before the sale.
Boot: the part that sneaks up on you
To defer all the tax, the general rule of thumb is to buy replacement property of equal or greater value than what you sold and reinvest all of your net proceeds. Anything you receive that isn't like-kind property is called boot, and it's taxable to the extent of your gain.
- Cash boot: proceeds you keep, or that pay for things that aren't exchange expenses.
- Mortgage boot: if the debt on your new property is less than the debt paid off on the old one and you don't make up the difference with additional cash, the reduction can be taxable.
A partial exchange is completely legal. You just pay tax on the boot. Sometimes that's a smart choice if you need some cash. Just make it a choice, not a surprise.
The California wrinkle: the clawback
California has its own rule that investors moving out of state should know about. If you exchange California property for property located outside California, the state keeps track of the deferred gain. When you eventually sell the out-of-state property in a taxable sale, California can tax the portion of the gain that came from the California property. Taxpayers in this situation generally have to file an annual information return (FTB Form 3840) with the Franchise Tax Board. Leaving California doesn't make the California gain disappear.
California also generally requires withholding on the sale of California real property, but properly documented 1031 exchanges can qualify for an exemption or reduced withholding. Your escrow officer and QI will handle the forms, but make sure they know an exchange is happening early.
Advanced moves most investors don't hear about early
Reverse exchanges
Found the perfect replacement property before you've sold your current one? A reverse exchange lets you acquire the replacement first. Under the IRS safe harbor, an exchange accommodation titleholder takes title to one of the properties while you sell the other, generally within 180 days. It's more complex and more expensive than a standard exchange, but in a competitive market it can be the difference between landing the right property and settling for whatever is available on day 44.
Improvement (build-to-suit) exchanges
Need to put exchange money into improvements on the replacement property, like a renovation or ground-up construction? An improvement exchange allows that, with an accommodation titleholder holding the property while work is completed. Only the improvements finished before you take title within the 180-day window count toward your replacement value, so the timeline has to be planned tightly.
Delaware Statutory Trusts (DSTs)
A DST lets you exchange into a fractional interest in larger, professionally managed property, often institutional-quality apartments, industrial or net-leased assets. IRS guidance allows DST interests to qualify as like-kind real property when structured correctly. DSTs can be helpful as a backup identification, for filling a boot gap, or for investors who are done managing tenants. The tradeoffs: you give up control, the investments are generally illiquid, and fees vary. DSTs are typically sold as securities, so review the offering documents carefully.
Swap 'til you drop
Here's the long game. Keep exchanging throughout your life and, under current federal law, your heirs generally receive a stepped-up basis to fair market value when they inherit the property. The deferred gain from decades of exchanges can effectively disappear. It's one of the most powerful generational wealth tools in real estate, and it's the reason many seasoned investors almost never sell outright.
The most common 1031 mistakes
- Calling the QI after the sale closed. Too late. Set it up first.
- Waiting until day 40 to start shopping. Start looking for replacement property before you list the one you're selling.
- Identifying only one property. If that deal falls apart, you have nothing. Use all three slots.
- Forgetting the debt. Trading down in debt without adding cash can create mortgage boot.
- Using exchange funds for non-exchange costs, like loan fees or prorated rents, without understanding how that's treated.
- Buying something mediocre just to beat the clock. A tax deferral doesn't fix a bad property. Sometimes paying some tax is better than owning the wrong asset for ten years.
Why the right team matters here
A 1031 exchange is really three transactions at once: a sale, a purchase and a tax strategy, all running against a calendar that doesn't care about your schedule. That's why the best exchanges start months before the listing, with your broker, QI, CPA and attorney all on the same page.
A big part of our practice is 1031 exchange portfolios that need to land on time and on basis. If you're thinking about selling an investment property, or wondering what you could trade into, send us the details. We'll map out what you'd defer, what you could buy and what the timeline looks like before you commit to anything.
This article is general information, not tax, legal or financial advice. Tax law, lending guidelines and local ordinances change, and every situation is different, so talk with your CPA, attorney and lender before acting on any strategy here. Masiv Real Estate Inc · DRE #02025676.


