Exclusion of gain from sale of principal residence
Exclusion
Limitations
In general
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—
$500,000 Limitation for certain joint returns
Paragraph (1) shall be applied by substituting “$500,000” for “$250,000” if—
either spouse meets the ownership requirements of subsection (a) with respect to such property;
both spouses meet the use requirements of subsection (a) with respect to such property; and
neither spouse is ineligible for the benefits of subsection (a) with respect to such property by reason of paragraph (3).
Other joint returns
Application to only 1 sale or exchange every 2 years
Special rule for certain sales by surviving spouses
Exclusion of gain allocated to nonqualified use
In general
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—
the aggregate periods of nonqualified use during the period such property was owned by the taxpayer, bears to
the period such property was owned by the taxpayer.
Period of nonqualified use
For purposes of this paragraph—
In general
Exceptions
The term “period of nonqualified use” does not include—
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,
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
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.
Coordination with recognition of gain attributable to depreciation
For purposes of this paragraph—
subparagraph (A) shall be applied after the application of subsection (d)(6), and
subparagraph (B) shall be applied without regard to any gain to which subsection (d)(6) applies.
Exclusion for taxpayers failing to meet certain requirements
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—
the amount which bears the same ratio to such limitation (determined without regard to this paragraph) as
the shorter of—
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
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
2 years.
Sales and exchanges to which subsection applies
This subsection shall apply to any sale or exchange if—
subsection (a) would not (but for this subsection) apply to such sale or exchange by reason of—
a failure to meet the ownership and use requirements of subsection (a), or
subsection (b)(3), and
such sale or exchange is by reason of a change in place of employment, health, or, to the extent provided in regulations, unforeseen circumstances.
Special rules
Joint returns
Property of deceased spouse
11 See Amendment of Subsection (d)(3) note below. Property owned by spouse or former spouse
For purposes of this section—
Property transferred to individual from spouse or former spouse
Property used by former spouse pursuant to divorce decree, etc.
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—
the holding requirements of subsection (a) shall be applied to the holding of such stock, and
the use requirements of subsection (a) shall be applied to the house or apartment which the taxpayer was entitled to occupy as such stockholder.
Involuntary conversions
In general
Application of section 1033
Property acquired after involuntary conversion
Recognition of gain attributable to depreciation
Determination of use during periods of out-of-residence care
In the case of a taxpayer who—
becomes physically or mentally incapable of self-care, and
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.
Sales of remainder interests
For purposes of this section—
In general
Exception for sales to related parties
Uniformed services, Foreign Service, and intelligence community
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—
as a member of the uniformed services,
as a member of the Foreign Service of the United States, or
as an employee of the intelligence community.
Maximum period of suspension
Qualified official extended duty
For purposes of this paragraph—
In general
Uniformed services
Foreign Service of the United States
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—
the Office of the Director of National Intelligence,
the Central Intelligence Agency,
the National Security Agency,
the Defense Intelligence Agency,
the National Geospatial-Intelligence Agency,
the National Reconnaissance Office,
any other office within the Department of Defense for the collection of specialized national intelligence through reconnaissance programs,
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,
the Bureau of Intelligence and Research of the Department of State, or
any of the elements of the Department of Homeland Security concerned with the analyses of foreign intelligence information.
Extended duty
Special rules relating to election
Election limited to 1 property at a time
Revocation of election
Property acquired in like-kind exchange
Repealed. Pub. L. 111–312, title III, § 301(a), Dec. 17, 2010, 124 Stat. 3300]
Peace Corps
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—
on qualified official extended duty (as defined in paragraph (9)(C)) as an employee of the Peace Corps, or
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).
Applicable rules
Denial of exclusion for expatriates
Election to have section not apply
Residences acquired in rollovers under section 1034
Source
(Added Pub. L. 88–272, title II, § 206(a),Notes
Amendment of Subsection (d)(3)
References in Text
Codification
Prior Provisions
Amendments
Effective Date of 2017 Amendment
Effective Date of 2014 Amendment
Effective and Termination Dates of 2010 Amendment
Effective Date of 2008 Amendment
Effective Date of 2007 Amendment
Effective Date of 2006 Amendment
Effective Date of 2005 Amendment
Effective Date of 2004 Amendment
Effective Date of 2003 Amendment
Effective date.—
The amendments made by this section [amending this section] shall take effect as if included in the amendments made by section 312 of the Taxpayer Relief Act of 1997 [Pub. L. 105–34].
Waiver of limitations.—
If refund or credit of any overpayment of tax resulting from the amendments made by this section [amending this section] is prevented at any time before the close of the 1-year period beginning on the date of the enactment of this Act [
Effective Date of 2001 Amendment
In general.—
Except as provided in paragraph (2), the amendments made by this section [enacting sections 1022 and 6716 of this title and amending this section and sections 170, 684, 1040, 1221, 1246, 1291, 1296, 4947, 6018, 6019, 6075, and 7701 of this title] shall apply to estates of decedents dying after
Transfers to nonresidents.—
The amendments made by subsection (e)(1) [amending section 684 of this title] shall apply to transfers after
Section 4947.—
The amendment made by subsection (e)(4) [amending section 4947 of this title] shall apply to deductions for taxable years beginning after
Effective Date of 1998 Amendment
Effective Date of 1997 Amendment
In general.—
The amendments made by this section [amending this section and sections 25, 32, 56, 143, 163, 215, 280A, 464, 512, 1016, 1033, 1038, 1223, 1250, 1274, 6012, 6045, 6212, 6334, 6504, and 7872 of this title and repealing section 1034 of this title] shall apply to sales and exchanges after
Sales on or before date of enactment.—
At the election of the taxpayer, the amendments made by this section shall not apply to any sale or exchange on or before the date of the enactment of this Act [
Certain sales within 2 years after date of enactment.—
Section 121 of the Internal Revenue Code of 1986 (as amended by this section) shall be applied without regard to subsection (c)(2)(B) thereof in the case of any sale or exchange of property during the 2-year period beginning on the date of the enactment of this Act if the taxpayer held such property on the date of the enactment of this Act and fails to meet the ownership and use requirements of subsection (a) thereof with respect to such property.
Binding contracts.—
At the election of the taxpayer, the amendments made by this section shall not apply to a sale or exchange after the date of the enactment of this Act, if—
such sale or exchange is pursuant to a contract which was binding on such date, or
without regard to such amendments, gain would not be recognized under section 1034 of the Internal Revenue Code of 1986 (as in effect on the day before the date of the enactment of this Act) on such sale or exchange by reason of a new residence acquired on or before such date or with respect to the acquisition of which by the taxpayer a binding contract was in effect on such date.
This paragraph shall not apply to any sale or exchange by an individual if the treatment provided by section 877(a)(1) of the Internal Revenue Code of 1986 applies to such individual.”