A debt collector gains access to your bank account through a legal process called garnishment. If one of your debts goes unpaid, a creditor—or a debt collector that it hires—may obtain a court order to freeze your bank account and pull out money to cover the debt. The court order itself is known as a garnishment.