Layer 2

Intermediate
Updated Oct 9, 2026

What Is Layer 2?

Layer 2 refers to a secondary protocol or framework built on top of an existing blockchain network, known as Layer 1. 

The main purpose of these solutions is to address the transaction speed and scalability limitations of major blockchain networks like Bitcoin and Ethereum, which still struggle to process thousands of transactions per second under high demand.

Because the second layer operates on top of the base chain rather than replacing it, Layer 1 continues to provide the underlying security while Layer 2 handles the processing load. Transactions can take place off-chain and are later settled or verified on the main chain in batches, reducing congestion and lowering fees for users.

How Layer 2 Works

Layer 2 protocols create a secondary processing environment where blockchain transactions and processes can occur independently of the main chain. Once a batch of activity is complete, a summary or proof is submitted back to Layer 1 for final settlement.

This design means the main chain doesn't require any structural changes. The second layer is simply added on top, enabling high throughput without affecting the security guarantees of the underlying network. In practice, Layer 2 solutions can process tens of thousands of transactions per second, compared to the much lower capacity of Layer 1 chains alone.

Types of Layer 2 Solutions

Rollups

Rollups are the most widely adopted Layer 2 approach on Ethereum. They bundle many transactions together off-chain and submit compressed data or a cryptographic proof back to the main chain.

There are two main types: optimistic rollups (such as Arbitrum, Base, and Optimism) assume transactions are valid by default and use a challenge window to detect fraud, while ZK-rollups (such as zkSync and StarkNet) generate cryptographic validity proofs for every batch, allowing near-instant finality. 

Source: L2BEAT

By late 2026, rollups collectively hold over $33 billion in total value locked.

State channels 

State channels allow two parties to conduct multiple transactions off-chain, only recording the opening and closing states on the main blockchain. Bitcoin’s Lightning Network is the most widely known implementation.

Sidechains

Sidechains are independent blockchains that run in parallel to the main chain and connect to it via a bridge. Unlike rollups, sidechains have their own consensus mechanisms and security models rather than inheriting security directly from Layer 1. Ethereum Plasma is an early example of a sidechain framework, though rollups have largely replaced it as the preferred approach.

Why Layer 2 Matters

Without Layer 2, blockchain networks face a fundamental trade-off between security, decentralization, and scalability, often referred to as the blockchain trilemma. Layer 2 solutions aim to resolve this by offloading transaction processing while keeping settlement on a secure base chain.

In practical terms, Layer 2 networks have made it significantly cheaper for users to interact with decentralized applications, send stablecoins, and trade on decentralized exchanges. 

One example is Ethereum's Dencun upgrade in March 2024: it introduced EIP-484 and transaction fees on major Layer 2 networks dropped by more than 90%, accelerating adoption across DeFi, gaming, and payments use cases.