Yield farming is the practice of deploying crypto assets into decentralized finance protocols to earn rewards, typically paid in the protocol's native token, a share of trading fees, or both. You lock your tokens into a smart contract, and the protocol distributes returns based on how much you contributed and for how long.
Most yield farming happens through liquidity pools. You deposit two tokens into a pool in equal value, and the protocol uses your combined deposit to fill trades for other users. Every trade generates a fee, and a portion of that fee flows back to you proportional to your share of the pool.
Protocols like Uniswap, Curve Finance, and Aave pioneered this model starting in 2020. During the DeFi Summer of 2020, annual percentage yields (APYs) for some pools exceeded 1,000%, attracting billions of dollars within weeks. Those extreme yields came from token emissions rather than real trading revenue, which meant they were unsustainable. Most normalized over time.
In addition to liquidity provision, yield farming includes lending (depositing tokens into Aave or Compound to earn interest from borrowers), staking (locking tokens to secure a proof-of-stake network), and protocol incentive programs that reward early users with governance tokens.
Yields are not fixed. They shift constantly based on how much capital is competing for the same pool, the trading volume generating fees, and whether the protocol is actively distributing token incentives.
High APYs often signal one of two things: a new protocol attracting deposits with token emissions, or a genuinely underserved pool with limited liquidity and high trading demand. The first type tends to compress as more capital enters. The second type can sustain real yields for longer.
Yield farming carries risks that are specific to DeFi and do not exist in traditional savings or lending products.
These terms are often used interchangeably but describe different things. Staking means locking tokens to participate in a network's consensus process or governance. Yield farming is broader and includes staking but also covers liquidity provision, lending, and structured reward programs that have nothing to do with network consensus.
Both reward you for deploying capital. The key difference is that yield farming usually involves more complex positions, more moving parts, and higher risk in exchange for potentially higher returns.
The speculative excess of 2020 and 2021 gave way to a more mature yield farming environment by 2024. Sustainable protocols with real fee revenue, audited contracts, and transparent tokenomics became the standard. Real-world asset protocols like Ondo Finance and Maple Finance brought yield from U.S. Treasuries and private credit on-chain, offering 4% to 8% APY backed by traditional financial instruments rather than token emissions.
Total value locked (TVL) across all DeFi protocols crossed $100 billion in early 2025 and continued expanding into 2026 as institutional capital began participating in yield strategies through regulated entry points.
https://defillama.com
https://uniswap.org/whitepaper-v3.pdf
https://aave.com/whitepaper.pdf
https://ondo.finance