Linea Chain ID (59144) & RPC URL: Add Linea to MetaMask

Network settings for Linea: chain ID 59144, a working RPC URL and the explorer. Add it to MetaMask in one click, or copy the fields below.

  • Chain ID59144
  • Hex0xe708
  • Gas tokenETH
  • RPC checkedOctober 27

Non-custodial · you sign every transaction0.7% service fee, shown before you confirm

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

FieldValue
Network nameLinea
RPC URLhttps://rpc.linea.build
Chain ID59144
Currency symbolETH
Block explorerhttps://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 endpointReturned chain IDResponse time
https://rpc.linea.build59144356 ms
https://linea-rpc.publicnode.com59144185 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

  1. Click Add Linea to MetaMask above, or open MetaMask and go to Networks → Add a custom network.
  2. Enter the network name Linea, RPC URL https://rpc.linea.build and chain ID 59144.
  3. Set the currency symbol to ETH and the block explorer to https://lineascan.build.
  4. 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

FieldValue
Network nameLinea Sepolia
RPC URLhttps://linea-sepolia-rpc.publicnode.com
Chain ID59141 (0xe705)
Currency symbolETH
Block explorerhttps://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.

FAQ

What is the Linea chain ID?

The Linea chain ID is 59144, or 0xe708 in hexadecimal. Wallets use it to make sure a transaction is signed for Linea and not another network.

What is the Linea RPC URL?

A working public RPC URL is https://rpc.linea.build. We tested it on October 27, 2026: it returned chain ID 59144. Other working endpoints are listed in the table on this page.

How do I add Linea to MetaMask?

Click "Add Linea to MetaMask" on this page and approve the request in MetaMask. To add it manually, go to Networks, then Add a custom network, and enter the network name, RPC URL https://rpc.linea.build, chain ID 59144, currency symbol ETH and the explorer URL.

What token do I need for gas on Linea?

Gas on Linea is paid in ETH. Keep a small amount in your wallet, otherwise you cannot send or swap the tokens you hold there.

What is the Linea testnet chain ID?

The Linea Sepolia testnet uses chain ID 59141 (0xe705) and the RPC URL https://linea-sepolia-rpc.publicnode.com. Testnet tokens have no value.