What Is a Nonce? The Small Number Transactions Get Stuck On
Number used once: on Ethereum the nonce counts your transactions — and a single gap blocks everything after it. What it is, why stuck transactions are almost always its fault, and how to get them moving again.
Nonce literally means "number used once". In crypto you meet it in three places, but only one of them regularly costs nerves and money: the transaction nonce on Ethereum and EVM chains.
The transaction nonce: your personal counter
Every Ethereum address keeps a counter starting at 0. Your first transaction carries nonce 0, the second nonce 1, and so on. The network accepts an address's transactions only in exact order. That makes the nonce two things at once: replay protection and sequencing.
The catch: a gap blocks everything. Send transactions with nonces 5, 6, and 8 but 7 is missing — say it soured in the mempool with too low a gas price — and 8 plus everything after waits until 7 confirms. From the outside it looks like "the network is broken". In truth, your own queue is waiting.
The three classic nonce problems — and their fixes
1. The stuck transaction. Symptom: "pending" for hours, follow-ups piling up. Diagnosis: check the stuck transaction's nonce in an explorer, compare gas price — or read the signed raw transaction directly with the Transaction Decoder, without trusting an explorer. Fix: replace — same nonce, higher gas price, otherwise identical. That invalidates (cancels) the old one. To compute what the replacement costs: ETH Unit Converter.
2. The gap. Symptom: a higher-nonce transaction never confirms although gas is fine. Fix: deliberately send the missing nonce (possibly a 0-ETH transaction to yourself — it still costs gas).
3. The address mix-up. Symptom: the nonce seemingly jumps. Cause: almost always, you sent from a different address than you thought (e.g., a second wallet in the same interface). Every address has its own counter — never mix them. Before resending, check the address: format and checksum via the Address Validator.
The other two nonces (briefly)
Mining nonce (Bitcoin, historically Ethereum): In proof-of-work, miners guess a nonce in the block header until the hash falls below target. Pure electricity lottery — conceptually interesting, irrelevant for your transactions, especially since Ethereum moved to proof-of-stake.
Cryptographic nonce: Encryption (e.g., AES-GCM) and signatures need one-time numbers so identical plaintexts produce different ciphertexts and signatures can't be replayed. That happens deep inside libraries — you only need to have heard of it to place the term.
Rule of thumb
The nonce is your address's ordering guarantee: gapless, ascending, separate per address. When something "sticks" on Ethereum, the first question is never "is the network congested?" but "which nonce is missing?". Read it off the explorer, close the gap or replace — and secure the new transaction with a test amount and a verified address first.
How addresses and keys come to exist at all (and why the nonce only enters afterwards) is in How a Wallet Actually Works — and what all this has to do with balances vs. coins is in UTXO vs. Account Model.
For setups with real amounts — your own nonce policy, gas strategy, custody concept — as always: understand first, then test, and at scale start a conversation.
Sources:
Fundamentals
- Ethereum Foundation: Transactions (nonce, gas, lifecycle)
- Ethereum Foundation: Gas and fees (gas price, replacement transactions)
- Ethereum: EIP-155 — Simple replay attack protection (chain ID as replay protection)
Further on this site