CPA Exam · 11 min read 2026 Blueprint Verified

CPA Regulation: Section 121 exclusion — Complete Study Guide

Rob Pfleghardt

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

CPA Regulation: Section 121 exclusion — Complete Study Guide

Key Takeaways

  • Gain from depreciation (unrecaptured §1250 gain) is always taxed first and is never eligible for the §121 exclusion.
  • You must prorate the remaining gain for periods of nonqualified use, making that portion ineligible for the exclusion.
  • A property acquired in a §1031 like-kind exchange must be held for five years before a sale can qualify for the §121 exclusion.
  • A partial exclusion is available for failing the two-year tests or the frequency limit due to unforeseen circumstances like a job change or health issue.
  • To claim the full $500,000 MFJ exclusion, both spouses must meet the use test, but only one spouse must meet the ownership test.
  • The CPA exam tests the exceptions, not the rule. Master the calculation order: total gain, less depreciation recapture, then prorate for nonqualified use.

Over 40% of a home sale gain can become unexpectedly taxable due to two rules most CPA candidates misapply: nonqualified use proration and depreciation recapture. They see the big $250k/$500k exclusion, feel confident, and walk straight into a trap the examiners set every time. The exam isn't testing the exclusion; it's testing your ability to calculate what isn't excludable.

Quick answer

The Section 121 exclusion allows taxpayers to exclude up to $250,000 ($500,000 MFJ) of gain from a principal residence sale if they meet 2-of-5-year ownership and use tests. However, gain attributable to depreciation taken after May 6, 1997, is taxed separately, and gain from periods of nonqualified use (e.g., renting) must be prorated and is not excludable.

Key facts

  • Governing standard: Internal Revenue Code (IRC) §121
  • Maximum exclusion (Single): $250,000
  • Maximum exclusion (Married Filing Jointly): $500,000
  • Core requirement: Own and use as principal residence for 2 of the 5 years before the sale
  • Depreciation recapture: Gain from depreciation is unrecaptured §1250 gain, taxed at max 25%, and ineligible for exclusion
  • Nonqualified use: Gain from non-residence periods after 2008 is prorated and ineligible for exclusion

Why Section 121 Is a Minefield on the REG Exam

The Section 121 exclusion is a core component of individual taxation on the REG exam. You are guaranteed to see it. The examiners know that every candidate has memorized the $250,000/$500,000 limits. That's the baseline, not the test.

The real test is a multi-step calculation hidden inside a story problem. A typical question will involve a taxpayer who lived in their home, rented it out for a few years, and then sold it. This fact pattern is designed to test two specific traps:

Free 5-Min Diagnostic

Studying for CPA REG? 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.

  1. Depreciation Recapture: When the home was a rental, depreciation was allowable. That depreciation reduces the home's basis. The gain attributable to that depreciation is "unrecaptured Section 1250 gain," which is taxed at a maximum 25% rate and is never eligible for the §121 exclusion.
  2. Nonqualified Use: The period the home was rented out after 2008 is considered "nonqualified use." The portion of the remaining gain attributable to this period is also ineligible for the exclusion.

Failing to handle these two items correctly, and in the right order, will lead you directly to a distractor answer. Mastering this sequence is how you secure the points. Try VoraPrep's free CPA practice questions to see how these concepts are layered in exam-style MCQs.

How to Correctly Apply the Section 121 Rules

To answer these questions correctly, you must think like an examiner and apply the rules as a sequence of filters. Each filter removes a piece of the gain from being eligible for the exclusion.

The Gateway: Ownership and Use Tests

This is the first hurdle. To qualify for any exclusion, the taxpayer must have both owned and used the property as their principal residence for at least two years (730 days) during the five-year period ending on the sale date.

  • The two years do not have to be continuous.
  • For the $500,000 MFJ exclusion, both spouses must meet the use test, but only one needs to meet the ownership test.
  • A taxpayer generally cannot use the exclusion if they have used it for another home sale within the two years prior to the current sale date.

If these tests are met, you proceed. If not, the entire gain is taxable, unless a hardship provision applies.

The Recapture Trap: Unrecaptured §1250 Gain

This is the step most candidates forget. If the principal residence was ever used as a rental property, you must deal with depreciation.

