Nacha rules

You never signed with Nacha, and its rules still apply to you

Nacha writes the operating rules for the ACH Network. You don't sign them; your bank does, and its agreement with you passes them down, often via your processor's terms. Most of the rulebook is for banks. These are the parts that end up in your code and your dashboards, checked against Nacha's own pages on 10 November 2026. The return handling code is from chapter 32.

This is engineering guidance, not legal advice. Your ODFI's agreement and the current Nacha Operating Rules govern, and your bank is the one to confirm how they apply to you.

Nacha's rules bind everyone who originates ACH entries, directly through a bank or indirectly through a processor. For an integrator, six of them do most of the damage: authorization, account validation on WEB debits, return-rate thresholds, the limit on retries, the 2026 fraud-monitoring requirements, and the new standard entry descriptions. Break the first four and your bank hears about it from Nacha. Ignore the fifth and you're out of compliance with a rule that has applied to every business originator since June 2026.

1. Get the Authorization Right

For consumer debits, Nacha requires an authorization that is in writing or similarly authenticated, with clear and readily understandable terms. For recurring consumer debits you have to tell the customer how to revoke it. For business accounts, the two parties need an agreement that binds both to the Nacha rules. When the customer's bank asks for proof, you need to produce a copy within 10 days (Nacha, ACH Guide for Developers).

In code, that means storing the authorization text the customer saw, the timestamp, the account it covers and how it was authenticated, keyed to every entry you send against it.

2. Validate the Account on WEB Debits

A WEB debit is one authorized over the internet or a wireless network. Since 19 March 2021, originators of WEB debits must screen them with a "commercially reasonable fraudulent transaction detection system" that, at a minimum, validates the account to be debited. It applies to the first use of an account number and to any change of account number (Nacha). Micro-deposits or an instant verification service both do the job. Skipping it saves you a step and costs you the return rates below.

3. Stay Under the Return Rate Thresholds

MeasureThresholdCodes countedWhat happens over it
Unauthorized returns0.5% of debitsR05, R07, R10, R29, R51The ODFI faces Nacha's obligations and possible enforcement
Administrative returns3.0%R02, R03, R04Not an automatic violation; triggers a review
Overall returns15.0%All debit returns except RCKPreliminary inquiry; may lead to a required reduction

Each rate is measured over the preceding 60 days or two calendar months, against the debits you sent (Nacha). Fines are possible only at the end of an enforcement proceeding, but your bank won't wait for one. Track all three rates per originator, daily, and alert well below the line.

4. Retry R01 Twice, and Never Retry an Unauthorized Return

You can reinitiate a returned entry, such as an R01 for insufficient funds, but reinitiation is limited to two times (Nacha). A permitted retry carries "RETRY PYMT" in the Company Entry Description. Reinitiating an entry that came back as unauthorized is an improper reinitiation, full stop. Your retry scheduler should read the return code before it reads the calendar.

5. The 2026 Fraud Monitoring Rules

Nacha's Risk Management package added fraud-monitoring duties in two phases:

PhaseEffectiveWho
120 March 2026All ODFIs. Non-consumer originators, third-party service providers and third-party senders with 2023 ACH origination volume of 6 million or more. RDFIs with 2023 receipt volume of 10 million or more
219 June 2026 (comply by 22 June, after the holiday)All other non-consumer originators, third-party service providers, third-party senders and RDFIs

As of 10 November 2026 both phases are in force, so if your business originates ACH, the rule applies to you. You need risk-based processes and procedures "reasonably intended to identify ACH Entries initiated due to fraud," reviewed at least annually. You don't have to screen every entry individually or hold entries before processing (Nacha).

The rules also bring in False Pretenses: a payment induced by someone misrepresenting their identity, their authority to act for someone else, or the ownership of the account being credited. That's business email compromise, vendor impersonation and payroll impersonation. A buyer unhappy with poor-quality goods is not False Pretenses.

6. Use the New Entry Descriptions

From 20 March 2026, PPD credits for wages and salaries carry the Company Entry Description "PAYROLL", and WEB debits for the online purchase of goods carry "PURCHASE" (Nacha). If you build NACHA files yourself, that's a field change; if a processor builds them, check it passes the description through.

What's Next

Nacha's list of upcoming rules includes the Same Day ACH limit rising from $1 million to $10 million on 17 September 2027 (Same Day ACH has the details) and a new return reason code, R90, for sanctions-related returns on 17 March 2028. Read the ACH basics first if any of the codes above are new to you.

A NACHA file and the return handling around it, in Python. From chapter 32.

ACH: The Workhorse of B2B

ACH (Automated Clearing House) moved $93 trillion across 35.2 billion payments in the US in 2025, and about 8.1 billion of those were business-to-business (Nacha). It's slow, it's boring, and it's the rail you'll spend the most code on.

The processor below builds the NACHA file your bank's origination system expects: a file header, a batch header per transaction class, the entry detail records, and the control totals. The classes are PPD for consumers, CCD for corporate, CTX when the payment needs addenda records carrying invoice detail, and WEB for internet authorizations. Get a control total off by a cent and the bank bounces the whole file. The processor also handles what comes back, because a NACHA file is a conversation: returns arrive with a code, and the code decides whether you retry, revoke, or pick up the phone.

