ACH transaction codes

The two-digit code on every payment line of an ACH file, and what each one means.

Type a code like 27, or words like "savings debit" or "prenote".

Showing all 30 codes.

Code Account type Credit or debit Kind
21 Checking Credit Return or NOC
22 Checking Credit Payment
23 Checking Credit Prenote
24 Checking Credit Zero-dollar
26 Checking Debit Return or NOC
27 Checking Debit Payment
28 Checking Debit Prenote
29 Checking Debit Zero-dollar
31 Savings Credit Return or NOC
32 Savings Credit Payment
33 Savings Credit Prenote
34 Savings Credit Zero-dollar
36 Savings Debit Return or NOC
37 Savings Debit Payment
38 Savings Debit Prenote
39 Savings Debit Zero-dollar
41 General ledger Credit Return or NOC
42 General ledger Credit Payment
43 General ledger Credit Prenote
44 General ledger Credit Zero-dollar
46 General ledger Debit Return or NOC
47 General ledger Debit Payment
48 General ledger Debit Prenote
49 General ledger Debit Zero-dollar
51 Loan Credit Return or NOC
52 Loan Credit Payment
53 Loan Credit Prenote
54 Loan Credit Zero-dollar
55 Loan Debit Reversal only
56 Loan Debit Return or NOC

Free. No signup. The list is the one our file tools use, checked against the sources at the bottom of this page.

Checked against 6 sources. Last reviewed .

How to use this list

  1. Find the two-digit code. In an ACH file it is in positions 2 and 3 of every line that starts with 6.
  2. Type it in the box, or type words such as “savings debit”.
  3. Read across the row. It shows the type of account, whether the entry is a credit or a debit, and what kind of entry it is.

A credit puts money into the account. A debit takes money out.

What a transaction code is

Every payment in an ACH file carries a transaction code. Nacha describes its job in one sentence: it identifies the payment as a debit or a credit, and shows the type of account it is meant for.

The code sits on the payment line, which is called the entry detail record. It is a required field with two digits. The NACHA file format guide shows the whole line, and the ACH file viewer reads the code for you.

How the two digits work

The first digit is the type of account.

First digitAccount type
2Checking
3Savings
4General ledger
5Loan

For checking, savings and general ledger accounts, the second digit is what the entry does.

What the entry doesSecond digit for a creditSecond digit for a debit
Return or NOC16
Payment27
Prenote38
Zero-dollar49

So 32 is a payment that credits a savings account, and 28 is a prenote for a checking debit.

Loan codes follow the same pattern for credits (51 to 54). Loan accounts have only two debit codes: 55 for a debit, and 56 for the return or NOC of that debit.

The four kinds of code

  • Payment. An entry that moves money. These are the codes you put in a file you send: 22 and 27 for checking, 32 and 37 for savings.
  • Prenote. A zero-dollar test entry that lets the receiving bank check the account details before the first real payment. See the ACH prenote guide.
  • Zero-dollar. A zero-dollar entry that carries remittance data and no money. Bank guides list them for CCD and CTX payments. Codes 24 and 34 are also used for acknowledgment entries (ACK and ATX). See CCD, CCD+ and CTX.
  • Return or NOC. The code on an entry that comes back to you: a returned payment or a Notification of Change. See what a return file looks like, the list of ACH return codes and the list of NOC codes.

Checking, savings, general ledger and loan accounts

  • Checking and savings. These are the codes a business uses to pay people and to collect from them. Ask the account holder which type the account is. Do not guess.
  • General ledger. These codes are for a financial institution’s general ledger accounts, not for a customer’s checking or savings account. Use one only if the receiving bank tells you to.
  • Loan. Only credits can be sent to a loan account. The loan debit code, 55, is only for a reversal that corrects a payment sent in error.

Where this list comes from

Nacha’s public guide for developers lists eight codes: 22, 23, 27, 28, 32, 33, 37 and 38. For the full list it points to the Nacha Operating Rules. We confirmed the other codes in this table from guides published by banks and by EPCOR, a payments association. They are listed under Sources.

The table is the same list that the file tools on this site use. So the ACH file viewer and the NACHA file validator read each code the way this page does.

Common mistakes

  • The wrong account type. A savings account paid with a checking code, such as 22 instead of 32, can come back as a return. The bank may also post the payment and send a Notification of Change with code C05, which asks you to correct the transaction code.
  • A credit code on a debit, or the other way around. 22 puts money into a checking account. 27 takes money out of it. Check the direction before you send a file.
  • An amount on a prenote. A prenote must be for zero dollars. The same is true of the zero-dollar codes.
  • A batch that does not match its codes. A batch marked credits only (service class code 220) cannot hold a debit code, and a batch marked debits only (225) cannot hold a credit code. The NACHA file validator checks this for you.

Questions and answers

What is ACH transaction code 22?

Code 22 is a credit to a checking account. It is the code on a deposit, such as direct deposit of pay into a checking account.

What is ACH transaction code 27?

Code 27 is a debit to a checking account. It is the code on a payment collected from a checking account, such as a bill paid by ACH debit.

What is ACH transaction code 32?

Code 32 is a credit to a savings account. It is the code on a deposit into a savings account.

What is ACH transaction code 37?

Code 37 is a debit to a savings account. It is the code on a payment collected from a savings account.

What do ACH transaction codes 21 and 26 mean?

They mark a return or a Notification of Change. Code 21 is for a checking credit and code 26 is for a checking debit. You see them in files that come back from the bank, not in the payments you send. For savings accounts the codes are 31 and 36.

Which transaction code does a prenote use?

A prenote uses 23 for a checking credit, 28 for a checking debit, 33 for a savings credit and 38 for a savings debit. The amount is zero. See the ACH prenote guide.

Where is the transaction code in an ACH file?

It is in positions 2 and 3 of each entry detail record, the lines that start with 6. So a line that starts with 622 is a checking credit, and a line that starts with 627 is a checking debit.

Is a transaction code the same as an SEC code?

No. The transaction code has two digits and sits on each payment. It says what type of account the payment is for and whether it is a credit or a debit. The SEC code has three letters and sits on the batch. It says what kind of payment it is and how it was authorized. See ACH SEC codes.

Sources

  1. ACH file overview (what the transaction code is, the eight everyday codes), Nacha
  2. ACH Return, NOC and Transaction Codes (checking and savings codes), Commerce Bank
  3. Corporate User ACH Quick Reference Card, 2024 (general ledger and loan account codes), EPCOR, hosted by Farmers Bank & Trust
  4. ACH Quick Reference Guide, 2024 edition (every code in this list, with loan account codes 51 to 56), EPCOR, hosted by Exchange Bank
  5. ACH Origination Guide, April 2024 (loan account codes 51 to 53), United Community Bank
  6. NACHA File Specifications (zero-dollar codes for CCD and CTX), First Citizens Bank

Last reviewed . How we check our information. Report a mistake on this page.

General information, not legal or financial advice. Rules change and banks set their own requirements. Check with your bank before you act. ACH Forms is not affiliated with Nacha.