Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / Bonus depreciation vs 1031
Bonus vs 1031

Sell, Pay the Tax and Buy With 100% Bonus Depreciation, or Do a 1031?

Short answerWith 100% bonus depreciation back for property acquired after January 19, 2025 (P.L. 119-21; IRS Notice 2026-11), some sellers skip the 1031, pay the tax, buy a new rental at full basis and cost seg it the same year. In our Texas example the study cuts the sale-year tax from $356,535 to $222,425. A 1031 still defers it all; the trade is a fresh basis versus deferral.

Two ways to stay in real estate

A 1031 exchange defers the whole gain, but the replacement inherits your low basis. The depreciation regulations split its basis into exchanged basis, which keeps depreciating on the old building's schedule, and excess basis, which is treated as newly bought (Treas. Reg. 1.168(i)-6(b)(7) and (8)). On used replacement property, only excess basis can take bonus (Treas. Reg. 1.168(k)-2(g)(5)(iii)(A)). An equal-value swap with no new money creates little or none.

The other path is a taxable sale followed by a separate purchase. You pay tax on the sale, but the new property's basis is its full cost. With 100% bonus depreciation permanent for property acquired after January 19, 2025 (P.L. 119-21 section 70301; IRS Notice 2026-11), a cost segregation study on that purchase can turn a quarter or more of the building cost into a first-year deduction, in the same year the gain is taxed.

Why the deduction can land on the sale gain

For most owners, rental depreciation is passive and can only offset passive income (IRC 469). The sale year is the exception. Gain on the disposition of property used in a passive activity is passive activity gross income for the year it is recognized (Treas. Reg. 1.469-2T(c)(2)(i)(A)). The new rental's bonus depreciation is a passive deduction, so it nets against the old rental's sale gain even though they are different properties. A fully taxable sale of your entire interest in the old activity also frees its own suspended losses (IRC 469(g)), which stack on top.

Real estate professionals who materially participate (IRC 469(c)(7)) have nonpassive rental losses, but large losses are then subject to the excess business loss limit: $512,000 for joint filers in 2026, with the excess carried forward as a net operating loss (IRC 461(l); Rev. Proc. 2025-32).

Worked example: $2,000,000 sale, $2,000,000 purchase

A plain cash sale of the apartment building costs this Texas couple $356,535 in 2026 federal income tax and net investment income tax. If they buy a $2,000,000 rental in the same year and a study finds $400,000 of 5-, 7- and 15-year property, the sale-year tax falls to $222,425, a drop of $134,110. The 3.8% net investment income tax alone falls from $49,400 to $34,200, because rental deductions reduce net investment income (IRC 1411(c)(1)(B), 2026).

Compare that with a 1031: tax today would be zero, and the new property would carry over the $700,000 basis. The sell-and-buy route costs $222,425 now in exchange for a new $2,000,000 basis, a fresh 27.5-year schedule on $1,200,000 of remaining building cost and no deferred gain hanging over the next property. Whether that is worth it depends on how long you hold, your bracket later and whether heirs will inherit (IRC 1014 resets basis at death either way). Numbers are illustrative engine output from labeled assumptions; a real study's percentage depends on the building.

What has to be true for the bonus

  • Acquired after January 19, 2025. A written binding contract signed earlier disqualifies the property from the 100% rate (IRS Notice 2026-11).
  • Used property is fine if it is new to you. You cannot have used it before, and you cannot buy it from a related person or a member of your controlled group, or get a carryover basis or an inherited basis (IRC 168(k)(2)(E)(ii); IRC 179(d)(2)).
  • Placed in service in the sale year. The deduction has to land in the same tax year as the gain. A December sale with a January purchase misses it.
  • Only short-life components qualify. Bonus applies to property with a recovery period of 20 years or less (IRC 168(k)(2)(A)); the building shell stays on 27.5 or 39 years.
  • The study has to hold up. The IRS audit guide lists 13 principal elements of a quality study, from preparer expertise to reconciliation with actual cost (IRS Publication 5653, rev. 2-6-2025).

California and other decoupled states

California does not allow federal bonus depreciation under IRC 168(k) (FTB 2025 Form 3885A instructions), so the state keeps taxing the full gain: $141,239 of California tax in our example, which the federal bonus does not reach, while the federal saving of $134,110 is the same as in Texas. California also taxes all gain as ordinary income, so the state cost of the cash sale is large either way. A California seller who does a 1031 instead defers the state tax too, and if the replacement is outside California the state tracks the deferred gain through an annual information return (FTB Form 3840 instructions, 2025). For many California owners that tilts the comparison back toward an exchange. Check your own state's page under capital gains tax by state.

The trade-off: recapture later

Bonus on 5- and 7-year property is Section 1245 depreciation, recaptured as ordinary income when you sell (IRC 1245(a)); bonus on 15-year land improvements is 1250 additional depreciation recaptured under IRC 1250(a). If the new rental is sold for cash in 2031 with similar income, our engine shows about $131,501 of tax on the recaptured $400,000. A later sale on seller financing does not spread it, because recapture is recognized in year one (IRC 453(i)). A later 1031 needs enough 1245 property in that replacement to defer it (IRC 1245(b)(4)); see Section 1245 recapture in a 1031.

