This ACH return code indicates that the two-digit transaction code used in the ACH file was incorrect for the intended transaction. Transaction codes specify whether funds are being debited or credited and what type of account is involved (checking, savings, general ledger, or loan). R57 returns occur when there's a mismatch between the transaction code and the actual transaction being processed.
Error message: "The transaction was returned because the transaction code (a code that specifies the type of transaction) was not correct."
What Causes ACH Return Code R57?
The R57 ACH return code means "Incorrect Transaction Code" and indicates that the two-digit transaction code used in the ACH entry doesn't match the intended transaction type. Transaction codes are critical components of ACH processing that tell the receiving bank whether money should be debited or credited and what type of account is involved.
For example, using transaction code 22 (credit to checking) when you meant to use code 27 (debit from checking) would trigger an R57 return. Similarly, using a checking account code when the target account is actually a savings account would cause this error. This return typically occurs due to programming errors in payment software, incorrect file formatting, or manual data entry mistakes when creating ACH files.
Can You Retry R57 Payments?
You can retry R57 payments after correcting the transaction code in your ACH file. Before reprocessing, verify that you're using the correct two-digit code that matches both the transaction direction (debit vs. credit) and the account type (checking, savings, etc.). The corrected transaction should process successfully once the proper transaction code is applied.
How to Respond to an R57 Code
An R57 return requires immediate correction of the transaction code in your ACH processing system, followed by verification that your code mappings are accurate for future transactions.
When Your Customer's Payment Fails
- Review Transaction Code Immediately
Check your ACH file to identify the incorrect transaction code that was used and determine what the correct code should be. - Verify Account Type
Confirm whether the target account is checking, savings, or another account type to ensure you select the appropriate transaction code. - Correct Code Direction
Ensure you're using a debit code (like 27 for checking) when pulling funds or a credit code (like 22 for checking) when depositing funds. - Update System Mappings
If this was caused by incorrect system configuration, update your payment software to prevent future R57 returns.
Subject: Payment Processing Issue - Technical Error Resolved
Hi [Customer Name],
We encountered a technical issue processing your recent payment due to an incorrect transaction code in our system. This was an error on our end related to how the payment was formatted.
We've identified and corrected the issue and will reprocess your payment today. No action is needed on your part - the payment will go through using the same account information you originally provided.
You should see the transaction complete within 1-2 business days. We apologize for any inconvenience this technical error may have caused.
Thanks for your patience,
[Your Company Name]
When Your Payment to Vendors Fails
An R57 return on vendor payments indicates your ACH system used an incorrect transaction code when formatting the payment file. This is typically a technical configuration issue that needs to be resolved in your payment processing system.
- Review your ACH file to identify the specific transaction code that was used incorrectly
- Verify the vendor's account type (checking vs. savings) and transaction direction (debit vs. credit)
- Correct the transaction code and update your system configuration to prevent recurrence
- Reprocess the vendor payment with the correct transaction code to ensure successful delivery
Get Unlimited Free ACH Payments
Get unlimited free ACH transfers, smart retries, and real-time payment visibility with Nickel.
Free unlimited ACH transfers
Smart retry scheduling
Real-time payment visibility

Don't just take our word for it
See why thousands of small business owners trust Nickel.