Investors & landlords

Yes, if you owned the property in 2018, you can take the deduction.

Even if you did not have income from the property yet.

For more information: Tips on Rental Real Estate