26 CFR § 1.121-1
Exclusion of gain from sale or exchange of a principal residence
June 25, 2020
CFR

(a) In general. Section 121 provides that, under certain circumstances, gross income does not include gain realized on the sale or exchange of property that was owned and used by a taxpayer as the taxpayer's principal residence. Subject to the other provisions of section 121, a taxpayer may exclude gain only if, during the 5-year period ending on the date of the sale or exchange, the taxpayer owned and used the property as the taxpayer's principal residence for periods aggregating 2 years or more.

(b) Residence—(1) In general. Whether property is used by the taxpayer as the taxpayer's residence depends upon all the facts and circumstances. A property used by the taxpayer as the taxpayer's residence may include a houseboat, a house trailer, or the house or apartment that the taxpayer is entitled to occupy as a tenant-stockholder in a cooperative housing corporation (as those terms are defined in section 216(b)(1) and (2)). Property used by the taxpayer as the taxpayer's residence does not include personal property that is not a fixture under local law.

(2) Principal residence. In the case of a taxpayer using more than one property as a residence, whether property is used by the taxpayer as the taxpayer's principal residence depends upon all the facts and circumstances. If a taxpayer alternates between 2 properties, using each as a residence for successive periods of time, the property that the taxpayer uses a majority of the time during the year ordinarily will be considered the taxpayer's principal residence. In addition to the taxpayer's use of the property, relevant factors in determining a taxpayer's principal residence, include, but are not limited to—

(i) The taxpayer's place of employment;

(ii) The principal place of abode of the taxpayer's family members;

(iii) The address listed on the taxpayer's federal and state tax returns, driver's license, automobile registration, and voter registration card;

(iv) The taxpayer's mailing address for bills and correspondence;

(v) The location of the taxpayer's banks; and

(vi) The location of religious organizations and recreational clubs with which the taxpayer is affiliated.

(3) Vacant land—(i) In general. The sale or exchange of vacant land is not a sale or exchange of the taxpayer's principal residence unless—

(A) The vacant land is adjacent to land containing the dwelling unit of the taxpayer's principal residence;

(B) The taxpayer owned and used the vacant land as part of the taxpayer's principal residence;

(C) The taxpayer sells or exchanges the dwelling unit in a sale or exchange that meets the requirements of section 121 within 2 years before or 2 years after the date of the sale or exchange of the vacant land; and

(D) The requirements of section 121 have otherwise been met with respect to the vacant land.

(ii) Limitations—(A) Maximum limitation amount. For purposes of section 121(b)(1) and (2) (relating to the maximum limitation amount of the section 121 exclusion), the sale or exchange of the dwelling unit and the vacant land are treated as one sale or exchange. Therefore, only one maximum limitation amount of $250,000 ($500,000 for certain joint returns) applies to the combined sales or exchanges of vacant land and the dwelling unit. In applying the maximum limitation amount to sales or exchanges that occur in different taxable years, gain from the sale or exchange of the dwelling unit, up to the maximum limitation amount under section 121(b)(1) or (2), is excluded first and each spouse is treated as excluding one-half of the gain from a sale or exchange to which section 121(b)(2)(A) and §1.121-2(a)(3)(i) (relating to the limitation for certain joint returns) apply.

(B) Sale or exchange of more than one principal residence in 2-year period. If a dwelling unit and vacant land are sold or exchanged in separate transactions that qualify for the section 121 exclusion under this paragraph (b)(3), each of the transactions is disregarded in applying section 121(b)(3) (restricting the application of section 121 to only 1 sale or exchange every 2 years) to the other transactions but is taken into account as a sale or exchange of a principal residence on the date of the transaction in applying section 121(b)(3) to that transaction and the sale or exchange of any other principal residence.

(C) Sale or exchange of vacant land before dwelling unit. If the sale or exchange of the dwelling unit occurs in a later taxable year than the sale or exchange of the vacant land and after the date prescribed by law (including extensions) for the filing of the return for the taxable year of the sale or exchange of the vacant land, any gain from the sale or exchange of the vacant land must be treated as taxable on the taxpayer's return for the taxable year of the sale or exchange of the vacant land. If the taxpayer has reported gain from the sale or exchange of the vacant land as taxable, after satisfying the requirements of this paragraph (b)(3) the taxpayer may claim the section 121 exclusion with regard to the sale or exchange of the vacant land (for any period for which the period of limitation under section 6511 has not expired) by filing an amended return.

(4) Examples. The provisions of this paragraph (b) are illustrated by the following examples:

