Q. When do I repay the full credit?
A. Here are the conditions when you must repay the full amount of the credit:
You sold your main home to a related person or entity.
Your home is destroyed, condemned or disposed of under threat of condemnation and you do not purchase or rebuild a replacement home within two years.
You converted the entire home to a rental or business property.
You converted the home to a vacation or second home.
You no longer live in the home for the greater number of nights in a year.
Q. When do I repay all or a part of the credit?
A. Here are the conditions under which you repay all or a part of the credit:
You sold your main home to a non-related person or entity. You repay the remaining amount of the credit limited to the amount of your gain. Note: when calculating gain or loss on your main home, you reduce your basis by the amount of the credit you received that you have not previously repaid. See Publication 551, Basis of Assets, for more information.
You lost your home in a foreclosure. You must repay the credit only up to the amount of gain.
For example, you purchased a principal residence for $95,000 on April 30, 2010, and took the $8,000 credit. You sell your principal residence to an unrelated person for $90,000 on Feb. 14, 2012. To determine if you must repay any amount of credit, you must adjust the basis of the property by $8,000, which is the amount of the credit you received. The revised basis is $87,000 ($95,000 minus $8,000). The gain on the sale is $3,000, which is the amount of credit that you must repay with the tax return for the year of the sale of the principal residence.