Baker 1031 Investments
Home / Insights / Investing Section 1231 Gains in an Opportunity Zone

Opportunity Zone Funds

Investing Section 1231 Gains in an Opportunity Zone

I have been thinking about how easily a sale can look settled before its tax character is settled. Section 1231 gains from depreciable business property or real property held more than a year can qualify for Opportunity Zone investment, but only the net Section 1231 gain does, and the timing is technical. This guide explains Section 1231 gains, year-end netting, the 180-day clock, common errors, and reinvestment planning. Educational only, not tax advice; verify current rules with your CPA.

Baker 1031 Research updated this Opportunity Zone Funds guide in June 2026. It is a 16 min read.

First-order thinking sees a profitable building or equipment sale and treats the gross gain as ready to invest. Second-order thinking waits for the full-year netting, separates ordinary-income recapture, confirms the actual start date, and only then considers the QOF's risk, long hold, and suitability.

What are Section 1231 gains?

Section 1231 applies when a business sells or exchanges depreciable property or real property used in a trade or business and held for more than one year. Examples include a commercial building, business equipment, machinery, or business-use land. These assets are neither pure capital assets such as stock nor ordinary inventory.

The treatment is hybrid. A net Section 1231 gain is generally treated as long-term capital gain, while a net Section 1231 loss is treated as an ordinary loss deductible against ordinary income. The capital-gain character is what makes a net Section 1231 gain one of the gains that qualify for Opportunity Zone investment and capable of funding an Opportunity Zone. Ordinary income does not qualify.

Netting rules for 1231

All Section 1231 gains and losses for the year are netted at year-end. A sale cannot be evaluated alone. If gains exceed losses, the result is a net Section 1231 gain treated as long-term capital gain. If losses exceed gains, the result is a net Section 1231 loss, treated as ordinary.

For OZ purposes, only that net gain is eligible. A $500,000 Section 1231 gain on one sale and a $200,000 Section 1231 loss on another produces a $300,000 net gain, not a $500,000 eligible amount. The full-year picture determines both the character and the amount that can fund a QOF.

A Section 1231 gain is not truly known until year-end, when all Section 1231 gains and losses net against each other. Only the net gain is capital gain that can fund an Opportunity Zone investment.

The 180-day clock for 1231 gains

The 180-day window — the period to invest a capital gain into a QOF applies to net Section 1231 gains, but its operation is more technical than it is for a simple sale. Because netting occurs at year-end, early guidance treated the clock as beginning on December 31, the last day of the tax year, and therefore extending roughly to late June of the following year.

Later guidance provided more flexibility, in some cases allowing the 180 days to run from the Section 1231 sale date, the realization date, rather than waiting for year-end. The rules have been refined over time. The applicable start date depends on current rules and the facts, so it must be confirmed with a CPA.

Common timing mistakes

The most common error is investing a gross Section 1231 gain before offsetting Section 1231 losses are netted. Only the net capital gain qualifies, so a commitment above that amount can create complications.

Another error is assuming the sale-date clock when year-end applies, or assuming year-end when sale-date treatment applies, and then missing a deadline or investing outside the window. A third is treating ordinary-income recapture as eligible. Section 1245 depreciation recapture on personal property is ordinary income, not capital gain, and it cannot fund an OZ.

Key Takeaways

  • Only the net Section 1231 gain after netting all gains and losses for the year is capital gain eligible for a QOF; not a single gross gain.
  • Ordinary-income recapture, including Section 1245 depreciation recapture, does not qualify. Only the net capital-gain portion can fund an OZ.
  • The 180-day clock historically began at year-end because netting occurs then, but later guidance can allow a sale-date start. Confirm the current rule.
  • Avoid over-investing, mistiming the clock, and misclassifying recapture by confirming eligible amount, start date, and character with a CPA.

Planning the reinvestment

Start with a CPA's calculation of all Section 1231 gains and losses and the net Section 1231 gain. The CPA should separately identify ordinary-income recapture, which does not qualify. That prevents over- or under-investing and establishes the actual eligible amount.

