Mortgage interest

Due to job relocation, I have sold my house in California (Property in California was purchased in 2007 and sold 07/03/2019 loan balance was 360,000 which was paid off when the house sold) I purchase my new home in the state of Massachussets loan amount 500,000. Do I need to limit my mortgage interest deduction?