Depending on your filing status. For example if you file as a Real Estate Professional you can. You do not need to be a realtor or mortgage broker or have any license to qualify for a Real Estate Professional. I assume that you are speaking of your primary home, but if it is an investment property then you will want to speak with your tax professional. Good luck!