If your property was not your principal residence the entire time you owned it, then you will have to pay capital gains tax for the time it wasn't your principal residence.
You have clicked a link to a site outside of the TurboTax Community. By clicking "Continue", you will leave the Community and be taken to that site instead.