Pub. 17, Chapter 16 - Selling Your Home
You may qualify to exclude from your income all or part of any gain from the
sale of your main home. This means that, if you qualify, you will not have to pay tax on
the gain up to the limit described under Maximum Amount of Exclusion, next. To
qualify, you must meet the ownership and use tests described later. 
You can choose not to take the exclusion. In that case, you will have to pay
tax on your entire gain, unless you choose to use the rules in chapter 3 of Publication 523. 
         Maximum Amount of Exclusion
You can exclude the entire gain on the sale of your main home up to:
  - $250,000, or 
- $500,000 if all of the following are true. 
      - You are married and file a joint return for the year. 
- Either you or your spouse meets the ownership test. 
- Both you and your spouse meet the use test. 
- During the 2-year period ending on the date of the sale, neither you nor your
        spouse excluded gain from the sale of another home (not counting any sales before May 7,
        1997). 
 
         Reduced Maximum Exclusion
You can claim an exclusion, but the maximum amount of gain you can exclude will
be reduced, if any of the following are true.
  - You did not meet the ownership and use tests for a home you owned on August 5,
    1997, and sold before August 5, 1999. 
- You did not meet the ownership and use tests for a home you sold due to a change
    in health or place of employment. 
- Your exclusion would have been disallowed because of the rule described in More
    Than One Home Sold During 2-Year Period, next, except that you sold the home due to a
    change in health or place of employment. 
See Publication 523 for a worksheet to figure your
reduced exclusion. 
         More Than One Home Sold During 2-Year Period
You cannot exclude gain on the sale of your home if, during the 2-year period
ending on the date of the sale, you sold another home at a gain and excluded all or part
of that gain. If you cannot exclude the gain, you must include it in your income. 
However, if you sold the home due to a change in health or place of employment,
you can still claim an exclusion. The maximum amount you can exclude is reduced. See Reduced
Maximum Exclusion, earlier. 
        Sales before May 7, 1997. When counting the
          number of sales during a 2-year period, do not count sales before May
          7, 1997. 
         Ownership and Use Tests
To claim the exclusion you must meet the ownership and use tests. This means
that during the 5-year period ending on the date of the sale, you must have:
  - Owned the home for at least 2 years (the ownership test), and
    
- Lived in the home as your main home for at least 2 years (the use
    test). 
Exception. If you owned and lived in the property
          as your main home for less than 2 years, you may still be able to claim
          an exclusion in some cases. The maximum amount you can claim will be
          reduced. See Reduced Maximum Exclusion, earlier. 
        Period of ownership and use. The required
          2 years of ownership and use (during the 5-year period ending on the
          date of the sale) do not have to be continuous. You meet the tests if
          you can show that you owned and lived in the property as your main home
          for either 24 full months or 730 days (365 × 2) during the 5-year period.
          Short temporary absences for vacations or other seasonal absences, even
          if you rent out the property during the absences, are counted as periods
          of use. See Ownership and use tests met at different times, later.
        
        Example 1 - met use test but not ownership test. From 1990
          through August 1998 Amanda lived with her parents in a house that her
          parents owned. On September 2, 1998, she bought this house from her
          parents. She continued to live there until December 15, 1999, when she
          sold it at a gain. Although Amanda lived in the property as her
          main home for more than 2 years, she did not own it for the required
          2 years. She cannot exclude any part of her gain on the sale, unless
          she sold the property due to a change in health or place of employment,
          as explained under Reduced Maximum Exclusion, earlier. 
        Example 2 - period of absence. Professor Paul Beard, who
          is single, bought and moved into a house on August 30, 1996. He lived
          in it as his main home continuously until January 5, 1998, when he went
          abroad for a 1-year sabbatical leave. During part of the period of leave,
          the house was unoccupied, and during the rest of the period, he rented
          it out. On January 5, 1999, he sold the house. Because his leave was
          not a short temporary absence, he cannot include the period of leave
          to meet the 2-year use test. However, even though he did not live in
          the house for the required 2-year period, he does qualify for an exclusion
          because he owned the home on August 5, 1997, and sold it before August
          5, 1999. See Reduced Maximum Exclusion, earlier. The maximum
          amount of gain he can exclude will be less than $250,000. In addition,
          he cannot exclude the part of the gain equal to the depreciation he
          claimed. See Depreciation for business use after May 6, 1997,
          later. 
        Ownership and use tests met at different times.
          You can meet the ownership and use tests during different 2-year periods.
          However, you must meet both tests during the 5-year period ending on
          the date of the sale. 
        Example. In 1990, Helen Jones lived in a rented apartment.
          The apartment building was later changed to a condominium and she bought
          her apartment on December 1, 1996. In 1997, Helen became ill and on
          April 14 of that year she moved to her daughter's home. On July 10,
          1999, while still living in her daughter's home, she sold her apartment.
        
