Owner questions

Opportunity Zone or 1031 Exchange for a Sacramento Rental?

A 1031 exchange defers federal and California tax on a rental sale; an Opportunity Zone fund defers only federal tax on the gain you invest. How the two compare, including the rule changes for investments after 2026.

Published November 24, 2026 | Last reviewed November 2026

Short answer: for a Sacramento rental sale, a 1031 exchange defers both federal and California tax on the whole gain if you buy more real estate, while an Opportunity Zone investment defers only federal tax, and only on the gain you put into a qualified fund. California does not conform to the Opportunity Zone rules, so a California resident still owes state tax on the gain in the year of the sale. That single difference settles the question for many local owners, but not all of them.

Two Different Tools

A 1031 exchange and an Opportunity Zone investment both postpone tax on a gain. They work in different ways.

The statute defines a qualified opportunity fund as an investment vehicle organized as a corporation or partnership to invest in qualified opportunity zone property, holding at least 90 percent of its assets in that property.

What You Have to Reinvest

This is the biggest practical difference for a landlord.

For an owner who wants cash out of real estate, that difference is the main draw of the Opportunity Zone route.

Which Gains Qualify

The IRS Opportunity Zones FAQ says eligible gains include capital gains and qualified section 1231 gains, generally the gains reported in Part I of Form 4797. For 1231 gain, the 180-day window begins on the day the gain was realized. The gain cannot come from a sale to a related person, and section 1400Z-2 tests relationship at 20 percent rather than the usual 50 percent.

A rental sale often produces more than one kind of gain. Ask your CPA which part of your gain is eligible before you size an investment. The depreciation recapture guide explains why a rental gain is not all one type.

The Rules Change for Investments After 2026

Public Law 119-21, enacted July 4, 2025, rewrote key parts of section 1400Z-2 for amounts invested in qualified opportunity funds after December 31, 2026. The two versions, as printed in the current code:

Investments made through December 31, 2026

Investments made after December 31, 2026

The same law also sets a new cycle of zone designations. Section 1400Z-1 now uses a decennial determination date of July 1, 2026, and every tenth July 1 after that, with each designation running 10 years from its start date. Whether a particular Sacramento census tract is in a zone, and in which round, is something to confirm before you commit.

A sale late in 2026 sits on the seam between the two versions of the rules. Have a CPA confirm which version applies to your sale and your investment date before relying on either.

The California Problem

Franchise Tax Board Publication 1001 for 2025 lists the deferral and exclusion of capital gains in qualified opportunity zone funds among the federal provisions where California does not conform. For a Sacramento owner, that means:

State tax should be part of every comparison. For the state side of a sale, see California taxes when selling a rental.

Side by Side

When Each One Tends to Fit

A 1031 exchange tends to fit when you want to stay in real estate, the California tax on the gain is material, and you can find replacement property in time. If you are ready to stop managing tenants, a fractional option such as a Delaware Statutory Trust keeps the exchange and the state deferral.

An Opportunity Zone investment tends to be worth a look when you want to take your basis out as cash, you are comfortable with a fund investment and its holding period, and the federal benefit still justifies paying California tax now. The tax rules say nothing about whether a given fund is a good investment.

Some owners also look at simply selling. The keep or sell guide and selling a rental without capital gains tax now cover the wider set of options.

Questions to Bring to Your CPA

To compare the two routes with a team that knows both, request a referral.

Common questions

Does California allow Opportunity Zone deferral?

No. FTB Publication 1001 for 2025 lists the deferral and exclusion of capital gains in qualified opportunity zone funds as a federal provision California does not conform to, so the state tax on the gain is due for the year of the sale.

Do I have to reinvest my whole sale price in an Opportunity Zone fund?

No. The deferral applies to the amount of eligible gain you invest within 180 days. The IRS FAQ says you can defer only the part of the gain you invest.

Can rental property gain go into an Opportunity Zone fund?

Eligible gains include capital gains and qualified section 1231 gains, according to the IRS FAQ. A rental sale can include other types of gain, so a CPA should confirm which part is eligible.

What changes for Opportunity Zone investments after 2026?

For amounts invested after December 31, 2026, Public Law 119-21 sets deferral to end at the earlier of sale or 5 years after the investment, adds a 10 percent basis increase after 5 years (30 percent for qualified rural funds), and allows a fair market value basis election after 10 years.

Which defers more tax for a Sacramento owner?

A 1031 exchange can defer both federal and California tax on the full gain if all value is reinvested in real property. An Opportunity Zone investment defers only federal tax on the gain invested. Which costs less overall depends on your numbers and goals.

Next step. Request a referral to a local qualified intermediary, CPA or advisor.

Sources

  1. 26 U.S. Code 1400Z-2, Special rules for capital gains invested in opportunity zones (Cornell LII)
  2. 26 U.S. Code 1400Z-1, Designation of qualified opportunity zones (Cornell LII)
  3. IRS, Opportunity Zones frequently asked questions
  4. California Franchise Tax Board, Publication 1001 (2025), Supplemental Guidelines to California Adjustments
  5. California Franchise Tax Board, Reporting like-kind exchanges: IRC 1031 and FTB 3840
  6. 26 U.S. Code 1031, Exchange of real property held for productive use or investment (Cornell LII)

Sources checked November 24, 2026. Last reviewed November 2026.

General information only, not tax or legal advice. Consult a CPA or tax attorney.