CPA Exam · 18 min read 2026 Blueprint Verified

CPA Tax Compliance & Planning: Qualified opportunity zones — Complete Study Guide

Rob Pfleghardt

10-year Price Waterhouse alumnus · Founder of VoraPrep · Former CPA (1987–2024) · with the VoraPrep Editorial Team

CPA Tax Compliance & Planning: Qualified opportunity zones — Complete Study Guide

Key Takeaways

  • Governing Law: The Tax Cuts and Jobs Act of 2017 (TCJA).
  • Investment Deadline: Reinvest eligible capital gains into a Qualified Opportunity Fund (QOF) within 180 days of the sale or event triggering the gain.
  • Deferral Period End: Deferred gains are recognized on the earlier of the QOF disposition date or December 31, 2026.
  • Basis Increase (5-Year Hold): For investments made by 12/31/2021, basis in the QOF increases by 10% of the original deferred gain after a 5-year hold.
  • Gain Exclusion (10-Year Hold): After holding the QOF investment for 10 years, you can elect to step up its basis to Fair Market Value upon sale, making all appreciation tax-free.
  • Eligible Gains: Only capital gains (short-term and long-term) from an unrelated party qualify for deferral. Ordinary income does not.

You feel confident about Qualified Opportunity Zones (QOZs), then bam—an exam simulation hits you with multiple dates, a partial reinvestment, and asks you to calculate the gain recognized in 2026 and the gain on a sale in 2034. The #1 reason candidates stumble here isn’t forgetting the holding periods; it’s fundamentally confusing the tax treatment of the originally deferred gain with the tax treatment of the new QOF investment's appreciation. They are two separate things with different rules and timelines.

Quick answer

A Qualified Opportunity Zone (QOZ) is a tax incentive program allowing deferral of capital gains reinvested into a Qualified Opportunity Fund (QOF) within 180 days. The deferred gain is recognized by December 31, 2026, but appreciation on the QOF investment can be permanently excluded from tax after a 10-year hold.

Key facts

  • Governing Law: The Tax Cuts and Jobs Act of 2017 (TCJA).
  • Investment Deadline: Reinvest eligible capital gains into a Qualified Opportunity Fund (QOF) within 180 days of the sale or event triggering the gain.
  • Deferral Period End: Deferred gains are recognized on the earlier of the QOF disposition date or December 31, 2026.
  • Basis Increase (5-Year Hold): For investments made by 12/31/2021, basis in the QOF increases by 10% of the original deferred gain after a 5-year hold.
  • Gain Exclusion (10-Year Hold): After holding the QOF investment for 10 years, you can elect to step up its basis to Fair Market Value upon sale, making all appreciation tax-free.
  • Eligible Gains: Only capital gains (short-term and long-term) from an unrelated party qualify for deferral. Ordinary income does not.

What Are QOZs and Why Are They on the TCP Exam?

A Qualified Opportunity Zone (QOZ) is an economically distressed community where tax incentives encourage long-term investment. For the TCP exam, however, you should view QOZs as a complex basis and timing problem designed to test your professional judgment. The AICPA uses this topic to see if you can handle layered rules involving capital gains, precise basis adjustments, and strict deadlines—the exact skills emphasized in the CPA Evolution blueprint for high-level tax professionals.

This isn't just about memorizing dates. It's about tracking multiple assets (the deferred gain and the QOF investment) with different basis calculations and tax attributes over a decade or more. The examiners know this requires careful organization and a deep understanding of how tax events cascade. A single error in an early step, like calculating the initial deferred amount, will lead to an incorrect answer for every subsequent part of a simulation.

Free 5-Min Diagnostic

Studying for CPA TCP? Benchmark your score in 5 minutes.

Get an instant weak-spot assessment and a custom 12-week study plan PDF generated for your exam window.

