Deductions & credits

You must answer "yes."  Sorry the help is wrong.  This is a very complicated issue and the IRS doesn't even do a good job explaining it  in their publications.  (I think the last time they tried to explain it was the 2013 version of publication 523).  Essentially, you can't exclude your gain on a rental by moving into it for a short time as your main residence.

 

You can exclude the gain for periods of "qualified use."  Qualified use includes a period of time after you move out to use it as a rental (as long as you sell within three years), but not if you move back.  It's hard to explain in words, a picture is better.

 

 

image.png

 

If you sell after moving out, the time between remains qualified for the exclusion, as long as you meet the 2y/5y rule to qualify for any part of the exclusion.  But if you move back in after you move out, the period of time when the house was not your main residence becomes non-qualified for the exclusion.

 

Turbotax will calculate your tax correctly even though the rules are hard to find in writing.  Approximately, you have 5 years of qualified ownership (2011-2012 and 2018-2022) out of a total 11 years of ownership, that's 45%.  So after you figure your capital gains, you will pay capital gains tax on 55% of the gain, and you can apply your personal exclusion of $250,000 toward the other 45% of the gain.

 

You can use months or exact days to calculate the appropriate periods of qualified, non-qualified and total ownership.

 

And since this was a rental, your calculation becomes even more complicated.   Your capital gains includes the results of depreciation you took or could have taken while the home was a rental.  You pay depreciation recapture on the part of the gain due to depreciation at regular income tax rates, with a maximum of 25%.  Then 55% the rest of the gain is taxed as a long-term capital gain, and 45% of the depreciation is applied against your personal exclusion.