Next, confirm the applicable start date and deadline under current rules—year-end or, where available, the sale date. With amount and deadline known, identify and evaluate a suitable QOF in advance, then fund it within the applicable window. Section 1231 timing is technical and evolving, so this should not be based on assumptions or old material.

Why this matters for business sellers

Business owners and real-estate operators frequently recognize Section 1231 gains when they sell a building, equipment, or operating real estate. See Opportunity Zone investing for stock and business-sale gains. A substantial resulting net capital gain can fund a QOF, defer the tax, and may grow tax-free after a 10-year hold.

But netting, recapture, and timing make this more demanding than a straightforward stock or property sale. Misunderstanding any of them can cost the investor the intended benefits or create compliance problems. Section 1231 is a meaningful OZ on-ramp for business sellers, but professional guidance is central to using it correctly.

How Baker 1031 helps with 1231 gains

Baker 1031 Investments helps business sellers and real-estate operators understand what Section 1231 gains are, why only the net gain is eligible, how the 180-day clock works, and how to plan a reinvestment in a suitable QOF.

QOF interests and related securities are offered through Aurora Securities, Inc., member FINRA/SIPC, and any recommendation follows a suitability review. OZ investments are typically suitable for an accredited investor. Baker 1031 does not provide tax or legal advice. A CPA must confirm the Section 1231 netting, ordinary-income recapture, eligible amount, character, and deadline. Baker 1031 can help investors understand the OZ path and access suitable funds within the applicable window while coordinating with the CPA. This is educational information only; verify current rules with your tax advisor.

Frequently Asked Questions

What is a Section 1231 gain?

It arises when a business sells or exchanges depreciable property or real property used in a trade or business and held more than one year, including a commercial building, business equipment, machinery, or business-use land. A net Section 1231 gain is generally long-term capital gain; a net Section 1231 loss is an ordinary loss deductible against ordinary income. The net capital-gain character is what can make it OZ-eligible. A CPA must confirm treatment for the particular assets and sales.

Can I invest a Section 1231 gain in an Opportunity Zone?

Generally yes, but only the net Section 1231 gain qualifies. That net long-term capital gain can be invested in a QOF within the applicable 180-day window to defer it and potentially receive tax-free growth after a 10-year hold. The eligible amount is the result after netting all Section 1231 gains and losses, not a single gross gain; ordinary-income recapture, including Section 1245 recapture, is excluded. Confirm the current rules and amount with a CPA before investing.

Why is only the net 1231 gain eligible?

Section 1231 requires full-year netting. If gains exceed losses, the net gain is long-term capital gain; if losses exceed gains, the net loss is ordinary. Only capital gain can fund a QOF. Thus, $500,000 of gain on one sale offset by $200,000 of loss on another yields a $300,000 eligible net gain, not $500,000. A CPA performs this calculation.

When does the 180-day clock start for a 1231 gain?

This is technical and has evolved. Because net Section 1231 gain historically was not determined until December 31, early guidance treated year-end as the start and allowed roughly until late June of the following year to invest. Later guidance can, in some circumstances, permit the clock to run from the Section 1231 sale date. A taxpayer may have more than one possible start date depending on the rules and facts. Confirm the deadline with a CPA rather than assume.

Does depreciation recapture qualify for an OZ?

No. Ordinary-income recapture does not qualify. Section 1245 recapture on personal property, for example, is ordinary income rather than capital gain. The full proceeds and even the full gain may not be eligible. A CPA separates recapture, which is taxed and not eligible, from the net Section 1231 capital gain that can fund an OZ.

What's the difference between a 1231 gain and depreciation recapture?

Depreciation recapture, such as Section 1245 recapture, re-characterizes part of the gain as ordinary income, recovering the benefit of prior depreciation deductions and taxing it at ordinary rates. The remaining gain from Section 1231 property held more than one year enters the Section 1231 netting. If a net gain results, it is long-term capital gain. For OZ purposes, recapture does not qualify; the net capital-gain portion can. This division is technical and fact-specific.

What is the most common mistake with 1231 gains and OZs?

Investing the full gross gain before netting losses is common. A later net gain smaller than the subscription amount can create complications because only the net gain qualifies. Other errors include using the wrong start date and counting ordinary-income recapture as eligible. Confirm the net gain, applicable start date, and character with a CPA before investing.

