Blockchain · Explainer
What Is a Layer 2 in Crypto? How L2s Work
A layer 2 (L2) is a network or system designed to handle transactions with help from an underlying blockchain. Learn how rollups work, what security they inherit, how bridges fit in, and what to check before using an L2.
By the DappsAtlas editorial team · Updated

What is a layer 2 in crypto?
A layer 2 (L2) is a network or system built to process transactions with help from an underlying blockchain, often called its layer 1 (L1) or base layer. The aim is to make activity faster, cheaper, or more capable without asking the base chain to execute every transaction individually.
A useful example is a busy road system. The base chain is the main road where important records are ultimately anchored; an L2 handles more local traffic and periodically reports information back. This is only an analogy: the actual security connection depends on how the L2 is designed.
Ethereum is the best-known base chain for rollups, but the term L2 is also used in discussions of Bitcoin scaling. Bitcoin-related systems can use different mechanisms, and people do not always agree on whether a particular design meets a strict definition of an L2. The label is not a guarantee of decentralization, security, or compatibility.
In practice, L2s let users interact with apps, transfer tokens, and execute smart contracts in a separate environment. Their transactions may later be settled or recorded on a base chain. To understand what protection that provides, look beyond the name and check what data and proofs are actually posted to the underlying network.
How does a layer 2 process transactions?
Most rollup transactions follow a sequence like this, although implementation details differ:
- You submit a transaction. Your wallet sends it to the L2, usually through software called a sequencer. The sequencer orders transactions and may provide a quick confirmation.
- The L2 executes activity. Its software updates account balances and smart-contract state. Users share the cost of processing and reporting batches of transactions, which can make individual transactions cheaper.
- The system batches results. Instead of sending every transaction separately to the base chain, the L2 groups transactions or publishes a compact representation of them.
- Information is posted or committed. A rollup publishes transaction data, a state commitment, or both to its base chain. The precise arrangement determines what users can verify and what information is available to reconstruct the L2's state.
- The base chain provides a final checkpoint. Depending on the design, the L1 verifies a validity proof, allows challenges to a proposed result, or plays another role in settlement.
A quick confirmation from an L2 sequencer is not necessarily the same as final settlement on the base chain. Nor does posting a commitment alone prove that every part of the system is decentralized. Check the network's documentation for its confirmation, withdrawal, and data-publication process.
What is the difference between optimistic and ZK rollups?
Optimistic rollups generally treat a submitted batch as correct unless someone successfully challenges it during a defined dispute period. They use fraud-proof mechanisms to contest invalid state changes. This approach can make withdrawals back to the base chain slower when they must wait for the challenge period, although third-party services may offer faster routes with separate costs and risks.
Zero-knowledge (ZK) rollups use cryptographic validity proofs to show that a batch follows the network's rules. The base chain can verify the proof rather than re-executing every transaction. The term “zero-knowledge” refers to a family of cryptographic techniques; it does not mean transactions are automatically private. Many ZK rollups publish transaction data publicly.
| Feature | Optimistic rollup | ZK rollup |
|---|---|---|
| Main verification approach | A result can be challenged with a fraud proof | A validity proof demonstrates correctness |
| Typical withdrawal consideration | Challenge periods can delay native withdrawals | Proof generation and verification affect settlement |
| Main design trade-offs | Dispute system, data access, and operational controls | Proof complexity, costs, and system maturity |
These are broad categories, not a full security assessment. Networks may change their proof systems, rely on permissioned operators, or use different data-availability arrangements. Compare the live design and its limitations rather than assuming every project in a category works identically.
How is an L2 different from a sidechain or other scaling system?
The term L2 is sometimes used loosely for any network that makes a base chain more scalable. That can obscure important differences.
A rollup executes transactions separately and posts data or proofs to a base chain in a way intended to connect the L2's state to that chain. A sidechain is a separate blockchain with its own consensus and validator set. It may have a bridge to Ethereum or another chain, but that alone does not make it inherit the base chain's security.
A validium uses validity proofs but keeps transaction data outside the base chain, often with a separate data-availability system. This can affect costs and the ability to recover or verify state if that system fails. A state channel lets participants exchange transactions off-chain and record certain results on-chain; it is designed for particular interaction patterns rather than acting like a general-purpose rollup.
You may also see layer 3 used for systems built on top of an L2. The term has no single universal meaning: it may describe app-specific networks or other execution layers. Ask what the system actually relies on, where its data is available, who can operate or upgrade it, and how users can exit. Architecture and security assumptions matter more than the marketing category.
What are the benefits and risks of using an L2?
L2s can offer faster confirmations, lower transaction costs, and room for applications that would be expensive to run directly on a base chain. They can also make it easier to test new features or tailor a network to a particular kind of application. These advantages are not guaranteed: fees can rise when demand is high, and the experience depends on the specific network and wallet.
There are trade-offs. Some L2s depend on a small set of sequencers, administrators, or upgrade keys. A sequencer might go offline, delay transactions, or behave in ways the system's design permits. A network may not yet have a fully functioning proof or permissionless exit process. Smart-contract bugs and bridge failures can put funds at risk, and liquidity or app support may be thinner than on a larger chain.
Assets and applications are also not automatically interchangeable across networks. A token shown with the same ticker on two chains may be a bridged representation with different risks. Transactions can require a different wallet network, token approval, or gas asset than you expect.
Think of an L2 as a set of engineering choices, not a promise of “Ethereum security at lower cost.” A lower fee is useful, but it does not by itself tell you whether the system is resilient, censorship-resistant, or suitable for holding funds.
How can you evaluate an L2's security?
To assess security, start by identifying exactly what the L2 posts to its base chain. Does it publish transaction data there, or does it depend on an outside data-availability system? What proof mechanism is live, and can users or independent operators submit transactions if the sequencer stops working?
Next, examine the path back to the base chain. Can users initiate an exit without the operator's permission? Are withdrawals subject to a challenge period, proof generation, or other delay? A system's emergency procedures and the practical ability to use them matter as much as its intended design.
Check who can change the rules. Upgrade keys, security councils, and administrator roles can be useful for responding to bugs, but they also create trust assumptions. Find out whether upgrades have delays, who controls them, and whether users have a credible way to withdraw before changes take effect.
Finally, look for independent audits and a clear account of known limitations, but do not treat an audit as a guarantee. Audits cover particular code at a particular point in time and may not cover every dependency. Consider the L2's bridge contracts, proof system, sequencer, data availability, and apps separately. If a project does not explain these components plainly, treat that uncertainty as part of the risk rather than filling the gaps with assumptions.
How do bridges work with layer 2 networks?
A bridge is a tool or protocol for moving assets or messages between networks; it is not the L2 itself. When you bridge a token, the route may lock assets on one chain and release or mint a representation on another. Other systems use different mechanisms, so confirm what asset you will receive and where it can be used.
An L2's canonical bridge is the route associated with that network's own design. It may offer a direct path, but withdrawals can take time, especially where a rollup's dispute process applies. Independent bridges can sometimes offer quicker transfers by using their own liquidity, relayers, or verification systems. Their speed does not remove risk; it introduces assumptions specific to that service.
Before bridging, check the sending and receiving networks, token contract, destination address, fees, minimums, and estimated time. Make sure you have enough of the destination network's gas token to transact after arrival. Start with a small test transfer if the amount or route is unfamiliar, and avoid links from unsolicited messages.
Never assume that matching token names mean matching assets. If a transfer appears stuck, use the bridge's official status and support channels; do not share your seed phrase or sign a transaction you do not understand. A bridge transaction can be hard or impossible to reverse.
How do you use an L2 more safely?
For a first L2 transaction, use a wallet you control and verify the network name and chain details through trusted documentation. Fund it only through a route you understand, and confirm that the asset is available on the destination chain. If you bridge funds, account for the possibility of delays and for the need to hold a little of the network's gas token.
Before approving a transaction, inspect the asset, amount, destination, fee, and any token permissions requested by an app. A token approval can authorize a contract to spend tokens; avoid unlimited approvals when a smaller allowance will do, and review or revoke permissions you no longer need. Keep your seed phrase offline and never enter it into a website claiming to be a bridge, wallet support team, or airdrop page.
Compare the total cost, not just the headline network fee. The route may involve a bridge charge, a swap, slippage, or a separate fee for a later withdrawal. Check the app's current network support and the wallet's confirmation screen, since fees and supported tokens change.
For larger balances, consider whether the L2's exit process, upgrade controls, and bridge risks fit your needs. A familiar application running on a new network does not remove the risks of that network. Keep a record of which chain holds each asset so you do not mistake one network's token representation for another's.
How should you choose a layer 2 network?
There is no single answer to “which L2 is best.” The right choice depends on the app you need, the asset you hold, the network's security model, fees at the time you transact, and how easily you can move funds in and out. A network with many apps may be convenient, while a smaller or specialized system may have different technical or liquidity trade-offs.
When comparing options, use a checklist:
- Application support: Is the app available on this network, and is it the genuine version?
- Asset route: Is your token native to the chain or bridged, and what risks does that representation carry?
- Security and control: What data and proofs reach the base chain? Who runs the sequencer and controls upgrades?
- Exit options: How long might a withdrawal take, and can you exit if the operator is unavailable?
- Costs and usability: What are the current transaction and bridge fees, and do you have the required gas token?
L2 technology continues to develop, so a network's current proof system, decentralization, and supported features may change. Recheck official technical documentation before making a decision, especially if you plan to bridge or hold a substantial balance. The safest comparison is based on specific, current design details—not on a token price, slogan, or the L2 label alone.
Frequently asked questions
What does layer 2 mean in crypto?
A layer 2 processes transactions using a separate execution system and relies on an underlying chain for some combination of settlement, data availability, or security. The exact design varies, so the label alone does not tell you how secure or decentralized a network is.
Are layer 2 networks as secure as Ethereum?
Not automatically. Rollups can inherit important security properties from their base chain, but they also depend on their own software, proof systems, upgrade controls, and other components. A sidechain or other scaling network may rely on separate validators and security assumptions.
Are layer 2 transactions always cheaper?
Sometimes. An L2 can reduce transaction costs by processing many transactions together, but fees vary with network demand, the L2's design, and the cost of publishing data to its base chain. Check the fee shown in your wallet before confirming.
Is a bridge the same thing as a layer 2?
A bridge transfers or represents assets between networks; an L2 is a system for processing transactions. Many L2s have a canonical bridge, and independent bridges may offer other routes. Each bridge has its own security, liquidity, timing, and fee considerations.
Do all layer 2 networks have a token?
No. Some L2s have tokens, but a token is not required for a network to qualify as an L2. Be cautious of unofficial token claims, fake airdrops, and sites that ask for your seed phrase or an unnecessary wallet signature.
Mentioned in this guide
dApps in this guide
Arbitrum Bridge is the canonical bridge that moves ETH and ERC-20 tokens between Ethereum mainnet and the Arbitrum Layer-2 rollup.
Across is an intent-based cross-chain bridge and swap protocol for moving tokens between Ethereum, rollups and other chains, with an API for apps.
Crypto.com is a centralized crypto exchange and app for buying, trading and spending 400+ coins, with a Visa card, staking and a separate self-custody wallet.
Keep reading
Related guides
Blockchain · Explainer
What Are Crypto Gas Fees? How They Work in 2026
Crypto gas fees are the costs of processing transactions on a blockchain. Learn what they pay for, how Ethereum calculates them, why they change, and how to check the full cost before you confirm.
Blockchain · Explainer
What Are Layer 2 Networks? How L2s Work
Layer 2 networks process transactions away from a base blockchain to make activity faster or cheaper, while relying on that base chain in different ways. Learn how rollups work, what their risks are and how to use them more safely.
Wallets and tools · Review
MetaMask Swap Review: How In-Wallet Token Swaps Work in 2026
MetaMask Swap is the token exchange built into the MetaMask wallet, and its main appeal is that you can trade without leaving the wallet. This guide covers how it works, what it costs in practice, and the risks that matter more than the convenience.
Blockchain · Chain guide
Boba Network in 2026: Future of Dapps and DeFi
Boba Network is an Ethereum layer-2 whose future for dapps and DeFi depends on liquidity, bridges and its current activity. This guide covers the stable facts, the factors to watch and how to check the network's status yourself.
Blockchain · Explainer
What Is NEAR Protocol? A Simple Explanation for 2026
NEAR Protocol is a proof-of-stake blockchain built for apps, with human-readable account names, smart contracts and a sharded design meant to handle many transactions. This guide explains the core ideas in plain terms and shows where to check current figures before you act.
Blockchain · Chain guide
What Is Immutable X? The NFT Layer-2 Explained (2026 Guide)
Immutable X is an Ethereum layer-2 network built for NFTs and web3 games, using StarkWare technology to make minting and trading cheap and fast. This guide explains how it works, what the IMX token does, and how it differs from Immutable zkEVM.
Blockchain · Explainer
What Is Polygon Nightfall? A Privacy Rollup Explained (2026)
Polygon Nightfall is a privacy-focused rollup built with EY for enterprise use, settling to Ethereum. This guide explains what it does, how it got here, how its privacy model works, and how to check its status today.
Blockchain · Explainer
What Is the Free TON Network? History, Design and Status
Free TON was a sharded blockchain project that is often confused with Telegram's TON network, which is a separate chain. This guide explains what Free TON was, how its design worked, what happened to the project, and how to check its status before relying on anything tied to its name.