CPA Exam · 12 min read Updated

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 — VoraPrep CPA exam study guide

Key Takeaways

  • The exam tests your ability to calculate what isn't excludable, not just the exclusion amounts.
  • You must pass three gateway tests (ownership, use, frequency) before any exclusion is possible.
  • The calculation order is critical: total gain, less depreciation recapture, then prorate for nonqualified use, and finally apply the exclusion.
  • Gain equal to depreciation taken or allowable is always taxed first as unrecaptured §1250 gain.
  • To claim the full $500,000 MFJ exclusion, both spouses must meet the use test, but only one spouse must meet the ownership test.
  • A property acquired in a §1031 exchange must be held for five years before it can be treated as a principal residence for §121 purposes when practicing on VoraPrep.
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 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:

  1. 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.
  2. 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.

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.

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.

Decision Flow
1Start Home Sale
2Pass Gateway Tests?
3Entire Gain is Taxable
4Calculate Total Realized Gain
5Step 1: Carve Out Taxable Depreciation Recapture
6Step 2: Carve Out Taxable Nonqualified Use Gain
7Remaining Gain is Eligible
8Apply $250k or $500k Exclusion
9Final Taxable LTCG

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.
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.

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.
✨ Free CPA Score Predictor

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.

Open CPA Score Predictor →

A Complete, Exam-Level Walkthrough: Section 121 Calculation

Let's apply this with a realistic, multi-step problem.

Worked example: 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 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).
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
Exam trap: 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.

Your Exam Day Checklist for §121 Questions

On exam day, use this mental checklist for any home sale question to avoid the common traps:

  1. 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.
  2. Calculate Adjusted Basis: Start with cost and immediately subtract any depreciation taken or allowable.
  3. 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.
  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.
⚡ Test Yourself: 1 Real CPA Question · Instant Reveal
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

Quick Reference Summary Table

Exam DimensionCore Rule & Study Benchmark
Governing standardInternal Revenue Code (IRC) §121
Maximum exclusion (Single)$250,000
Maximum exclusion (Married Filing Jointly)$500,000
Gateway testsMust meet all three: 2-of-5-year ownership, 2-of-5-year use, and 2-year frequency limit
Depreciation recaptureGain from depreciation taken or allowable is unrecaptured §1250 gain, taxed at max 25%, and ineligible for exclusion

Frequently asked questions

How does depreciation affect the Section 121 exclusion?

Depreciation taken or allowable on a home reduces its adjusted basis, increasing the total gain on sale. The portion of the gain equal to this depreciation is unrecaptured §1250 gain, is taxed at a maximum 25% rate, and is never eligible for the §121 exclusion. Inside VoraPrep's CPA review course, candidates drill this exact requirement using step-by-step rationales and a 1:1 test-center exam simulator mapped to the AICPA Evolution Blueprint.

What is the most common mistake on Section 121 questions?

The most common mistake is failing to apply the correct calculation order. Candidates incorrectly apply the $250k/$500k exclusion to the total gain, forgetting to first carve out the taxable unrecaptured §1250 gain from depreciation and the taxable gain from nonqualified use. VoraPrep's blueprint-aligned CPA study platform covers this topic across 480+ interactive lessons, FSRS flashcards, and 9,500+ adaptive practice questions.

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. Candidates studying with VoraPrep master this CPA rule through targeted adaptive practice and primary-authority explanations grounded in the AICPA Evolution Blueprint.

Can I take the Section 121 exclusion on a vacation home?

No. The exclusion is only available for the sale of your principal residence, the home you live in most of the time. A vacation home would be considered nonqualified use unless you later convert it to your main home and meet the 2-of-5-year use test. VoraPrep's CPA curriculum reinforces this directly with 9,500+ practice questions and 480+ interactive lessons aligned to the AICPA Evolution Blueprint.

How to study Section 121 exclusion for CPA exam?

Focus on working through problems using a step-by-step method: 1) Check all three gateway tests (ownership, use, frequency), 2) Calculate total gain, 3) Carve out taxable depreciation recapture, 4) Prorate for nonqualified use, 5) Apply the exclusion to the remainder. Inside VoraPrep's CPA review course, candidates drill this exact requirement using step-by-step rationales and a 1:1 test-center exam simulator mapped to the AICPA Evolution Blueprint.


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 complete course includes an adaptive learning engine that targets your specific weak areas, and our 9,500+ practice questions come with detailed explanations written by expert CPAs. With our 24/7 personal 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 →
Statutory & Blueprint Rule Atlas

Verify Primary CPA Rules, Calculators & Retake Tools

Browse All CPA Rules →
RP

About the Author: Rob Pfleghardt

Rob Pfleghardt is the founder of VoraPrep, a comprehensive exam prep platform across 30 professional licensure and certification exams in Accounting & Tax (CPA, EA, CMA, CFE, CPP, CGFM), Securities & Wealth (CFP, SIE, FINRA Series, CFA, FRM), Audit & Cyber (CISA, CIA, CRISC, CISM, CISSP, CCSP, Security+, CIPP/US), HR Leadership (SHRM-CP, PHR), and Federal Regulatory (CBLE). 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 scaling his own enterprise IT consultancy serving commercial and federal clients, Rob launched VoraPrep to build adaptive training technology and blueprint-aligned curriculum for working professionals.

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