How does my mortgage get paid off?

An escrow account is opened once the contract is signed. On the closing date you choose, the escrow agent will send the payoff amount to your mortgage lender, and the remaining funds will be wired to your bank account.