Baker 1031Investor Workspace
Welcome, there!Log Out

Learn

A little clarity for your next decision.

Loading your learning library…

Browse the library

Baker 1031

Investor workspace · Airtable inventory

Investing Section 1231 Gains in an Opportunity Zone: Recapture, Timing, and Cash

By Jerry Baker

A gain from selling long-held business or rental property may qualify for investment in a Qualified Opportunity Fund, or QOF. The eligible amount excludes ordinary depreciation recapture, and the deadline usually starts with the sale rather than the end of the year. This guide explains how to separate the gain, plan the cash, and apply the rules for investments made in 2026 or later.

Start with the property you sold

Section 1231 covers certain property used in a trade or business and held for more than one year. That can include business real estate and depreciable equipment. It does not simply cover everything a business owns. Inventory and property held mainly for sale to customers fall outside the usual definition. Special rules also apply to certain other assets and losses. [1]

Think of Section 1231 as a set of sorting rules. The sale may create gain, but your tax return must decide what kind. That answer affects both the tax bill and the amount you might defer through a QOF.

A rental owner may have a sale of the building, land, appliances, and other components. A business owner may sell real estate, machinery, inventory, and goodwill in one deal. One purchase price does not mean one tax category. Your CPA needs the allocation among assets before calculating the possible QOF investment.

This guide focuses on an individual taxpayer's business-property gain. Corporate sellers can face added rules. A sale of an ownership interest in a company also differs from a sale of the company's assets. Start by naming the seller and the property, not by choosing a fund.

Remove ordinary depreciation recapture first

Depreciation lowers an asset's tax basis over time. When you sell, part of the gain may be taxed as ordinary income under recapture rules. Section 1245 commonly applies to equipment and certain other depreciable property. Its ordinary-income amount generally reaches prior depreciation, but cannot exceed the gain under the applicable calculation. [2]

Section 1250 has a different test for covered real property. For property held more than one year, ordinary recapture generally concerns depreciation above the straight-line amount, subject to the statute's rules. Do not assume that every item attached to a building has the same treatment. [3]

The IRS instructions expressly exclude ordinary Section 1245 and Section 1250 recapture from QOF deferral. Only the qualified Section 1231 gain beyond that ordinary amount can enter this path. Moving all the sale cash into a fund does not erase the excluded income. [4]

I would want the calculation to show three separate figures: total gain, ordinary recapture, and the remaining amount that may qualify. A single line labeled “capital gain” is not enough when years of depreciation sit behind the sale.

An example with a building and equipment

Assume an individual sells a business building and equipment to an unrelated buyer. Both have been held for more than one year. These figures are hypothetical, with selling costs omitted to keep the math clear.

ItemBuildingEquipment
Sale amount$1,200,000$200,000
Adjusted tax basis$700,000$80,000
Total gain$500,000$120,000
Ordinary recapture assumed here$0$120,000
Potential qualified Section 1231 gain$500,000$0

The equipment originally cost $250,000. Prior depreciation of $170,000 reduced its basis to $80,000. Selling it for $200,000 creates $120,000 of gain. Because that gain is below the prior depreciation, the example treats all $120,000 as ordinary Section 1245 recapture.

For the building, assume the CPA finds no ordinary Section 1250 recapture and confirms that all $500,000 is qualified Section 1231 gain. That is an assumption for this example, not a claim about every building sale.

The combined gain is $620,000. The possible QOF deferral is $500,000, not $620,000. If the owner elects to defer only $250,000, another $250,000 of the building gain remains outside that election. The equipment's $120,000 ordinary amount remains outside as well.

The current tax on those amounts still depends on the full return. Do not multiply their sum by one capital-gain rate. The two categories can have different treatment, and other income, losses, and limitations matter.

Unrecaptured Section 1250 gain is different

The names are easy to confuse. Ordinary Section 1250 recapture and unrecaptured Section 1250 gain are not the same tax category.

Unrecaptured Section 1250 gain generally concerns long-term gain tied to depreciation that was not taxed as ordinary recapture. For an individual, that portion can face a maximum federal rate of 25%. It is not a flat 25% tax on every dollar of building depreciation. Netting and other limits affect the calculation. [5]

A building with straight-line depreciation may have no ordinary Section 1250 recapture yet still produce this special capital-gain category. That is why a “no recapture” comment needs a follow-up question: which kind?

Qualified gain can carry those tax attributes into its later inclusion year. QOF treatment does not turn every deferred dollar into ordinary long-term gain taxed at one preferred rate. Keep the depreciation history with the QOF election records. [6]

For the building example, the CPA should identify any such portion within the $500,000. The possible deferral and the future tax estimate are related questions, but they are not the same calculation.