You'll face QOZs in both Multiple-Choice Questions (MCQs) and Task-Based Simulations (TBSs).

  • MCQs will test discrete rules: the 180-day reinvestment window, the December 31, 2026, recognition date, or the eligibility of gains.
  • TBSs are the real test. A simulation will present a client scenario with multiple transactions, requiring you to track two separate assets for tax purposes: the original deferred gain and the new QOF investment.

The most common trap is merging these two concepts. They have different holding periods, different basis calculations, and different tax outcomes. Mastering this distinction is the key to performing well on exam day. You can test your current understanding with VoraPrep's free CPA practice questions.

How Do QOZ Rules Work? A Step-by-Step Playbook

To handle any QOZ problem, follow this decision-tree logic. Each step builds on the last, guiding you through the complex basis adjustments to the right answer. Don't just memorize the rules; understand the sequence.

Step 1: Deferring the Initial Capital Gain

The process starts when a taxpayer realizes a capital gain from selling an asset to an unrelated party.

  • Condition: You have an eligible capital gain.
  • Threshold: You must reinvest an amount into a Qualified Opportunity Fund (QOF) within 180 days of the sale.
  • Action: You can elect to defer recognition of that capital gain up to the amount invested.
  • Basis Rule: Your initial basis in the portion of the QOF investment related to the deferred gain is zero. This is a special, counterintuitive rule designed to ensure the entire investment value is treated as a potential gain until specific basis adjustments are made.
Exam Trap: Partial Reinvestment A client sells stock with a $600K basis for $1M, realizing a $400K gain. They invest only $300K of that gain into a QOF.
  • Gain Deferred: $300,000. You can only defer gain up to the amount invested.
  • Gain Recognized Immediately: $100,000 ($400K total gain - $300K deferred). This portion is taxed in the year of the original sale.
  • Initial Basis in QOF: $0. The zero-basis rule applies to the entire investment that qualifies for deferral.
Exam Trap: Investing More Than the Gain What if the same client with a $400K gain invested $500K into a QOF?
  • Gain Deferred: $400,000. You can only defer the actual gain realized.
  • Excess Investment: $100,000 ($500K invested - $400K deferred gain).
  • Initial Basis in QOF: The investment is bifurcated. The $400K deferred portion has a $0 basis. The $100K excess portion has a basis of $100K. This creates two separate basis calculations for one investment.

Step 2: Applying the Basis Increases (The "Time-Sensitive" Benefit)

Holding the QOF investment provides a direct benefit by reducing the amount of the original gain you'll eventually recognize. This part of the law is highly sensitive to dates.

  • Condition 1 (5-Year Hold): You held the QOF investment for at least 5 years before the deferred gain is recognized.
  • Action: Your basis in the QOF investment increases by 10% of the original deferred gain.
  • Condition 2 (7-Year Hold): You held the QOF investment for at least 7 years before the deferred gain is recognized.
  • Action: Your basis in the QOF investment increases by an additional 5% (for a total of 15%) of the original deferred gain.
Crucial Point for the 2026 Exam: The examiners know these benefits are sunsetting.
  • The 7-year, 15% basis increase is no longer achievable for any investment. An investor needed to invest by December 31, 2019, to meet the 7-year mark before the 2026 deadline.
  • The 5-year, 10% basis increase is only available for gains invested by December 31, 2021.

Expect exam questions to specifically test these cutoff dates. If a client invested in 2022, they get no basis step-up on their original deferred gain. This is a simple but effective way to test if you're paying attention to the specific facts of the simulation.

Step 3: Recognizing the Deferred Gain (The Deferral Ends)

The deferred gain doesn't vanish; it's simply postponed.

  • Condition: You have a previously deferred capital gain.
  • Threshold: The gain is recognized on the earlier of two dates:
  1. The date you sell or dispose of your QOF investment.
  2. December 31, 2026.
  • Action: You report the deferred capital gain on your tax return for that year. The amount you recognize is the original deferred gain minus any basis increase you earned from the 5-year or 7-year hold.
  • Character of Gain: The character of the gain (e.g., long-term capital gain) is the same as the original gain you deferred, regardless of how long you've held the QOF.

