Deductions & credits

Hello. I’m still not understanding under what circumstances I would not be allowed to take the mortgage interest deduction. I am itemizing which is what the software recommended.  And I don’t make over $200,000 a year. The TurboTax software has me down is zero dollars. Chase