Example 1. Taxpayer A owns 2 residences, one in New York and one in Florida. From 1999 through 2004, he lives in the New York residence for 7 months and the Florida residence for 5 months of each year. In the absence of facts and circumstances indicating otherwise, the New York residence is A's principal residence. A would be eligible for the section 121 exclusion of gain from the sale or exchange of the New York residence, but not the Florida residence.
Example 2. Taxpayer B owns 2 residences, one in Virginia and one in Maine. During 1999 and 2000, she lives in the Virginia residence. During 2001 and 2002, she lives in the Maine residence. During 2003, she lives in the Virginia residence. B's principal residence during 1999, 2000, and 2003 is the Virginia residence. B's principal residence during 2001 and 2002 is the Maine residence. B would be eligible for the 121 exclusion of gain from the sale or exchange of either residence (but not both) during 2003.
Example 3. In 1991 Taxpayer C buys property consisting of a house and 10 acres that she uses as her principal residence. In May 2005 C sells 8 acres of the land and realizes a gain of $110,000. C does not sell the dwelling unit before the due date for filing C's 2005 return, therefore C is not eligible to exclude the $110,000 of gain. In March 2007 C sells the house and remaining 2 acres realizing a gain of $180,000 from the sale of the house. C may exclude the $180,000 of gain. Because the sale of the 8 acres occurred within 2 years from the date of the sale of the dwelling unit, the sale of the 8 acres is treated as a sale of the taxpayer's principal residence under paragraph (b)(3) of this section. C may file an amended return for 2005 to claim an exclusion for $70,000 ($250,000-$180,000 gain previously excluded) of the $110,000 gain from the sale of the 8 acres.
Example 4. In 1998 Taxpayer D buys a house and 1 acre that he uses as his principal residence. In 1999 D buys 29 acres adjacent to his house and uses the vacant land as part of his principal residence. In 2003 D sells the house and 1 acre and the 29 acres in 2 separate transactions. D sells the house and 1 acre at a loss of $25,000. D realizes $270,000 of gain from the sale of the 29 acres. D may exclude the $245,000 gain from the 2 sales.

(c) Ownership and use requirements—(1) In general. The requirements of ownership and use for periods aggregating 2 years or more may be satisfied by establishing ownership and use for 24 full months or for 730 days (365 × 2). The requirements of ownership and use may be satisfied during nonconcurrent periods if both the ownership and use tests are met during the 5-year period ending on the date of the sale or exchange.

(2) Use.

(i) In establishing whether a taxpayer has satisfied the 2-year use requirement, occupancy of the residence is required. However, short temporary absences, such as for vacation or other seasonal absence (although accompanied with rental of the residence), are counted as periods of use.

(ii) Determination of use during periods of out-of-residence care. If a taxpayer has become physically or mentally incapable of self-care and the taxpayer sells or exchanges property that the taxpayer owned and used as the taxpayer's principal residence for periods aggregating at least 1 year during the 5-year period preceding the sale or exchange, the taxpayer is treated as using the property as the taxpayer's principal residence for any period of time during the 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.

(3) Ownership—(i) Trusts. If a residence is owned by a trust, for the period that a taxpayer is treated under sections 671 through 679 (relating to the treatment of grantors and others as substantial owners) as the owner of the trust or the portion of the trust that includes the residence, the taxpayer will be treated as owning the residence for purposes of satisfying the 2-year ownership requirement of section 121, and the sale or exchange by the trust will be treated as if made by the taxpayer.

(ii) Certain single owner entities. If a residence is owned by an eligible entity (within the meaning of §301.7701-3(a) of this chapter) that has a single owner and is disregarded for federal tax purposes as an entity separate from its owner under §301.7701-3 of this chapter, the owner will be treated as owning the residence for purposes of satisfying the 2-year ownership requirement of section 121, and the sale or exchange by the entity will be treated as if made by the owner.

(4) Examples. The provisions of this paragraph (c) are illustrated by the following examples. The examples assume that §1.121-3 (relating to the reduced maximum exclusion) does not apply to the sale of the property. The examples are as follows:

Example 1. Taxpayer A has owned and used his house as his principal residence since 1986. On January 31, 1998, A moves to another state. A rents his house to tenants from that date until April 18, 2000, when he sells it. A is eligible for the section 121 exclusion because he has owned and used the house as his principal residence for at least 2 of the 5 years preceding the sale.
Example 2. Taxpayer B owns and uses a house as her principal residence from 1986 to the end of 1997. On January 4, 1998, B moves to another state and ceases to use the house. B's son moves into the house in March 1999 and uses the residence until it is sold on July 1, 2001. B may not exclude gain from the sale under section 121 because she did not use the property as her principal residence for at least 2 years out of the 5 years preceding the sale.
Example 3. Taxpayer C lives in a townhouse that he rents from 1993 through 1996. On January 18, 1997, he purchases the townhouse. On February 1, 1998, C moves into his daughter's home. On May 25, 2000, while still living in his daughter's home, C sells his townhouse. The section 121 exclusion will apply to gain from the sale because C owned the townhouse for at least 2 years out of the 5 years preceding the sale (from January 19, 1997 until May 25, 2000) and he used the townhouse as his principal residence for at least 2 years during the 5-year period preceding the sale (from May 25, 1995 until February 1, 1998).
Example 4. Taxpayer D, a college professor, purchases and moves into a house on May 1, 1997. He uses the house as his principal residence continuously until September 1, 1998, when he goes abroad for a 1-year sabbatical leave. On October 1, 1999, 1 month after returning from the leave, D sells the house. Because his leave is not considered to be a short temporary absence under paragraph (c)(2) of this section, the period of the sabbatical leave may not be included in determining whether D used the house for periods aggregating 2 years during the 5-year period ending on the date of the sale. Consequently, D is not entitled to exclude gain under section 121 because he did not use the residence for the requisite period.
Example 5. Taxpayer E purchases a house on February 1, 1998, that he uses as his principal residence. During 1998 and 1999, E leaves his residence for a 2-month summer vacation. E sells the house on March 1, 2000. Although, in the 5-year period preceding the date of sale, the total time E used his residence is less than 2 years (21 months), the section 121 exclusion will apply to gain from the sale of the residence because, under paragraph (c)(2) of this section, the 2-month vacations are short temporary absences and are counted as periods of use in determining whether E used the residence for the requisite period.

(d) Depreciation taken after May 6, 1997—(1) In general. The section 121 exclusion does not apply to so much of the gain from the sale or exchange of property as does not exceed the portion of the depreciation adjustments (as defined in section 1250(b)(3)) attributable to the property for periods after May 6, 1997. Depreciation adjustments allocable to any portion of the property to which the section 121 exclusion does not apply under paragraph (e) of this section are not taken into account for this purpose.

(2) Example. The provisions of this paragraph (d) are illustrated by the following example:

Example. On July 1, 1999, Taxpayer A moves into a house that he owns and had rented to tenants since July 1, 1997. A took depreciation deductions totaling $14,000 for the period that he rented the property. After using the residence as his principal residence for 2 full years, A sells the property on August 1, 2001. A's gain realized from the sale is $40,000. A has no other section 1231 or capital gains or losses for 2001. Only $26,000 ($40,000 gain realized—$14,000 depreciation deductions) may be excluded under section 121. Under section 121(d)(6) and paragraph (d)(1) of this section, A must recognize $14,000 of the gain as unrecaptured section 1250 gain within the meaning of section 1(h).

(e) Property used in part as a principal residence—(1) Allocation required. Section 121 will not apply to the gain allocable to any portion (separate from the dwelling unit) of property sold or exchanged with respect to which a taxpayer does not satisfy the use requirement. Thus, if a portion of the property was used for residential purposes and a portion of the property (separate from the dwelling unit) was used for non-residential purposes, only the gain allocable to the residential portion is excludable under section 121. No allocation is required if both the residential and non-residential portions of the property are within the same dwelling unit. However, section 121 does not apply to the gain allocable to the residential portion of the property to the extent provided by paragraph (d) of this section.

(2) Dwelling unit. For purposes of this paragraph (e), the term dwelling unit has the same meaning as in section 280A(f)(1), but does not include appurtenant structures or other property.

(3) Method of allocation. For purposes of determining the amount of gain allocable to the residential and non-residential portions of the property, the taxpayer must allocate the basis and the amount realized between the residential and the non-residential portions of the property using the same method of allocation that the taxpayer used to determine depreciation adjustments (as defined in section 1250(b)(3)), if applicable.

(4) Examples. The provisions of this paragraph (e) are illustrated by the following examples:

Example 1 Non-residential use of property not within the dwelling unit. (i) Taxpayer A owns a property that consists of a house, a stable and 35 acres. A uses the stable and 28 acres for non-residential purposes for more than 3 years during the 5-year period preceding the sale. A uses the entire house and the remaining 7 acres as his principal residence for at least 2 years during the 5-year period preceding the sale. For periods after May 6, 1997, A claims depreciation deductions of $9,000 for the non-residential use of the stable. A sells the entire property in 2004, realizing a gain of $24,000. A has no other section 1231 or capital gains or losses for 2004.

(ii) Because the stable and the 28 acres used in the business are separate from the dwelling unit, the allocation rules under this paragraph (e) apply and A must allocate the basis and amount realized between the portion of the property that he used as his principal residence and the portion of the property that he used for non-residential purposes. A determines that $14,000 of the gain is allocable to the non-residential-use portion of the property and that $10,000 of the gain is allocable to the portion of the property used as his residence. A must recognize the $14,000 of gain allocable to the non-residential-use portion of the property ($9,000 of which is unrecaptured section 1250 gain within the meaning of section 1(h), and $5,000 of which is adjusted net capital gain). A may exclude $10,000 of the gain from the sale of the property.