When each path tends to win

SituationLeans toward
Long hold, plan to leave the property to heirs1031 (deferred gain disappears at death under IRC 1014)
Exchange at risk of failing on the 45/180-day clockSell and buy, if the purchase can close in the same tax year
Large suspended passive losses on the old propertySell and buy (losses free up under IRC 469(g))
California residentUsually 1031, since the state gives no bonus
Trading up with new debt anyway1031 plus a study on the excess basis; see cost segregation after a 1031 with boot
Want out of real estate entirelyNeither; see Section 453 installment sale

Get the Big Sale Tax Analysis to run both paths, plus an installment sale, on your numbers.

What to know

This is a rate-and-timing trade, not a way around the tax. The study deduction is passive for most owners, so it only helps in the year it has passive gain to absorb, and it needs the purchase to close in the same tax year as the sale. A cash sale still owes more today than a 1031, the bonus comes back as ordinary income on a later sale, and states such as California give no bonus at all. The study fee and the work of keeping separate state depreciation schedules are real costs.

Worked example

Assumptions: married couple, $250,000 of other income in 2026. Apartment building sold for $2,000,000, adjusted basis $700,000 after $600,000 of straight-line depreciation, no mortgage: $600,000 unrecaptured Section 1250 gain plus $700,000 of capital gain. Same sale. In the same year they buy a used $2,000,000 rental from an unrelated seller ($400,000 land, $1,600,000 building). A study puts 25% of the building ($400,000) into 5-, 7- and 15-year property, all taken as 100% bonus in 2026 and used as a passive deduction against the passive sale gain (rent assumed to cover the new property's other costs). Same sale for California residents, shown without the study deduction because California does not allow bonus depreciation; the federal saving from the study is the same as in Texas, and regular state depreciation on the new rental would trim the state figure only slightly. If the new rental is sold for cash in 2031 with the same $250,000 of other income, the $400,000 of bonus is recaptured as ordinary income (projected 2031 brackets).

Engine runCash sale, no new purchase, TexasSame sale, buy and cost seg a new rentalSame sale, California (state view)Later sale (2031): the $400,000 comes back
Filing statusMarried, jointMarried, jointMarried, jointMarried, joint
StateTexasTexasCaliforniaTexas
Other income (wages, pension, interest)$250,000$250,000$250,000$250,000
Long-term capital gain$700,000$700,000$700,000$0
Unrecaptured Section 1250 gain (25% max)$600,000$600,000$600,000$0
Section 1245 recapture (ordinary income)$0$0$0$400,000
Passive deduction from bonus on the new rental$0$400,000$0$0
Federal income tax on the sale$307,135$188,225$307,135$116,301
Net investment income tax (3.8%)$49,400$34,200$49,400$15,200
State income tax on the sale$0$0$141,239$0
Total tax caused by the sale$356,535$222,425$497,774$131,501
Effective rate on the gain27.4%17.1%38.3%32.9%
Gain kept after these taxes$943,466$1,077,576$802,226$268,500

Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table (where a state has not yet published 2026 brackets, its 2025 table is used and labeled projected). "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

Run your own numbers

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

Is bonus depreciation better than a 1031 exchange?
Neither is better in general. A 1031 defers the whole gain but keeps your low basis. Selling and buying a new rental with a cost seg pays some tax now but resets basis and can offset part of the sale-year tax with 100% bonus (P.L. 119-21). Hold period, state and heirs decide it.
Can bonus depreciation offset capital gains from selling a rental?
For a passive investor, yes in the sale year: gain from selling a rental is passive income (Treas. Reg. 1.469-2T(c)(2)), and depreciation on a new rental is a passive deduction, so one offsets the other. It reduces taxable income generally rather than the gain specifically.
Can you take bonus depreciation on a used building?
On the short-life components, yes, if you never used the property before and did not buy it from a related party or receive it by gift or inheritance (IRC 168(k)(2)(E)(ii); IRC 179(d)(2)). The 27.5- or 39-year building shell itself never qualifies.
Can I do a cost segregation study instead of a 1031 exchange?
You can sell, pay the tax and buy a different property with a study on it. The study does not defer the old gain; it creates a new deduction. If the purchase is not placed in service in the same tax year, the deduction may not land on the sale gain at all.
Does California allow bonus depreciation?
No. California has not conformed to IRC 168(k) (FTB 2025 Form 3885A instructions). A California resident gets only regular state depreciation on the components, so the state tax on the sale stays largely the same.
What happens to bonus depreciation when I sell?
It is recaptured. Bonus on 5- and 7-year property is ordinary Section 1245 recapture, and bonus on land improvements is recaptured under 1250(a). On an installment sale the recapture is still taxed in year one (IRC 453(i)).
How Hans helps: the free Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is free until November 2027. Start with a free scoping call. No checkout, no obligation.

Prefer email? Request the analysis by email.

Book a callCall Hans