The payroll will get posted to the old bank account if it's still active. If it's already closed, there's a possibility that the payroll will be rejected or routed to the new account. I'd suggest contacting our payroll support team to perform a Direct Deposit trace.
In your Quickbooks company file, click (?) Help.
Click Contact us.
Don't hesitate to leave a comment below if you have other Direct deposit concerns. Thanks!