The gain on the sale, up to the amount of depreciation taken (or allowable) after May 6, 1997, is classified as unrecaptured Section 1250 gain. This amount is taxed at a maximum rate of 25% and is not eligible for the §121 exclusion. You must calculate this amount and set it aside as taxable before considering the rest of the gain.

The Proration Trap: Calculating Nonqualified Use

After you've dealt with depreciation recapture, you look at the remaining gain. Any period after December 31, 2008, that the taxpayer owned the home but did not use it as their principal residence is nonqualified use.

You must allocate the remaining gain between qualified and nonqualified periods using this formula:

Ineligible Gain = Remaining Gain x (Years of Nonqualified Use / Total Years of Ownership)

This calculated amount is a taxable capital gain. Only the final portion of the gain, attributable to qualified use, is eligible for the $250k/$500k exclusion.

The Exception: Partial Exclusions for Hardship

If a taxpayer fails the two-year tests or the two-year frequency limit but sells the home due to a change in employment, health, or other "unforeseen circumstances" as defined by the IRS, they can claim a partial exclusion.

The maximum exclusion ($250k or $500k) is prorated by the shorter of:

  1. The period of qualifying use, or
  2. The period since the last sale where the exclusion was claimed.

The fraction is: (Number of qualifying months) / 24 months.

The Holding Period Trap: Interaction with §1031 Exchanges

Here's a subtle trap the exam loves. If a taxpayer acquires a residence as part of a §1031 like-kind exchange, they cannot claim the §121 exclusion unless they have held the property for at least five years from the date of acquisition. Meeting the two-year use test is not enough in this specific case.

✨ 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 →

A Complete, Exam-Level Walkthrough: Section 121 Calculation

Let's apply this with a realistic, multi-step problem. Memorizing rules is useless without seeing how they interact.

Scenario: Maya, a single individual, purchased a home on January 1, 2017, for $500,000.
  • She lived in it as her principal residence from Jan 1, 2017, to Dec 31, 2020 (4 years).
  • On Jan 1, 2021, she moved and converted the home to a rental property.
  • She rented it out from Jan 1, 2021, to Dec 31, 2024 (4 years). During this time, she correctly claimed $60,000 of straight-line depreciation.
  • She sold the home on Dec 31, 2026, for $810,000, having owned it for exactly 10 years. In the 5-year look-back period (Jan 1, 2022 - Dec 31, 2026), she never re-occupied the home as her principal residence.

What is the amount and character of Maya's taxable gain?

Step 1: Check the Ownership and Use Tests

  • Ownership Test: Maya owned the home for 10 years (2017-2026). She easily passes the 2-year ownership test.
  • Use Test: The 5-year look-back period is Jan 1, 2022, to Dec 31, 2026. During this entire period, the property was a rental. Maya did not live in it for a single day.
  • Conclusion: Maya fails the use test. She is not eligible for any Section 121 exclusion.

This is a classic exam pattern. The candidate does a lot of work only to find the gateway test fails. But let's change one fact to show the full calculation.

Revised Scenario: Maya moves back into the home on Jan 1, 2025, and lives there until she sells it on Dec 31, 2026 (2 years). All other facts are the same.

Step 1 (Revised): Check Ownership and Use Tests

  • Ownership Test: 10 years. Pass.
  • Use Test: In the 5-year look-back (Jan 1, 2022 - Dec 31, 2026), she lived in the home for 2 years (2025-2026). Pass.
  • Conclusion: Maya qualifies. Now we must calculate the taxable portion.

Step 2: Calculate Adjusted Basis and Realized Gain

  • Original Cost: $500,000
  • Less: Depreciation Taken: ($60,000)
  • Adjusted Basis: $440,000
  • Amount Realized (Sale Price): $810,000
  • Less: Adjusted Basis: ($440,000)
  • Total Realized Gain: $370,000

Step 3: Isolate and Tax Unrecaptured §1250 Gain

This is the first piece of the gain to be taxed.

  • The gain, up to the amount of depreciation, is unrecaptured §1250 gain.
  • Depreciation was $60,000.
  • Taxable Unrecaptured §1250 Gain: $60,000 (taxed at a max 25% rate).

This amount is not eligible for the exclusion. We now have a remaining gain of $310,000 ($370,000 - $60,000) to analyze.

Step 4: Prorate for Nonqualified Use