from datetime import datetime
from decimal import Decimal

class ACHPaymentProcessor:
    """
    Generate NACHA-formatted ACH files for batch payments
    ACH Network: $93T across 35.2B payments in 2025 (Nacha)
    """

    def create_ach_file(self, payments: list, batch_type: str):
        """
        Generate NACHA file with proper structure:
        - File Header Record (1 record): Priority code, routing validation
        - Batch Header Records: PPD/CCD/CTX/WEB transaction types
        - Entry Detail Records: 94-char fixed-width (routing, account, amount)
        - Addenda Records: Invoice numbers, remittance data
        - Batch Control Records: Hash totals, debit/credit sums
        - File Control Records: Final totals
        - Block Padding: 940-character blocks
        """

        # File header (Record Type '1')
        file_header = {
            'record_type': '1',
            'priority_code': '01',
            'immediate_destination': self.routing_number,  # 10 digits
            'immediate_origin': self.company_id,  # 10 digits
            'file_creation_date': datetime.now().strftime('%y%m%d'),
            'file_id_modifier': 'A',  # A-Z for same-day files
        }

        # Batch header (Record Type '5')
        batch_header = {
            'record_type': '5',
            'service_class_code': '200',  # 200=mixed, 220=credits, 225=debits
            'company_name': self.company_name,
            'company_id': self.company_id,
            'standard_entry_class': batch_type,  # PPD, CCD, CTX, WEB
            'batch_number': self.get_next_batch_number(),
        }

        # Entry details (Record Type '6') - 94 characters fixed-width
        for payment in payments:
            entry = {
                'record_type': '6',
                'transaction_code': '22',  # 22=checking credit, 27=checking debit
                'receiving_dfi': payment['routing'][:8],  # First 8 of routing
                'check_digit': payment['routing'][8],  # 9th digit
                'dfi_account': payment['account'].ljust(17),  # 17 chars padded
                'amount': str(int(payment['amount'] * 100)).zfill(10),  # Cents, 10 digits
                'individual_name': payment['recipient_name'][:22],  # 22 chars max
                'trace_number': f"{self.routing_number[:8]}{self.sequence:07d}",
            }

            # Addenda record (Record Type '7') for remittance info
            if payment.get('invoice_numbers'):
                addenda = {
                    'record_type': '7',
                    'addenda_type': '05',
                    'payment_data': f"INV: {','.join(payment['invoice_numbers'])}",
                    'sequence_number': '0001',
                }

        # Batch control (Record Type '8')
        batch_control = {
            'entry_hash': self.calculate_routing_hash(payments),  # Sum of routing numbers
            'total_debit': sum(p['amount'] for p in payments if p['type'] == 'debit'),
            'total_credit': sum(p['amount'] for p in payments if p['type'] == 'credit'),
        }

        # Submit to NACHA network
        # Standard: 1-2 business days
        # Same-day: 10:30 AM, 2:45 PM, 4:45 PM ET cutoffs
        return self.format_nacha_file(file_header, batch_header, entries, batch_control)

    def handle_ach_returns(self, return_file):
        """
        Process 60+ ACH return codes:
        - R01/R09: Insufficient or uncollected funds -> Retry in 3-5 days,
          at most twice within 180 days of the original settlement, same
          amount, "RETRY PYMT" in the entry description (Nacha)
        - R02/R03/R04: Account issues -> Contact customer for new banking info
        - R05/R07/R10/R29: Authorization disputes -> Revoke ACH, never retry
        - Customer flagging (NSF flags, authorization revoked)
        """

The snippets in this chapter are trimmed to the parts worth reading. The complete ACH and invoicing implementations are in the example files listed at the end of the chapter.

Questions

What are the Nacha return rate thresholds?

Unauthorized debit returns must stay under 0.5%, administrative returns (R02, R03, R04) under 3.0%, and overall debit returns under 15.0%, measured over the preceding 60 days or two calendar months (Nacha).

What are the 2026 Nacha fraud monitoring rules?

Originators, third parties, ODFIs and RDFIs must run risk-based processes to identify ACH entries initiated due to fraud, including payments induced under False Pretenses, and review them at least annually. Phase 1 took effect on 20 March 2026 for the largest participants and all ODFIs; Phase 2 on 19 June 2026 for everyone else.

How many times can you retry a returned ACH payment?

Nacha limits reinitiation to two times, with "RETRY PYMT" in the Company Entry Description. An entry returned as unauthorized must not be reinitiated.

What does Nacha require for WEB debits?

WEB debits must be screened by a commercially reasonable fraudulent transaction detection system that, at a minimum, validates the account to be debited, on the first use of an account number and whenever it changes.

What the book adds

What chapter 32 adds

  • The full NACHA file generator, with control totals
  • Return handling for 60+ codes, by action
  • PPD, CCD, CTX and WEB batches, and when each applies
  • Remittance data in CTX addenda, and reconciling against it

30-day money-back · Instant PDF and EPUB

All 42 chapters