Crypto-assets are high-risk and volatile. You could lose all the money you put in. Education only — not financial advice. Risk disclosure

Layer 2 networks and rollups, explained

What Ethereum layer 2 networks are, how optimistic and zero-knowledge rollups differ, why withdrawals can take a week, and the risks.

In this article
  • Ethereum
Stacked highway overpasses seen from below
Photo: “highway overpasses in Portland” by brianj.lowe, public domain (Public Domain Mark), via flickr.com.

Key Takeaways

Quick answer

Layer 2 networks are systems built on top of Ethereum to make it faster and cheaper. Rollups, the design covered here, run transactions off the main chain and post the data back to Ethereum. Optimistic rollups assume batches are valid unless challenged; zero-knowledge rollups prove validity with cryptography.

  • Layer 2 is a group of networks built to scale Ethereum by processing transactions off the main chain.
  • Rollups bundle hundreds of transactions into one transaction on Ethereum, sharing its fee across users.
  • Optimistic rollups assume batches are valid unless challenged, so withdrawals to Ethereum wait out a one-week challenge period.
  • Zero-knowledge rollups post a validity proof, so withdrawals have no such delay, but proofs are costly to produce.
  • ethereum.org says many layer 2 projects are still young and somewhat experimental, and operators can censor users.

What is a layer 2 network?

The main Ethereum blockchain is called layer 1 (L1). ethereum.org defines the next level up like this: “Layer 2 (L2) is a collective term to describe a specific set of Ethereum scaling solutions.”

These solutions sit outside the main chain. ethereum.org’s developer docs explain that “Offchain solutions are implemented separately from layer 1 Mainnet - they require no changes to the existing Ethereum protocol.” Your transaction is processed by the layer 2 network first, and Ethereum is where the results are recorded and agreed.

If Ethereum, gas or smart contracts are new to you, read that guide first — layer 2 only makes sense once you know what layer 1 does.

Why does Ethereum need layer 2?

Blockchains face a trade-off often called the blockchain trilemma: security, decentralisation and scalability are hard to get all at once. ethereum.org puts it simply: “Want a secure and decentralized blockchain? You need to sacrifice scalability.”

Busy periods get expensive. ethereum.org’s gas documentation explains that when there is too much demand, users must offer higher tips to outbid other users’ transactions — see our guide to network fees (gas). ethereum.org describes the goal of scaling as increasing transaction speed and throughput “without sacrificing decentralization or security”. Layer 2 tries to do that by moving most of the work off the main chain.

A road running beneath an old stone viaduct
Photo: “Funicular arches with highway overpass above” by Eric Fischer, CC BY 2.0, via flickr.com.

How do rollups work?

Rollups are one kind of layer 2, and the kind this guide covers. ethereum.org’s definition: “Rollups perform transaction execution outside layer 1 and then the data is posted to layer 1 where consensus is reached.”

The cost saving comes from batching. “Rollups bundle (or ‘roll up’) hundreds of transactions into a single transaction on layer 1,” says ethereum.org, so the layer 1 fee is spread across everyone in the batch.

Illustrative example (hypothetical numbers): if posting one batch to Ethereum cost a fee of 5 units and the batch held 100 users’ transactions, each user’s share would be 5 ÷ 100 = 0.05 units, plus whatever the rollup itself charges. Real fees change constantly.

Because the transaction data ends up inside Ethereum blocks, ethereum.org says rollups can be “secured by native Ethereum security”. The hard question is how Ethereum knows the rollup’s results are correct. The two main answers give us the two types of rollup.

How a rollup uses EthereumUsers send transactions to a layer 2 rollup, which executes them off the main chain and bundles hundreds into one batch, then posts the batch data to Ethereum layer 1, where it is recorded and consensus is reached. Optimistic rollups assume batches are valid, allow challenges with a fraud proof and have a one-week withdrawal wait. ZK rollups post a validity proof with each batch that Ethereum checks, with no challenge delay.Userssend transactions to the rollupmany transactionsLayer 2 rollupexecutes them off the main chain,bundles hundreds into one batchposts batch dataEthereum (layer 1)data recorded; consensus reachedHow Ethereum knows the batch is rightOptimisticassumed validcan be challengedwith a fraud proofone-week waitto withdrawZK rollupvalidity proofwith each batch,checked on L1no challengedelay
Simplified rollup flow. Source: ethereum.org developer documentation on rollups, optimistic rollups and zero-knowledge rollups.

What is an optimistic rollup?

ethereum.org: “Optimistic rollups are considered ‘optimistic’ because they assume offchain transactions are valid and don’t publish proofs of validity for transaction batches posted onchain.”

Instead of proving every batch, they rely on challenges. After a batch is posted there is a challenge period, during which anyone can submit a fraud proof showing a result is wrong. ethereum.org’s plain-English summary: optimistic rollups “use fault proofs where transactions are assumed to be valid, but can be challenged if an invalid transaction is suspected.”

