The Linea chain ID is 59144 (0xe708 in hex). Linea is a zkEVM rollup on Ethereum developed by Consensys, the company behind MetaMask. Gas is paid in ETH. Below are the exact settings MetaMask asks for, public RPC endpoints we tested on October 27, 2026, and a one-click button to add the network.
Linea Network Details for MetaMask
| Field | Value |
|---|---|
| Network name | Linea |
| RPC URL | https://rpc.linea.build |
| Chain ID | 59144 |
| Currency symbol | ETH |
| Block explorer | https://lineascan.build |
Copy these values exactly. If the RPC URL returns a different chain ID than the one you enter, MetaMask stops with a chain ID mismatch warning: that usually means a typo or an RPC for another network.
Linea RPC URLs (Tested October 27, 2026)
| RPC endpoint | Returned chain ID | Response time |
|---|---|---|
https://rpc.linea.build | 59144 | 356 ms |
https://linea-rpc.publicnode.com | 59144 | 185 ms |
We sent eth_chainId and eth_blockNumber to each endpoint from Europe on October 27, 2026; the table lists only endpoints that answered with chain ID 59144. The latest block was 32,445,547. Public endpoints are free and rate limited: for an app or a bot, use a paid provider or your own node.
How to Add Linea to MetaMask
- Click Add Linea to MetaMask above, or open MetaMask and go to Networks → Add a custom network.
- Enter the network name Linea, RPC URL
https://rpc.linea.buildand chain ID 59144. - Set the currency symbol to ETH and the block explorer to https://lineascan.build.
- Save and switch to the new network. Your 0x address is the same as on other EVM networks.
Tip: MetaMask includes Linea by default, so most users only need these settings for a custom RPC or another wallet.
Linea Sepolia Testnet
| Field | Value |
|---|---|
| Network name | Linea Sepolia |
| RPC URL | https://linea-sepolia-rpc.publicnode.com |
| Chain ID | 59141 (0xe705) |
| Currency symbol | ETH |
| Block explorer | https://sepolia.lineascan.build |
Testnet tokens come from faucets and are worth nothing. Do not send real ETH to a wallet connected to Linea Sepolia.
How to Get ETH on Linea
The widget at the top of this page is set to swap into ETH on Linea: pick the token you have on another network, enter your address and sign once. Routes, fees and timing are covered in our Linea bridge guide.
Related
- What is a chain ID? - how chain IDs protect transactions
- How to add a network to MetaMask - the manual steps in detail
- Gas tokens by chain - what each network charges fees in
- All networks: chain ID list