Can we move into our rental property, live there as our main home for two years, and sell it without having to pay capital gains tax?
You may be able to exclude your gain from the sale of your main home that you have also used for business or to produce rental income if you meet the ownership and use tests, detailed in Publication 523, Sale of Your Home. However, if you were entitled to take depreciation deductions because you used your home for business purposes or as rental property, you cannot exclude the part of your gain equal to any depreciation allowed or allowable as a deduction for periods after May 6, 1997. (Note: If you can show by adequate records or other evidence that the depreciation deduction allowed (did deduct) was less than the amount allowable (could have deducted), the amount you cannot exclude is the smaller of those two figures.) The gain, exclusion, and depreciation recapture should be reported on Form 1040, Schedule D (PDF), Capital Gains and Losses, as described in Publication 523, Selling Your Home.