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 the ownership, use, and frequency tests. Gain from depreciation is taxed separately as unrecaptured §1250 gain, and gain from nonqualified use periods after 2008 is prorated and also ineligible. VoraPrep includes 9,566 AICPA-aligned CPA questions, 485 interactive lessons, and 296 Prometric simulations.
Key facts
- Governing standard
- Internal Revenue Code (IRC) §121
- Maximum exclusion (Single)
- $250,000
- Maximum exclusion (Married Filing Jointly)
- $500,000
- Gateway tests
- Must meet all three: 2-of-5-year ownership, 2-of-5-year use, and 2-year frequency limit
- Depreciation recapture
- Gain from depreciation taken or allowable 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
- VoraPrep CPA Curriculum
- 9,566+ blueprint-aligned practice questions, 485 interactive lessons, 922 FSRS-4.5 flashcards, and 1:1 Prometric simulation
What Makes the §121 Exclusion a Trap on the REG Exam?
The Section 121 exclusion is a staple of individual taxation on the REG exam. Examiners know every candidate has memorized the $250,000 and $500,000 limits. That's the baseline, not the test.
The real challenge is a multi-step calculation hidden inside a story problem. A typical question involves a taxpayer who lived in their home, rented it out for a few years, moved back in, and then sold it. This fact pattern is designed to test two specific traps that reduce the excludable gain:
- Depreciation Recapture: When the home was a rental, depreciation was allowable. 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 "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. Try VoraPrep's free CPA practice questions to see how these concepts are layered in exam-style MCQs.
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.
The Three Gateway Tests for the §121 Exclusion
Before you calculate any gain, you must confirm the taxpayer passes three critical tests. Failing any one of them means the entire gain is taxable, unless a specific hardship provision applies.
What is the Ownership Test?
The taxpayer must have owned the property for at least two years (730 days) during the five-year period ending on the date of sale.What is the Use Test?
The taxpayer must have used the property as their principal residence for at least two years (730 days) during the same five-year period. The periods of ownership and use do not have to be continuous.For the $500,000 MFJ exclusion, both spouses must meet the use test, but only one spouse needs to meet the ownership test.
What is the Frequency Limit 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. This is a bright-line test.The Correct Calculation Order for §121
If the taxpayer passes all three gateway tests, you must apply the rules as a sequence of filters. Each filter removes a piece of the gain from being eligible for the exclusion.
How does depreciation recapture limit the exclusion?
The unrecaptured §1250 gain is the step most candidates forget. If the principal residence was ever used for business or 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.
How do you prorate gain for nonqualified use?
After accounting for depreciation recapture, you must prorate 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.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.
What is the special 5-year rule for §1031 exchanges?
A subtle trap involves §1031 like-kind exchanges. If a taxpayer acquires a residence as part of a §1031 exchange, the property is not eligible to be treated as a principal residence for §121 purposes until it has been held for at least five years from the date of acquisition. After that five-year period, the taxpayer must still meet the standard 2-of-5-year use test to qualify for the exclusion.Predict Your CPA Scaled Score (FAR, AUD, REG & Disciplines)
Enter your practice accuracy across AICPA blueprint areas to estimate your 0–99 scaled score and pinpoint your highest-ROI topics.
A Complete, Exam-Level Walkthrough: Section 121 Calculation
Let's apply this with a realistic, multi-step problem.
- 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 moved back in on Jan 1, 2025, and lived there until she sold it on Dec 31, 2026 (2 years).
- Maya has not used the §121 exclusion in the prior two years.
What is the amount and character of Maya's taxable gain?
Step 1: Check the Gateway Tests
- Ownership Test: Maya owned the home for 10 years (2017-2026). Pass.
- Use Test: The 5-year look-back period is Jan 1, 2022, to Dec 31, 2026. During this period, she lived in the home for 2 years (2025-2026). Pass.
- Frequency Test: She has not used the exclusion in the prior 2 years. 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 and is not eligible for the exclusion. It is characterized as a long-term capital gain.
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
Your Exam Day Checklist for §121 Questions
On exam day, use this mental checklist for any home sale question to avoid the common traps:
- Check the Gateways: Does the taxpayer meet all three tests: 2-of-5-year ownership, 2-of-5-year use, and the 2-year frequency limit? If not, stop. The gain is fully taxable unless a hardship exception applies.
- Calculate Adjusted Basis: Start with cost and immediately subtract any depreciation taken or allowable.
- Carve Out Depreciation Gain First: Calculate total realized gain. The first piece to be taxed is the unrecaptured §1250 gain (equal to depreciation). 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.