Chain ID
Last Updated: November 19, 2026
A chain ID is a number that identifies a specific blockchain network, so a signed transaction is only valid on the network it was meant for. On Ethereum and other EVM networks, the chain ID is part of what the wallet signs, which stops the same transaction from being replayed on another chain.
How a Chain ID Works
When a wallet signs a transaction, it includes the chain ID in the signed data. Nodes on each network check that the chain ID matches their own. A transaction signed for Ethereum mainnet, which uses chain ID 1, will be rejected on a network with a different ID, even if both use the same addresses and keys.
Wallets also use the chain ID to know which network they are connected to. When you add a network to a wallet, its chain ID tells the wallet which RPC endpoint, explorer and currency belong together.
Where the Chain ID Came From: EIP-155
Ethereum added chain IDs after its 2016 split. When the network hard forked on July 20, 2016 to reverse The DAO hack, the original chain continued as Ethereum Classic. Both chains shared the same history and keys, so transactions could be copied from one to the other.
EIP-155, written by Vitalik Buterin and created on October 14, 2016, fixed this by adding the chain ID to the signing data. It went live in the Spurious Dragon upgrade at block 2,675,000 on November 22, 2016.
The spec folds the ID into the signature value as v = {0,1} + CHAIN_ID * 2 + 35, so a signature made for one chain fails on another. Our entry on automatic replay protection covers how this compares with the approach Bitcoin Cash used in 2017.
Example: Common Chain IDs in 2026
| Network | Chain ID | Type |
|---|---|---|
| Ethereum mainnet | 1 | Layer 1 |
| Sepolia | 11155111 | Ethereum testnet for apps |
| Hoodi | 560048 | Ethereum testnet for validators |
| Base | 8453 | Ethereum layer 2 |
Mainnet’s ID comes from the EIP-155 specification. The other IDs were checked on Chainlist on November 18, 2026. Sepolia and Hoodi are the current Ethereum testnets, as our testnet entry explains, while Holesky was deprecated in September 2025 according to ethereum.org.
Chain IDs in Newer Features
Chain IDs still matter in recent upgrades. Ethereum’s EIP-7702, live since the Pectra upgrade on May 7, 2025, lets ordinary accounts delegate to smart contract code. Each delegation includes a chain ID, and its spec says a chain ID of 0 makes the authorization valid on every chain. Wallets need to show that choice clearly, because a signature meant for one network could then be used on others.
Where to Check
- Your wallet’s network settings show the chain ID of the network you are using.
- Chainlist and the ethereum-lists/chains repository on GitHub list registered chain IDs and their RPC endpoints.
- Official documentation of each network states its own chain ID.
Limits and Risks
A chain ID only prevents replays across networks that use different IDs. Nothing forces new projects to pick a unique number, so collisions are possible in theory. Fake network entries are also a risk: adding a network from an untrusted site can point a wallet to a malicious RPC endpoint with a familiar name. Add networks from official sources only.
Chain ID vs Network ID
Ethereum clients use two numbers that are easy to mix up. The chain ID goes into signed transactions. The network ID is used when nodes find and talk to each other. On Ethereum mainnet, both are 1, so people often treat them as the same thing.
They are not always equal. Ethereum Classic uses chain ID 61 for signing, while its network ID stayed at 1 after the 2016 split. Wallets care about the chain ID. Node operators care about both.
How Apps Ask a Wallet to Switch Networks
Web apps cannot change a wallet’s network on their own. They send a request, and the wallet asks the user to approve it. EIP-3085 defines the request to add a new network, and EIP-3326 defines the request to switch to one the wallet already knows.
Both requests name the network by its chain ID, written in hexadecimal. Ethereum mainnet is 0x1, and Base, chain ID 8453, is 0x2105. The request also lists the RPC address and the block explorer. A careful user checks these details before approving.
Chain IDs Outside EVM Networks
Other ecosystems use the idea in their own way. Cosmos chains use text chain IDs, such as cosmoshub-4 for the Cosmos Hub. The number at the end often changes after a major upgrade, so old signed messages stop working on the new chain.
Frequently Asked Questions
What is a chain ID in crypto?
A chain ID is a number that identifies a blockchain network, such as 1 for Ethereum mainnet or 8453 for Base. Wallets include it in every signed transaction, and nodes reject transactions whose chain ID does not match their network. This stops a transaction signed for one chain from being copied and replayed on another chain that uses the same addresses.
Why does Ethereum need a chain ID?
After the July 2016 split that created Ethereum Classic, both chains accepted the same signed transactions, so users risked moving coins on the wrong chain. EIP-155 fixed this by adding the chain ID to what gets signed. It went live in the Spurious Dragon upgrade on November 22, 2016, and Ethereum mainnet has used chain ID 1 ever since.
Is the chain ID the same as the network name?
No. The name is a label for people, while the chain ID is the number wallets and nodes actually check. Two networks can have similar names, but each should have its own chain ID. When adding a network to a wallet, compare its chain ID and RPC address with the network’s official documentation, because a lookalike entry can point to a malicious server.
How do I find the chain ID of a network?
Open the network settings in your wallet, where the chain ID is listed next to the RPC address. You can also check the network’s official documentation or a registry such as Chainlist. Comparing two sources is a simple safety step, because a fake network entry can copy a familiar name while using a different chain ID or a malicious server.
Data sources: EIP-155 specification (eips.ethereum.org); ethereum.org networks page (updated September 23, 2026); Chainlist (read November 18, 2026); EIP-7702, EIP-3085 and EIP-3326 specifications; Cosmos Hub documentation.