Short answer
The real goal of a 1031 exchange isn't deferral. Deferral is temporary. If you keep exchanging and hold the last property until death, your heirs generally receive it with a basis stepped up to its market value at your death, under IRC §1014. The gain you deferred over decades, including depreciation that would have been recaptured, is wiped out, and heirs who sell soon after owe little or no capital gains tax. That's the "swap till you drop" strategy, and it's one of the most powerful wealth-transfer tools in the tax code. Here's how it works and where it can go wrong.
| Sell for $10,000,000 while alive | Heirs inherit, then sell for $10,000,000 | |
|---|---|---|
| Basis | $200,000 (land; the building is fully depreciated) | $10,000,000, stepped up |
| Gain | $9,800,000 | $0 |
| Depreciation recapture (25% maximum) on $800,000 | About $200,000 | $0 |
| Capital gains tax (20%) on $9,000,000 | About $1,800,000 | $0 |
| Net investment income tax (3.8%) | About $372,000 | $0 |
| Federal total | About $2,400,000, plus state tax | $0 |
On this page
How the step-up works
In the example, an investor bought an apartment building in 1990 for $1,000,000: $200,000 for the land and $800,000 for the building. Land isn't depreciable, so after decades of depreciation the building's basis is $0 but the land's is still $200,000. The property is now worth $10,000,000.
- Sell while alive. The $9,800,000 gain is taxed: up to 25% on the $800,000 of depreciation, 20% on the rest, plus the 3.8% net investment income tax under IRC §1411 and state tax.
- Hold until death. Under IRC §1014, the heir's basis is generally the market value on the date of death. If they sell for $10,000,000 soon after, the gain is close to zero, and the depreciation recapture is gone too.
A 1031 exchange keeps your basis low while you're alive; the step-up eliminates that built-in gain at death. They work together. See swap till you drop and the magic of 1031 compounding.
Community property: the double step-up
Where you live affects how much of a jointly owned property is stepped up when the first spouse dies.
| Common law states (such as New York, Florida) | Community property states | |
|---|---|---|
| Property owned jointly by spouses | Generally only the deceased spouse's half is stepped up | Community property is generally stepped up in full, both halves |
| If the surviving spouse sells | Tax on the gain in the survivor's half | Little or no gain |
The community property states are Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington and Wisconsin. A few states, such as Tennessee and South Dakota, allow opt-in community property trusts; whether they deliver a double step-up for residents of other states isn't settled, so talk to an estate planner.
The deathbed exchange: a warning
A common question: "I'm 85 and tired of managing toilets. Can I sell my apartments and buy a net-leased property to make it easier for my heirs?" Yes, but be careful about timing. If you die after selling but before buying the replacement, the gain on the sale was already realized while you were alive, so it doesn't disappear with a step-up. Your estate can usually step in and complete the exchange, if the exchange agreement allows it, which keeps the gain deferred; but the replacement then generally carries the old low basis instead of a stepped-up one. If the exchange isn't completed, the gain is taxed.
If health is a concern, options include:
- Don't sell. Hire a property manager, and consider a refinance; loan proceeds aren't taxable income.
- Shorten the gap. Line up a replacement that can close fast, such as a DST interest, so the time between sale and purchase is days, not months. See DST exchanges.
- Plan the documents. Make sure a trustee or agent can sign to complete the exchange. See trusts in an exchange.
The partnership trap and the §754 election
If the property is in an LLC taxed as a partnership, heirs inherit units, not real estate. The units are stepped up, but the partnership's own basis in the building isn't, unless the partnership has a §754 election in effect. Without it, the heirs can inherit units at full value and still be allocated gain when the partnership sells. Check that the operating agreement allows the election and that your CPA files it for the year of death. See LLC exchanges and drop and swap.
Gifting property during life
Gifting low-basis property can undo the plan. Under IRC §1015, a person who receives a gift generally takes your basis. Give a child a $10,000,000 building with a $200,000 basis and, if they sell, they owe the tax you would have owed. Holding until death would have given them a stepped-up basis. Gifts can still make sense for estate tax reasons; see below.
Estate tax: when the step-up isn't the whole story
For 2026, the federal basic exclusion from estate tax is $15,000,000 per person, under IRC §2010, and a surviving spouse can generally use the unused part of the first spouse's exclusion. Estates above that can owe estate tax at up to 40%. For most investors, capital gains tax is the bigger issue and the step-up solves it. For larger estates, moving assets out of the estate during life, for example to an irrevocable trust, can save estate tax even though those assets usually lose the step-up. That trade-off is a job for an estate attorney. See the IRS estate tax overview.
A checklist for investors over 70
- Before selling any low-basis property for cash, compare the tax with holding it.
- Don't gift low-basis real estate without advice.
- Check LLC operating agreements for the §754 election.
- Know whether your property is community or separate property.
- Make sure someone can sign to finish an exchange if you can't.
- If you leave California property or exchanged out of California, see the California clawback.
Your legacy isn't just the assets you leave but the tax bill you don't. See inherited property and 1031 exchanges, or book an intro call to plan your next exchange with your estate plan in mind.
Frequently asked questions
Does a 1031 exchange property get a step-up in basis at death?
Generally yes. Heirs take a basis equal to market value at the date of death, which wipes out gain deferred through earlier exchanges.
Does the step-up eliminate depreciation recapture?
Yes. With a stepped-up basis, heirs who sell soon after have little or no gain, including the part that would have been recaptured depreciation.
What happens if I die in the middle of a 1031 exchange?
The gain on the sale was already realized, so it isn't wiped out. Your estate can usually complete the exchange to keep it deferred, but the replacement keeps the low basis.
Should I gift rental property to my children before I die?
Usually not without advice. A gift passes on your low basis, while property inherited at death gets a stepped-up basis.
What is the estate tax exemption in 2026?
The federal basic exclusion is $15,000,000 per person for 2026, and a surviving spouse can generally use the unused part of the first spouse's exclusion.
Sources
- 26 U.S.C. §1014 (stepped-up basis at death)
- 26 U.S.C. §1015 (carryover basis for gifts)
- 26 U.S.C. §754 (partnership basis adjustment election)
- 26 U.S.C. §2010 (estate tax basic exclusion)
- IRS: Estate tax (IRS estate tax overview)
- 26 U.S.C. §1411 (net investment income tax)
This article is general information, not tax or legal advice. Talk to your CPA or tax attorney about your situation.











.jpg)


