Mortgage Interest Deductions

We are married and sold our house (primary residence) on  April 10,  2019 and paid off the mortgage (taken out in 2013)  of $820,000. On the same day (April 10, 2019) we used the sale money to purchase  a new house (our new primary residence)  with a new mortgage of $650,000. The question is -  can we write off BOTH mortgage interest deductions  even though   the total amount of the loans for 2019 is more than 1 million dollars — Yet we only owed 1 home in 2019? Turbo tax seems not to like this 🙂