The trade-off is time. “Users must wait for the one-week challenge period to expire before withdrawing funds back to Ethereum,” according to ethereum.org. Some services shorten the wait: “A liquidity provider assumes ownership of a pending L2 withdrawal and pays the user on L1 (in exchange for a fee).” That means paying a fee and trusting a third party.

What is a zero-knowledge (ZK) rollup?

Zero-knowledge rollups also bundle transactions and execute them off the main chain. The difference is that each batch comes with a validity proof — in ethereum.org’s words, “a cryptographic assurance that the state-change proposed by the rollup is really the result of executing the given batch of transactions.” Ethereum checks the proof rather than waiting for challenges. Common proof systems are called ZK-SNARKs and ZK-STARKs.

The result is faster exits: “There are no delays when moving funds from a ZK-rollup to Ethereum because exit transactions are executed once the ZK-rollup contract verifies the validity proof.”

The costs are real too. ethereum.org notes that “The cost associated with computing and verifying validity proofs is substantial and can increase fees for rollup users,” and that building ZK-rollups compatible with Ethereum’s virtual machine is difficult because the technology is complex.

Optimistic vs ZK rollups: what is the difference?

Optimistic rollupZK rollup
How validity is handledAssumed valid; can be challenged with a fraud proofValidity proof posted and verified on Ethereum
Withdrawal to EthereumWait for the one-week challenge period (or pay a liquidity provider)No challenge delay once the proof is verified
Main drawback named by ethereum.orgWithdrawal delay; operators can censorCostly proofs; complex; specialised hardware may concentrate control

Source: ethereum.org developer documentation on optimistic and zero-knowledge rollups. Neither design is “better” for every use; each makes a different trade-off.

What are the risks of using layer 2 networks?

  • Young technology. ethereum.org says many layer 2 projects “are still young and somewhat experimental”, and points readers to the independent site L2BEAT for project-by-project risk assessments.
  • Censorship by operators. “Rollup operators can censor users by going offline completely, or by refusing to either produce blocks that include certain transactions in them” (ethereum.org).
  • Centralisation of provers. For ZK-rollups, “Producing validity proofs requires specialized hardware, which may encourage centralized control of the chain by a few parties” (ethereum.org).
  • Slow exits. Optimistic rollups make you wait a week to withdraw to Ethereum, or pay a third party to front the funds.
  • Bridge risk. Moving funds between Ethereum and a layer 2, or between layer 2s, uses bridges, which carry their own smart-contract and custody risks (ethereum.org). See our guide to crypto bridges.
  • Smart-contract risk and scams. ethereum.org says interactions with smart contracts are irreversible, so mistakes are hard to undo. The FBI has warned about spoofed websites that trick people into connecting their wallets to “drainer” contracts — learn the red flags of crypto scams.

Blockhorizon is an education site. Nothing here is a recommendation to use any particular network or buy any crypto-asset.

Frequently asked questions

Is a layer 2 a separate cryptocurrency?

No. As ethereum.org defines it, layer 2 is a set of scaling solutions for Ethereum, not a coin. If a project also offers a token, check what that token actually does before buying it.

Why does my withdrawal from an optimistic rollup take a week?

Because of the challenge period. ethereum.org says users must wait for the one-week challenge period to expire before withdrawing funds back to Ethereum, so that anyone can dispute an invalid batch first.

Are layer 2 networks as safe as Ethereum?

Not automatically. Rollups post their data to Ethereum, but ethereum.org warns that operators can censor users and that many projects are still young and somewhat experimental.

Did The Merge make Ethereum fees cheaper?

No. ethereum.org says The Merge was never intended to lower gas fees. Rollups take a different approach: by spreading one layer 1 fee across many users, ethereum.org says they make transactions cheaper for each user.

Next lessonCrypto bridges and their risks →

Article Sources

9 sources

Blockhorizon checks every figure, date and quotation against primary sources: regulators, statistics bodies and original technical documents. Read our editorial policy.

  1. ethereum.org — Layer 2: learn (updated 23 Jul 2026) — ethereum.org (accessed 2026-10-02)
  2. ethereum.org — Scaling (developer docs) — ethereum.org (accessed 2026-10-02)
  3. ethereum.org — Optimistic rollups (developer docs) — ethereum.org (accessed 2026-10-02)
  4. ethereum.org — Zero-knowledge rollups (developer docs) — ethereum.org (accessed 2026-10-02)
  5. ethereum.org — Introduction to blockchain bridges — ethereum.org (accessed 2026-10-02)
  6. ethereum.org — The Merge — ethereum.org (accessed 2026-10-02)
  7. ethereum.org — Gas and fees — ethereum.org (accessed 2026-10-02)
  8. ethereum.org — Introduction to smart contracts — ethereum.org (accessed 2026-10-02)
  9. FBI IC3 — Criminals Pose as NFT Developers (PSA I-080423-PSA, 4 Aug 2023) — ic3.gov (accessed 2026-10-02)

One plain-English lesson a week

Short, sourced and risk-first. No hype, no “signals”, no sales pitches.

↑↓ to moveEnter to open