Helen can exclude gain on the sale of her apartment because she met the
ownership and use tests. Her 5-year period is from July 11, 1994, to July 10, 1999, the
date she sold the apartment. She owned her apartment from December 1, 1996, to July 10,
1999 (over 2 years). She lived in the apartment from July 11, 1994 (the beginning of the
5-year period), to April 14, 1997 (over 2 years). 
        Cooperative apartment. If you sold stock in
          a cooperative housing corporation, the ownership and use tests are that,
          during the 5-year period ending on the date of sale, you must have:
        
  - Owned the stock for at least 2 years, and 
- Lived in the house or apartment that the stock entitles you to occupy as your
    main home for at least 2 years. 
Exception for individuals with a disability.
          There is an exception to the use test if, during the 5-year period before
          the sale of your home:
        
  - You become physically or mentally unable to care for yourself, and 
- You owned and lived in your home as your main home for a total of at least 1
    year. 
Under this exception, you are considered to live in your home during any time
that you own the home and live in a facility (including a nursing home) that is licensed
by a state or political subdivision to care for persons in your condition. 
If you meet this exception to the use test, you still have to meet the
2-out-of-5-year ownership test to claim the exclusion. 
        Gain postponed on sale of previous home. For
          the ownership and use tests, you may be able to add the time you owned
          and lived in a previous home to the time you lived in the home on which
          you wish to exclude gain. You can do this if you postponed all or part
          of the gain on the sale of the previous home because of buying the home
          on which you wish to exclude gain. 
In addition, if buying the previous home enabled you to postpone all or part of
the gain on the sale of a home you owned earlier, you can also include the time you owned
and lived in that earlier home. 
        Previous home destroyed or condemned. For
          the ownership and use tests, you add the time you owned and lived in
          a previous home that was destroyed or condemned to the time you owned
          and lived in the home on which you wish to exclude gain. This rule applies
          if any part of the basis of the home you sold depended on the basis
          of the destroyed or condemned home. Otherwise, you must have owned and
          lived in the same home for 2 of the 5 years before the sale to
          qualify for the exclusion. 
Married Persons
If you and your spouse file a joint return for the year of sale, you can
exclude gain if either spouse meets the ownership and use tests. (But see Maximum
Amount of Exclusion, earlier.) 
        Example 1 - one spouse meets use test. Emily sells her home
          in June 1999. She marries Jamie later in the year. She meets the ownership
          and use tests, but Jamie does not. She can exclude up to $250,000 of
          gain on a separate or joint return for 1999.
        Example 2 - each spouse sells a home. The facts are the
          same as in Example 1 except that Jamie also sells a home. He
          meets the ownership and use tests on his home. Emily and Jamie can each
          exclude up to $250,000 of gain. 
        Death of spouse before sale. If your spouse
          died before the date of sale, you are considered to have owned and lived
          in the property as your main home during any period of time when your
          spouse owned and lived in it as a main home. 
        Home transferred from spouse. If your home
          was transferred to you by your spouse (or former spouse if the transfer
          was incident to divorce), you are considered to have owned it during
          any period of time when your spouse owned it. 
        Use of home after divorce. You are considered
          to have used property as your main home during any period when:
        
  - You owned it, and 
- Your spouse or former spouse is allowed to live in it under a divorce or
    separation instrument. 
         Business Use or Rental of Home
You may be able to exclude your gain from the sale of a home that you have used
for business or to produce rental income. But you must meet the ownership and use tests. 
        Example. On May 30, 1993, Amy bought a house. She moved
          in on that date and lived in it until May 31, 1995, when she moved out
          of the house and put it up for rent. The house was rented from July
          1, 1995, to March 31, 1997. Amy moved back into the house on April 1,
          1997, and lived there until she sold it on January 31, 1999. During
          the 5-year period ending on the date of the sale (February 1, 1994 -
          January 31, 1999), Amy owned and lived in the house for more than 2
          years as shown in the table below. 
  
    | Five Year Period | Used as Home | Used as Rental | 
  
    |  | 
  
    | 2/1/94 - 5/31/95 | 16 months |  | 
  
    | 6/1/95 - 3/31/97 |  | 22 months | 
  
    | 4/1/97 - 1/31/99 | 22 months |  | 
  
    |  | 38 months | 22 months | 
  
    |  | 
Amy can exclude gain up to $250,000. 
        Depreciation for business use after May 6, 1997.
          If you were entitled to take depreciation deductions because you used
          your home for business purposes or as rental property, you cannot exclude
          the part of your gain equal to any depreciation allowed or allowable
          as a deduction for periods after May 6, 1997. If you can show by adequate
          records or other evidence that the depreciation deduction allowed was
          less than the amount allowable, the amount you cannot exclude is the
          smaller figure. 
        Example. Micah sold his main home in 1999 at a $30,000 gain.
          He meets the use and ownership tests to exclude the gain from his income.
          However, he used part of the home for business in December 1998 and
          claimed $500 depreciation. He can exclude $29,500 ($30,000 - $500) of
          his gain. He has a taxable gain of $500. 
        Property used partly as your home and partly for
          business or rental during the year of sale. In the year of sale
          you may have used part of your property as your home and part of it
          for business or to produce income. Examples are:
        
  - A working farm on which your house is located, 
