What if you rent out your home, and depreciate it while you rent it out, then move back in later for a couple years, then sell, do you have to pay the capital gains tax?
For example if you purchased the home for 250k, and it appreciated to 500k, then decided to rent it, depreciate it, then move back in later and sell. Wondering how the taxation would work. Thanks for the help