Real Estate Investor Tax Guide: 1031 Exchanges, Cost Segregation, and Depreciation Stacking
Real estate is the most tax-advantaged asset class available to individual investors. The tax code provides depreciation deductions that create paper losses even when the property produces positive cash flow, IRC 1031 exchanges that defer capital gains indefinitely, and the stepped-up basis at death under IRC 1014 that can eliminate deferred gains entirely. When you layer cost segregation (accelerating depreciation on building components), 100% bonus depreciation (restored under OBBBA for property acquired after January 19, 2025, with no scheduled end date), real estate professional status (allowing losses to offset W-2 and other active income under IRC 469(c)(7) when you also materially participate), and the 20% QBI deduction under IRC 199A, the effective tax rate on real estate income can approach zero for well-structured portfolios.
Real estate tax advantage stack:
| Strategy | What It Does | Tax Impact |
|---|---|---|
| Depreciation (MACRS) | Deducts cost of building over 27.5 years (residential) or 39 years (commercial) | Creates paper losses even with positive cash flow |
| Cost segregation | Reclassifies building components to 5, 7, or 15-year property | Accelerates depreciation to the front years |
| Bonus depreciation (100% OBBBA) | Immediately deducts 100% of 5, 7, and 15-year property | Massive first-year deduction |
| RE professional status (IRC 469(c)(7)) | With material participation, allows rental losses to offset W-2 and other active income | Removes the automatic passive label (excess business loss cap still applies) |
| 1031 exchange (IRC 1031) | Defers capital gains and depreciation recapture on sale | No tax on sale if exchanged into like-kind property |
| Stepped-up basis at death (IRC 1014) | Heirs receive property at fair market value; all deferred gains eliminated | Permanent tax elimination (if held until death) |
| QBI deduction (IRC 199A) | 20% deduction on qualified rental income | Effective rate reduction of up to 7.4% |
| Opportunity Zone (IRC 1400Z) | Deferral + exclusion of capital gains invested in qualified opportunity zones | Up to 100% exclusion of new gains after 10 years |
like-kind exchange requirements:
| Rule | Details |
|---|---|
| Like-kind property | Any real property held for business or investment (broad definition) |
| 45-day identification | Must identify replacement property within 45 days of closing on relinquished property |
| 180-day closing | Must close on replacement property within 180 days |
| Qualified intermediary (QI) | Must use a QI to hold proceeds; can’t touch the money |
| Same taxpayer | Same taxpayer (or disregarded entity) must be on both deeds |
| Not for personal use | Can’t exchange a primary residence (unless mixed-use with business portion) |
| Boot | Any cash or non-like-kind property received is taxable (“boot”) |
How do you stack real estate tax strategies?
Can a real estate investor use Section 179 on cost seg assets?
Usually not. Section 179 doesn’t cover property held only to produce income, and that includes rental property unless renting is your trade or business. For most investors, the 5-, 7- and 15-year components a cost segregation study pulls out go through bonus depreciation instead, which is 100% for property acquired after January 19, 2025.
The rest of the building doesn’t qualify for either. Residential rental property is 27.5-year straight line, and bonus only reaches property with a recovery period of 20 years or less. Bonus also runs into the passive rules. Rental activities are passive by default, so a big first-year loss can sit unused unless you qualify for one of the exceptions covered below.
Should a rental investor elect out of bonus on cost seg assets?
Some investors do, because a first-year loss they can’t use now is worth less than one they can. Rental activities are passive by default, so a bonus-driven loss from a cost segregation study can end up suspended. Electing out puts those components on regular MACRS, but the election covers the entire class (all 5-year property, say) for that year and needs IRS consent to revoke.
Across a portfolio, that means every property you bought that year. After an election out, 15-year land improvements use 150% declining balance, 5- and 7-year components use 200% declining balance, and the building itself stays on 27.5-year straight line whatever you pick. Whether spreading the deduction beats a suspended loss is a planning call that depends on your other income and how long you’ll hold.
Can a cost segregation loss offset my W-2 income?
Only if it clears two limits. First the passive rules: a long-term rental loss can’t offset wages unless you’re a real estate professional who materially participates in the rental, or the loss fits within the $25,000 allowance. Then the excess business loss limit, which caps net business losses above $313,000 ($626,000 joint) for 2025 and $256,000 ($512,000 joint) for 2026.
The $25,000 allowance needs active participation, at least 10% ownership, and modified AGI of $100,000 or less, and it’s gone at $150,000. Real estate professional status needs more than half your working hours and more than 750 hours in real property trades or businesses you materially participate in, and on a joint return one spouse has to meet both tests alone.
Short-term rentals get their own treatment. If the average guest stay is 7 days or less, the property isn’t a rental activity at all, but the loss is still passive unless you materially participate, and the $25,000 allowance generally isn’t the route, since it covers rental real estate activities.
Any excess business loss becomes a net operating loss carryover, and a passive loss you can’t use carries forward too.
Start with a Diagnostic: a CPA licensed in the US and Canada reads your file and tells you in writing what's wrong and how to fix it, three to four business days after you finish the questions. The report is $250. If you hire us for any work after that, you get the $250 back as a discount on that work. Or send us your return or your letter and get a fixed price, free.
One or two plain-English guides a week on US-Canada tax. No spam, unsubscribe anytime.
Done. The next guide will land in your inbox.
Yarik Yarosh, CPA. "Real Estate Investor Tax Guide: 1031 Exchanges, Cost Segregation, and Depreciation Stacking." Blue Cloud CPA, September 5, 2026, updated September 23, 2026. https://bluecloudcpa.com/guides/small-business-real-estate-investor-tax-guide-1031-cost-seg
This guide is general information, not tax advice for your specific situation. Which points apply, and how, depends on your facts.