- An apartment building in which you live in one unit and rent out the others, 
- A store building with an upstairs apartment in which you live, or 
- A home with a room used for business or to produce income. 
If you sell the entire property you should consider the transaction as the sale
of two properties. The sale of the part of your property used for business or rental is
reported on Form 4797, Sales of Business Property. For more information, see Property
used partly as your home and partly for business or rental during the year of sale,
under Business Use or Rental of Home, in chapter 2 of Publication
523. 
         Special Situations
This section explains certain situations that may affect your exclusion. 
        Expatriates. You cannot claim the exclusion
          if section 877(a)(1) of the Internal Revenue Code applies to you. That
          section applies to U.S. citizens who have renounced their citizenship
          (and long-term residents who have ended their residency) if one of their
          principal purposes was to avoid U.S. taxes. 
In addition, you cannot make the choice described under Who may need to read
chapter 3 of Publication 523, in the introduction to this
chapter. (You could make that choice if you sold your home before August 6, 1997.) 
        Home destroyed or condemned. If your home
          was destroyed or condemned, any gain (for example, because of insurance
          proceeds you received) qualifies for the exclusion. 
Any part of the gain that cannot be excluded (because it is more than the
limit) may be postponed under the rules explained in:
  - 
  Publication 547, Casualties, Disasters, and Thefts (Business and
    Nonbusiness), in the case of a home that was destroyed, or 
- Chapter 1 of Publication 544, Sales and Other
    Dispositions of Assets, in the case of a home that was condemned. 
Sale of remainder interest. Subject to the
          other rules in this chapter, you can choose to exclude gain from the
          sale of a remainder interest in your home. If you make this choice,
          you cannot choose to exclude gain from your sale of any other interest
          in the home that you sell separately. 
        Exception for sales to related persons. You cannot exclude
          gain from the sale of a remainder interest in your home to a related
          person. Related persons include your brothers and sisters, half-brothers
          and half-sisters, spouse, ancestors (parents, grandparents, etc.), and
          lineal descendants (children, grandchildren, etc.). Related persons
          also include certain corporations, partnerships, trusts, and exempt
          organizations, as explained under Related Party Transactions in
          chapter 15. 
         Reporting the Gain
Do not report the 1999 sale of your main home on your tax return unless:
  - You have a gain and do not qualify to exclude all of it, 
- You have a gain and choose not to exclude it, or 
- You made the choice described earlier, under Who may need to read chapter 3
    in Publication 523, and have a taxable gain. 
If you have any taxable gain on the sale of your main home, report the entire
gain realized on Schedule D (Form 1040), Capital Gains and Losses, with your
return. Report it on line 1 or line 8 of Schedule D, depending on how long you owned the
home. If you qualify for an exclusion, show it on the line directly below the line on
which you report the gain. Write "Section 121 exclusion" in column (a) of that
line and show the amount of the exclusion in column (f) as a loss (in parentheses). 
        Choice made to use prior law rules. If you
          made the choice to use the rules for sales before May 7, 1997, and you
          sold your home in 1998, see chapter 3 of Publication
          523. 
        Tax rate on capital gains. Your net capital
          gain is taxed at a tax rate of 10%, 15%, 20%, 25%, or 28%, depending
          on your situation. See Chapter 17. 
        Installment sale. Some sales are made under
          arrangements that provide for part or all of the selling price to be
          paid in a later year. These sales are called installment sales. If you
          finance the buyer's purchase of your home yourself, instead of having
          the buyer get a loan or mortgage from a bank, you may have an installment
          sale. If the sale qualifies, you can report the part of the gain you
          cannot exclude on the installment basis.
Use Form 6252, Installment Sale Income, to report the sale. 
        Seller-financed mortgage. If you sell your home and hold
          a note, mortgage, or other financial agreement, the payments you receive
          generally consist of both interest and principal. You must report the
          interest you receive as part of each payment separately as interest
          income. If the buyer of your home uses the property as a main or second
          home, you must also report the name, address, and social security number
          (SSN) of the buyer on line 1 of either Schedule B (Form 1040) or Schedule
          1 (Form 1040A). The buyer must give you his or her SSN and you must
          give the buyer your SSN. Failure to meet these requirements may result
          in a $50 penalty for each failure. If you or the buyer does not have
          and is not eligible to get an SSN, see the next discussion. 
        Individual taxpayer identification number (ITIN). If either
          you or the buyer of your home is a nonresident or resident alien who
          does not have and is not eligible to get an SSN, the IRS will issue
          you (or the buyer) an ITIN. To apply for an ITIN, file Form W-7 with
          the IRS. 
If you have to include the buyer's SSN on your return and the buyer does not
have and cannot get an SSN, enter the buyer's ITIN. If you have to give an SSN to the
buyer and you do not have and cannot get one, give the buyer your ITIN. 
An ITIN is for tax use only. It does not entitle the holder to social security
benefits or change the holder's employment or immigration status under U.S. law. 
        More information. For more information on installment sales,
          see Publication 537, Installment
          Sales. 
Previous | Next
Publication 17 | 1999 Tax Year Archives | Tax Help Archives | Home