Example 2 Non-residential use of property not within the dwelling unit and rental of the entire property. (i) In 1998 Taxpayer B buys a property that includes a house, a barn, and 2 acres. B uses the house and 2 acres as her principal residence and the barn for an antiques business. In 2002, B moves out of the house and rents it to tenants. B sells the property in 2004, realizing a gain of $21,000. Between 1998 and 2004 B claims depreciation deductions of $4,800 attributable to the antiques business. Between 2002 and 2004 B claims depreciation deductions of $3,000 attributable to the house. B has no other section 1231 or capital gains or losses for 2004.

(ii) Because the portion of the property used in the antiques business is separate from the dwelling unit, the allocation rules under this paragraph (e) apply. B must allocate basis and amount realized between the portion of the property that she used as her principal residence and the portion of the property that she used for non-residential purposes. B determines that $4,000 of the gain is allocable to the non-residential portion of the property and that $17,000 of the gain is allocable to the portion of the property that she used as her principal residence.

(iii) B must recognize the $4,000 of gain allocable to the non-residential portion of the property (all of which is unrecaptured section 1250 gain within the meaning of section 1(h)). In addition, the section 121 exclusion does not apply to the gain allocable to the residential portion of the property to the extent of the depreciation adjustments attributable to the residential portion of the property for periods after May 6, 1997 ($3,000). Therefore, B may exclude $14,000 of the gain from the sale of the property.

Example 3 Non-residential use of a separate dwelling unit. (i) In 2002 Taxpayer C buys a 3-story townhouse and converts the basement level, which has a separate entrance, into a separate apartment by installing a kitchen and bathroom and removing the interior stairway that leads from the basement to the upper floors. After the conversion, the property constitutes 2 dwelling units within the meaning of paragraph (e)(2) of this section. C uses the first and second floors of the townhouse as his principal residence and rents the basement level to tenants from 2003 to 2007. C claims depreciation deductions of $2,000 for that period with respect to the basement apartment. C sells the entire property in 2007, realizing gain of $18,000. C has no other section 1231 or capital gains or losses for 2007.

(ii) Because the basement apartment and the upper floors of the townhouse are separate dwelling units, C must allocate the gain between the portion of the property that he used as his principal residence and the portion of the property that he used for non-residential purposes under paragraph (e) of this section. After allocating the basis and the amount realized between the residential and non-residential portions of the property, C determines that $6,000 of the gain is allocable to the non-residential portion of the property and that $12,000 of the gain is allocable to the portion of the property used as his residence. C must recognize the $6,000 of gain allocable to the non-residential portion of the property ($2,000 of which is unrecaptured section 1250 gain within the meaning of section 1(h), and $4,000 of which is adjusted net capital gain). C may exclude $12,000 of the gain from the sale of the property.

Example 4 Separate dwelling unit converted to residential use. The facts are the same as in Example 3 except that in 2007 C incorporates the basement of the townhouse into his principal residence by eliminating the kitchen and building a new interior stairway to the upper floors. C uses all 3 floors of the townhouse as his principal residence for 2 full years and sells the townhouse in 2010, realizing a gain of $20,000. Under section 121(d)(6) and paragraph (d) of this section, C must recognize $2,000 of the gain as unrecaptured section 1250 gain within the meaning of section 1(h). Because C used the entire 3 floors of the townhouse as his principal residence for 2 of the 5 years preceding the sale of the property, C may exclude the remaining $18,000 of the gain from the sale of the house.
Example 5 Non-residential use within the dwelling unit, property depreciated. Taxpayer D, an attorney, buys a house in 2003. The house constitutes a single dwelling unit but D uses a portion of the house as a law office. D claims depreciation deductions of $2,000 during the period that she owns the house. D sells the house in 2006, realizing a gain of $13,000. D has no other section 1231 or capital gains or losses for 2006. Under section 121(d)(6) and paragraph (d) of this section, D must recognize $2,000 of the gain as unrecaptured section 1250 gain within the meaning of section 1(h). D may exclude the remaining $11,000 of the gain from the sale of her house because, under paragraph (e)(1) of this section, she is not required to allocate gain to the business use within the dwelling unit.
Example 6 Non-residential use within the dwelling unit, property not depreciated. The facts are the same as in Example 5, except that D is not entitled to claim any depreciation deductions with respect to her business use of the house. D may exclude $13,000 of the gain from the sale of her house because, under paragraph (e)(1) of this section, she is not required to allocate gain to the business use within the dwelling unit.

(f) Effective date. This section is applicable for sales and exchanges on or after Decmeber 24, 2002. For rules on electing to apply the provisions of this section retroactively, see §1.121-4(j).

[T.D. 9030, 67 FR 78361, Dec. 24, 2002]


Tried the LawStack mobile app?

Join thousands and try LawStack mobile for FREE today.

  • Carry the law offline, wherever you go.
  • Download CFR, USC, rules, and state law to your mobile device.