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.
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:
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.
- 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.
- 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:
- The period of qualifying use, or
- 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.
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.
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).
- $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:
- 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.
- Calculate Adjusted Basis: Start with the cost and immediately subtract any depreciation taken during rental periods. This is a non-negotiable step.
- 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.
- Prorate the Remainder: Apply the nonqualified use formula to the remaining gain. This second piece is also taxable.
- Apply the Exclusion Last: Only the final amount of gain is eligible for the $250k/$500k exclusion.