Why a gain does not always wait for year-end netting

Outside the QOF election, Section 1231 generally compares covered gains and losses for the year. A net gain can receive long-term capital-gain treatment, subject to a lookback rule. A net loss generally follows ordinary-loss treatment, with other applicable limits. [1]

The QOF regulations separately define qualified Section 1231 gain. They do not require you to first reduce each eligible gain by all other Section 1231 losses for the year. The exclusion for ordinary depreciation recapture still applies. [6]

Suppose one sale creates $600,000 of qualified Section 1231 gain and a separate sale creates a $200,000 Section 1231 loss. Without a QOF election, the starting net figure is $400,000. The possible QOF-eligible gain from the first sale is not automatically limited to that $400,000 net figure.

That does not mean investing $600,000 is automatically wise. Ask your CPA to compare the full return with no deferral, a partial election, and a full election. The timing and use of losses may change. Basis, at-risk, passive-activity, and other loss limits can also restrict a deduction. [5]

A useful comparison shows cash taxes now, cash taxes later, the amount locked into the fund, and which losses remain available. A larger election is not necessarily a better household outcome.

The five-year loss lookback still deserves attention

Section 1231 has a rule that can treat some net gain as ordinary income when earlier net Section 1231 losses have not yet been recaptured. It looks back over the five preceding tax years. This is a different rule from the depreciation recapture just discussed. [1]

For a simple comparison without a QOF election, assume $500,000 of current net Section 1231 gain and $50,000 of relevant prior losses. The lookback can make $50,000 ordinary, leaving $450,000 with long-term capital-gain treatment. Assume no other adjustments for that comparison.

Do not freeze those two numbers and apply them to a future QOF inclusion. The regulation treats deferred qualified Section 1231 gain as Section 1231 gain recognized on the later inclusion date. The return for that year then matters. [6]

Keep the prior-loss schedule, but also update it each year. An estimate built today cannot know every sale, loss, or tax-law change that will occur before inclusion. Ask for a range of possible tax costs rather than one promised future rate.

The 180-day clock usually starts with the sale

For a direct sale, the ordinary QOF investment period starts when the gain would be recognized without the deferral election. Qualified Section 1231 gain does not generally receive an automatic December 31 start just because annual netting happens on the tax return. Special pass-through and installment rules can differ. [6]

Assume a direct sale closes and the eligible gain is recognized on August 15, 2026. Counting that day as day one, day 180 is February 10, 2027. This is an illustration of the general window, not a determination of any investor's deadline.

Waiting until the CPA completes the annual return could be too late. Ask for a preliminary gain calculation before closing, then update it when the final statement arrives. A preliminary estimate should clearly mark open items rather than invent a final number.

Leave time for fund review, subscription acceptance, account checks, and money movement. A signed form or planned wire is not proof that the qualifying investment occurred. Confirm the effective investment date with both the fund and your tax adviser.

A 2026 sale can cross into the new investment rules

The 2025 law changed Opportunity Zones for qualifying amounts invested after December 31, 2026. Those investments generally use a five-year original-gain deferral, unless an earlier event ends it. A five-year basis increase is generally 10%, or 30% for a qualifying rural fund under the statutory conditions. Separate rules govern potential long-term appreciation benefits. [7]

Legacy investments follow their own timeline. Their original deferred gain is generally included no later than December 31, 2026. The new law does not simply move that old balance to a fresh five-year schedule.

IRS Notice 2026-40 draws an important line. An actual eligible sale gain from late 2026 can be invested during its valid window in 2027 under the applicable new rules. The mandatory year-end inclusion of an old QOF deferral cannot be recycled into a fresh election merely by moving it to another fund. [8]

In the August sale example, January 2027 falls within the illustrated window. That fact creates a planning question, not an instruction to wait. Confirm the gain, investment, fund structure, and law that apply before choosing a date.

Also avoid mixing two milestones. Five years concerns original-gain inclusion and a possible basis increase under the new rules. At least ten years concerns a separate potential benefit on qualifying investment appreciation, with a statutory 30-year boundary. Neither milestone promises that the fund will have cash ready when you need it. [7]

Your tax gain may exceed your sale cash

A loan payoff reduces the cash you take home. It does not ordinarily reduce gain dollar for dollar. That difference can create a funding problem even when the tax classification is clear. [5]

Return to a $1,200,000 building sale with $700,000 of adjusted basis. Ignore fees again. The gain is $500,000. If the loan payoff is $900,000, only $300,000 of sale cash remains.

A $500,000 cash investment would require another $200,000 from elsewhere. The QOF rules do not supply that cash. Nor does the tax benefit make a new personal loan harmless. Interest costs, repayment terms, and household reserves still need review.

