Welcome to Just Answer. I am here to help you resolve your tax and finance concerns. Please feel free to ask anytime you need extra help.
Yes you can if the rental property sale closes this year. If it is not a completed deal you will not be able to claim the loss until the year the sale closes.