After recognizing the gain, your basis in the QOF investment is increased by the amount of gain recognized. This is a critical step for calculating gain on the eventual sale of the QOF itself.

Step 4: Excluding Gain on the QOF Investment (The 10-Year Grand Prize)

This is the most significant benefit of the QOZ program and the ultimate goal for the investor.

  • Condition: You hold your QOF investment for at least 10 years.
  • Action: You can elect to step up the basis of your QOF investment to its fair market value on the date of sale.
  • Result: All appreciation on the QOF investment itself is permanently excluded from federal capital gains tax. You pay zero tax on the growth.

This table clarifies the two separate tax events you must track on your scratchpad.

FeatureApplies to the Original Deferred GainApplies to the QOF Investment's Appreciation
Tax ImpactRecognition is deferred until 12/31/2026 or sale.Tax is permanently excluded after a 10-year hold.
Basis JourneyN/A (This is a gain, not an asset with basis).Starts at $0, increases with 5-yr hold and gain recognition.
Recognition EventTaxed on earlier of QOF sale or Dec 31, 2026.Taxed only when sold (and only if held < 10 years).
Key BenefitTax deferral and potential 10% gain reduction.Complete tax exclusion of all appreciation.

Common QOZ Traps the AICPA Will Use to Test You

The TCP exam isn't about simple definitions; it's about applying rules to messy scenarios. Here are the specific traps examiners build into QOZ questions.

Trap 1: Ineligible Gains and Recapture

Only capital gains qualify. Examiners love to mix in other types of income to see if you can correctly segregate them.

Eligible for DeferralIneligible for Deferral
Long-Term Capital GainsOrdinary Income (e.g., from inventory sales)
Short-Term Capital Gains§1245 Depreciation Recapture
§1231 Gains§1250 Depreciation Recapture (ordinary portion)
Capital Gain DistributionsGains from sales to a related party
Qualified Dividends (if elected)Interest and non-qualified dividend income
Example: A client sells equipment for a $100,000 gain, consisting of $70,000 of §1245 recapture (ordinary income) and a $30,000 §1231 gain (capital gain). They invest the full $100,000 in a QOF. The maximum deferral is $30,000. The $70,000 recapture is taxed as ordinary income immediately.

Trap 2: The 180-Day Rule for Pass-Throughs

While the 180-day rule seems simple, it has a special exception for gains from partnerships and S-corps. A partner can choose to start their 180-day clock on one of three dates:

  1. The date of the partnership's sale.
  2. The last day of the partnership's tax year (e.g., December 31).
  3. The due date of the partnership's tax return, without extensions (e.g., March 15 for a calendar-year partnership).

A TBS could give you all three dates and ask for the latest possible investment date, testing this specific rule.

Trap 3: Related Party Transactions

You cannot defer a gain from a sale to a related party. For QOZ purposes, a related party is defined under IRC Sections 267(b) and 707(b)(1), and generally includes family members (spouse, ancestors, descendants) and entities where the taxpayer has more than 20% ownership. This is a simple knockout rule that can appear in an MCQ.

✨ Free Interactive Tool

Check Your State’s Exact CPA Exam Requirements

Every state has different credit hour, ethics, and residency rules. Use our 55-jurisdiction checker to verify your eligibility before applying.

Check State Requirements →

Walkthrough: A Realistic CPA Exam QOZ Simulation

Let's apply this step-by-step logic to a problem you'd see on the TCP exam. This requires you to think like an examiner and separate the two distinct tax events.

Scenario: On May 10, 2021, Anya sold a building and realized a $200,000 long-term capital gain. On August 1, 2021 (within 180 days), she reinvested the full $200,000 gain into the "Downtown Growth QOF." She holds the QOF investment until September 15, 2031, at which point she sells it for $350,000. Calculate the following:
  1. How much gain does Anya recognize on December 31, 2026, and what is her basis in the QOF afterward?
  2. What is her recognized gain from the sale of the QOF on September 15, 2031?

