DeFi Intel

What is Liquidity?

Plain-English explainer · Updated 2026-07-02 · By DeFi Intel

How it works

In DeFi, liquidity is primarily provided through automated market maker (AMM) pools. Users deposit two assets in a specific ratio (e.g., ETH/USDC) into a smart contract pool. The pool uses a constant product formula (x*y=k) to price trades, where x and y are reserves of each asset. Liquidity providers receive LP tokens representing their share, and earn fees from every trade proportional to their contribution. Uniswap popularized this model; PancakeSwap and SushiSwap use similar mechanics on other chains.

To improve capital efficiency, Uniswap v3 introduced concentrated liquidity, allowing LPs to allocate funds within a custom price range instead of the entire 0-infinity curve. This enables tighter spreads and higher fee yields but requires active management. Curve Finance uses a different AMM optimized for stablecoins and pegged assets, minimizing slippage for large swaps. Balancer allows pools with up to eight assets and customizable weights, supporting index fund-like strategies and programmable liquidity distribution.

Liquidity mining programs incentivize early liquidity provision by distributing governance tokens to LPs. For example, Compound distributed COMP to lenders and borrowers, bootstrapping its money market. Similarly, Uniswap airdropped UNI to historical LPs. These incentives attract temporary liquidity that often migrates when rewards diminish. Protocols also use bonding curves (e.g., Bancor) or dynamic fees to manage liquidity depth and discourage one-sided withdrawals. Permissionless pools allow anyone to create a market, while curated pools (e.g., on Balancer) have stricter asset approvals.

Why it matters

Liquidity is the lifeblood of financial markets. High liquidity means orders fill quickly with minimal price impact, enabling traders to execute large transactions efficiently. For DeFi protocols, deep liquidity attracts more users and composability with other protocols (e.g., using liquidity from a pool to liquidate positions). Without sufficient liquidity, markets become volatile and unusable, discouraging adoption. Liquid markets also reduce impermanent loss risks for LPs and stabilize the broader ecosystem, making DeFi a viable alternative to centralized exchanges.

Real-world examples

Uniswap pioneered AMM liquidity pools, where users can provide ETH and any ERC-20 token. PancakeSwap on BNB Chain offers similar functionality. Curve Finance specializes in stablecoin swaps with low slippage. Balancer enables multi-token pools with custom weights. Liquidity mining events, such as Compound's COMP distribution in 2020, bootstrapped billions in TVL. These examples illustrate how different protocols achieve liquidity through varying mechanisms.

FAQ

What is a liquidity pool?

A liquidity pool is a smart contract that holds pairs of tokens and uses an automated market maker to facilitate trades. Users deposit tokens into the pool to earn fees, and traders swap against the pool.

How do liquidity providers earn fees?

Liquidity providers earn a portion of the trading fees generated by the pool, typically proportional to their share of the pool. Fees are automatically reinvested into the pool, increasing their LP token value.

What is impermanent loss in liquidity pools?

Impermanent loss occurs when the price ratio of deposited tokens changes relative to the time of deposit, causing the pool value to differ from simply holding the tokens. It becomes permanent only if withdrawn during that price divergence.

Related terms

Go deeper

Browse the complete crypto glossary to explore related terms and concepts.

Browse Glossary

Entities mentioned