Key takeaways
- Start with the gain: only capital gain and qualified section 1231 gain, from a sale to an unrelated buyer, can be deferred.
- Count 180 days with the day of the sale as day 1; a stock sale on May 10, 2027 must be invested by November 5, 2027.
- Many funds take only accredited investors, such as people with over $1 million of net worth excluding their home or over $200,000 of income ($300,000 with a spouse) in each of the last two years.
- Invest for an equity interest; a loan to the fund does not qualify, and cash above the gain gets no Opportunity Zone benefits.
- Elect deferral on Form 8949 with code Z for the year of the gain, and file Form 8997 every year you hold the investment.
How do you invest in an Opportunity Zone fund?
You invest in seven steps, and the order matters because the 180-day clock starts on the day of the sale. A Qualified Opportunity Fund is a partnership or corporation set up to invest in Opportunity Zones. Opportunity Zones are low-income census tracts chosen for the program; a census tract is a small area the Census Bureau uses to count people. Under section 1400Z-2 of the tax code, gain you invest in such a fund within 180 days is not taxed in the year of the sale.1 The regulations set out which gains count, when the 180 days start and what kind of interest you must receive.2
Fig. 1Seven steps from a sale to a fund investment
- 1
Confirm the gain
Capital or section 1231 gain
- 2
Count 180 days
Day of sale is day 1
- 3
Check eligibility
Usually accredited investors
- 4
Review the fund
Documents and due diligence
- 5
Invest equity
Up to the amount of the gain
- 6
Elect on Form 8949
Code Z, year of the gain
- 7
File Form 8997
Every year you hold it
For gains invested on or after January 1, 2027, the tax benefits work as follows under section 70421 of Public Law 119-21, which rewrote these parts of section 1400Z-2.3 The deferred gain is taxed at the earlier of a sale of the investment or its fifth anniversary. After five years, 10% of the deferred gain is never taxed, or 30% in a Qualified Rural Opportunity Fund, a fund that keeps at least 90% of its assets in property in zones made up entirely of rural areas.3 After ten years, you can elect to set your basis to fair market value when you sell, so the fund's growth is not taxed.1,3 Basis is the amount the tax law treats as what you paid. If you sell after 30 years, your basis is set to the value on the 30th anniversary instead, so growth after that date is taxed.3 The full picture is in how Opportunity Zones work and Opportunity Zones for investors.
Step 1: Which gain can you invest?
You can invest a gain that is taxed as capital gain, or as qualified section 1231 gain, in the current tax year. The regulations call this eligible gain.2 A capital gain is the profit when you sell an asset such as stock, crypto, a business interest or land for more than your basis. Section 1231 gain is gain on property used in a business and held more than one year, such as a rental building.
Three limits remove common amounts from the pool:
- Ordinary income does not qualify. That includes wages, interest and depreciation recapture under sections 1245 and 1250, which the Form 4797 instructions say may not be deferred into a fund.10
- The gain must come from a sale to an unrelated person. Related means more than 20% common ownership, counting family members and entities.1,2
- The gain must not already be deferred or excluded under another rule, such as a 1031 exchange.2
Ask your tax adviser to confirm the amount and character of the gain before you commit to a fund. Short-term gain qualifies too, and it keeps its short-term character when it is later taxed.7 The full lists are in which gains qualify and what disqualifies a gain.
Step 2: How do you count the 180 days?
The 180 days begin on the day the gain would be taxed if you did not defer it, so the day of the sale is day 1.2 The statute uses the same words: the 180-day period beginning on the date of the sale or exchange.1 A sale on May 10, 2027 therefore gives you until November 5, 2027 to invest. Do not count on a weekend or holiday to give you extra days; plan to invest well before day 180.
Fig. 2Key dates after a stock sale on May 10, 2027
May 10, 2027
Sale
Day 1 of 180
Sep 1, 2027
Fund investment
Day 115
Nov 5, 2027
Last day to invest
Day 180
Apr 2028
2027 return
Form 8949 and Form 8997
Sep 1, 2032
Fifth anniversary
Deferred gain taxed, less 10%
Sep 1, 2037
Ten years
Basis can be set to fair market value
Some gains start their 180 days on a different day:
- Partnership, S corporation and trust gains reported on a K-1: the default start is the last day of the entity's tax year. You may instead use the entity's own 180-day period, or the 180 days that begin on the due date of the entity's return, without extensions.2 See Opportunity Zone partnership and K-1 gains.
- Installment sales: the period can begin on the day each payment is received, or on the last day of the tax year in which the gain would be taxed under the installment method.2,9
- Section 1231 gains: the IRS says the period begins on the day the gain was realized.9
Investing before your period begins fails in the same way as investing late, because the money must go in during the 180-day period.1 More detail and examples are in the 180-day rule.
Step 3: Do you have to be an accredited investor?
The tax law does not require it, but many funds do, because of securities law. Any taxpayer with eligible gain can elect deferral, including individuals, partnerships, corporations, trusts and estates.2 A fund interest is a security, though, and many funds sell it in a private offering under Rule 506 of Regulation D, which the SEC administers.5
The SEC sets the tests for an accredited investor. A person qualifies through any one of these tests:4
- Net worth over $1 million, alone or with a spouse or partner, not counting the primary residence.
- Income over $200,000 alone, or $300,000 with a spouse or partner, in each of the prior two years, with a reasonable expectation of the same this year.
- A Series 7, Series 65 or Series 82 license in good standing.
- A director, executive officer or general partner of the company selling the securities.
Entities can qualify too, for example an entity owning investments over $5 million, or one whose owners are all accredited.4 The two Rule 506 paths treat investors differently. A Rule 506(b) offering cannot advertise and may accept up to 35 non-accredited investors in any 90-day period, if each is financially sophisticated.5 A Rule 506(c) offering may advertise, but every buyer must be accredited and the issuer must take reasonable steps to verify it.6 Expect the fund to ask for proof of your income or net worth. For the rules in full, see who can invest and securities rules for Opportunity Zone funds.
Steps 4 and 5: How do you review the fund and send the money?
You review the offering documents, sign the subscription agreement, and then wire cash in exchange for an equity interest in the fund. The sponsor, which is the company that organizes and manages the fund, will send a private placement memorandum describing the project, the risks and the fees, an operating or partnership agreement, and a subscription agreement in which you confirm your investor status. Our Opportunity Zone fund due diligence guide lists the questions to ask.
Fig. 3Checks before you wire the money
- PassGain confirmed by your adviserAmount, character and sale date
- PassInvestment date inside the 180 daysCount the sale day as day 1
- PassInterest is equity, not a loanDebt instruments do not qualify
- WatchAmount matches the gain you will electExtra cash is a separate investment
- WatchFund's EIN and closing date in writingBoth go on Form 8949
- WatchFund files Form 8996Ask how the fund tests its assets
The interest must be equity. The regulations define an eligible interest as an equity interest issued by the fund, including preferred stock or a partnership interest with special allocations, and exclude any debt instrument.2 You may still pledge the interest as collateral for a loan.2 See why the investment must be equity.
Size the wire to the gain. The tax law treats an investment that is larger than the elected gain as two investments.1 The part above the gain is a non-qualifying investment with ordinary tax treatment.2 You do not have to trace the actual sale proceeds; savings can fund the investment, as long as it is made inside the 180 days.7 Keep the fund's confirmation of the date it received your money and issued your interest, because that date goes on your tax forms.
Steps 6 and 7: How do you elect deferral and report each year?
You elect deferral on Form 8949 with your return for the year the gain is taxed, and you attach Form 8997 that year and every later year you hold the investment. The Form 8949 instructions say to report the deferral on its own row, enter the fund's EIN in column (a) and the investment date in column (b), enter code Z in column (f), and enter the deferred gain as a negative number in column (g).7 The election is made on the return, not by a separate filing with the IRS.
Form 8997 is the investor's annual statement. It lists the fund investments you held at the start of the year, new deferrals made during the year, any sales or other inclusion events, and what you held at year-end.8 It must be filed with a timely return, including extensions, by anyone who held a fund investment at any point in the year.8
If you already filed your return before you invested, you can still elect by filing an amended return. The IRS says an individual or married couple uses Form 1040-X and attaches Form 8949.9 Section 1231 gains use extra rows on Form 4797 and Form 8949.10 Every column and code is explained in how to elect deferral on Form 8949. The fund's own filing, Form 8996, is covered in Form 8996 and Form 8997 explained.
Worked example: investing a $1 million stock gain
This illustrative example follows one investor through the steps. The investor sells public stock on May 10, 2027 for $1,500,000. The stock cost $500,000 and was held for years, so the long-term gain is $1,000,000. The investor wires $1,200,000 to a fund on September 1, 2027, using savings for the extra $200,000. It assumes a 23.8% federal rate (20% plus the 3.8% net investment income tax), no state tax, and a fund interest worth at least what was invested.
| Item | Amount | How it is worked out |
|---|---|---|
| Long-term capital gain | $1,000,000 | $1,500,000 sale price minus $500,000 basis |
| Last day to invest | November 5, 2027 | May 10, 2027 is day 1, so day 180 is November 5 |
| Qualifying investment | $1,000,000 | Capped at the eligible gain elected on Form 8949 |
| Non-qualifying investment | $200,000 | $1,200,000 wired minus $1,000,000 of gain; no Opportunity Zone benefits |
| Federal tax not paid for 2027 | $238,000 | $1,000,000 × 23.8% |
| Gain taxed at the fifth anniversary (September 1, 2032) | $900,000 | $1,000,000 deferred minus the 10% basis increase of $100,000 |
| Federal tax for 2032 | $214,200 | $900,000 × 23.8%, if rates are unchanged |
| Same, in a Qualified Rural Opportunity Fund | $166,600 | ($1,000,000 minus 30%) × 23.8% = $700,000 × 23.8% |
| Tax on the qualifying part's growth after ten years | $0 | Elect basis equal to fair market value on a sale after September 1, 2037 |
The $200,000 non-qualifying part works like any other investment. Its basis is $200,000 and its growth is taxed when sold. If the investor sold the qualifying part before September 1, 2032, the deferred gain would be taxed in the year of the sale without the 10% increase, because a sale is an inclusion event (an event that ends the deferral) and the increase needs a five-year hold.3,11 Try other amounts in the Opportunity Zone tax calculator.
Common questions
How do I invest in an Opportunity Zone fund?
Invest the amount of an eligible capital gain in a Qualified Opportunity Fund as equity within 180 days of the sale, then elect deferral on Form 8949 with code Z. Many funds are private offerings, so you will usually sign a subscription agreement and confirm you are an accredited investor. You then file Form 8997 every year you hold the investment.
Can a non-accredited investor invest in an Opportunity Zone fund?
The tax rules allow it, but many funds do not accept non-accredited investors. A Rule 506(b) offering may take up to 35 sophisticated non-accredited investors in any 90-day period, and many sponsors choose not to. A Rule 506(c) offering must sell only to verified accredited investors.
Do I have to invest the whole sale price or just the gain?
Only the gain. The benefits apply to an amount up to the eligible gain you elect to defer, so a $1,500,000 sale with a $1,000,000 gain needs only $1,000,000 in the fund. You keep the rest of the cash.
Is the day of the sale day 1 or day 0 of the 180 days?
Day 1. The regulations start the 180-day period on the day the gain would be recognized, so a sale on May 10, 2027 makes November 5, 2027 the last day to invest.
Can I lend money to an Opportunity Zone fund instead of buying equity?
Not for the tax benefits. The regulations exclude any debt instrument from the definition of an eligible interest. A loan to the fund can be a normal investment, but it defers no gain.
What is the minimum investment in an Opportunity Zone fund?
There is no minimum in the tax law. Each fund sets its own minimum in its offering documents, and minimums vary widely between funds.
Sources
Every numbered note in this guide links to the source below.
- 1.Legal Information Institute, Cornell Law School, “26 U.S. Code § 1400Z-2: Special rules for capital gains invested in opportunity zones,” n.d. law.cornell.edu
- 2.Legal Information Institute, Cornell Law School, “26 CFR § 1.1400Z2(a)-1: Deferring tax on capital gains by investing in opportunity zones,” n.d. law.cornell.edu
- 3.U.S. Government Publishing Office (govinfo), “Public Law 119-21, 139 Stat. 72 (July 4, 2025), section 70421: Permanent renewal and enhancement of opportunity zones,” 2025. govinfo.gov
- 4.U.S. Securities and Exchange Commission, “Accredited investors (Capital-raising building blocks),” 2024. sec.gov
- 5.U.S. Securities and Exchange Commission, “Private placements: Rule 506(b),” n.d. sec.gov
- 6.U.S. Securities and Exchange Commission, “General solicitation: Rule 506(c),” 2024. sec.gov
- 7.Internal Revenue Service, “Instructions for Form 8949 (2025),” 2025. irs.gov
- 8.Internal Revenue Service, “Form 8997 (2025), Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments, with instructions,” 2025. irs.gov
- 9.Internal Revenue Service, “Opportunity zones frequently asked questions,” n.d. irs.gov
- 10.Internal Revenue Service, “Instructions for Form 4797 (2025),” 2025. irs.gov
- 11.Legal Information Institute, Cornell Law School, “26 CFR § 1.1400Z2(b)-1: Inclusion of gains that have been deferred under section 1400Z-2(a),” n.d. law.cornell.edu
Terms in this guide
OZ Data Centers and its affiliates may sponsor, manage and invest in the Opportunity Zone funds and data center projects described here, and have a financial interest in them. This information is for general purposes only. It is not an offer to sell, or a solicitation of an offer to buy, any security, and it is not investment, tax or legal advice. Any offering will be made only through a fund's confidential offering documents, to investors who qualify (generally accredited investors), where permitted by law. Investments in private funds and data center projects are speculative and illiquid and involve a high degree of risk, including the possible loss of the entire investment. They are suitable only for investors who can bear that risk and hold the investment for ten years or longer. Opportunity Zone tax benefits are not guaranteed. They depend on each investor's circumstances, on the fund and its businesses continuing to meet the requirements of the law, and on rules that can change. Statements about future projects, timing or results are forward-looking and may not occur. Consult your own tax, legal and financial advisers.
Continue reading
← Previous: Opportunity Zone Myths: 16 Common Misconceptions Corrected·All 114 guides