Investors & landlords

If you sold it in 2019 it goes on your 2019 return we file in 2020.

 

The mortgage doesn't factor into it.  Your cost is the purchase price you paid whether you get a mortgage or not.  Your gain or loss is simply Sales Price - Purchase cost.