Do I have to wait until year-end to invest a 1231 gain?

Not necessarily. Historically, the year-end clock meant the full-year picture had to be complete. Later guidance can permit sale-date treatment in some cases. But if sale-date treatment applies, the earlier deadline can govern. Confirm whether year-end or sale-date treatment applies before planning the subscription; guessing can cause a missed window or an investment outside it.

How do I know how much of my gain is OZ-eligible?

A CPA nets all Section 1231 gains and losses for the year and removes ordinary-income recapture, including Section 1245 recapture. The eligible amount is the resulting net Section 1231 capital gain, not the gross gain on one sale and not ordinary income. The amount often is not final until year-end and requires professional calculation under the current rules.

Can I use an OZ for a building sold by my business?

Often, yes, for the net capital-gain portion. A building used in the business and held more than a year generally produces Section 1231 gain. A resulting net Section 1231 gain can be long-term capital gain that funds a QOF. Ordinary-income recapture is excluded, all Section 1231 activity must be netted, and the applicable 180-day start date needs confirmation with a CPA.

How does the 1231/OZ path compare to a 1031 exchange?

They are different strategies. A 1031 exchange applies to real property and requires a like-kind real-estate replacement and specific 45/180-day deadlines; when fully reinvested, it generally defers the full gain, including recapture. An OZ accepts the net Section 1231 capital gain, not ordinary recapture, in a QOF and offers deferral plus potential tax-free growth after a 10-year hold. For business real property, including Section 1231 property, an investor may consider a 1031 or an OZ. Goals, asset type, and amounts should be analyzed with a CPA.

Is investing 1231 gains in an OZ a good idea?

It can be for the right business seller. A confirmed net capital gain can fund a QOF, defer tax, and may grow tax-free after 10 years. But the QOF's project, sponsor, and risk tolerance matter, as do illiquidity, long holding period, and proper Section 1231 treatment. Tax benefits matter only if the investment performs. It is not automatically right for everyone; evaluate the investment and suitability, and verify tax details with a CPA. This is educational information, not a recommendation.

Does the OZ program's permanence affect 1231 gains?

The 2025 legislation, often called OZ 2.0, made the program permanent and changed timing mechanics: a rolling 5-year deferral for post-2026 investments and a new zone map effective January 1, 2027, while the current map runs through 2028. The core rule remains that net Section 1231 capital gain can be eligible and ordinary recapture is not. Netting and 180-day timing have evolved through guidance and may continue to be refined, so confirm current general OZ and Section 1231 treatment with a CPA.

Should I plan my 1231 reinvestment in advance?

Yes. Estimate the net Section 1231 gain with a CPA, identify the applicable start date—year-end or potentially sale date—and line up a suitable QOF in advance. This reduces the risk of over-investing, using the wrong window, or including ineligible recapture. The technical rules make advance planning and professional coordination particularly important.

How does Baker 1031 help with 1231 gains?

Baker 1031 explains Section 1231 gains, net eligibility, the 180-day rule, and reinvestment planning. QOF interests are offered through Aurora Securities, Inc., member FINRA/SIPC, after suitability review, typically for accredited investors. Baker 1031 does not give tax or legal advice; the CPA confirms netting, recapture treatment, eligible amount, character, and deadline. Baker 1031 can help investors understand and access suitable QOFs while coordinating with the CPA.

Glossary

Section 1231 Property: Depreciable or real property used in a trade or business, held over a year.

Section 1231 Gain: Gain on §1231 property; a net §1231 gain is treated as capital gain.

Net 1231 Gain: The result after netting all §1231 gains and losses (OZ-eligible).

Net 1231 Loss: When §1231 losses exceed gains; treated as ordinary loss.

Netting: Combining all §1231 gains and losses for the year at year-end.

Depreciation Recapture: Re-characterizing part of the gain as ordinary income.

Section 1245 Recapture: Recapture on personal property, taxed as ordinary income.

Ordinary Income: Income taxed at ordinary rates; not OZ-eligible.