Now we apply the second filter to the remaining $310,000 gain.

  • Total Ownership: 10 years.
  • Period of Nonqualified Use: The rental period from Jan 1, 2021, to Dec 31, 2024. This is 4 years. This period is after Dec 31, 2008, so it all counts.
  • Proration Formula: Remaining Gain x (Nonqualified Use / Total Ownership)
  • $310,000 x (4 years / 10 years) = $124,000

This $124,000 is also taxable gain (long-term capital gain) and is not eligible for the exclusion.

Step 5: Apply the §121 Exclusion and Find Final Taxable Gain

  • Total Realized Gain: $370,000
  • Less: Ineligible Unrecaptured §1250 Gain: ($60,000)
  • Less: Ineligible Gain from Nonqualified Use: ($124,000)
  • Gain Eligible for Exclusion: $186,000
  • Maya's Maximum Exclusion (Single): $250,000
  • Amount She Can Exclude: $186,000 (She can exclude the full eligible amount as it's less than her max).
Final Answer: Maya's total taxable gain is the sum of the two ineligible portions:
  • $60,000 (Unrecaptured §1250 Gain)
  • $124,000 (Long-Term Capital Gain from Nonqualified Use)
  • Total Taxable Gain: $184,000

The tempting wrong answer is to calculate the $370,000 total gain, subtract the $250,000 exclusion, and get $120,000. This is wrong because it ignores both the character of the depreciation gain and the nonqualified use proration. The VoraPrep adaptive learning engine has thousands of questions designed to build this kind of analytical judgment.

How to Avoid the Most Common Section 121 Mistakes

On exam day, use this mental checklist for any home sale question:

  1. Check the Gateway: Does the taxpayer meet both the 2-of-5-year ownership and use tests? If not, stop. The gain is fully taxable unless a hardship exception applies.
  2. Calculate Adjusted Basis: Start with the cost and immediately subtract any depreciation taken during rental periods. This is a non-negotiable step.
  3. Carve Out Depreciation Gain First: Calculate the total realized gain. The first piece to be taxed is the unrecaptured §1250 gain (equal to depreciation taken). This is never excludable.
  4. Prorate the Remainder: Apply the nonqualified use formula to the remaining gain. This second piece is also taxable.
  5. Apply the Exclusion Last: Only the final amount of gain is eligible for the $250k/$500k exclusion.
⚡ Instant Knowledge Check · 1-Click Test Drive
REG-III: Taxation of Entities (Partnership Basis & Property Contributions)

A partner contributes land with an adjusted tax basis of $40,000 and a fair market value of $70,000 to a partnership in exchange for a 50% partnership interest. The land is subject to a nonrecourse mortgage of $30,000, which the partnership assumes. What is the partner's initial tax basis in their partnership interest under IRC §722 and §752?

Official resources and references

Frequently asked questions

How does depreciation affect the Section 121 exclusion? Depreciation taken on a home while it was a rental property reduces its adjusted basis, increasing the total gain on sale. The portion of the gain equal to the depreciation taken is called unrecaptured §1250 gain, is taxed at a maximum 25% rate, and is never eligible for the §121 exclusion. What is the most common mistake on Section 121 questions? The most common mistake is a two-part error: first, forgetting to calculate and separately tax the unrecaptured §1250 gain from depreciation, and second, failing to prorate the remaining gain for periods of nonqualified use. Candidates often incorrectly apply the exclusion to the entire gain. Is Section 121 tested in simulations (TBS) or only MCQs? It is most commonly tested via Multiple-Choice Questions. However, the multi-step calculation is a perfect component for a Task-Based Simulation, especially one that requires you to complete a mock tax form schedule for capital gains and losses. Can I take the Section 121 exclusion on a vacation home? No. The exclusion is only available for the sale of your principal residence, which is the home you live in most of the time. A vacation home would be considered nonqualified use for its entire period of ownership unless you later convert it to your main home and meet the use test.

--- Ready to Pass Your CPA Exam?

Don't let tricky rules like nonqualified use and depreciation recapture cost you points on exam day. VoraPrep's adaptive learning engine targets your specific weak areas, and our 9,500+ practice questions come with detailed explanations written by expert CPAs. With our 24/7 AI tutor, Vory, you're never more than a click away from a clear explanation.

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