A liquidity pool is a set of cryptocurrency tokens locked into a smart contract to make trading possible on decentralized exchanges (DEXs). Instead of matching buyers and sellers through a traditional order book, many DeFi platforms route swaps through these pools, which always hold inventory of the assets being traded.
How liquidity pools enable DEX trading
On an automated market maker (AMM) DEX, a pool typically contains two tokens, such as ETH and a stablecoin. Traders swap one token for the other, and the pool’s smart contract updates the price based on the pool’s balances. A common model uses a formula that keeps a relationship between the two reserves, so large trades move the price more than small trades. This is why pool depth matters, deeper liquidity generally means lower slippage and smoother execution.
Liquidity providers and incentives
Liquidity pools exist because liquidity providers (LPs) deposit tokens into them. In return, LPs receive pool shares, often represented by LP tokens, and may earn a portion of trading fees generated by swaps. For example, when users trade on a DEX like Uniswap-style AMMs, each swap can include a fee that is distributed to LPs proportionally to their share of the pool. Some protocols also add extra incentives, such as reward tokens, to attract more liquidity.
Risks and considerations
Providing liquidity is not risk-free. LPs can face impermanent loss when the relative price of pooled tokens changes, potentially leaving them with a different mix of assets than they deposited. There is also smart contract risk, plus the possibility of volatile markets causing higher slippage for traders or rapid changes in pool composition.
Liquidity pools matter because they are core infrastructure for DeFi, enabling permissionless trading, supporting token launches, and improving market efficiency without relying on centralized intermediaries.