He Depreciated the Duplex for 27 Years and Would Have Owed the IRS $180,000 in Recapture the Day He Sold. He Never Sold. His Kids Did, and Owed Nothing

The IRS spent 27 years tracking every depreciation deduction on that duplex, building a six-figure tax bill that would trigger the moment it sold. There is a tax code provision that can make the entire ledger disappear, and most landlords…

Published September 15, 2026, 9:25am ET · 4 min read

Life After Work desk. Editor: David Beren.

This post may contain links from our sponsors and affiliates, and Flywheel Publishing may receive compensation for actions taken through them.

A close-up shot shows one person's hand, wearing a dark suit sleeve and white shirt cuff, holding a cluster of silver house keys over an outstretched open palm of another person. In the foreground, parts of a document with text, a gold-colored pen, and a miniature house model are visible on a dark surface.
The symbolic exchange of keys represents the transfer of property ownership, a pivotal moment with significant tax implications for real estate investors and their heirs. © Natee Meepian / Getty Images

If you own a rental property and you’ve been quietly dreading the tax bill waiting on the other side of a sale, here’s the buried rule almost no landlord uses on purpose: never sell it while you’re alive. The tax code has a switch called the stepped-up basis that erases every dollar of depreciation you ever claimed and every dollar of appreciation the building ever earned, the instant you die. Your heirs inherit the property at its current fair market value, and the IRS forgets the whole thing ever happened.

This is the depreciation recapture loophole hiding inside the Internal Revenue Code, and it’s the single reason wealthy real estate families rarely sell anything. They swap, refinance, borrow against, and eventually pass it on. They almost never sell.

How Death Erases 27 Years of Deductions

Here is the mechanic. When you own residential rental real estate, the IRS lets you depreciate the building over 27.5 years on a straight-line basis. That paper loss shelters your rental income every year you own it.

This is a great deal, at least until you sell. Once you sell, the IRS claws back that accumulated depreciation as unrecaptured Section 1250 gain, taxed at up to 25%. On a duplex depreciated for nearly three decades, that recapture can easily eat six figures before you ever get to regular capital gains on the appreciation.

If you die while still holding the property, none of that happens. Your cost basis resets to the property’s fair market value on your date of death. The depreciation ledger goes to zero. If your heirs sell the next morning at that same fair market value, their taxable gain is essentially nothing.

Code Sections That Make It Real

The rule lives in 26 U.S. Code §1014(a), which sets the basis of property acquired from a decedent at its fair market value on the date of death. The recapture regime it neutralizes is set out in 26 U.S. Code §1250, with the 25% unrecaptured gain rate set in §1(h).

The depreciation schedule for residential rental property comes from the Modified Accelerated Cost Recovery System under §168, which fixes the recovery period at 27.5 years. The statute states these rules directly, and the IRS confirms the step-up mechanic in Publication 551 (Basis of Assets) and Publication 559 (Survivors, Executors, and Administrators).

Who Actually Gets the Reset

The step-up applies to property passing through your estate at death, whether by will, revocable living trust, transfer-on-death deed, or intestacy. It applies to real estate, stocks, and most capital assets. It does not apply to property you gave away during your lifetime.

Gifted property carries your old basis and your old depreciation schedule straight to the recipient, recapture and all. It also does not apply to retirement account assets or annuities. Married couples in community property states get a bonus: under §1014(b)(6), both halves of community property step up when the first spouse dies, not just the deceased spouse’s half.

Using the Rule Without Blowing It Up

  1. Keep the property titled in a form that passes through your estate. A revocable living trust works. An irrevocable gift to your children today does not.
  2. If you’re married in a community property state (California, Texas, Arizona, Washington, Nevada, Idaho, Louisiana, New Mexico, Wisconsin), title the property as community property with right of survivorship so the survivor gets a full double step-up.
  3. Order a qualified appraisal as of the date of death. That appraisal becomes your heirs’ new basis and their audit defense.
  4. Instruct your heirs to restart depreciation on the stepped-up building value over a fresh 27.5-year schedule the moment they take title and continue renting.

Where This Strategy Backfires

The catch is the federal estate tax. For 2026, the One Big Beautiful Bill Act set the federal estate and gift tax exemption at $15 million per individual, $30 million per married couple, indexed for inflation. Estates above that get taxed up to 40%, which can dwarf the recapture you were trying to dodge.

Several states (Oregon, Massachusetts, Washington, New York, Illinois, and others) impose their own estate taxes with much lower thresholds, some starting near $1 million. And giving the property away early to “simplify things” permanently forfeits the step-up. So does selling one day before you die. The rule rewards patience, clean titling, and heirs who understand what they’ve been handed (we put the full checklist, from titling to beneficiary forms, in a free estate guide here).

Contact [email protected] for any questions or corrections.

David Beren

David Beren has been a Flywheel Publishing contributor since 2022. Writing for 24/7 Wall St. since 2023, David loves to write about topics of all shapes and sizes. As a technology expert, David focuses heavily on consumer electronics brands, automobiles, and general technology. He has previously written for LifeWire, formerly About.com. As a part-time freelance writer, David’s “day job” has been working on and leading social media for multiple Fortune 100 brands. David loves the flexibility of this field and its ability to reach customers exactly where they like to spend their time. Additionally, David previously published his own blog, TmoNews.com, which reached 3 million readers in its first year. In addition to freelance and social media work, David loves to spend time with his family and children and relive the glory days of video game consoles by playing any retro game console he can get his hands on.

All articles →