§ 121. Exclusion of gain from sale of principal residence
6,538 words·~30 min read·
/usc/title-26/section-121A research copy — for the controlling text, always check the official state or federal source. Not legal advice.
(a)Exclusion Gross income shall 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, such property has been owned and used by the taxpayer as the taxpayer’s principal residence for periods aggregating 2 years or more.
(b)Limitations
(1)In general The amount of gain excluded from gross income under subsection
(a)with respect to any sale or exchange shall not exceed $250,000.
(2)Special rules for joint returns In the case of a husband and wife who make a joint return for the taxable year of the sale or exchange of the property—
(A)$500,000 Limitation for certain joint returns Paragraph
(1)shall be applied by substituting “$500,000” for “$250,000” if—
(i)either spouse meets the ownership requirements of subsection
(a)with respect to such property;
(ii)both spouses meet the use requirements of subsection
(a)with respect to such property; and
(iii)neither spouse is ineligible for the benefits of subsection
(a)with respect to such property by reason of paragraph (3).
(B)Other joint returns If such spouses do not meet the requirements of subparagraph (A), the limitation under paragraph
(1)shall be the sum of the limitations under paragraph
(1)to which each spouse would be entitled if such spouses had not been married. For purposes of the preceding sentence, each spouse shall be treated as owning the property during the period that either spouse owned the property.
(3)Application to only 1 sale or exchange every 2 years Subsection
(a)shall not apply to any sale or exchange by the taxpayer if, during the 2-year period ending on the date of such sale or exchange, there was any other sale or exchange by the taxpayer to which subsection
(a)applied.
(4)Special rule for certain sales by surviving spouses In the case of a sale or exchange of property by an unmarried individual whose spouse is deceased on the date of such sale, paragraph
(1)shall be applied by substituting “$500,000” for “$250,000” if such sale occurs not later than 2 years after the date of death of such spouse and the requirements of paragraph (2)(A) were met immediately before such date of death.
(5)Exclusion of gain allocated to nonqualified use
(A)In general Subsection
(a)shall not apply to so much of the gain from the sale or exchange of property as is allocated to periods of nonqualified use.
(B)Gain allocated to periods of nonqualified use For purposes of subparagraph (A), gain shall be allocated to periods of nonqualified use based on the ratio which—
(i)the aggregate periods of nonqualified use during the period such property was owned by the taxpayer, bears to
(ii)the period such property was owned by the taxpayer.
(C)Period of nonqualified use For purposes of this paragraph—
(i)In general The term “period of nonqualified use” means any period (other than the portion of any period preceding January 1, 2009) during which the property is not used as the principal residence of the taxpayer or the taxpayer’s spouse or former spouse.
(ii)Exceptions The term “period of nonqualified use” does not include—
(I)any portion of the 5-year period described in subsection
(a)which is after the last date that such property is used as the principal residence of the taxpayer or the taxpayer’s spouse,
(II)any period (not to exceed an aggregate period of 10 years) during which the taxpayer or the taxpayer’s spouse is serving on qualified official extended duty (as defined in subsection (d)(9)(C)) described in clause (i), (ii), or
(iii)of subsection (d)(9)(A), and
(III)any other period of temporary absence (not to exceed an aggregate period of 2 years) due to change of employment, health conditions, or such other unforeseen circumstances as may be specified by the Secretary.
(D)Coordination with recognition of gain attributable to depreciation For purposes of this paragraph—
(i)subparagraph
(A)shall be applied after the application of subsection (d)(6), and
(ii)subparagraph
(B)shall be applied without regard to any gain to which subsection (d)(6) applies.
(c)Exclusion for taxpayers failing to meet certain requirements
(1)In general In the case of a sale or exchange to which this subsection applies, the ownership and use requirements of subsection (a), and subsection (b)(3), shall not apply; but the dollar limitation under paragraph
(1)or
(2)of subsection (b), whichever is applicable, shall be equal to—
(A)the amount which bears the same ratio to such limitation (determined without regard to this paragraph) as
(i)the shorter of—
(I)the aggregate periods, during the 5-year period ending on the date of such sale or exchange, such property has been owned and used by the taxpayer as the taxpayer’s principal residence; or
(II)the period after the date of the most recent prior sale or exchange by the taxpayer to which subsection
(a)applied and before the date of such sale or exchange, bears to
(ii)2 years.
(2)Sales and exchanges to which subsection applies This subsection shall apply to any sale or exchange if—
(A)subsection
(a)would not (but for this subsection) apply to such sale or exchange by reason of—
(i)a failure to meet the ownership and use requirements of subsection (a), or
(ii)subsection (b)(3), and
(B)such sale or exchange is by reason of a change in place of employment, health, or, to the extent provided in regulations, unforeseen circumstances.
(d)Special rules
(1)Joint returns If a husband and wife make a joint return for the taxable year of the sale or exchange of the property, subsections
(a)and
(c)shall apply if either spouse meets the ownership and use requirements of subsection
(a)with respect to such property.
(2)Property of deceased spouse For purposes of this section, in the case of an unmarried individual whose spouse is deceased on the date of the sale or exchange of property, the period such unmarried individual owned and used such property shall include the period such deceased spouse owned and used such property before death.
(3)Property owned by spouse or former spouse For purposes of this section—
(A)Property transferred to individual from spouse or former spouse In the case of an individual holding property transferred to such individual in a transaction described in section 1041(a), the period such individual owns such property shall include the period the transferor owned the property.
(B)Property used by former spouse pursuant to divorce decree, etc. Solely for purposes of this section, an individual shall be treated as using property as such individual’s principal residence during any period of ownership while such individual’s spouse or former spouse is granted use of the property under a divorce or separation instrument.
(C)Divorce or separation instrument For purposes of this paragraph, the term “divorce or separation instrument” means—
(i)a decree of divorce or separate maintenance or a written instrument incident to such a decree,
(ii)a written separation agreement, or
(iii)a decree (not described in clause (i)) requiring a spouse to make payments for the support or maintenance of the other spouse.
(4)Tenant-stockholder in cooperative housing corporation For purposes of this section, if the taxpayer holds stock as a tenant-stockholder (as defined in section 216) in a cooperative housing corporation (as defined in such section), then—
(A)the holding requirements of subsection
(a)shall be applied to the holding of such stock, and
(B)the use requirements of subsection
(a)shall be applied to the house or apartment which the taxpayer was entitled to occupy as such stockholder.
(5)Involuntary conversions
(A)In general For purposes of this section, the destruction, theft, seizure, requisition, or condemnation of property shall be treated as the sale of such property.
(B)Application of section 1033 In applying section 1033 (relating to involuntary conversions), the amount realized from the sale or exchange of property shall be treated as being the amount determined without regard to this section, reduced by the amount of gain not included in gross income pursuant to this section.
(C)Property acquired after involuntary conversion If the basis of the property sold or exchanged is determined (in whole or in part) under section 1033(b) (relating to basis of property acquired through involuntary conversion), then the holding and use by the taxpayer of the converted property shall be treated as holding and use by the taxpayer of the property sold or exchanged.
(6)Recognition of gain attributable to depreciation Subsection
(a)shall not apply to so much of the gain from the sale of any property as does not exceed the portion of the depreciation adjustments (as defined in section 1250(b)(3)) attributable to periods after May 6, 1997, in respect of such property.
(7)Determination of use during periods of out-of-residence care In the case of a taxpayer who—
(A)becomes physically or mentally incapable of self-care, and
(B)owns property and uses such property as the taxpayer’s principal residence during the 5-year period described in subsection
(a)for periods aggregating at least 1 year,
then the taxpayer shall be treated as using such property as the taxpayer’s principal residence during any time during such 5-year period in which the taxpayer owns the property and resides in any facility (including a nursing home) licensed by a State or political subdivision to care for an individual in the taxpayer’s condition.
(8)Sales of remainder interests For purposes of this section—
(A)In general At the election of the taxpayer, this section shall not fail to apply to the sale or exchange of an interest in a principal residence by reason of such interest being a remainder interest in such residence, but this section shall not apply to any other interest in such residence which is sold or exchanged separately.
(B)Exception for sales to related parties Subparagraph
(A)shall not apply to any sale to, or exchange with, any person who bears a relationship to the taxpayer which is described in section 267(b) or 707(b).
(9)Uniformed services, Foreign Service, and intelligence community
(A)In general At the election of an individual with respect to a property, the running of the 5-year period described in subsections
(a)and (c)(1)(B) and paragraph
(7)of this subsection with respect to such property shall be suspended during any period that such individual or such individual’s spouse is serving on qualified official extended duty—
(i)as a member of the uniformed services,
(ii)as a member of the Foreign Service of the United States, or
(iii)as an employee of the intelligence community.
(B)Maximum period of suspension The 5-year period described in subsection
(a)shall not be extended more than 10 years by reason of subparagraph (A).
(C)Qualified official extended duty For purposes of this paragraph—
(i)In general The term “qualified official extended duty” means any extended duty while serving at a duty station which is at least 50 miles from such property or while residing under Government orders in Government quarters.
(ii)Uniformed services The term “uniformed services” has the meaning given such term by section 101(a)(5) of title 10, United States Code, as in effect on the date of the enactment of this paragraph.
(iii)Foreign Service of the United States The term “member of the Foreign Service of the United States” has the meaning given the term “member of the Service” by paragraph (1), (2), (3), (4), or
(5)of section 103 of the Foreign Service Act of 1980, as in effect on the date of the enactment of this paragraph.
(iv)Employee of intelligence community The term “employee of the intelligence community” means an employee (as defined by section 2105 of title 5, United States Code) of—
(I)the Office of the Director of National Intelligence,
(II)the Central Intelligence Agency,
(III)the National Security Agency,
(IV)the Defense Intelligence Agency,
(V)the National Geospatial-Intelligence Agency,
(VI)the National Reconnaissance Office,
(VII)any other office within the Department of Defense for the collection of specialized national intelligence through reconnaissance programs,
(VIII)any of the intelligence elements of the Army, the Navy, the Air Force, the Marine Corps, the Federal Bureau of Investigation, the Department of Treasury, the Department of Energy, and the Coast Guard,
(IX)the Bureau of Intelligence and Research of the Department of State, or
(X)any of the elements of the Department of Homeland Security concerned with the analyses of foreign intelligence information.
(v)Extended duty The term “extended duty” means any period of active duty pursuant to a call or order to such duty for a period in excess of 90 days or for an indefinite period.
(D)Special rules relating to election
(i)Election limited to 1 property at a time An election under subparagraph
(A)with respect to any property may not be made if such an election is in effect with respect to any other property.
(ii)Revocation of election An election under subparagraph
(A)may be revoked at any time.
(10)Property acquired in like-kind exchange If a taxpayer acquires property in an exchange with respect to which gain is not recognized (in whole or in part) to the taxpayer under subsection
(a)or
(b)of section 1031, subsection
(a)shall not apply to the sale or exchange of such property by such taxpayer (or by any person whose basis in such property is determined, in whole or in part, by reference to the basis in the hands of such taxpayer) during the 5-year period beginning with the date of such acquisition.
[(11) Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
(12)Peace Corps
(A)In general At the election of an individual with respect to a property, the running of the 5-year period described in subsections
(a)and (c)(1)(B) and paragraph
(7)of this subsection with respect to such property shall be suspended during any period that such individual or such individual’s spouse is serving outside the United States—
(i)on qualified official extended duty (as defined in paragraph (9)(C)) as an employee of the Peace Corps, or
(ii)as an enrolled volunteer or volunteer leader under section 5 or 6 (as the case may be) of the Peace Corps Act (22 U.S.C. 2504, 2505).
(B)Applicable rules For purposes of subparagraph (A), rules similar to the rules of subparagraphs
(B)and
(D)of paragraph
(9)shall apply.
(e)Denial of exclusion for expatriates This section shall not apply to any sale or exchange by an individual if the treatment provided by section 877(a)(1) applies to such individual.
(f)Election to have section not apply This section shall not apply to any sale or exchange with respect to which the taxpayer elects not to have this section apply.
(g)Residences acquired in rollovers under section 1034 For purposes of this section, in the case of property the acquisition of which by the taxpayer resulted under section 1034 1 (as in effect on the day before the date of the enactment of this section) in the nonrecognition of any part of the gain realized on the sale or exchange of another residence, in determining the period for which the taxpayer has owned and used such property as the taxpayer’s principal residence, there shall be included the aggregate periods for which such other residence (and each prior residence taken into account under section 1223(6) 1 in determining the holding period of such property) had been so owned and used.
(Added Pub. L. 88–272, title II, § 206(a), Feb. 26, 1964, 78 Stat. 38; amended Pub. L. 94–455, title XIV, § 1404(a), title XIX, § 1906(b)(13)(A), Oct. 4, 1976, 90 Stat. 1733, 1834; Pub. L. 95–600, title IV, § 404(a)–(c)(2), Nov. 6, 1978, 92 Stat. 2869, 2870; Pub. L. 97–34, title I, § 123(a), Aug. 13, 1981, 95 Stat. 197; Pub. L. 100–647, title VI, § 6011(a), Nov. 10, 1988, 102 Stat. 3691; Pub. L. 105–34, title III, § 312(a), Aug. 5, 1997, 111 Stat. 836; Pub. L. 105–206, title VI, § 6005(e)(1), (2), July 22, 1998, 112 Stat. 805;
Pub. L. 107–16, title V, § 542(c), June 7, 2001, 115 Stat. 84; Pub. L. 108–121, title I, § 101(a), Nov. 11, 2003, 117 Stat. 1336; Pub. L. 108–357, title VIII, § 840(a), Oct. 22, 2004, 118 Stat. 1597; Pub. L. 109–135, title IV, §§ 402(a)(3), 403(ee), Dec. 21, 2005, 119 Stat. 2610, 2631; Pub. L. 109–432, div. A, title IV, § 417(a)–(d), Dec. 20, 2006, 120 Stat. 2965, 2966; Pub. L. 110–142, § 7(a), Dec. 20, 2007, 121 Stat. 1806; Pub. L. 110–172, § 11(a)(11)(A), Dec. 29, 2007, 121 Stat. 2485;
Pub. L. 110–245, title I, §§ 110(a), 113(a), (b), June 17, 2008, 122 Stat. 1633, 1635; Pub. L. 110–289, div. C, title III, § 3092(a), July 30, 2008, 122 Stat. 2911; Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300; Pub. L. 113–295, div. A, title II, §§ 212(c), 213(c)(1), 221(a)(20), Dec. 19, 2014, 128 Stat. 4033, 4040; Pub. L. 115–97, title I, § 11051(b)(3)(A), Dec. 22, 2017, 131 Stat. 2089.)
Connections94 cite this · traces to 17
Cited by 94 sections · top 60
U.S. Code
- § 1Tax imposed
- § 170Charitable, etc., contributions and gifts
- § 32Earned income
- § 7701Definitions
- § 56Adjustments in computing alternative minimum taxable income
- § 163Interest
- § 6012Persons required to make returns of income
- § 143Mortgage revenue bonds: qualified mortgage bond and qualified veterans’ mortgage bond
- § 1016Adjustments to basis
- § 125Cafeteria plans
- § 512Unrelated business taxable income
- § 6334Property exempt from levy
- § 25Interest on certain home mortgages
- § 6045Returns of brokers
- § 1033Involuntary conversions
- § 1014Basis of property acquired from a decedent
- § 6212Notice of deficiency
- § 1221Capital asset defined
- § 1034Repealed. Pub. L. 105–34, title III, § 312(b), Aug. 5, 1997, 111 Stat. 839]
- § 1040Transfer of certain farm, etc., real property
- § 140Cross references to other Acts
- § 1250Gain from dispositions of certain depreciable realty
- § 216Deduction of taxes, interest, and business depreciation by cooperative housing corporation tenant-stockholder
- § 1274Determination of issue price in the case of certain debt instruments issued for property
- § 1291Interest on tax deferral
- § 877Expatriation to avoid tax
- § 1223Holding period of property
- § 7872Treatment of loans with below-market interest rates
- § 6504Cross references
- § 6075Time for filing estate and gift tax returns
- § 464Limitations on deductions for certain farming expenses
- § 1296Election of mark to market for marketable stock
- § 684Recognition of gain on certain transfers to certain foreign trusts and estates
- § 6018Estate tax returns
- § 6019Gift tax returns
- § 1038Certain reacquisitions of real property
- § 4947Application of taxes to certain nonexempt trusts
- § 2210Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
- § 1022Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
- § 280ADisallowance of certain expenses in connection with business use of home, rental of vacation homes, etc.
- § 2664Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
- § 6716Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
public-private-law
statutes-at-large
- Public Law 881
- Public Law 85–857
- Public Law 183
- Public Law 403
- Public Law 112–240Entitled the “American Taxpayer Relief Act of 2012”
- Public Law 108–357To amend the Internal Revenue Code of 1986 to remove impediments in such Code and make our manufacturing, service, and high-technology businesses and workers more competitive and productive both at Oct. 22, 2004[[H
- Public Law 110–142To amend the Internal Revenue Code of 1986 to exclude discharges of indebtedness on principal residences from gross income, and for other purposes
- Public Law 100–647To make technical corrections relating to the Tax Reform Act of 1986, and for other purposes
- Public Law 111–312To amend the Internal Revenue Code of 1986 to extend the funding and expenditure authority of the Airport and Airway Trust Fund, to amend title 49, United States Code, to extend authorizations for the airport improvement program, and for other purposes
- Public Law 97–34To amend the Internal Revenue Code of 1954 to encourage economic growth through reduction of the tax rates for individual taxpayers, acceleration of capital cost recovery of investment in plant, equipment, and real property, and incentives for savings, and for other purposes
- Public Law 95–600To amend the Internal Revenue Code of 1954 to reduce income taxes, and for other purposes
- Public Law 108–121To amend title 10, United States Code, and the Internal Revenue Code of 1986 to increase the death gratuity payable with respect to deceased members of the Armed Forces and to exclude such gratuity from gross income, to provide additional tax relief for members of the Armed Forces and their families
- Public Law 110–172To amend the Internal Revenue Code of 1986 to make technical corrections, and for other purposes
- Public Law 109–432To amend the Internal Revenue Code of 1986 to extend expiring provisions, and for other purposes
- Public Law 105–32Waiving certain enrollment requirements with respect to two specified bills of the One Hundred Fifth Congress
statute-compilations
Traces to 17 documents
U.S. Code
- Definitions§ 101
- Employee§ 2105
- Peace Corps volunteers§ 2504
- Members of Service§ 3903
- Repealed. Pub. L. 105–34, title III, § 312(b), Aug. 5, 1997, 111 Stat. 839]§ 1034
- Cross references to other Acts§ 140
- Repealed. Pub. L. 115–97, title I, § 11051(b)(1)(B), Dec. 22, 2017, 131 Stat. 2089]§ 71
- Gross income defined§ 61
- Low-income housing credit§ 42
- Limitations on credit or refund§ 6511
- Tax imposed§ 1
- Adoption expenses§ 23
- Limitation based on tax liability; definition of tax liability§ 26
- Recognition of gain on certain transfers to certain foreign trusts and estates§ 684
- Application of taxes to certain nonexempt trusts§ 4947
122 references not yet in our index
- 1
- Pub. L. 88–272, title II, § 206(a)
- 78 Stat. 38
- Pub. L. 94–455, title XIV, § 1404(a)
- 90 Stat. 1733
- Pub. L. 95–600, title IV, § 404(a)
- 92 Stat. 2869
- Pub. L. 97–34, title I, § 123(a)
- 95 Stat. 197
- Pub. L. 100–647, title VI, § 6011(a)
- 102 Stat. 3691
- Pub. L. 105–34, title III, § 312(a)
- 111 Stat. 836
- Pub. L. 105–206, title VI, § 6005(e)(1)
- 112 Stat. 805
- Pub. L. 107–16, title V, § 542(c)
- 115 Stat. 84
- Pub. L. 108–121, title I, § 101(a)
- 117 Stat. 1336
- Pub. L. 108–357, title VIII, § 840(a)
- 118 Stat. 1597
- Pub. L. 109–135, title IV
- 119 Stat. 2610
- Pub. L. 109–432, div. A, title IV, § 417(a)
- 120 Stat. 2965
- Pub. L. 110–142, § 7(a)
- 121 Stat. 1806
- Pub. L. 110–172, § 11(a)(11)(A)
- 121 Stat. 2485
- Pub. L. 110–245, title I
- 122 Stat. 1633
- Pub. L. 110–289, div. C, title III, § 3092(a)
- 122 Stat. 2911
- Pub. L. 111–312, title III, § 301(a)
- 124 Stat. 3300
- 128 Stat. 4033
- 131 Stat. 2089
- Pub. L. 108–121
- Pub. L. 105–34
- Pub. L. 105–34, title III, § 312(b)
+ 82 more
Citation graph
cites case law
§ 121
Exclusion of gain from sale of principal residence
U.S.C.×59
Stat.×32
Pub. L.×1
Fed. Reg.×1
Stat. Comp.×1
Cite1
Pub. L.Pub. L. 88–272, title II, § 206(a)
Stat.78 Stat. 38
Cites 139 · showing 12Cited by 94 across 5 sources