Real estate investors face capital gains taxes when selling properties, but the federal tax code provides multiple strategies to reduce or defer those liabilities. Understanding the mechanics of short-term versus long-term capital gains, depreciation recapture, and available tax planning structures allows investors to optimize their after-tax returns.
This article explains how capital gains taxes apply to real estate, breaks down the 2026 tax brackets, and outlines the most effective strategies investors use to reduce their tax burden.
Federal Capital Gains Tax: Short-Term vs Long-Term
The federal government distinguishes between short-term and long-term capital gains based on holding period.
- Short-term capital gains: Assets held for one year or less are taxed as ordinary income at regular federal income tax rates, reaching as high as 37 percent.
- Long-term capital gains: Assets held for longer than one year receive preferential tax treatment at reduced rates of 0 percent, 15 percent, or 20 percent, depending on the investor’s taxable income.
The holding period begins on the date the property is acquired and ends on the date of sale. For real estate investors, qualifying for long-term treatment requires holding the property for at least 366 days (one year plus one day).
2026 Federal Long-Term Capital Gains Tax Brackets
The income thresholds for long-term capital gains tax rates are indexed to inflation annually. The 2026 brackets are:
| Tax Rate | Single Filer | Married Filing Jointly |
|—|—|—|
| 0% | $0 – $49,450 | $0 – $98,900 |
| 15% | $49,451 – $545,500 | $98,901 – $613,700 |
| 20% | Over $545,500 | Over $613,700 |
These rates apply only to the capital gain portion of the sale (the difference between the sale price and the adjusted basis). The basis includes the original purchase price, acquisition costs, and capital improvements made during the holding period.
Net Investment Income Tax (NIIT): The 3.8 Percent Surcharge
High-income investors may face an additional 3.8 percent federal surcharge on capital gains and passive income under the Net Investment Income Tax (NIIT). The NIIT applies to single filers with modified adjusted gross income exceeding $200,000 and married couples filing jointly with income exceeding $250,000.
For investors in the 20 percent long-term capital gains bracket, the effective federal rate can reach 23.8 percent (20 percent capital gains rate plus 3.8 percent NIIT).
Depreciation Recapture: The 25 Percent Tax on Deductions Taken
Real estate investors who claimed depreciation deductions during the property’s holding period must pay depreciation recapture taxes when the property is sold. The IRS taxes recaptured depreciation under Section 1250 at a maximum rate of 25 percent for straight-line depreciation.
How Depreciation Recapture Works
Under the Modified Accelerated Cost Recovery System (MACRS), residential rental properties depreciate over 27.5 years, and commercial properties depreciate over 39 years. Investors deduct a portion of the property’s value each year as a non-cash expense, reducing taxable income.
When the property is sold, the IRS recalculates the investor’s basis by subtracting all depreciation deductions taken (or allowed to be taken) during the holding period. The recaptured depreciation is taxed separately from the capital gain, capped at 25 percent.
The “Allowable” Clause: A Critical Caveat
A heavily misunderstood point among real estate investors is the “allowable” clause of the IRS tax code. The IRS calculates depreciation recapture based on what an investor was allowed to deduct, even if the investor never actually claimed those deductions on their tax return.
Failing to claim the standard 3.636 percent annual deduction on a residential rental property does not eliminate the 25 percent tax liability when the property is sold. The IRS assumes the deduction was taken and taxes the recapture accordingly.
Investors who forget to claim depreciation lose the current tax benefit but still owe the recapture tax at sale. This is a lose-lose outcome.
California State Treatment: No Preferential Rates
California law treats all capital gains identically to ordinary income, making no distinction based on the asset’s holding period. Capital gains are taxed at California’s progressive income tax rates, which reach up to 13.3 percent for high earners.
For California residents selling real estate, the combined federal and state tax burden can reach:
- 23.8 percent federal (20 percent long-term + 3.8 percent NIIT)
- 13.3 percent California state
- 25 percent depreciation recapture (federal only)
This creates a total effective tax rate exceeding 40 percent on recaptured depreciation and capital appreciation for high-income California investors.
Strategy 1: Cost Segregation and 100 Percent Bonus Depreciation
Cost segregation is a tax planning strategy that reclassifies building components into shorter depreciation schedules, accelerating deductions in the early years of ownership.
Under the One Big Beautiful Bill Act (OBBBA), the IRS issued Notice 2026-11, outlining a permanent 100 percent additional first-year depreciation deduction for eligible depreciable property acquired after January 19, 2025.
This allows investors to perform cost segregation studies and deduct the full cost of reclassified property components in the first year they are placed in service, instead of capitalizing them over 27.5 or 39 years.
How It Works
A cost segregation study identifies building components that qualify as personal property or land improvements (e.g., flooring, lighting, HVAC systems, landscaping, parking lots). These components are reclassified from real property (long depreciation schedules) to personal property (shorter schedules).
With 100 percent bonus depreciation, the full cost of these reclassified components is deducted immediately in year one, drastically lowering current taxable income.
The Recapture Trade-Off
While cost segregation accelerates deductions and provides immediate tax savings, it creates a higher depreciation recapture liability when the property is sold. Building components classified as Section 1245 property (personal property) can trigger recapture at ordinary income tax rates rather than the 25 percent Section 1250 cap.
Depending on the investor’s marginal tax bracket, recapture on Section 1245 property can push the effective tax as high as 37 percent at the federal level, plus California state tax.
Investors must weigh the current tax savings from accelerated depreciation against the higher recapture liability at sale. For investors with long holding periods or plans to execute a 1031 exchange or Opportunity Zone rollover, cost segregation remains highly effective. For investors planning to sell within a few years, the recapture penalty can offset much of the initial benefit.
Strategy 2: 1031 Exchange for Indefinite Deferral
The Section 1031 exchange allows investors to defer capital gains taxes and depreciation recapture indefinitely by rolling the full net sales proceeds into a replacement property.
The exchange must follow strict timelines:
- 45 days to identify replacement properties
- 180 days to close on the replacement property
The investor must reinvest the full net proceeds. Any cash retained is immediately taxable. The replacement property must be real estate of like-kind.
The deferred gain and recaptured depreciation do not disappear. They carry forward into the replacement property’s basis, reducing the taxable gain when that property is eventually sold. The deferral continues indefinitely as long as the investor continues executing 1031 exchanges.
California conforms to federal 1031 rules but enforces clawback tracking. Investors must file Form 3840 annually to report deferred gains on out-of-state replacement properties. When the replacement property is sold, California collects the deferred state tax.
Strategy 3: Opportunity Zone Investment for Permanent Exclusion
The federal Opportunity Zone program provides a temporary deferral on existing capital gains alongside a permanent 100 percent tax exclusion on any new appreciation generated within a Qualified Opportunity Fund after a 10-year holding period.
Investors must invest the capital gain portion of a sale into a Qualified Opportunity Fund within 180 days. The original basis can be retained as cash or deployed elsewhere.
The deferred gain must be recognized and taxed in the 2026 tax year under the original program rules. However, with the passage of the One Big Beautiful Bill Act, Opportunity Zones have become permanent. Investors structuring sales in late 2026 can push their 180-day window into 2027, accessing Opportunity Zones 2.0 and avoiding the 2026 mandatory recognition event.
The key benefit: all appreciation on the Opportunity Fund investment is tax-free at the federal level after 10 years. California does not conform, so state tax is due immediately, but the federal exclusion remains intact.
Strategy 4: Installment Sales for Income Spreading
An installment sale allows investors to defer recognition of capital gains over multiple tax years by receiving payments over time rather than in a lump sum at closing.
Under an installment sale, the investor reports a portion of the capital gain each year as payments are received. This spreads the tax liability across multiple years, potentially keeping the investor in lower tax brackets and reducing the overall effective rate.
Installment sales work best when:
- The buyer is creditworthy and capable of making scheduled payments
- The investor does not need immediate liquidity
- The property does not carry recaptured depreciation exceeding certain thresholds (which may be taxed immediately)
Investors using installment sales must structure the deal carefully to avoid immediate recognition of the full gain. The IRS requires that interest be charged on the unpaid balance, and certain depreciation recapture amounts may be taxable in year one regardless of payment structure.
Strategy 5: Harvesting Losses to Offset Gains
Capital losses on other investments can offset capital gains from real estate sales. The IRS allows investors to use capital losses to reduce taxable capital gains dollar-for-dollar, and up to $3,000 of excess losses can offset ordinary income annually.
Investors with unrealized losses in stocks, businesses, or other real estate holdings can strategically realize those losses in the same tax year as a profitable property sale to reduce the net taxable gain.
This strategy requires active portfolio management and coordination across multiple asset classes. Investors should work with tax advisors to ensure compliance with IRS wash-sale rules and capital loss carryforward provisions.
Strategy 6: Holding Properties Until Death for Step-Up in Basis
Real estate held until death receives a step-up in basis to fair market value at the date of death. Heirs who inherit the property can immediately sell it without owing capital gains taxes on the appreciation that occurred during the decedent’s life.
This strategy eliminates capital gains taxes entirely but requires the investor to hold the property through their lifetime. For investors prioritizing wealth transfer to heirs over liquidity, the step-up in basis provides the most tax-efficient exit strategy.
California conforms to the federal step-up rules, so both federal and state capital gains taxes are eliminated at death.
Planning Considerations for 2026
Real estate investors facing capital gains taxes in 2026 should evaluate their specific circumstances:
- Cash needs: Do you need liquidity immediately, or can you defer recognition through reinvestment?
- Holding period: Are you willing to hold replacement properties or fund investments for 10+ years to access permanent exclusions?
- State residency: California’s lack of conformity to Opportunity Zones and high state tax rates create additional planning complexity.
- Recapture liability: How much depreciation have you claimed? Recapture can significantly increase your total tax burden.
Modeling the after-tax outcome of each strategy before executing a sale allows investors to select the structure that maximizes net proceeds and aligns with their financial goals. Use Primior’s investment calculator to project net returns under different tax strategies.
Conclusion
Capital gains taxes on real estate are significant, but the federal tax code provides multiple strategies to reduce or defer those liabilities. Cost segregation accelerates deductions upfront. 1031 exchanges defer taxes indefinitely. Opportunity Zones provide permanent exclusions. Installment sales spread recognition across years. Loss harvesting offsets gains. The step-up in basis eliminates taxes at death.
Each strategy has distinct mechanics, timelines, and trade-offs. Investors who understand these tools and apply them strategically can substantially reduce their tax burden and improve after-tax returns on real estate investments.









