But what if you have made a profit on your house, but sell it before the magic two years spelled out in the tax law?
In l997, when Congress enacted this favorable legislation, it had absolutely no inkling that the real estate market in the early 2000's would be so hot, and that so many homeowners would make such large profits on their home sales -- even if they did not own their property for the full two years. However, Congress did provide reduced exclusions if prior to holding the property for the full two years, the homeowner had to sell due to a change in employment, health reasons or "unforseen circumstances".
The IRS has established certain "safe harbors". If the taxpayer falls within one of these safety zones, they will automatically be entitled to the appropriate exclusion of gain.
Here are some of the "safe harbors":
Employment: If your new place of employment is at least 50 miles father from the residence sold than was the former place of employment, the homeowner who sells his/her home in order to be closer to the job can take a proportionate exclusion of gain. For example, if the homeowner owned the home for only one year, that homeowner would be entitled to exclude half of either the $250,000 or the $500,000 exclusion, depending on the marital and tax filing status of the taxpayer. According to the regulations, employment is defined as "the commencement of employment with a new employer, the continuation of employment with the same employer, or the commencement or continuation of self-employment."
Health: if a doctor recommends a change of residence for reasons of health, this will be a safe harbor. What determines "health"? According to the IRS, "if the taxpayer's primary reason for the sale is (l) to obtain, provide, or facilitate the diagnosis, cure, mitigation, or treatment of disease, illness, or injury... or (2) to obtain or provide medical or personal care for a qualified individual suffering from a disease, illness or injury." It should be noted that "qualified individuals" includes family members who are in need of medical assistance away from the principal residence.
The IRS made it clear, however, that a sale of the family home merely because it is beneficial to the general health or well-being of the taxpayer will not fall within the safe harbor.
Unforseen Circumstances: Congress passed the buck to the IRS to come up with definitions -- safe harbors -- under this amorphous category. The IRS rose to the challenge, by providing that the following events would be considered "safe harbors", on the condition that these events involve the taxpayer, his/her spouse, co-owner or a member of the taxpayer's household:
- being terminated from employment and thus eligible for unemployment compensation;
- a change in job status that results in the taxpayer being unable to pay the mortgage and reasonable basic living expenses for the taxpayer's household;
- divorce or legal separation;
- multiple births resulting from the same pregnancy;
- Involuntary conversion of the property -- such as a condemnation by a governmental authority, and
- destruction of the property because of a man-made disaster, an act or war or terrorism.
Taxpayers who believe that they are entitled to claim an exemption because they fall into one of these safe harbors should immediately consult their tax advisors -- and preferably before you sell.
Determining the safe harbor is the easy part; calculating the applicable exclusion may require a graduate degree in mathematics. According to the IRS, "to figure the portion of the gain allocated to the period of non-qualified use, multiply the gain by the following fraction:
Total nonqualified use during the period of ownership (after 2008 for 2013 tax returns) / Total period of ownership
For more information, check out IRS Publication 523, "Selling Your Home", available free from irs.gov/publications.