Capital Gain: The character that makes a net §1231 gain OZ-eligible.

180-Day Window: The period to invest a gain into a QOF.

Year-End Start: Historic §1231 clock start (December 31) due to netting.

Sale-Date Start: Flexibility allowing the clock to run from the sale date.

QOF: Qualified Opportunity Fund, the OZ investment vehicle.

Deferral: Postponing the net §1231 gain's tax via the OZ.

10-Year Exclusion: Tax-free appreciation after a 10-year QOF hold.

Eligible Amount: The net §1231 capital gain that can fund a QOF.

Sources & References

  1. IRS. Opportunity Zones Frequently Asked Questions
  2. Cornell Legal Information Institute. 26 U.S. Code § 1400Z-2 — Special rules for capital gains invested in opportunity zones
  3. IRS. Topic No. 409, Capital Gains and Losses
  4. IRS. About Form 8997, Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments

Disclosures

This article is published by Baker 1031 Investments, LLC for general educational purposes for accredited investors and is not an offer to sell or a solicitation of an offer to buy any security, nor is it tax, legal, accounting, or investment advice or a recommendation. Any securities offering is made solely through a sponsor’s private placement memorandum (PPM) following a suitability determination. Securities offered through Aurora Securities, Inc. (ASI), member FINRA / SIPC; Baker 1031 Investments is independent of ASI.

Oil & gas mineral and royalty interests and DST programs are speculative, illiquid securities sold only to verified accredited investors and involve substantial risk, including possible loss of principal, commodity-price and production-decline risk, lack of control, and the risk that an intended 1031 exchange fails to qualify for tax deferral. Whether a particular interest qualifies as like-kind real property is a fact-specific legal determination that varies by state and by the terms of the instrument. Tax results depend on your individual circumstances. Consult your own CPA and attorney before acting. Past performance does not guarantee future results.

Filed under: Opportunity Zone Funds and Opportunity Zones. Home Opportunity Zone

About the author

Jerry Baker, Founder & Managing Principal, Baker 1031 Investments · FINRA Series 22 / 63 · SIE

Jerry founded Baker 1031 to bring institutional underwriting discipline to the 1031 exchange. He spent more than a decade on Wall Street working on $10B+ of real estate before building diversified DST portfolios for individual investors. Read full bio →

Reviewed by Lori Kamen — President & CCO, Aurora Securities, Inc. (FINRA Series 4 / 7 / 24 / 53 / 63 / 66), the supervising registered principal. Last reviewed June 2026. Baker 1031 reviews its educational content periodically for accuracy and regulatory compliance. Securities offered through Aurora Securities, member FINRA/SIPC.

Explore current offerings

See the Opportunity Zone Funds we currently have available and how they fit a strategy like this one. View Opportunity Zone Funds → Educational only — not an offer of any security. Offerings are available to verified, accredited investors and change over time.

Right now, I would preserve liquidity until the net amount and applicable deadline are certain, then judge the QOF as an investment before allowing tax deferral to carry the decision. How are you handling the netting and timing questions on your business-property sales?

This article is published for educational purposes only. It may contain errors or information that has become outdated, and it is not tax, investment, legal, or accounting advice. Do not rely on it when making investment or tax decisions: review the offering documents (including the PPM) for any investment you are considering, and speak with your attorney or CPA about your specific situation before acting.
ABOUT THE AUTHOR
Jerry Baker

Jerry Baker is the founder and managing principal of Baker 1031 Investments, a founder-led real estate securities brokerage helping accredited investors evaluate 1031-eligible strategies. His perspective comes from more than a decade in institutional real estate and a 60-year family legacy in the business. Securities offered through Aurora Securities, Inc., member FINRA/SIPC.

More from Insights

Building a Diversified QOF PortfolioOpportunity Zone Funds Can You Combine a 1031 Exchange and an Opportunity Zone?Opportunity Zone Funds Concentrated Stock to Real Estate: Using a Stock Gain to Buy PropertyOpportunity Zone Funds
Next step

Questions about your exchange?

Tell me where you are in the process and I’ll tell you, plainly, whether a 1031 into a DST is a fit.