What Is a Liquidity Pool? DeFi Basics Explained
A liquidity pool is a shared pot of tokens that enables decentralized trading. Learn how pools work and how LP fees are earned.
A liquidity pool is a smart contract holding a shared reserve of two or more tokens, deposited by users, that lets anyone trade between those tokens automatically using a pricing formula — replacing the need for a traditional buyer and seller to be matched directly, and rewarding depositors with a share of the trading fees generated.
The problem liquidity pools solve
Traditional exchanges match individual buyers and sellers through an order book — a trade only happens if someone is on the other side wanting the opposite trade at that moment. This works well when there are many active traders, but it breaks down for less liquid assets, where finding a matching counterparty can be slow or produce a poor price.
A liquidity pool sidesteps this entirely: instead of needing a matching counterparty, a trader simply swaps against the pool itself, which always has some quantity of both assets available. The pool's pricing formula adjusts the exchange rate automatically based on the ratio of assets remaining after each trade, functioning as an automated, always-available market maker — hence the term automated market maker (AMM), covered more broadly in our DEX vs. CEX explainer.
How a basic pool works
- Liquidity providers deposit — someone deposits a pair of tokens (in the ratio the pool requires) into the pool, receiving an LP token representing their proportional claim.
- Traders swap against the pool — a trader sends one token into the pool and receives the other, with the exchange rate determined by the pool's pricing formula and the pool's current balance of both assets.
- The pool's ratio shifts — every trade changes the pool's internal balance, which is exactly what moves the pool's internal price — a large buy of one asset makes that asset relatively scarcer in the pool, so its price (denominated in the other asset) rises.
- Fees accrue to LPs — a small percentage fee is charged on every trade and added to the pool, increasing the total value LP token holders can eventually redeem.
- Arbitrage keeps prices aligned — if the pool's internal price drifts from the broader market price, arbitrageurs trade against the pool to profit from the difference, which simultaneously pushes the pool's price back toward the external market rate.
What liquidity providers actually earn — and risk
Liquidity providers earn a share of trading fees proportional to their share of the pool, which can be a meaningful and relatively steady income source for popular trading pairs with high volume. But providing liquidity isn't risk-free: the pool's automatic rebalancing means an LP's holdings shift as prices move, and if the two assets' relative price diverges significantly from when the LP deposited, they can end up with less value than if they'd simply held the two assets separately — a well-documented phenomenon called impermanent loss, covered fully in our dedicated explainer.
Types of pools you'll encounter
| Pool type | Structure | Typical use |
|---|---|---|
| Standard two-asset pool | Two tokens, often equal weighting | General trading pairs |
| Stable-asset pool | Two or more assets expected to trade near parity | Stablecoin or pegged-asset swaps with lower slippage |
| Weighted multi-asset pool | Multiple tokens, custom weightings | Portfolio-like exposure plus trading fees |
| Concentrated liquidity pool | Liquidity provided within a chosen price range | Higher fee capture, more active management |
Beyond trading: other uses for liquidity pools
While trading is the most common use, pooled liquidity underpins several other DeFi functions. Lending protocols use a conceptually similar pooled model — supplied assets sit in a shared reserve that borrowers draw from, as covered in our money market protocol explainer. Some pools also serve a price-discovery role: because the pool's internal price is publicly readable on-chain, other protocols sometimes reference it (directly or via a time-weighted average) as a secondary check alongside dedicated oracle price feeds.
What to look at before choosing a specific pool
Not all pools for the same asset pair are equal. Two pools trading the identical two tokens can have very different depth, fee tiers, and trading volume — and those differences directly affect both the slippage traders experience and the fee income liquidity providers actually earn. A pool with high volume relative to its total liquidity tends to generate more fee income per dollar deposited than a deeper but less active pool for the same pair, which is why checking real trading activity, not just total value locked, matters when comparing where to provide liquidity.
Getting started as a liquidity provider
If you're considering becoming a liquidity provider yourself, our step-by-step guide on becoming a liquidity provider walks through choosing a pool, depositing, and tracking your position's value over time, and our guide to providing liquidity on Uniswap covers the specifics of one of the most widely used implementations.
Bottom line
Liquidity pools are the foundational building block behind decentralized trading — a shared, always-available reserve of assets that lets anyone swap without needing a matching counterparty, priced automatically by a transparent formula. Providing liquidity can earn a real share of trading fees, but it comes with genuine risk from how the pool's automatic rebalancing interacts with price movement between the pooled assets. Check current pool depth, volume, and fee income on the yield dashboard before depositing, and understand impermanent loss before committing to any pair with meaningfully volatile or uncorrelated assets.
Related articles
This article is for educational purposes only and is not financial advice. DeFi involves significant risk, including total loss of funds. Always do your own research.