---

Step-by-Step Solution:

First, isolate and deal with only the original deferred gain of $200,000.

Part 1: Gain Recognized on December 31, 2026
  • Deferral Date: August 1, 2021.
  • Recognition Trigger: Anya holds the QOF past 2026, so the recognition date is the hard deadline: December 31, 2026.
  • Holding Period Check: As of 12/31/2026, her holding period is 5 years and 5 months. This qualifies her for the 5-year benefit because she invested before the end of 2021.
  • Calculate Basis Increase: $200,000 (original deferred gain) x 10% = $20,000.
  • Calculate Recognized Gain: $200,000 (original deferred gain) - $20,000 (basis increase) = $180,000. Anya will recognize a $180,000 long-term capital gain on her 2026 tax return.
  • Calculate Post-Recognition Basis: Her basis in the QOF investment is now increased by the gain she recognized.
  • Initial basis: $0
  • Basis from 5-year hold: +$20,000
  • Basis from gain recognition: +$180,000
  • Total Basis on Jan 1, 2027: $200,000.
Tempting Wrong Answer: Recognizing the full $200,000 gain. Why It's Tempting: It's simple and seems logical. Why It's Wrong: This answer ignores the 5-year holding period benefit. The examiner is testing whether you remember the date-sensitive basis step-up. Because she invested in 2021, she crossed the 5-year threshold just in time for the 2026 recognition event.

---

Now, analyze the sale of the QOF investment itself.

Part 2: Gain Recognized on September 15, 2031
  • Holding Period Check:
  • Investment Date: August 1, 2021
  • Sale Date: September 15, 2031
  • Total Holding Period: 10 years and ~1.5 months.
  • Yes, she held the investment for over 10 years.
  • Apply 10-Year Benefit: Anya can elect to step up her basis in the QOF investment to its Fair Market Value on the date of sale.
  • Calculation:
  • Sale Proceeds: $350,000
  • Anya's Basis: Per the 10-year rule, her basis steps up from $200,000 to the FMV of $350,000.
  • Recognized Gain in 2031: $350,000 (Amount Realized) - $350,000 (Adjusted Basis) = $0.
Tempting Wrong Answer: Calculating the gain as $350,000 (proceeds) - $200,000 (basis after 2026) = $150,000. Why It's Tempting: It correctly uses the basis calculated in Part 1. Why It's Wrong: This correctly calculates the economic gain but fails to apply the single most powerful benefit of the QOZ program: the 10-year tax-free appreciation. The examiner is testing whether you know that this election overrides the standard gain calculation.

Walkthrough #2: The Partial Deferral and Early Sale Scenario

Let's try a more complex simulation that combines multiple traps.

Scenario: On March 1, 2023, David sold business machinery for a total gain of $120,000. Of this amount, $40,000 was §1245 recapture (ordinary income) and $80,000 was a §1231 gain (long-term capital gain). On May 15, 2023 (within 180 days), David invested $60,000 into a QOF. He later sells the QOF investment on July 1, 2029, for $95,000. Calculate David's recognized gain in 2023 and 2029.

---

Step-by-Step Solution: Part 1: Gain Recognized in 2023
  1. Identify Eligible Gain: The total gain is $120,000, but only the $80,000 §1231 gain is eligible for deferral. The $40,000 recapture is not.
  2. Determine Amount Deferred: David invested $60,000. Since this is less than his eligible gain of $80,000, he can defer the full $60,000.
  3. Calculate Gain Recognized Immediately:
  • §1245 Recapture (ineligible): $40,000
  • Uninvested §1231 Gain ($80,000 eligible - $60,000 deferred): $20,000
  • Total Gain Recognized in 2023: $40,000 (ordinary) + $20,000 (LTCG) = $60,000.
  1. Determine Initial QOF Basis: For the $60,000 investment tied to the deferred gain, the initial basis is $0.
