What expenses can you deduct when renovating a rental property?

The purpose of the renovations, as well as the occupancy of the building, can influence whether the expenses are tax deductible or not.