Compare three choices: invest a smaller amount, use other available money, or pay the tax and keep more flexibility. The right amount depends on the full picture. It should not be driven by the largest number a fund will accept.

Keep a separate reserve for tax on excluded ordinary recapture. Then plan for tax on the deferred gain when inclusion arrives. These can be two different bills in two different years.

Partnerships and installment sales need a separate calendar

If a partnership sells the building, ask whether the entity will elect QOF deferral. To the extent it does not, a partner may have an election for the eligible gain allocated to that partner. The owner-level timing options differ from the usual direct-sale rule. [9]

Do not assume the day the K-1 arrives starts the clock. Ask the preparer for the sale date, the partnership's tax-year end, the applicable return due date, and which permitted starting point is being used. The entity might have a fiscal year rather than a calendar year.

A K-1 can also report several kinds of income from one transaction. The cash distribution might be lower than the taxable allocation. Request the details behind the number before choosing an investment amount.

Installment reporting adds another layer. Eligible gain recognized with payments may have special investment-period choices. Ordinary depreciation recapture generally is reported in the sale year rather than spread out with installment gain. Interest on the note is a separate income item. [5]

Have the CPA map each payment into principal, eligible gain, interest, and any current ordinary amount. A check from the buyer is not all gain, and a delayed check does not make all tax wait.

Build one file that explains the election

The IRS Form 4797 instructions explain reporting the sale and recapture, identifying the qualified Section 1231 amount deferred, and making the election on Form 8949. Form 8997 tracks QOF investments and changes. Use the correct tax-year forms and any updated transition guidance. [4]

Your file should make the reasoning easy to follow years later. Include these items:

Store the calculation itself, not just the tax return's final total. If you invest in stages, label the amount and date of each contribution. Future inclusion and holding-period work should not depend on someone remembering an old phone call.

Check the allocation before the numbers harden

Suppose a proposed business sale includes the warehouse, a delivery truck, shelving, and inventory. Before signing, ask how the price will be divided among those items. A change in the allocation can change the gain categories even when the total cash price stays the same.

Review the allocation with the tax adviser and attorney while the contract is being drafted. The fund's sales team should not decide it for you. A tax result needs support in the actual deal and the asset values. It cannot rest on relabeling equipment as real estate after the fact.

Then compare the proposed worksheet with the closing documents. Did the price change? Were credits added? Was a separate asset removed from the deal? Did the lender's final payoff change the available cash? Update the tax figures and the funding budget separately.

A useful review has two columns: confirmed and still open. Put the signed price and known basis records in the first. Put disputed allocations, missing depreciation records, or unresolved costs in the second. Assign someone to resolve each open item before money leaves your account.

This also helps after closing. If the CPA later corrects the gain, you can see which assumption changed. You will have a clear trail from the sale documents to the election, rather than a fund subscription based on an old estimate.

Check state tax and the investment itself

A federal election does not settle the state result. California, for example, does not conform to the federal Opportunity Zone deferral and exclusion provisions. A California taxpayer may need a different current tax and basis calculation. Multi-state property or residency changes call for further review. [10]

The fund also needs to make sense as an investment. Private offerings can have limited liquidity, less public information, and substantial loss risk. An exemption from securities registration is not SEC approval. [11]

Review the properties, debt, business plan, fees, conflicts, and expected use of your money. Ask what happens if construction runs late or a loan cannot be refinanced. Ask whether the fund expects distributions before your tax bill, and what happens if that expectation fails.

A tax calculation cannot repair an unsuitable holding period or weak business plan. I would put the tax worksheet beside the investment analysis so neither gets lost in the other.

Frequently asked questions

Can rental-property gains qualify for a QOF?

They may qualify when the facts produce eligible capital gain or qualified Section 1231 gain. Confirm the property's use, holding period, seller, buyer relationship, and depreciation treatment. Ordinary recapture does not become eligible just because the sale involved real estate.

Can I defer ordinary Section 1245 recapture?

No, not through the QOF gain-deferral election discussed here. Separate that ordinary amount from qualified gain before deciding how much to invest. Keep money available for its tax even if you defer another part of the sale gain.

Is unrecaptured Section 1250 gain automatically ineligible?

No. It differs from ordinary Section 1250 recapture and may be part of eligible gain. Its special tax attributes still matter. Your CPA should preserve that breakdown for the year when deferred gain is included.

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

No. The general direct-sale clock starts with recognition of the gain, and eligible gain is not automatically reduced by every other Section 1231 loss first. Waiting for year-end calculations can consume the investment window. Obtain a transaction-level estimate early.

Can I defer only part of my qualified gain?

Yes. A partial election can leave cash for taxes, household needs, or other investments. The remaining gain stays outside that election. Compare the tax and cash effects rather than assuming the largest possible deferral is best.