Tempting Wrong Answer for 2023: Recognizing only the $40,000 of recapture and deferring the full $80,000 gain. This is wrong because you can only defer gain up to the amount invested.

---

Part 2: Gain Recognized in 2029 (Sale of QOF)
  1. Triggering Event: David sold his QOF investment on July 1, 2029. This is before the Dec 31, 2026 deadline, so it accelerates the recognition of the deferred gain.
  2. Recognize the Deferred Gain:
  • Original Deferred Gain: $60,000.
  • Holding Period Check: Invested May 2023, sold July 2029. Holding period is over 6 years. However, he invested after Dec 31, 2021, so he is not eligible for any basis step-up (neither the 5-year nor 7-year benefit applies).
  • Deferred Gain Recognized in 2029: $60,000 (long-term capital gain, matching the original §1231 gain).
  1. Calculate Gain on QOF Appreciation:
  • First, adjust the QOF basis. Initial basis was $0. It is increased by the deferred gain recognized: $0 + $60,000 = $60,000.
  • Sale Proceeds: $95,000
  • Adjusted Basis: $60,000
  • Gain on QOF Appreciation Recognized in 2029: $95,000 - $60,000 = $35,000.
  • Holding Period Check for Appreciation: The QOF was held for over one year, so this is a long-term capital gain. The 10-year exclusion does not apply.
  1. Total Gain Recognized in 2029: $60,000 (from deferred gain) + $35,000 (from appreciation) = $95,000.

This scenario shows how failing to segregate ineligible gain or miscalculating the basis step-up can cause the entire calculation to collapse. Practice with VoraPrep's adaptive learning engine is crucial for building the muscle memory to navigate these steps under exam pressure.

Your QOZ Study and Exam-Day Strategy

  • Timeline is Everything: For any QOZ simulation, immediately draw a timeline on your scratchpad. Mark the sale date, investment date, Dec 31, 2026, and the final QOF sale date. This visual prevents simple date-based errors and is the single best way to organize the data.
  • Isolate the Two Assets: Create two columns on your scratchpad: "Deferred Gain" and "QOF Investment." Track the tax events for each one separately. They only interact when a sale occurs or when basis is adjusted.
  • Connect to Other Topics: QOZs intersect with Individual Taxation (capital gain rules), Entity Taxation (QOFs are often partnerships), and Property Transactions (basis). Don't study it in a silo. Reviewing concepts like the §1231 look-back rule or the §199A deduction can reinforce your command of complex tax rules, which is essential for busy professionals trying to pass the CPA exam while working full-time.
  • Talk to Vory: If you get stuck on a practice simulation, don't just look at the answer. Use the Vory tutor to ask "Why is the initial basis zero?" or "Explain the basis adjustment after recognizing the deferred gain." Getting a conceptual explanation will make the rule stick.
  • Final Week Review: In the week before your TCP exam, drill 15-20 MCQs specifically on QOZs. Use a CPA TCP cheat sheet to review the core dates and percentages. Say the rules aloud: "180 days. Basis starts at zero. Deferral ends 12/31/26. 10 years for exclusion." This reinforces the framework.

Frequently asked questions

When does the 180-day QOZ investment period begin?

The 180-day period to invest an eligible gain into a Qualified Opportunity Fund (QOF) generally begins on the date of the sale or exchange that generated the capital gain. For gains from pass-through entities like partnerships or S corporations, the partner or shareholder can elect to start their 180-day period on the date of the entity's sale, the last day of the entity's tax year, or the due date of the entity's tax return (without extensions).

What are the main tax benefits of a QOF investment?

Investing in a QOF provides two primary tax benefits for the investor. First, it allows for the deferral of the original eligible capital gain until the earlier of the date the QOF investment is sold or December 31, 2026. Second, if the QOF investment is held for at least 10 years, any appreciation on the investment itself can be permanently excluded from taxable income upon its sale.

