Technical definition
Impermanent loss arises in automated market maker (AMM) protocols where liquidity providers (LPs) deposit pairs of tokens into a liquidity pool. When the relative price of the tokens in the pool changes after deposit, the AMM rebalances the pool by adjusting the ratio of tokens held. This rebalancing causes the LP to end up with fewer tokens of the appreciated asset and more of the depreciated asset than they would have if they had simply held the tokens. The loss is 'impermanent' because it only becomes realized if the LP withdraws their liquidity at a later time when the price ratio has changed.
An analogy
Imagine lending your friend one apple and one orange in exchange for a promise to return one apple and one orange later. If the price of apples suddenly doubles while oranges stay the same, your friend will give you back half an apple and one and a half oranges when you ask for your original items. You’ve lost the opportunity to benefit from the apple’s price increase because you’re stuck with a fixed ratio of fruit.
Why it matters
Impermanent loss is a fundamental risk of providing liquidity in decentralized exchanges (DEXs) and is the reason why LPs must be compensated with trading fees. Without understanding this risk, liquidity providers may unknowingly incur losses that outweigh their fee earnings.
Where it came from
The term 'impermanent loss' gained prominence around 2020 with the rise of decentralized finance (DeFi) and automated market makers like Uniswap. The concept was formalized as AMMs became the dominant mechanism for decentralized trading.
Example in practice
A user deposits 1 ETH and 1000 USDC into a Uniswap liquidity pool when 1 ETH = 1000 USDC. Later, the price of ETH rises to 2000 USDC. The pool automatically rebalances so the user now holds 0.5 ETH and 1500 USDC. If they withdraw at this point, their total value is 2500 USDC (0.5 ETH * 2000 + 1500 USDC), whereas holding the original 1 ETH and 1000 USDC would be worth 3000 USDC. The difference of 500 USDC is the impermanent loss.
Common misconceptions
- Impermanent loss only happens if you withdraw your liquidity → Correction: The loss is realized only upon withdrawal, but it exists as soon as the price changes, even if you don't withdraw.
- Impermanent loss is a guaranteed loss → Correction: It is only a loss relative to holding the tokens, but LPs may still profit overall if trading fees exceed the loss.
- Impermanent loss applies to all DeFi investments → Correction: It specifically applies to liquidity provision in AMMs, not to other DeFi activities like lending or staking.
Risks & limitations
- Losses can exceed trading fee earnings if price volatility is high.
- Impermanent loss is permanent if the LP withdraws liquidity at an unfavorable price ratio.
- High impermanent loss may discourage liquidity provision, reducing liquidity depth in pools.
- Complexity of calculating impermanent loss may lead to misinformed decisions by LPs.