Does an equipment sale always create only ordinary income?

No. Depreciation recapture often creates an ordinary portion, but the full result depends on basis, price, prior deductions, and other facts. Gain beyond the ordinary amount may receive different treatment. Have the sale analyzed asset by asset.

Can a 2026 gain receive the new rules through a 2027 investment?

An actual eligible 2026 sale gain can potentially do so if the qualifying investment occurs in 2027 within the valid window and meets the new rules. This does not apply to simply recycling the mandatory 2026 inclusion of an old deferred QOF gain.

What should I send my CPA before reviewing funds?

Send the closing statement, asset allocation, basis and depreciation records, seller details, and prior Section 1231 loss schedule. Ask for the eligible amount, deadline, current tax reserve, and later inclusion plan in writing. Then decide how much you can reasonably commit.

Sources and references

  1. U.S. Congress, via Cornell Legal Information Institute. 26 U.S.C. Section 1231: business-property gains and losses. Current statute reviewed October 7, 2026.Relevant sections: Subsections (a), (b), and (c): netting, property definition, and five-year loss lookback.. Accessed October 7, 2026.
  2. U.S. Congress, via Cornell Legal Information Institute. 26 U.S.C. Section 1245: ordinary depreciation recapture. Current statute reviewed October 7, 2026.Relevant sections: Subsection (a): recapture amount, recomputed basis, and covered property; statutory exceptions remain fact-specific.. Accessed October 7, 2026.
  3. U.S. Congress, via Cornell Legal Information Institute. 26 U.S.C. Section 1250: recapture on depreciable real property. Current statute reviewed October 7, 2026.Relevant sections: Subsections (a) and (b): ordinary recapture and additional depreciation above straight line.. Accessed October 7, 2026.
  4. Internal Revenue Service. Instructions for Form 4797: sales of business property. 2025 form instructions, reviewed October 7, 2026.Relevant sections: Deferral of gain invested in a Qualified Opportunity Fund; ordinary recapture exclusion, election, and reporting instructions.. Accessed October 7, 2026.
  5. Internal Revenue Service. Publication 544 (2025), Sales and Other Dispositions of Assets. 2025 publication, current edition read October 6, 2026.Relevant sections: Chapter 1: Sale or lease; gain and adjusted basis; like-kind exchanges, partial exchanges, liabilities, and replacement basis.. Accessed October 6, 2026.
  6. U.S. Department of the Treasury, via eCFR. Opportunity Zone investor rules: eligible gains, investment periods, and gain character. Current regulation reviewed October 6, 2026; read with the 2025 statute and 2026 transition notices.Relevant sections: Paragraphs (b)(7), (b)(11), (b)(12), and (c): gain types, investment windows, eligible equity, separate investment dates, and pass-through rules.. Accessed October 6, 2026.
  7. U.S. Congress. Public Law 119-21, Section 70421: Opportunity Zone amendments. Enacted July 4, 2025; operative text and effective dates read October 6, 2026.Relevant sections: Section 70421, pages 153–161: investment cohorts, five-year inclusion, rural rules, ten-year election, property dates, reporting and effective dates.. Accessed October 6, 2026.
  8. Internal Revenue Service. Notice 2026-40: Transitional Guidance on Qualified Opportunity Zones. Current official resource reviewed October 6, 2026.Relevant sections: Sections 3–6: designation periods, 2026 and 2027 investments, and announced transition rules for previously designated zones. Accessed October 6, 2026.
  9. Internal Revenue Service. Publication 541: Partnerships. December 2025 revision, reviewed October 6, 2026.Relevant sections: Basis of a partner’s interest; income and loss adjustments, distributions, partnership liabilities, and distinction from book capital.. Accessed October 6, 2026.
  10. California Franchise Tax Board. Summary of Federal Income Tax Changes: Opportunity Zones under Public Law 119-21. Current state conformity analysis reviewed October 6, 2026.Relevant sections: Section 70421, Permanent renewal and enhancement of opportunity zones; California impact and nonconformity.. Accessed October 6, 2026.
  11. U.S. Securities and Exchange Commission, Investor.gov. Private Placements under Regulation D: Updated Investor Bulletin. Updated September 21, 2026; read October 6, 2026.Relevant sections: Important risk considerations, information to review before investing, restricted securities and Form D not approval.. Accessed October 6, 2026.

Educational information, not an offer or a personal tax, legal, or investment recommendation. Examples are hypothetical and omit stated adjustments. Tax treatment depends on your facts and current law. Review your transaction with your CPA, attorney, and qualified intermediary. Real estate investments can lose value and may be illiquid.

Opening your workspace…