skip navigation

Search Help
Navigation Help


Main Topics
A B C D E F G H I
J K L M N O P Q R
S T U V W X Y Z #


FAQs
Forms
Publications
Tax Topics


Comments
About Tax Map
IRS Tax Map 2008
Current IRS Tax Map

taxmap/pub17/p17-083.htm#en_us_publink1000172428

Excluding the Gain(p110)


rule
spacer

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 Exclusion, next. To qualify, you must meet the ownership and use tests described later.
You can choose not to take the exclusion by including the gain from the sale in your gross income on your tax return for the year of the sale.
You can use Worksheet 2 in Publication 523 to figure the amount of your exclusion and your taxable gain, if any.
EIC
If you have any taxable gain from the sale of your home, you may have to increase your withholding or make estimated tax payments. See Publication 505, Tax Withholding and Estimated Tax.
taxmap/pub17/p17-083.htm#en_us_publink1000172431

Maximum Exclusion(p110)


rule
spacer

previous topic occurrence Maximum Exclusion next topic occurrence

You can exclude up to $250,000 of the gain on the sale of your main home if all of the following are true.
You may be able to exclude up to $500,000 of the gain on the sale of your main home if you are married and file a joint return and meet the requirements listed in the discussion of the special rules for joint returns, later, under Married Persons.
taxmap/pub17/p17-083.htm#en_us_publink1000172432

Ownership and Use Tests(p110)


rule
spacer

previous topic occurrence Ownership and Use Tests next topic occurrence

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:
taxmap/pub17/p17-083.htm#en_us_publink1000172433

Exception.(p110)


rule
spacer

previous topic occurrence Exception next topic occurrence

If you owned and lived in the property as your main home for less than 2 years, you can still claim an exclusion in some cases. The maximum amount you may be able to exclude will be reduced. See Reduced Maximum Exclusion, later.
taxmap/pub17/p17-083.htm#en_us_publink1000172435

Example 1—home owned and occupied for at least 2 years.(p110)

Amanda bought and moved into her main home in September 2006. She sold the home at a gain on September 15, 2009. During the 5-year period ending on the date of sale (September 16, 2004–September 15, 2009), she owned and lived in the home for more than 2 years. She meets the ownership and use tests.
taxmap/pub17/p17-083.htm#en_us_publink1000172436

Example 2—ownership test met but use test not met.(p110)

Dan bought a home in 2003. After living in it for 6 months, he moved out. He never lived in the home again and sold it at a gain on June 28, 2009. He owned the home during the entire 5-year period ending on the date of sale (June 29, 2004–June 28, 2009). However, he did not live in it for the required 2 years. He meets the ownership test but not the use test. He cannot exclude any part of his gain on the sale, unless he qualified for a reduced maximum exclusion (explained later).
taxmap/pub17/p17-083.htm#en_us_publink1000172437

Period of Ownership and Use(p110)


rule
spacer

previous topic occurrence Period of Ownership and Use next topic occurrence

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 nor do they have to occur at the same time.
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 ending on the date of sale.
taxmap/pub17/p17-083.htm#en_us_publink1000172438

Temporary absence.(p110)


rule
spacer

previous topic occurrence Temporary Absence next topic occurrence

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. The following examples assume that the reduced maximum exclusion (discussed later) does not apply to the sales.
taxmap/pub17/p17-083.htm#en_us_publink1000172439

Example 1.(p110)

David Johnson, who is single, bought and moved into his home on February 1, 2007. Each year during 2007 and 2008, David left his home for a 2-month summer vacation. David sold the house on March 1, 2009. Although the total time David used his home is less than 2 years (21 months), he may exclude any gain up to $250,000. The 2-month vacations are short temporary absences and are counted as periods of use in determining whether David used the home for the required 2 years.
taxmap/pub17/p17-083.htm#en_us_publink1000172440

Example 2.(p110)

Professor Paul Beard, who is single, bought and moved into a house on August 28, 2006. He lived in it as his main home continuously until January 5, 2008, when he went abroad for a 1-year sabbatical leave. On February 6, 2009, 1 month after returning from the leave, Paul sold the house at a gain. Because his leave was not a short temporary absence, he cannot include the period of leave to meet the 2-year use test. He cannot exclude any part of his gain, because he did not use the residence for the required 2 years.
taxmap/pub17/p17-083.htm#en_us_publink1000172441

