Table of Contents
Home sold with undeducted points. If you have not deducted all the points you paid to secure a mortgage on your old home, you may be able to deduct the remaining points in the year of the sale. See Mortgage ending early under Points in chapter 23.
This chapter explains the tax rules that apply when you sell your main home. In most cases, your main home is the one in which you live most of the time.
If you sold your main home in 2011, you may be able to exclude from income any gain up to a limit of $250,000 ($500,000 on a joint return in most cases). See Excluding the Gain , later. If you can exclude all the gain, you do not need to report the sale on your tax return.
If you have gain that cannot be excluded, it is taxable. Report it on Form 8949, Sales and Other Dispositions of Capital Assets, and Schedule D (Form 1040). You may also have to complete Form 4797, Sales of Business Property. See Reporting the Sale , later.
If you have a loss on the sale, you generally cannot deduct it on your return. However, you may need to report it. See Reporting the Sale , later.
The following are main topics in this chapter.
Figuring gain or loss.
Basis.
Excluding the gain.
Ownership and use tests.
Reporting the sale.
Other topics include the following.
Business use or rental of home.
Recapturing a federal mortgage subsidy.
Publication
523 Selling Your Home
530 Tax Information for Homeowners
547 Casualties, Disasters, and Thefts
Form (and Instructions)
Schedule D (Form 1040) Capital Gains and Losses
982 Reduction of Tax Attributes Due to Discharge of Indebtedness (and Section 1082 Basis Adjustment)
8828 Recapture of Federal Mortgage Subsidy
8949 Sales and Other Dispositions of Capital Assets
This section explains the term “main home.” Usually, the home you live in most of the time is your main home and can be a:
House,
Houseboat,
Mobile home,
Cooperative apartment, or
Condominium.
To exclude gain under the rules of this chapter, you in most cases must have owned and lived in the property as your main home for at least 2 years during the 5-year period ending on the date of sale.
To figure the gain or loss on the sale of your main home, you must know the selling price, the amount realized, and the adjusted basis. Subtract the adjusted basis from the amount realized to get your gain or loss.
The selling price is the total amount you receive for your home. It includes money, all notes, mortgages, or other debts assumed by the buyer as part of the sale, and the fair market value of any other property or any services you receive.
While you owned your home, you may have made adjustments (increases or decreases) to the basis. This adjusted basis must be determined before you can figure gain or loss on the sale of your home. For information on how to figure your home's adjusted basis, see Determining Basis , later.
To figure the amount of gain or loss, compare the amount realized to the adjusted basis.
Some special rules apply to other dispositions of your main home.
Example.
You owned and lived in a home with an adjusted basis of $41,000. A real estate dealer accepted your old home as a trade-in and allowed you $50,000 toward a new home priced at $80,000. This is treated as a sale of your old home for $50,000 with a gain of $9,000 ($50,000 – $41,000).
If the dealer had allowed you $27,000 and assumed your unpaid mortgage of $23,000 on your old home, your sales price would still be $50,000 (the $27,000 trade-in allowed plus the $23,000 mortgage assumed).
You need to know your basis in your home to figure any gain or loss when you sell it. Your basis in your home is determined by how you got the home. Your basis is its cost if you bought it or built it. If you got it in some other way (inheritance, gift, etc.), your basis is either its fair market value when you received it or the adjusted basis of the previous owner.
While you owned your home, you may have made adjustments (increases or decreases) to your home's basis. The result of these adjustments is your home's adjusted basis, which is used to figure gain or loss on the sale of your home. See Adjusted Basis , later.
You can find more information on basis and adjusted basis in chapter 13 of this publication and in Publication 523.
The cost of property is the amount you pay for it in cash, debt obligations, other property, or services.
Adjusted basis is your cost or other basis increased or decreased by certain amounts. To figure your adjusted basis, you can use Worksheet 1 in Publication 523.
Additions and other improvements that have a useful life of more than 1 year.
Special assessments for local improvements.
Amounts you spent after a casualty to restore damaged property.
Discharge of qualified principal residence indebtedness that was excluded from income.
Gain you postponed from the sale of a previous home before May 7, 1997.
Deductible casualty losses.
Insurance payments you received or expect to receive for casualty losses.
Payments you received for granting an easement or right-of-way.
Depreciation allowed or allowable if you used your home for business or rental purposes.
Residential energy credit (generally allowed from 1977 through 1987) claimed for the cost of energy improvements that you added to the basis of your home.
Nonbusiness energy property credit (allowed beginning in 2006 but not for 2008) claimed for making certain energy saving improvements you added to the basis of your home.
Residential energy efficient property credit (allowed beginning in 2006) claimed for making certain energy saving improvements you added to the basis of your home.
Adoption credit you claimed for improvements added to the basis of your home.
Nontaxable payments from an adoption assistance program of your employer you used for improvements you added to the basis of your home.
Energy conservation subsidy excluded from your gross income because you received it (directly or indirectly) from a public utility after 1992 to buy or install any energy conservation measure. An energy conservation measure is an installation or modification primarily designed either to reduce consumption of electricity or natural gas or to improve the management of energy demand for a home.
District of Columbia first-time homebuyer credit (allowed on the purchase of a principal residence in the District of Columbia beginning on August 5, 1997).
General sales taxes claimed as an itemized deduction on Schedule A (Form 1040) from 2004 through 2009 that were imposed on the purchase of personal property, such as a houseboat used as your home or a mobile home.
The records you should keep include:
Proof of the home's purchase price and purchase expenses,
Receipts and other records for all improvements, additions, and other items that affect the home's adjusted basis,
Any worksheets or other computations you used to figure the adjusted basis of the home you sold, the gain or loss on the sale, the exclusion, and the taxable gain,
Any Form 982 you filed to report any discharge of qualified principal residence indebtedness,
Any Form 2119, Sale of Your Home, you filed to postpone gain from the sale of a previous home before May 7, 1997, and
Any worksheets you used to prepare Form 2119, such as the Adjusted Basis of Home Sold Worksheet or the Capital Improvements Worksheet from the Form 2119 instructions, or other source of computations.
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.
You can exclude up to $250,000 of the gain (other than gain allocated to periods of nonqualified use) on the sale of your main home if all of the following are true.
You meet the ownership test.
You meet the use test.
During the 2-year period ending on the date of the sale, you did not exclude gain from the sale of another home.
For details on gain allocated to periods of nonqualified use, see Periods of nonqualified use , later.
You may be able to exclude up to $500,000 of the gain (other than gain allocated to periods of nonqualified use) 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 .
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).
Example 1—home owned and occupied for at least 2 years.
Mya bought and moved into her main home in September 2008. She sold the home at a gain on September 15, 2011. During the 5-year period ending on the date of sale (September 16, 2006–September 15, 2011), she owned and lived in the home for more than 2 years. She meets the ownership and use tests.
Example 2—ownership test met but use test not met.
Ayden bought a home in 2006. 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, 2011. He owned the home during the entire 5-year period ending on the date of sale (June 29, 2006–June 28, 2011). 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).
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.
Example 1.
David Johnson, who is single, bought and moved into his home on February 1, 2009. Each year during 2009 and 2010, David left his home for a 2-month summer vacation. David sold the house on March 1, 2011. Although the total time David used his home is less than 2 years (21 months), he meets the requirement and may exclude gain. 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.
Example 2.
Professor Paul Beard, who is single, bought and moved into a house on August 28, 2008. He lived in it as his main home continuously until January 5, 2010, when he went abroad for a 1-year sabbatical leave. On February 6, 2011, 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.
Example.
In 2001, Helen Jones lived in a rented apartment. The apartment building was later converted to condominiums, and she bought her same apartment on December 3, 2008. In 2009, Helen became ill and on April 14 of that year she moved to her daughter's home. On July 12, 2011, 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, 2006, to July 12, 2011, the date she sold the condominium. She owned her condominium from December 3, 2008, to July 12, 2011 (more than 2 years). She lived in the property from July 13, 2006 (the beginning of the 5-year period), to April 14, 2009 (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.
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.
The following sections contain exceptions to the ownership and use tests for certain taxpayers.
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 during the 5-year period before the sale of your home.
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.
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.
Any portion of the 5-year period ending on the date of the sale or exchange after the last date you (or your spouse) use the property as a main home;
Any period (not to exceed an aggregate period of 10 years) during which you (or your spouse) are 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; 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 IRS.
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.
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.)
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.
Example 1—one spouse sells a home.
Emily sells her home in June 2011. 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 2011. The $500,000 maximum exclusion for certain joint returns does not apply because Jamie does not meet the use test.
Example 2—each spouse sells a home.
The facts are the same as in Example 1 except that Jamie also sells a home in 2011 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.
The sale or exchange took place after 2008.
The sale or exchange took place no more than 2 years after the date of death of your spouse.
You have not remarried.
You and your spouse met the use test at the time of your spouse's death.
You or your spouse met the ownership test at the time of your spouse's death.
Neither you nor your spouse excluded gain from the sale of another home during the last 2 years.
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:
Fail to meet the ownership and use tests, or
Have used the exclusion within 2 years of selling their current home.
.
In both cases, to qualify for a reduced exclusion, the sale of your main home must be due to one of the following reasons.
A change in place of employment.
Health.
Unforeseen circumstances.
You may be able to exclude gain from the sale of a home you have used for business or to produce rental income. But you must meet the ownership and use tests.
Example 1.
On May 28, 2005, Amy, who is unmarried for all years in this example, bought a house. She moved in on that date and lived in it until May 31, 2007, when she moved out of the house and put it up for rent. The house was rented from June 1, 2007, to March 31, 2009. Amy claimed depreciation deductions in 2007 through 2009 totaling $10,000. Amy moved back into the house on April 1, 2009, and lived there until she sold it on January 29, 2011, for a gain of $200,000. During the 5-year period ending on the date of the sale (January 31, 2006–January 29, 2011), Amy owned and lived in the house for more than 2 years as shown in the following table.
Five Year Period |
Used as Home |
Used as Rental |
||
1/31/06 – 5/31/07 |
16 months | |||
6/1/07 – 3/31/09 |
22 months | |||
4/1/09 – 1/29/11 |
22 months | |||
38 months | 22 months |
During the period Amy owned the house (2032 days), her period of nonqualified use was 90 days. Because the gain attributable to periods of nonqualified use is $8,415, Amy can exclude $181,585 of her gain.
Example 2.
William owned and used a house as his main home from 2005 through 2008. On January 1, 2009, he moved to another state. He rented his house from that date until April 30, 2011, when he sold it. During the 5-year period ending on the date of sale (May 1, 2006–April 30, 2011), William owned and lived in the house for more than 2 years. He must report the sale on Form 4797 because it was rental property at the time of sale. Because the period of nonqualified use does not include any part of the 5-year period after the last date William lived in the house, he has no period of nonqualified use. Because he met the ownership and use tests, he can exclude gain up to $250,000. However, he cannot exclude the part of the gain equal to the depreciation he claimed or could have claimed for renting the house, as explained next.
Do not report the 2011 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 received Form 1099-S.
If any of these conditions apply, report the entire gain or loss on Form 8949. For details on how to report the gain or loss, see the Instructions for Schedule D (Form 1040).
If you used the home for business or to produce rental income, you may have to use Form 4797 to report the sale of the business or rental part (or the sale of the entire property if used entirely for business or rental). See Business Use or Rental of Home in Publication 523 and the Instructions for Form 4797.
The situations that follow may affect your exclusion.
You acquired your home in a like-kind exchange (also known as a section 1031 exchange), or your basis in your home is determined by reference to the basis of the home in the hands of the person who acquired the property in a like-kind exchange (for example, you received the home from that person as a gift), and
You sold the home during the 5-year period beginning with the date your home was acquired in the like-kind exchange.
Publication 547, in the case of a home that was destroyed, or
Publication 544, chapter 1, in the case of a home that was condemned.
If you financed your home under a federally subsidized program (loans from tax-exempt qualified mortgage bonds or loans with mortgage credit certificates), you may have to recapture all or part of the benefit you received from that program when you sell or otherwise dispose of your home. You recapture the benefit by increasing your federal income tax for the year of the sale. You may have to pay this recapture tax even if you can exclude your gain from income under the rules discussed earlier; that exclusion does not affect the recapture tax.
Came from the proceeds of qualified mortgage bonds, or
Were based on mortgage credit certificates.
You sell or otherwise dispose of your home at a gain within the first 9 years after the date you close your mortgage loan.
Your income for the year of disposition is more than that year's adjusted qualifying income for your family size for that year (related to the income requirements a person must meet to qualify for the federally subsidized program).
Your mortgage loan was a qualified home improvement loan (QHIL) of not more than $15,000 used for alterations, repairs, and improvements that protect or improve the basic livability or energy efficiency of your home.
Your mortgage loan was a QHIL of not more than $150,000 in the case of a QHIL used to repair damage from Hurricane Katrina to homes in the hurricane disaster area; a QHIL funded by a qualified mortgage bond that is a qualified Gulf Opportunity Zone Bond; or a QHIL for an owner-occupied home in the Gulf Opportunity Zone (GO Zone), Rita GO Zone, or Wilma GO Zone. For more information, see Publication 4492, Information for Taxpayers Affected by Hurricanes Katrina, Rita, and Wilma. Also see Publication 4492-B, Information for Affected Taxpayers in the Midwestern Disaster Areas.
The home is disposed of as a result of your death.
You dispose of the home more than 9 years after the date you closed your mortgage loan.
You transfer the home to your spouse, or to your former spouse incident to a divorce, where no gain is included in your income.
You dispose of the home at a loss.
Your home is destroyed by a casualty, and you replace it on its original site within 2 years after the end of the tax year when the destruction happened. The replacement period is extended for main homes destroyed in a federally declared disaster area, a Midwestern disaster area, the Kansas disaster area, and the Hurricane Katrina disaster area. For more information, see Replacement Period in Publication 547.
You refinance your mortgage loan (unless you later meet the conditions listed previously under When recapture applies ).
More Online Publications |