Investors and rental owners

Yes, if you sell a rental property, you will have to pay tax on any gains that you made.