Ownership and use tests met at different times.(p110)


rule
spacer

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.
taxmap/pub17/p17-083.htm#en_us_publink1000172442

Example.(p110)

In 2000, Helen Jones lived in a rented apartment. The apartment building was later converted to condominiums, and she bought her same apartment on December 3, 2006. In 2007, Helen became ill and on April 14 of that year she moved to her daughter's home. On July 12, 2009, while still living in her daughter's home, she sold her condominium.
Helen can exclude gain on the sale of her condominium because she met the ownership and use tests during the 5-year period from July 13, 2004, to July 12, 2009, the date she sold the condominium. She owned her condominium from December 3, 2006, to July 12, 2009 (more than 2 years). She lived in the property from July 13, 2004 (the beginning of the 5-year period), to April 14, 2007 (more than 2 years).
The time Helen lived in her daughter's home during the 5-year period can be counted toward her period of ownership, and the time she lived in her rented apartment during the 5-year period can be counted toward her period of use.
taxmap/pub17/p17-083.htm#en_us_publink1000172443

Cooperative apartment.(p110)


rule
spacer

Cooperative Apartment

If you sold stock as a tenant-stockholder in a cooperative housing corporation, the ownership and use tests are met if, during the 5-year period ending on the date of sale, you:
taxmap/pub17/p17-083.htm#en_us_publink1000172444

Exceptions to Ownership and Use Tests(p110)


rule
spacer

previous topic occurrence Exceptions to Ownership and Use Tests next topic occurrence

The following sections contain exceptions to the ownership and use tests for certain taxpayers.
taxmap/pub17/p17-083.htm#en_us_publink1000172445

Exception for individuals with a disability.(p110)


rule
spacer

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: 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.
taxmap/pub17/p17-083.htm#en_us_publink1000172446

Previous home destroyed or condemned.(p110)


rule
spacer

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 replacement home on whose sale 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.
taxmap/pub17/p17-083.htm#en_us_publink1000172447

Members of the uniformed services or Foreign Service, employees of the intelligence community, or employees or volunteers of the Peace Corps.(p110)


rule
spacer

Members of the Uniformed Services or Foreign Service, Employees of the Intelligence Community, or Employees or Volunteers of the Peace Corps

You can choose to have the 5-year test period for ownership and use suspended during any period you or your spouse serve on "qualified official extended duty" as a member of the uniformed services or Foreign Service of the United States, as an employee of the intelligence community, or as an employee or volunteer of the Peace Corps. This means that you may be able to meet the 2-year use test even if, because of your service, you did not actually live in your home for at least the required 2 years during the 5-year period ending on the date of sale.
If this helps you qualify to exclude gain, you can choose to have the 5-year test period suspended by filing a return for the year of sale that does not include the gain.
taxmap/pub17/p17-083.htm#en_us_publink1000172448

Example.(p111)

David bought and moved into a home in 2001. He lived in it as his main home for 21/2 years. For the next 6 years, he did not live in it because he was on qualified official extended duty with the Army. He then sold the home at a gain in 2009. To meet the use test, David chooses to suspend the 5-year test period for the 6 years he was on qualified official extended duty. This means he can disregard those 6 years. Therefore, David's 5-year test period consists of the 5 years before he went on qualified official extended duty. He meets the ownership and use tests because he owned and lived in the home for 21/2 years during this test period.
taxmap/pub17/p17-083.htm#en_us_publink1000172449

Period of suspension.(p111)
spacer

The period of suspension cannot last more than 10 years. Together, the 10-year suspension period and the 5-year test period can be as long as, but no more than, 15 years. You cannot suspend the 5-year period for more than one property at a time. You can revoke your choice to suspend the 5-year period at any time.
For more information about the suspension of the 5-year test period, see Members of the uniformed services or Foreign Service, employees of the intelligence community, or employees or volunteers of the Peace Corps in Publication 523.
taxmap/pub17/p17-083.htm#en_us_publink1000236179

Periods of nonqualified use.(p111)


rule
spacer

