What is a liquidity provider (LP) fee?

A Liquidity Provider (LP) fee is applied to all swaps when using the Uniswap Protocol.

The LP fee is taken from the input token.

The liquidity provider fees are distributed to liquidity providers as a reward for supplying tokens to the liquidity pool.

The liquidity provider fee is paid proportionally to all liquidity providers who have an active liquidity position. Liquidity providers who have a position outside of the price range at that moment will not earn fees.

Fees collected are split between liquidity providers and the UNI burn mechanism as detailed below:

VersionFee TierLP FeeUniswap Protocol Fee
v2All pools0.25%0.05%
v30.01%0.0075%0.0025%
v30.05%0.0375%0.0125%
v30.30%0.25%0.05%
v31.00%0.8334%0.1666%

Note that only some v3 pools have a Uniswap Protocol Fee.