- Post-2009 nonqualified use (IRC 121(b)(4)) is the most commonly overlooked reduction to the exclusion. Any period after December 31, 2008 during which the property was NOT used as the taxpayer's principal residence -- specifically, any such period that falls before the most recent period of qualified use, within the ownership period -- is nonqualified use that reduces the available exclusion proportionally. The gain allocable to nonqualified use periods is computed as a fraction of total gain and is not eligible for the IRC 121 exclusion. Practitioners must compute the nonqualified use fraction before concluding the full exclusion is available. Verify the computation methodology against current IRS guidance and Treas. Reg. 1.121-4.
- Depreciation recapture is not covered by the IRC 121 exclusion. The IRC 121 exclusion does not apply to gain attributable to depreciation deductions allowed or allowable on the home (including home office deductions taken on Schedule C via Form 8829, and depreciation on any portion rented to tenants). Per IRS guidance and long-standing IRS administrative practice, gain equal to the cumulative depreciation deductions taken after May 6, 1997 is subject to tax at the unrecaptured Section 1250 gain rate (currently 25% for most taxpayers per IRC 1(h)(1)(D)), regardless of the IRC 121 exclusion. Practitioners must obtain the client's depreciation history before advising on the excludable gain.
- All statutory citations must be verified against current IRS.gov resources. This guide reflects the law as of July 2026. IRC 121 and its implementing regulations (including Treas. Reg. 1.121-1 through 1.121-4) are subject to IRS guidance updates, revenue procedures, and potential legislative change. No specific tax outcome can be guaranteed based on this guide alone. Verify all positions against current IRS.gov resources before reliance in any specific client matter.
Key Points for Practitioners
- General exclusion rule (IRC 121(a)): Gross income does not include gain from the sale or exchange of a principal residence if the taxpayer owned the property for at least 2 years and used it as a principal residence for at least 2 years, both within the 5-year period ending on the sale date. The ownership and use tests are independent and need not be satisfied concurrently.
- Exclusion amounts: Up to $250,000 of gain is excluded for single filers and married persons filing separately (per IRC 121(b)(1)). Up to $500,000 is excluded for qualifying married couples filing jointly, subject to the conditions of IRC 121(b)(2), including the requirement that both spouses independently satisfy the 2-year use test.
- Post-2009 nonqualified use (IRC 121(b)(4)): Gain allocable to periods of nonqualified use after December 31, 2008 is not eligible for the IRC 121 exclusion. This computation is required before concluding the full exclusion applies to any converted or partially rented home. The fraction is applied to total gain, not just to gain within the 5-year window.
- Reduced exclusion (IRC 121(c)): A taxpayer who fails to meet the 2-year ownership or use test due to a change in employment, health reasons, or unforeseen circumstances may qualify for a partial exclusion, computed as a pro-rata portion of the applicable maximum based on the period of qualifying use. Safe harbors are provided in Treas. Reg. 1.121-3 and Rev. Proc. 2005-14.
- Depreciation recapture: Gain attributable to depreciation deductions allowed or allowable after May 6, 1997 -- including home office and rental-portion depreciation -- is not covered by the IRC 121 exclusion and is taxed at the unrecaptured Section 1250 gain rate (25% per IRC 1(h)(1)(D)). The recapture and nonqualified use computations are separate adjustments applied independently.
- Once-every-two-years limitation (IRC 121(b)(3)): The IRC 121 exclusion may not be used more than once in any 2-year period. A second home sale within 2 years may qualify only for the reduced exclusion under IRC 121(c) if a qualifying event applies.
- Special rules: Divorce (IRC 121(d)(3)), death of spouse (IRC 121(d)(2)), and military or intelligence service (IRC 121(d)(9)) each create exceptions or modifications to the standard ownership and use tests. These are addressed in Section 7.
- Schedule D reporting: If the full gain is excluded and no Form 1099-S was received, the sale may not need to be reported (per current IRS Schedule D instructions -- this position is subject to change; verify against current year instructions). If gain exceeds the exclusion or a Form 1099-S was issued, the sale is reported on Form 8949 with adjustment code H for the excluded portion.
IRC 121 is the primary tax benefit available to homeowners who sell their principal residences. Under IRC 121(a), a taxpayer may exclude from gross income up to $250,000 of gain (or up to $500,000 for qualifying married couples filing jointly, per IRC 121(b)(2)) realized on the sale or exchange of a principal residence, provided the taxpayer meets the ownership and use requirements during the 5-year period ending on the date of the sale. The exclusion is not a deferral -- it is a permanent exclusion from gross income, with no requirement that the taxpayer reinvest the proceeds in another home.
The simplicity of that general statement conceals significant complexity in practice. The post-2009 nonqualified use rules of IRC 121(b)(4), the depreciation recapture limitation, the conditions for the $500,000 MFJ exclusion, and the special rules for divorced taxpayers and surviving spouses each require careful analysis before a practitioner can advise a client on the exclusion available from a home sale. This guide works through the full IRC 121 framework -- statutory rules, Treasury regulations, IRS guidance, and reporting requirements -- for enrolled agents, CPAs, and tax attorneys advising individuals on residential real estate dispositions.
All statutory citations, Treasury regulations, and IRS guidance referenced in this guide must be verified against current IRS.gov resources before reliance in any specific client matter. This guide is for informational purposes only and does not constitute legal or tax advice.
Section 1: The General Rule -- IRC 121(a)
The Ownership and Use Tests
Per IRC 121(a), gross income does not include gain from the sale or exchange of property if, during the 5-year period ending on the date of the sale or exchange, the taxpayer (1) owned the property for periods aggregating 2 years or more, and (2) used the property as the taxpayer's principal residence for periods aggregating 2 years or more. Both tests must be satisfied within the same 5-year lookback window, but the two tests are independent of each other: the ownership periods and use periods need not overlap or be concurrent.
The independence of the two tests is significant. A taxpayer could satisfy the 2-year ownership requirement during one portion of the 5-year period and the 2-year use requirement during a different portion of the same 5-year period. For example, a taxpayer who owned property for 3 years (years 1 through 3) but used it as a principal residence only in years 4 and 5 (after, say, acquiring the property from a trust that retained beneficial use rights) would satisfy the ownership test from years 1-3 and the use test from years 4-5, both within the 5-year window, without any concurrent period where both tests were met at the same time. That taxpayer would still satisfy IRC 121(a) -- hedge to IRC 121(a) for any position relying on non-concurrent satisfaction of the two tests and verify against current IRS guidance.
The "periods aggregating" language in IRC 121(a) means that the ownership and use do not need to be continuous. Short breaks in use (for example, a temporary absence while the home was being repaired following a casualty loss) generally do not reset the use period, provided the taxpayer's facts and circumstances support treating the absence as temporary. Practitioners should document the continuity analysis for any client with breaks in use or ownership and verify the position against Treas. Reg. 1.121-1(c).
Determining "Principal Residence"
"Principal residence" is a facts-and-circumstances determination. Treas. Reg. 1.121-1(b) identifies factors the IRS considers relevant, including: the address where the taxpayer's mail is delivered; where the taxpayer is registered to vote; where family members reside; where the taxpayer's personal effects and furniture are kept; the address the taxpayer provides to employers, government agencies, and financial institutions; and the proximity of the property to the taxpayer's workplace. No single factor is determinative, and the weight given to each factor depends on the overall facts of the taxpayer's situation. Practitioners should document the principal residence determination in the client file, particularly when a client owns multiple properties, has recently relocated, or has spent significant time in more than one residence.
Per Treas. Reg. 1.121-1(b)(2), a taxpayer can have only ONE principal residence at a time, even if the taxpayer owns multiple homes. When a client owns two or more homes and uses each for portions of the year, the practitioner must identify which property constitutes the principal residence in each year relevant to the ownership and use test analysis. The property that does not qualify as the principal residence does not benefit from the IRC 121 exclusion on its sale (absent conversion to principal residence status followed by 2 years of qualifying use).
PRACTITIONER PROTOCOL: DOCUMENT THE PRINCIPAL RESIDENCE DETERMINATION
Before advising a client that IRC 121 applies to a home sale, document in the client file the facts supporting the principal residence determination: address of record with employer, government agencies, and financial institutions; voter registration; location of personal effects; family member locations; time spent at each property; and the taxpayer's stated intent. Treas. Reg. 1.121-1(b) is the controlling authority; cite it in the workpaper. When a client owns more than one home, the facts-and-circumstances analysis is especially important and should be completed before the sale, not after -- because the principal residence determination affects whether IRC 121 applies at all.
Section 2: Exclusion Amounts and the Married-Filing-Jointly Rules
The $250,000 and $500,000 Maximums
Per IRC 121(b)(1), the maximum gain exclusion for a taxpayer (other than a qualifying married couple filing jointly) is $250,000. This limit applies to single filers, married persons filing separately, heads of household, and qualifying surviving widowers who do not meet the conditions for the $500,000 MFJ exclusion described below.
Per IRC 121(b)(2), the maximum exclusion is increased to $500,000 for a married couple filing a joint return for the year of the sale, but only if ALL of the following conditions are met:
- Ownership test (one spouse): Either spouse must independently satisfy the 2-year ownership test.
- Use test (both spouses): Both spouses must independently satisfy the 2-year use test -- that is, each spouse must have used the property as his or her principal residence for at least 2 years within the 5-year period ending on the date of sale.
- Prior exclusion (neither spouse): Neither spouse may have used the IRC 121 exclusion for a prior home sale within the 2-year period ending on the date of the current sale.
If one spouse independently satisfies the 2-year ownership test and one (or both) spouses independently satisfy the 2-year use test but only ONE spouse satisfies the use test, the couple does not qualify for the full $500,000 MFJ exclusion. Per IRC 121(b)(2)(B), the MFJ exclusion in that case is limited to the sum of each spouse's individual exclusion computed as if they were filing separately -- meaning the spouse who meets both tests gets up to $250,000, and the spouse who does not meet the use test gets $0, for a total capped MFJ exclusion of $250,000 rather than $500,000.
Each Spouse's Exclusion is Computed Separately
The $500,000 MFJ exclusion is not simply a mechanical combination of two $250,000 exclusions. It is a specifically conditioned benefit under IRC 121(b)(2) that requires both spouses to independently meet the use test, only one spouse to meet the ownership test, and neither spouse to have recently used the exclusion. Practitioners advising recently married couples where one spouse owned the home before marriage must carefully evaluate whether the non-owning spouse has established the required 2 years of use as a principal residence within the 5-year window before the sale. If that 2-year use threshold is not met by both spouses, the $500,000 ceiling is not available, regardless of how long the owning spouse has owned and used the property.
| Filing Status / Scenario | Maximum Exclusion | IRC Citation | Key Condition |
|---|---|---|---|
| Single, HOH, or MFS | $250,000 | IRC 121(b)(1) | Ownership and use tests met by taxpayer |
| MFJ -- both spouses meet use test | $500,000 | IRC 121(b)(2) | Either spouse owns 2 yrs; both spouses use 2 yrs; neither used exclusion in prior 2 yrs |
| MFJ -- only one spouse meets use test | Up to $250,000 | IRC 121(b)(2)(B) | Only the qualifying spouse's $250,000 individual exclusion is available |
| MFJ -- either spouse used exclusion in prior 2 yrs | Reduced or $0 | IRC 121(b)(2)(A)(iii) and IRC 121(b)(3) | Prior exclusion within 2 years bars the full $500,000 and may reduce the available amount |
PRACTITIONER PROTOCOL: VERIFY BOTH SPOUSES' USE PERIODS BEFORE ADVISING ON THE $500,000 MFJ EXCLUSION
The most common MFJ exclusion error is advising a couple that they qualify for $500,000 when only one spouse independently satisfies the 2-year use test. This situation arises frequently when spouses married recently, when one spouse moved into the home after the other had already owned it, or when one spouse spent significant periods at a different property. Per IRC 121(b)(2)(B), the MFJ exclusion ceiling in that case is limited to the qualifying spouse's individual exclusion ($250,000 per IRC 121(b)(1)), not $500,000. Obtain the use history for each spouse independently, document it in the workpapers, and verify both meet the 2-year use threshold before concluding that the full $500,000 is available.
Section 3: Post-2009 Nonqualified Use -- IRC 121(b)(4) (The Critical Section)
The General Nonqualified Use Rule
IRC 121(b)(4) is the provision most frequently overlooked in IRC 121 analyses, and the one most likely to produce an unpleasant surprise for a client who assumed the full exclusion was available. Per IRC 121(b)(4), the exclusion does NOT apply to any portion of gain that is allocated to a "period of nonqualified use."
"Nonqualified use" is defined under IRC 121(b)(4)(C) as any period during the taxpayer's ownership of the property during which the property is not used as the principal residence of the taxpayer or the taxpayer's spouse (or, under certain divorce situations, a former spouse). Critically, only nonqualified use occurring AFTER December 31, 2008 is counted as a nonqualified use period for purposes of this rule -- any pre-2009 periods of non-primary-residence use are excluded from the nonqualified use calculation.
The Key Exception: Periods After Last Qualified Use
IRC 121(b)(4)(C)(ii)(I) provides an important exception to the nonqualified use definition: any portion of the 5-year test period that falls AFTER the last period of qualified use (that is, the period between when the taxpayer stops using the home as a principal residence and the date of sale) is NOT treated as a period of nonqualified use.
This exception has practical significance for the most common home sale scenario: a taxpayer uses a home as a principal residence for several years, moves out, and then sells the home within the 5-year window. The period between moving out and selling -- which could be months or even a couple of years -- is not counted as nonqualified use under IRC 121(b)(4)(C)(ii)(I). The taxpayer does not lose a portion of the exclusion merely because some time passed between the end of principal residence use and the sale date. This exception applies only to the tail-end period after the last qualified use; it does not excuse nonqualified use that occurred BEFORE the most recent period of qualified use within the ownership period.
The Nonqualified Use Fraction
The gain allocated to nonqualified use is computed as follows (per IRC 121(b)(4)(A) and applicable IRS guidance -- verify the computation methodology against current IRS guidance and Treas. Reg. 1.121-4):
- Compute the total gain realized on the sale (amount realized minus adjusted basis).
- Identify the aggregate period of nonqualified use after December 31, 2008, EXCLUDING any tail-end period after the last qualified use.
- Divide the nonqualified use period by the TOTAL ownership period (the full period from acquisition to sale, not just the 5-year window).
- Multiply that fraction by the total gain to determine the portion of gain allocable to nonqualified use. That amount is NOT eligible for the IRC 121 exclusion. The remaining gain (total gain minus the nonqualified use portion) is the amount potentially excludable, subject to the applicable $250,000 or $500,000 maximum.
The fraction is applied to the total ownership period -- not just the 5-year test window. This means that a taxpayer who owned a home for 10 years (renting it for the first 7 and using it as a principal residence for the last 3) must use a 10-year total ownership period in the denominator, not a 5-year period.
Worked Numerical Example
The following example illustrates the nonqualified use computation. All computations in client matters should be performed using actual days and verified against current IRS guidance and Treas. Reg. 1.121-4.
| Step | Facts and Computation | Result |
|---|---|---|
| Property history | Taxpayer purchases home January 2015; uses as rental (nonqualified use) through December 2019 (5 years); moves in January 2020 and uses as principal residence for 2.5 years; sells July 2022 | Total ownership period: approximately 7.5 years. Nonqualified use period: approximately 5 years (January 2015 to December 2019, all after December 31, 2008). Last period of qualified use ended approximately July 2022 (the sale date), so no tail-end exception period applies. |
| Ownership and use tests | Taxpayer owned for 7.5 years (satisfies the 2-year ownership test). Taxpayer used as principal residence for 2.5 years ending on the sale date (satisfies the 2-year use test). | Both IRC 121(a) tests are met. IRC 121 may apply -- but the nonqualified use fraction must be computed before the excludable gain can be determined. |
| Nonqualified use fraction | Nonqualified use period (5 years) divided by total ownership period (7.5 years) = 5/7.5 = approximately 66.7% | 66.7% of total gain is allocable to the nonqualified use period and is NOT eligible for the IRC 121 exclusion. |
| Gain allocation (assuming $300,000 total gain) | Gain allocable to nonqualified use: 5/7.5 x $300,000 = approximately $200,000. Gain eligible for IRC 121 exclusion: $300,000 minus $200,000 = $100,000. | The taxpayer may exclude up to $100,000 of gain under IRC 121 (well within the $250,000 single-filer maximum). The remaining $200,000 is taxable gain not covered by the IRC 121 exclusion. |
| Separate depreciation recapture analysis | If the taxpayer claimed rental depreciation during the 5-year rental period, the cumulative depreciation (allowed or allowable after May 6, 1997) is also NOT covered by IRC 121 and is taxed at the 25% unrecaptured Section 1250 gain rate per IRC 1(h)(1)(D). | The nonqualified use reduction and the depreciation recapture analysis are applied separately and may compound. Verify both computations against current IRS guidance. |
Military, Foreign Service, and Intelligence Community Exception
Per IRC 121(d)(9), qualifying members of the uniformed services, Foreign Service officers, Peace Corps volunteers, and members of the intelligence community may elect to suspend the running of the 5-year test period for up to 10 years during periods of qualified official extended duty. This suspension can allow these taxpayers to satisfy the ownership and use tests for a home they have not been able to use as a principal residence due to military or official deployment. The election must be made, and the applicable suspension period is limited to the maximum period specified in IRC 121(d)(9). Practitioners advising these clients should hedge any position on the suspension to IRC 121(d)(9) and verify the current election and limitation rules against current IRS guidance and Treas. Reg. 1.121-5.
PRACTITIONER PROTOCOL: RUN THE IRC 121(b)(4) ANALYSIS ON EVERY HOME SALE WITH ANY NON-RESIDENTIAL USE AFTER 2008
The nonqualified use computation under IRC 121(b)(4) is mandatory on any home sale where the property was used for rental, business, or other non-principal-residence purposes at any point after December 31, 2008 -- including periods before the most recent period of qualified use within the total ownership period. The computation uses the TOTAL ownership period in the denominator (not just 5 years), so a client who owned a home for 10+ years with several years of rental use may find that a substantial portion of the total gain is allocable to nonqualified use and thus not excludable. Complete this computation before advising on the available exclusion. Document the nonqualified use dates, the total ownership period, the fraction, and the resulting gain allocation in the client workpapers.
Section 4: Reduced Exclusion for Partial Qualification -- IRC 121(c)
When the Partial Exclusion is Available
A taxpayer who does not meet the full 2-year ownership or use requirement because of a qualifying event may still be eligible for a reduced exclusion under IRC 121(c). The qualifying events are: (1) a change in the taxpayer's place of employment, (2) health reasons, or (3) to the extent provided in the Treasury regulations, unforeseen circumstances. These categories are interpreted through Treas. Reg. 1.121-3 and Rev. Proc. 2005-14 -- hedge all qualifying-event determinations to those authorities and verify them against current IRS.gov resources before relying on them in a specific client matter.
Computing the Reduced Exclusion
The reduced exclusion is computed as: the applicable maximum ($250,000 or $500,000) multiplied by a fraction, the numerator of which is the shorter of (A) the aggregate period during which the taxpayer owned and used the property as a principal residence within the 5-year test period, or (B) the period between the date of the prior sale for which the IRC 121 exclusion was used and the date of the current sale; and the denominator of which is 730 days (the equivalent of 2 years). The fraction cannot exceed 1 (it is capped at the applicable maximum), and computations should be done using actual days rather than calendar years.
Example: A single taxpayer who lived in her home for 12 months (365 days) before being required to relocate for employment receives a reduced exclusion of $250,000 x (365/730) = $125,000 -- assuming the employment change qualifies under Treas. Reg. 1.121-3(c). The specific facts must meet the safe harbor or general standards in the applicable regulations; the exclusion is not automatic on the occurrence of any job change.
Qualifying Events: Safe Harbors and Standards
Qualifying events for the reduced exclusion include the following categories, each hedged to the authority cited:
- Change in place of employment (Treas. Reg. 1.121-3(c)): The safe harbor requires that the taxpayer's new workplace be at least 50 miles farther from the sold home than the former workplace was. For a taxpayer who was not previously employed, the new place of employment must be at least 50 miles from the sold home. Verify the current mileage threshold against Treas. Reg. 1.121-3(c).
- Health reasons (Treas. Reg. 1.121-3(d)): A sale is made for health reasons if it is primarily to obtain, provide, or facilitate the diagnosis, cure, mitigation, or treatment of a disease, illness, or injury affecting the taxpayer or a family member, or to provide care for a family member suffering from such a condition. A physician's recommendation that the taxpayer change residences for health reasons may constitute a safe harbor under Rev. Proc. 2005-14.
- Unforeseen circumstances (Treas. Reg. 1.121-3(d) and (e)): The IRS has provided safe harbors for certain unforeseen circumstances including: involuntary conversion of the home (from casualty, condemnation, or threat of condemnation); natural or man-made disaster; job loss qualifying for unemployment compensation; a change in employment resulting in inability to pay basic housing costs; death; divorce or legal separation; and multiple births from the same pregnancy. Practitioners should verify whether the client's facts meet one of the safe harbor categories in Treas. Reg. 1.121-3(e) or whether the facts must be evaluated under the general unforeseen-circumstances standard of Treas. Reg. 1.121-3(b)(1). A fact-specific analysis hedged to the applicable regulation and current IRS guidance is required.
PRACTITIONER PROTOCOL: DOCUMENT THE QUALIFYING EVENT BEFORE THE SALE IS CLOSED
The reduced exclusion under IRC 121(c) requires both a qualifying event AND a connection between that event and the premature sale of the home. The standard is that the primary reason for the sale was the qualifying event (employment change, health reason, or unforeseen circumstance). Documentation of the qualifying event (employer transfer letter, physician recommendation, court order in a divorce, FEMA declaration for a natural disaster) should be obtained and retained in the client file before or contemporaneously with the sale. After-the-fact documentation of the qualifying event is harder to sustain under examination. Advise the client before the sale closes, not after.
Section 5: The Once-Every-Two-Years Limitation -- IRC 121(b)(3)
Per IRC 121(b)(3), a taxpayer may not use the IRC 121 exclusion more than once during any 2-year period. The 2-year period is measured from the date of the taxpayer's most recent prior sale or exchange of a principal residence for which the IRC 121 exclusion was claimed -- not from the date of the prior home purchase.
A taxpayer who sold a principal residence and excluded gain under IRC 121 in, for example, March 2024, cannot claim the IRC 121 exclusion again on a sale occurring before March 2026. If the taxpayer sells a second home within that 2-year window, the sale does not qualify for the full exclusion.
However, if a qualifying event under IRC 121(c) caused the early second sale (for example, a required job relocation within 12 months of the prior sale), the taxpayer may be eligible for the reduced exclusion under IRC 121(c) for the second sale. The reduced exclusion is computed using the fraction described in Section 4, with the denominator being 730 days and the numerator being the shorter of the qualifying use period or the time elapsed since the prior IRC 121 exclusion was claimed. The full exclusion remains unavailable until 2 years have passed since the prior use of IRC 121.
Note that the once-every-two-years limitation applies per taxpayer. For a married couple filing jointly, the limitation applies to each spouse independently under IRC 121(b)(2)(A)(iii): the full $500,000 MFJ exclusion is not available if either spouse used the IRC 121 exclusion within the 2-year period prior to the current sale.
Section 6: Depreciation Recapture -- The Home Office and Mixed-Use Trap
The Depreciation Carve-Out from IRC 121
The IRC 121 exclusion does NOT shield from tax the portion of gain attributable to depreciation deductions allowed or allowable on the home after May 6, 1997. This limitation is based on IRS guidance and long-standing IRS administrative practice -- hedge the specific treatment to Treas. Reg. 1.121-1(d), IRS Publication 523, and current IRS positions, and verify against current IRS.gov resources. The limitation applies regardless of the amount of the total gain, the length of the qualifying use period, or whether the taxpayer otherwise meets all of the IRC 121 requirements for the full exclusion.
The affected depreciation categories are:
- Home office depreciation: Depreciation deducted on Schedule C via Form 8829 for the business use of a portion of the home. This is among the most common sources of recapture in individual returns and is frequently overlooked by practitioners and clients alike.
- Rental unit depreciation: Depreciation claimed on the portion of the home rented to tenants (reported on Schedule E). If a taxpayer rented out a room or a portion of the home while using the rest as a principal residence, the depreciation on the rental portion creates recapture exposure.
- Any other depreciation on the home: Any other depreciation deductions allowed or allowable on the home or a portion of it after May 6, 1997, including depreciation on a home-based business structure or a separately depreciated improvement. The phrase "allowed or allowable" means the recapture applies even if the taxpayer failed to actually claim the depreciation but was entitled to do so.
The Unrecaptured Section 1250 Gain Rate
The recapture gain (equal to the cumulative depreciation allowed or allowable after May 6, 1997) is characterized as unrecaptured Section 1250 gain and is taxed at a maximum rate of 25% per IRC 1(h)(1)(D). This rate applies to most taxpayers; taxpayers in the lowest ordinary income tax brackets may face a lower effective rate on this gain, but the gain itself is not entitled to the 0% long-term capital gains rate available on other capital gains. Hedge the 25% ceiling to IRC 1(h)(1)(D) and verify the current rate against current IRS guidance, as rate provisions are subject to legislative change.
The recapture gain flows through the Unrecaptured Section 1250 Gain Worksheet for Schedule D and is ultimately taxed at the appropriate rate on the taxpayer's Form 1040. It does not combine with ordinary income or with the separately computed nonqualified use gain; it is a distinct category of gain requiring separate computational treatment.
Worked Example: Home Office Depreciation Recapture
A taxpayer claimed $20,000 of home office depreciation over 10 years (all after May 6, 1997) and sells the home for a total gain of $150,000. The $20,000 of cumulative depreciation is NOT covered by the IRC 121 exclusion. It is treated as unrecaptured Section 1250 gain, taxable at up to 25% per IRC 1(h)(1)(D). The remaining $130,000 of gain is eligible for the IRC 121 exclusion, provided the other IRC 121 requirements are met and the excludable amount falls within the applicable maximum ($130,000 is within the $250,000 single-filer ceiling). The taxpayer recognizes $20,000 of taxable gain even though the overall home sale would otherwise be fully excluded.
The Two Reductions Apply Separately and May Compound
The nonqualified use reduction under IRC 121(b)(4) (Section 3 of this guide) and the depreciation recapture carve-out are two distinct adjustments that must each be computed independently. They may compound when both apply to the same sale. In the sequence of computation, the depreciation recapture is identified first (it removes a portion of total gain from eligibility for the IRC 121 exclusion entirely), and the remaining gain is then subject to the nonqualified use fraction. The combined effect can substantially reduce the amount of gain that ultimately qualifies for the IRC 121 exclusion. Practitioners should apply both analyses and document each calculation separately in the workpapers.
PRACTITIONER PROTOCOL: OBTAIN THE FULL DEPRECIATION HISTORY ON EVERY HOME SALE
Before advising a client on the IRC 121 exclusion available from a home sale, obtain (or reconstruct) the complete history of depreciation deductions allowed or allowable on the home after May 6, 1997. This includes: Form 8829 worksheets for every year a home office deduction was claimed; Schedule E depreciation schedules for any portion of the home used for rental; and any other depreciation schedules relating to the home or portions of it. The phrase "allowed or allowable" in the IRS's recapture framework means that depreciation the taxpayer could have claimed but did not is still treated as having been taken for recapture purposes. Reconstruct depreciation using the applicable MACRS tables for any years where records are incomplete, and document the reconstruction methodology. Failure to identify and account for cumulative home depreciation is one of the most common errors in home sale return preparation.
Section 7: Special Rules for Divorce and Death
Divorce: Tacking the Transferring Spouse's Ownership Period -- IRC 121(d)(3)
When a taxpayer receives a home in a divorce transfer from a spouse under IRC 1041 (the no-gain transfer rule for interspousal property transfers), IRC 121(d)(3) provides that the taxpayer can count the transferring spouse's period of ownership of the home for purposes of the ownership test. Per IRC 121(d)(3)(A), if the taxpayer's spouse or former spouse is treated as owning the property during any period, the taxpayer is also treated as owning the property during that period. This "tacking" rule means that a taxpayer who received a home in a divorce and did not otherwise satisfy the 2-year ownership test independently may nonetheless meet it by adding the transferring spouse's ownership period.
Importantly, tacking applies to OWNERSHIP only. The use test must still be independently met by the taxpayer who is claiming the IRC 121 exclusion. The taxpayer must have used the property as his or her principal residence for at least 2 of the 5 years before the sale, counting the taxpayer's own use period -- the transferring spouse's use period does not tack for this purpose unless the former spouse retained use of the home under a divorce instrument as described below.
Former Spouse Use: Counting the Former Spouse's Post-Divorce Use -- IRC 121(d)(3)(B)
Per IRC 121(d)(3)(B), if a taxpayer retains title to the home but transfers the right of use to a former spouse under a divorce or separation instrument, the taxpayer may count the former spouse's use of the home as the taxpayer's own use for purposes of the 2-year use test. This rule addresses the common post-divorce arrangement where the home-owning spouse (who remains on title) allows the other spouse to remain in the home -- typically to minimize disruption to children -- while the titleholder lives elsewhere.
This provision allows the titleholder-spouse who is living elsewhere to continue accumulating qualifying use time for IRC 121 purposes, as if the former spouse's occupancy were the titleholder's own. Hedge any reliance on this provision to IRC 121(d)(3)(B) and verify that the arrangement is documented in a qualifying divorce or separation instrument as required by the statute.
Death of Spouse: The Surviving Spouse's $500,000 Window -- IRC 121(d)(2)
Per IRC 121(d)(2), a surviving spouse may use the $500,000 MFJ exclusion ceiling (rather than the $250,000 single-filer ceiling) for a sale of the principal residence occurring within 2 years of the date of the deceased spouse's death, provided that all three of the following conditions are met:
- The sale occurs within 2 years of the date of the deceased spouse's death.
- Neither spouse excluded gain from a prior home sale under IRC 121 during the 2-year period ending on the date of the deceased spouse's death.
- The surviving spouse has not remarried before the date of the home sale.
This provision gives a surviving spouse a 2-year window after the death to sell the family home and use the larger $500,000 exclusion ceiling, even though the surviving spouse is filing as a single taxpayer (or as a qualifying widow/widower in the applicable years). After the 2-year window closes, the surviving spouse's exclusion ceiling reverts to $250,000. Hedge any position relying on IRC 121(d)(2) to the specific statute and verify all three conditions are met before advising the client on the available exclusion amount.
Military and Intelligence Service: Suspension of the 5-Year Period -- IRC 121(d)(9)
Per IRC 121(d)(9), qualifying taxpayers may elect to suspend the 5-year test period during periods of qualified official extended duty. The eligible categories include members of the uniformed services on qualified official extended duty, Foreign Service officers on qualified official extended duty, and, for some purposes, members of the intelligence community. The suspension allows the 5-year test period to be tolled (paused) for up to 10 years during qualifying duty -- meaning that time spent away from the home on military or official deployment does not count against the taxpayer in measuring the 5-year lookback window.
The election is not automatic; it must be made. The total suspension period is capped under IRC 121(d)(9), and the categories of qualifying duty and the applicable election procedures must be verified against current IRS guidance and Treas. Reg. 1.121-5. Practitioners advising active-duty military personnel, Foreign Service members, or intelligence community employees on home sales should evaluate whether the suspension election is appropriate given the client's facts, and document the election and the qualifying duty periods in the client file.
PRACTITIONER PROTOCOL: DIVORCE AND DEATH TRANSACTIONS REQUIRE COORDINATED IRC 121 AND IRC 1041 ANALYSIS
Home sales by recently divorced taxpayers or surviving spouses require analysis of both IRC 121 (the exclusion) and IRC 1041 (the no-gain rule for interspousal transfers). The IRC 1041 transfer itself produces no gain or loss for either spouse -- the transferee spouse takes the home at the transferor's adjusted basis. The IRC 121 analysis then applies to the eventual arm's-length sale of the home, with the transferred basis as the starting point. Practitioners must also apply IRC 121(d)(3) for the tacking of the transferor spouse's ownership period. An error in the basis (treating the home as having a fair-market-value basis at the time of the divorce transfer, rather than the carryover basis from IRC 1041) will compound into an error in the IRC 121 gain computation. Document the chain from original acquisition basis through IRC 1041 transfer through adjusted basis at sale. See also the IRC 1041 guide linked in the Related Practitioner Guides section below.
Section 8: Reporting on Schedule D and Form 8949
When the Sale May Not Need to Be Reported
Per current IRS Schedule D instructions (which must be verified against the instructions for the applicable tax year on IRS.gov -- this position is based on IRS guidance that may change), if a taxpayer sells a principal residence and the FULL gain is excluded under IRC 121, AND the taxpayer did not receive a Form 1099-S reporting the sale proceeds, the sale need not be reported on the tax return at all. The IRS's position has been that if there is no taxable gain and no Form 1099-S, the reporting requirement is waived.
Practitioners should not rely on this no-reporting position without confirming the current year's Schedule D instructions. The IRS has the authority to modify reporting guidance, and practitioners who advise clients to omit a home sale from the return should document in the workpapers (1) that the full gain was computed and is within the applicable exclusion ceiling, (2) that no Form 1099-S was received, and (3) the specific IRS instruction authority for the no-reporting position in the applicable year.
When the Sale Must Be Reported: Form 8949 and Schedule D
A home sale must be reported if any of the following apply:
- The gain exceeds the applicable IRC 121 exclusion ceiling ($250,000 or $500,000).
- The taxpayer received a Form 1099-S reporting the sale proceeds.
- The gain is only partially excluded (because of nonqualified use, partial qualification, or depreciation recapture).
- The taxpayer cannot use the full IRC 121 exclusion because of the once-every-two-years limitation or another disqualifying condition.
The full sale is reported on Form 8949 and flows to Schedule D. The excluded portion is reported as a negative adjustment in column (g) of Form 8949, with adjustment code H (per current Schedule D instructions -- verify against the current year IRS instructions before filing). The description in column (a) should identify the property address and the nature of the transaction.
Reporting Nonqualified Use Gain
When the IRC 121(b)(4) nonqualified use reduction applies, the portion of gain allocable to nonqualified use periods is not excluded and flows to Schedule D as a long-term capital gain (assuming the home has been held for more than one year). The computation of the nonqualified use fraction -- the nonqualified use period divided by the total ownership period -- and the resulting allocation of gain between excludable and non-excludable amounts should be documented in the return workpapers. The Form 8949 presentation should reflect the full proceeds, the correct adjusted basis, and the column (g) adjustment for the excluded portion only (not the entire gain). The non-excluded gain from nonqualified use is not adjusted out of the Form 8949 computation; it flows through to Schedule D as taxable gain.
Reporting Depreciation Recapture
Gain attributable to depreciation deductions (the recapture amount) flows to the Unrecaptured Section 1250 Gain Worksheet for Schedule D and is taxed at the 25% rate under IRC 1(h)(1)(D). The recapture gain does not appear in the Form 8949 adjustment for the IRC 121 exclusion -- it is identified separately on the Schedule D worksheet as unrecaptured Section 1250 gain. Practitioners should ensure that the recapture computation (cumulative depreciation allowed or allowable after May 6, 1997) is completed before finalizing the Schedule D and that the correct amount flows to the worksheet.
Selling Expenses Reduce the Amount Realized
Selling expenses -- including real estate broker commissions, legal fees directly attributable to the sale, and other closing costs that are properly allocated to the sale transaction -- reduce the amount realized on the sale and therefore reduce the taxable gain. The net amount realized for Schedule D purposes is the sale price minus selling expenses. Practitioners should obtain the final HUD-1 or closing disclosure and identify all deductible selling expenses before computing the gain. This is a straightforward step that can meaningfully reduce the taxable gain where selling expenses are substantial.
PRACTITIONER PROTOCOL: THE COMPLETE SEQUENCE FOR HOME SALE GAIN COMPUTATION
Follow this sequence for every home sale: (1) Determine adjusted basis (original cost, plus improvements, plus IRC 1041 carryover basis if applicable, minus depreciation allowed or allowable). (2) Determine amount realized (sale price minus selling expenses). (3) Compute total gain (amount realized minus adjusted basis). (4) Identify and carve out cumulative depreciation (allowed or allowable after May 6, 1997) as unrecaptured Section 1250 gain -- this amount is taxed at 25% and is not eligible for the IRC 121 exclusion. (5) Apply the IRC 121(b)(4) nonqualified use fraction to the remaining gain to determine the non-excludable portion allocable to nonqualified use. (6) Apply the IRC 121 exclusion (up to $250,000 or $500,000) to the remaining excludable gain after the above carve-outs. (7) Confirm that the once-every-two-years limitation of IRC 121(b)(3) is not an issue. (8) Report the sale on Form 8949 with the appropriate entries and adjustment code H for the excluded amount. Document each step in the workpapers with citations to the applicable IRC sections, Treasury regulations, and IRS guidance.
Frequently Asked Questions
Common questions from enrolled agents, CPAs, and tax attorneys on the IRC 121 home sale exclusion and principal residence gain exclusion rules.
Can I sell a second home and use the IRC 121 exclusion?
Not directly. The IRC 121 exclusion applies to the sale of a property that was the taxpayer's principal residence for at least 2 of the 5 years before the sale. A vacation home or second home that was never used as a principal residence does not qualify. However, if a taxpayer converts a vacation home to a principal residence and uses it as such for 2 of the 5 years before the sale, the property may qualify. But the post-2009 nonqualified use rule under IRC 121(b)(4) will allocate a portion of the gain to the periods of vacation or rental use (any such periods after December 31, 2008 that precede the most recent period of qualified use), reducing the excludable amount. Practitioners must compute the nonqualified use fraction before advising on a converted property sale.
What if I sell my home for a loss?
The IRC 121 exclusion applies only to gains, not losses. If a taxpayer sells a principal residence at a loss (selling price below adjusted basis), the IRC 121 exclusion does not come into play. Personal residence losses are not deductible under IRC 165(c), which limits individual loss deductions to transactions entered into for profit. A taxpayer who sells a personal residence at a loss generally recognizes no gain for income tax purposes and cannot deduct the loss. Only if the home was used partly as a rental or business (creating a mixed-use basis allocation) would a portion of a loss potentially be deductible, and that determination is fact-specific and requires analysis of the applicable authorities and the specific allocation methodology.
How does the IRC 121 exclusion interact with the home office deduction?
Per IRS guidance (including Treas. Reg. 1.121-1(d), IRS Publication 523, and current IRS positions -- verify against current IRS.gov resources), the IRC 121 exclusion does not cover gain attributable to depreciation deductions allowed or allowable on the home after May 6, 1997, including home office depreciation deductions taken on Schedule C via Form 8829. The cumulative home office depreciation since May 6, 1997 is subject to unrecaptured Section 1250 gain treatment at a maximum 25% rate per IRC 1(h)(1)(D), regardless of the IRC 121 exclusion. Practitioners should obtain the client's depreciation schedule and Form 8829 history to compute the recapture amount before advising on the IRC 121 exclusion available for the remaining gain.
My client rented out their home for 3 years and then lived in it for 2 years before selling. Does IRC 121 apply?
Yes, but only partially. If the 3 years of rental use occurred after December 31, 2008, the rental period is nonqualified use under IRC 121(b)(4)(C). The gain allocable to the nonqualified use period is not excludable. Using the client's actual ownership and use periods: divide the nonqualified use period (3 years) by the total ownership period (5 years) to get the nonqualified use fraction (60%). Multiply that fraction by the total gain to determine the gain not eligible for the exclusion. The remaining gain -- up to $250,000 for a single filer (per IRC 121(b)(1)) or $500,000 MFJ (per IRC 121(b)(2)) -- is excludable under IRC 121, assuming the 2-year use test is otherwise met and no other limitations apply. All computations should use actual days and be verified against current IRS guidance and Treas. Reg. 1.121-4.
Can a married couple use the $500,000 exclusion if only one spouse owned the home before marriage?
Yes, under certain conditions. Per IRC 121(b)(2), the $500,000 exclusion for married couples filing jointly requires that (1) either spouse satisfies the 2-year ownership test; (2) both spouses independently satisfy the 2-year use test; and (3) neither spouse excluded gain from a home sale in the prior 2 years. If one spouse owned the home before marriage but both spouses used it as their principal residence for at least 2 years before the sale, both conditions can be met. The ownership test requires only one spouse to qualify; the use test requires both spouses to independently qualify. If the non-owning spouse has not lived in the home for 2 of the 5 years before the sale, the MFJ exclusion is limited to the qualifying spouse's individual exclusion ceiling ($250,000 per IRC 121(b)(2)(B)).
Tax Software for Complex Home Sale and Real Estate Returns
Americas Tax has supported enrolled agents, CPAs, and tax attorneys handling home sale exclusions, nonqualified use computations, depreciation recapture, and complex real estate transactions since 2001. Our team understands the IRC 121 analysis, Form 8949 and Schedule D reporting for partial exclusions, and the workpaper documentation that practitioners need across multi-year home sale and divorce-related transactions.
Contact Us View Software