Generally, the gain from the sale or exchange of your main home will not qualify for the exclusion to the extent that the gains are allocated to periods of nonqualified use. Nonqualified use is any period after December 31, 2008, during which the property is not used as the main home.
The gain resulting from the sale of the property is allocated between qualified and nonqualified use periods based on the amount of time the property was held for qualified and nonqualified use. Gain from the sale or exchange of a main home allocable to periods of qualified use will continue to qualify for the exclusion for the sale of your main home. Gain from the sale or exchange of property allocable to nonqualified use will not qualify for the exclusion.
Gain is generally allocated to periods of nonqualified use based on the ratio which: (1) the aggregate periods of nonqualified use during the period the property was owned by you over (2) the total period the property was owned by you. You do not incorporate any period before 2009 for the aggregate periods of nonqualified use. Certain exceptions apply. For details, see Publication 523.
taxmap/pub17/p17-083.htm#en_us_publink1000172450

Married Persons(p111)


rule
spacer

previous topic occurrence Married next topic occurrence

If you and your spouse file a joint return for the year of sale and one spouse meets the ownership and use test, you can exclude up to $250,000 of the gain. (But see Special rules for joint returns, next.)
taxmap/pub17/p17-083.htm#en_us_publink1000172452

Special rules for joint returns.(p111)


rule
spacer

Special Rules for Joint Returns

You can exclude up to $500,000 of the gain on the sale of your main home if all of the following are true. If either spouse does not satisfy all these requirements, the maximum exclusion that can be claimed by the couple is the total of the maximum exclusions that each spouse would qualify for if not married and the amounts were figured separately. For this purpose, each spouse is treated as owning the property during the period that either spouse owned the property.
taxmap/pub17/p17-083.htm#en_us_publink1000172453

Example 1—one spouse sells a home.(p111)

Emily sells her home in June 2009. She marries Jamie later in the year. She meets the ownership and use tests, but Jamie does not. Emily can exclude up to $250,000 of gain on a separate or joint return for 2009. The $500,000 maximum exclusion for certain joint returns does not apply because Jamie does not meet the use test.
taxmap/pub17/p17-083.htm#en_us_publink1000172454

Example 2—each spouse sells a home.(p111)

The facts are the same as in Example 1 except that Jamie also sells a home in 2009 before he marries Emily. He meets the ownership and use tests on his home, but Emily does not. Emily and Jamie can each exclude up to $250,000 of gain from the sale of their individual homes. The $500,000 maximum exclusion for certain joint returns does not apply because Emily and Jamie do not jointly meet the use test for the same home.
taxmap/pub17/p17-083.htm#en_us_publink1000172455

Sale of main home by surviving spouse.(p111)


rule
spacer

Sale of Main Home by Surviving Spouse

If your spouse died and you did not remarry 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.
If you meet all of the following requirements, you may qualify to exclude up to $500,000 of any gain from the sale or exchange of your main home.
taxmap/pub17/p17-083.htm#en_us_publink1000172456

Example.(p111)
spacer

Harry has owned and used a house as his main home since 2006. Harry and Wilma marry on July 1, 2009, and from that date they use Harry's house as their main home. Harry died on August 15, 2009, and Wilma inherited the property. Wilma sold the property on September 1, 2009, at which time she had not remarried. Although Wilma owned and used the house for less than 2 years, Wilma is considered to have satisfied the ownership and use tests because her period of ownership and use includes the period that Harry owned and used the property before death.
taxmap/pub17/p17-083.htm#en_us_publink1000172457

Home transferred from spouse.(p111)


rule
spacer

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.
taxmap/pub17/p17-083.htm#en_us_publink1000172458

Use of home after divorce.(p111)


rule
spacer

Use of Home After Divorce

You are considered to have used property as your main home during any period when:
taxmap/pub17/p17-083.htm#en_us_publink1000172459

Reduced Maximum Exclusion(p111)


rule
spacer

previous topic occurrence Reduced Maximum Exclusion next topic occurrence

If you fail to meet the requirements to qualify for the $250,000 or $500,000 exclusion, you may still qualify for a reduced exclusion. This applies to those who: .
In both cases, to qualify for a reduced exclusion, the sale of your main home must be due to one of the following reasons.
taxmap/pub17/p17-083.htm#en_us_publink1000172460

Unforeseen circumstances.(p111)


rule
spacer

The sale of your main home is because of an unforeseen circumstance if your primary reason for the sale is the occurrence of an event that you could not reasonably have anticipated before buying and occupying your main home.
See Publication 523 for more information and to use Worksheet 3 to figure your reduced maximum exclusion.