Can I invest ordinary income into a Qualified Opportunity Fund?

No, only eligible capital gains can be invested into a QOF to receive the associated tax benefits. Gains treated as ordinary income, such as from the sale of inventory or depreciation recapture under Section 1245, do not qualify for deferral. The gain must be one that would be treated as a capital gain for federal income tax purposes.

What happens if I sell my QOF investment after 7 years but before 10 years?

If you sell your QOF investment after holding it for seven years but before the 10-year mark, you will trigger two tax events. You must recognize the original capital gain that you deferred. Additionally, you must recognize any capital gain on the appreciation of the QOF investment itself, as you did not meet the 10-year holding period required for permanent exclusion.

What if I invest more than my capital gain into a QOF?

If you invest more in a QOF than the amount of your eligible capital gain, the investment is bifurcated for tax purposes. The portion of the investment equal to the deferred gain has an initial basis of zero. The excess amount invested is treated as a separate investment with a basis equal to the cash paid.

What happens if my QOF investment loses value?

If you sell your QOF investment for less than your adjusted basis, you can recognize a capital loss. For example, if your basis in the QOF is $100,000 and you sell it for $70,000, you would recognize a $30,000 capital loss, subject to the normal capital loss limitation rules. This occurs after you have already recognized the original deferred gain.

Are there state tax implications for QOZ investments?

Yes, and this is a critical point. While the QOZ program is a federal incentive, state tax conformity varies. Some states automatically conform to the federal rules, while others have "decoupled" and do not offer a similar deferral or exclusion. Always advise clients to check their specific state's tax laws, as they may owe state tax on a gain that is deferred for federal purposes.

What forms are used to report QOZ investments and deferrals?

Taxpayers use Form 8949, Sales and Other Dispositions of Capital Assets, to report the initial gain and elect deferral. They must also file Form 8997, Initial and Annual Statement of Qualified Opportunity Fund (QOF) Investments, annually with their tax return to report their holdings and any changes.
⚡ Instant Knowledge Check · 1-Click Test Drive
TCP-III: Property Transactions & Basis Planning

Under federal tax planning rules for property transactions, what is the tax consequence when an individual gifts stock with an adjusted basis of $60,000 and a fair market value of $45,000 to their adult child, who subsequently sells it for $50,000?

Official resources and references

--- Ready to Pass Your CPA Exam?

QOZs are just one of the many complex topics where you need to think like an examiner, not just memorize rules. VoraPrep is built to teach you that judgment. With over 9,500 practice questions, our adaptive engine that finds and fixes your weak spots, and our 24/7 AI tutor Vory, you get the support you need to walk into the exam with confidence.

Visit voraprep.com to get started.

Start Your Free 14-Day Trial at voraprep.com →
RP

About the Author: Rob Pfleghardt

Rob Pfleghardt is the founder of VoraPrep, a comprehensive exam prep platform for the CPA, CMA, EA, CIA, CISA, and CFP exams. A Virginia Tech graduate in Accounting and Finance, Rob began his career at Price Waterhouse, spending a decade in audit and IT consulting. After holding a CPA license for 37 years (1987–2024) and successfully scaling his own enterprise IT consultancy serving the Department of Defense, Rob launched VoraPrep. He now leverages his deep systems architecture background to build the adaptive training technology and curriculum that helps candidates pass their certification exams efficiently.

Connect with Rob on LinkedIn →
Free Diagnostic Assessment

Find your exact CPA weak spots in 10 minutes.

Most candidates fail because they study blindly. Take our free 10-question diagnostic to identify your weakest blueprint topics and receive a custom 12-week study plan PDF generated instantly.

Keep reading

Free 5-min CPA diagnostic + 12-week plan PDF

Start →
CPA 1:1 Prometric Simulator

9,500+ practice questions with instant Socratic feedback