What is yield farming? How DeFi rewards work and why high APYs fade
Yield farming means moving crypto between DeFi protocols to earn fees and token rewards. Learn where the yield comes from, how APR and APY differ and the risks behind headline numbers.
Yield farming became a buzzword during the DeFi boom of 2020, when protocols started paying users in new tokens for depositing crypto. Annual yields of hundreds or even thousands of percent appeared on dashboards, and capital flowed rapidly from one farm to the next. Today yield farming is more mature, but the core idea remains: you lend or lock your crypto in DeFi protocols to earn a return. Understanding where that return comes from is the key to telling sustainable yields from traps.
Where the yield comes from
- Trading fees. Liquidity providers on decentralized exchanges earn a share of each swap's fee.
- Interest from borrowers. Lending protocols pay depositors interest from users who borrow against collateral.
- Staking rewards. Some farms build on liquid staking tokens that already earn network rewards.
- Token incentives. Protocols distribute their own tokens to attract liquidity. This is called liquidity mining.
The first three come from real economic activity. The fourth is often the largest part of advertised yields, and its value depends entirely on the price of the reward token.
APR vs APY
APR, annual percentage rate, is the simple yearly return without compounding. APY, annual percentage yield, assumes rewards are reinvested regularly. A 100% APR compounded daily becomes about 171% APY. Dashboards often show APY to make numbers look larger, even though compounding requires harvesting and reinvesting, which costs gas fees and assumes reward token prices stay stable.
A typical farming strategy
- Deposit two tokens into a liquidity pool on a DEX and receive LP tokens.
- Stake the LP tokens in a farm to earn the protocol's reward token.
- Harvest rewards periodically and either sell them or add them back to the pool.
Each step involves a smart contract, a transaction fee and a new layer of risk.
Why high APYs fade
New farms often launch with extreme yields. Those numbers fall quickly for predictable reasons:
- Dilution. Rewards are fixed per block or per day. As more money enters the pool, each depositor's share shrinks.
- Selling pressure. Farmers sell reward tokens as soon as they receive them, pushing prices down.
- Emission schedules. Many protocols reduce emissions over time by design.
A 1,000% APY paid in a token that loses 95% of its value can produce a net loss.
The main risks
Impermanent loss
When you provide liquidity for two tokens and their prices diverge, the pool rebalances your holdings. You can end up with less value than if you had simply held both tokens. Stablecoin pairs and correlated pairs reduce this risk.
Smart contract risk
Farms, vaults and pools are all smart contracts. Bugs and exploits have drained billions of dollars from DeFi over the years. New, unaudited farms are especially risky.
Rug pulls and admin keys
Some projects let developers withdraw deposited funds or mint unlimited reward tokens. Check whether contracts are upgradeable and who controls admin keys or timelocks.
Stablecoin and depeg risk
Stablecoin farms depend on the stablecoin keeping its peg. Algorithmic stablecoins have collapsed completely in the past, wiping out farms built on them.
Liquidation risk
Leveraged farming, borrowing to increase your position, can be liquidated if collateral prices fall.
Gas costs
On networks with high fees, small positions can lose most of their yield to transaction costs when depositing, harvesting and withdrawing.
How to evaluate a farm
- Break down the yield. How much comes from fees and interest, and how much from token rewards?
- Check the reward token. What is its market cap, inflation rate and liquidity?
- Look at total value locked over time. Sudden spikes often come from short-term mercenary capital.
- Review audits and track record. Older protocols with multiple audits and no major incidents are generally safer.
- Understand withdrawal terms. Some farms have lockups or withdrawal fees.
- Estimate costs. Include gas, protocol fees and the price impact of selling rewards.
Lower-risk ways to earn yield in DeFi
- Supplying stablecoins to large, established lending protocols.
- Providing liquidity to stablecoin pools on major DEXs.
- Holding liquid staking tokens from established protocols without leverage.
Even these carry smart contract, depeg and governance risks. Diversify and size positions so a single failure would not be devastating.
Tracking and taxes
Yield farming creates many transactions: deposits, LP token minting, reward claims and swaps. In many countries, reward tokens are taxed as income when received and again as gains or losses when sold. Use a portfolio tracker that supports DeFi and export records regularly.
The short version
Yield farming means putting crypto into DeFi protocols to earn trading fees, interest and token rewards. High APYs usually come from token incentives that fade as more people join and reward prices fall. Risks include impermanent loss, smart contract failures, rug pulls, depegs and gas costs. Focus on yields backed by real activity, use established protocols and never farm with money you cannot afford to lose.