Nonce
Last Updated: November 16, 2026
A nonce is a random or sequential number used only once in blockchain transactions or cryptographic processes. It helps ensure security, uniqueness, and proper order of operations.
In cryptography the word is often read as “number used once.” In crypto it has two everyday meanings that share a name but not a job. In proof-of-work mining, the nonce is a field in the block header that miners change while searching for a valid hash. On Ethereum, every account has a nonce that counts the transactions it has sent.
How Nonces Are Used
In proof-of-work blockchains like Bitcoin, miners repeatedly change the nonce in a block’s header to find a valid hash and solve the block. In Ethereum, a nonce is also used to track the number of transactions sent from an address, preventing double-spending or replay attacks.
The Mining Nonce in Bitcoin
A Bitcoin block header is 80 bytes, and its last 4 bytes hold the nonce, a 32-bit number with about 4.29 billion possible values. Miners hash the header twice with SHA-256. If the result is higher than the network’s target, they change the nonce and try again, according to Bitcoin’s developer documentation. The guide to mining bitcoin covers the hardware side.
Example: block 976,170, mined at 18:36 UTC on November 16, 2026, was found with the nonce 2,675,311,566, according to mempool.space. Its block hash starts with 20 zeros in hexadecimal, which is what a hash under the target looks like. At that block’s difficulty of about 134.8 trillion, miners need on average about 135 trillion full passes through all 4.29 billion nonce values to find one block.
That is why the 32-bit nonce runs out almost at once. Mempool.space estimated the network at about 975 EH/s on November 16, 2026, enough to go through every nonce value more than 200 billion times a second. Miners therefore also change a field in the block’s first transaction, the coinbase, often called the extra nonce. That changes the Merkle tree root and gives them a fresh header to hash.
Mining chips can also change spare bits of the header’s version field. BIP 320, a draft proposal from 2018, sets aside 16 of them, bits 13 to 28, and notes that mining chips can use up the 32-bit nonce in under 200 milliseconds. The version field of block 976,170, 0x2000e000, has bits from that range set.
The Account Nonce in Ethereum
On Ethereum, the nonce is a counter stored with each account. For a regular wallet it is the number of transactions the account has sent, and for a contract it is one more than the number of contracts it has created, according to ethereum.org. Each new transaction must use the next number, and only one transaction with a given nonce can be executed.
That rule blocks replay attacks, because a signed transaction cannot be broadcast again and run twice. It also explains a common wallet problem. If a transaction with nonce 7 is stuck with a fee that is too low, later transactions with nonces 8 and 9 wait behind it. Sending a new transaction with nonce 7 and a higher fee replaces the stuck one.
Ethereum blocks also still carry a nonce field from the proof-of-work era. Since the network moved to proof of stake in September 2022, that field is always zero. Block 26,429,592, produced at 19:10 UTC on November 16, 2026, showed 0x0000000000000000 when read from a public Ethereum node.
Why Nonces Matter
Nonces add unpredictability and structure to blockchain systems. They make it harder for malicious actors to manipulate transactions and ensure that each action, like sending funds or mining a block, is distinct and verifiable.
Where to Check It
Mempool.space shows the nonce of every Bitcoin block on its block pages. On Ethereum, Etherscan lists the nonce of each transaction, and wallets such as MetaMask offer an advanced setting to choose the nonce when sending.
Limits and Risks
The mining nonce offers no shortcut. Every value has the same tiny chance of producing a valid hash, so a miner’s odds depend only on hashing power. On Ethereum, the main practical risk is a stuck queue: a low-fee transaction holds up every later one from the same account, and sending from one account through two wallets at once can create conflicting nonces.
Frequently Asked Questions
What does nonce mean in crypto?
It is a number meant to be used once. In Bitcoin mining it is a 32-bit field in the block header that miners change to search for a valid block hash. On Ethereum it is a counter of the transactions an account has sent, which keeps every transaction unique and stops the same signed transaction from being executed twice.
How do miners find the right nonce?
They cannot calculate it, so they guess. A miner fills in the header, hashes it twice with SHA-256 and checks whether the result is below the target. If not, it changes the nonce and tries again, billions of times a second. When all 4.29 billion values are used up, it changes the extra nonce or the timestamp and starts over.
Why is my Ethereum transaction stuck because of a nonce?
Transactions from one account must be executed in nonce order. If an earlier transaction has a fee that is too low, every later one waits behind it. Most wallets let you speed it up or cancel it by sending a new transaction with the same nonce and a higher fee, which replaces the original once a block includes it.
Data sources: Bitcoin developer documentation (block headers), mempool.space (block 976,170 and network hashrate estimate, read 19:09 to 19:10 UTC, November 16, 2026), BIP 320 (draft, 2018), ethereum.org accounts page, public Ethereum node (block 26,429,592, 19:10 UTC, November 16, 2026).