Skip to content

DappsAtlas index · 14,224 dApps

DappsAtlas

DeFi · Explainer

What Is Yield Farming? How DeFi Returns Work

Yield farming means putting crypto to work in DeFi protocols to earn interest, trading fees or token rewards. Learn how the main strategies work, what advertised returns leave out, and how to assess risks before depositing.

By the DappsAtlas editorial team · Updated

Illustration for What Is Yield Farming? How DeFi Returns Work

What is yield farming in crypto?

Yield farming is the practice of using cryptocurrency in decentralized finance (DeFi) protocols to try to earn a return. You might lend tokens to borrowers, supply a pair of tokens to a decentralized exchange, or deposit a receipt token into another protocol. In return, you may receive interest, a share of trading fees, newly issued reward tokens, or a combination of these.

The word “farming” describes moving assets among DeFi opportunities to collect rewards. Some strategies are as simple as making one deposit; others require monitoring rates, managing a liquidity position or claiming and reinvesting rewards. Yield farming does not mean that returns are automatic or guaranteed. A displayed rate is an estimate that can change, while the value of your deposited tokens can rise or fall.

The term is sometimes used interchangeably with “liquidity mining,” especially when a protocol distributes its own tokens to users who provide liquidity. More broadly, yield farming includes many ways to put crypto to work on-chain. The key question is not just how much a strategy advertises, but where the return comes from and what risks you take to earn it.

How does yield farming work?

A DeFi protocol uses smart contracts—software deployed on a blockchain—to handle deposits, loans, swaps or rewards. In a lending market, suppliers deposit assets that borrowers can use, and suppliers may earn interest. In a decentralized exchange, liquidity providers deposit tokens into a pool so traders can swap between them. The pool may distribute some trading fees to those providers.

A protocol may also offer incentive tokens to attract deposits or encourage activity. In that case, your total return can include ordinary interest or fees plus rewards. Some farmers deposit a token representing a position into a second protocol to seek another source of yield. Each additional step adds another contract, asset or market dependency.

A simplified farming cycle looks like this:

  1. Choose a blockchain, protocol and strategy.
  2. Connect a self-custody wallet and approve the relevant token use.
  3. Deposit assets into the protocol’s contract.
  4. Receive interest, fees, reward tokens or a position token, depending on the strategy.
  5. Withdraw or manage the position, accounting for transaction costs and any withdrawal conditions.

Your assets are controlled by smart-contract rules rather than a bank account. A wallet connection or deposit does not remove the risks of contract errors, changing market conditions or loss of access to your wallet.

What are the main types of yield farming?

The main strategies differ in how they generate returns and what can go wrong. Lending is often the most straightforward: deposit an asset into a lending market, where borrowers pay interest. The rate can change with supply and borrowing demand. Aave V3, Compound V3 and Morpho are examples of lending protocols; each has its own markets, rules and risks.

Liquidity provision means depositing assets into a decentralized exchange pool. A pool can earn fees when traders swap, but the value of your position can change relative to simply holding the tokens. Uniswap V3 uses concentrated liquidity, which lets providers choose a price range; managing that range can require attention. Curve focuses on swaps among similar assets, but a stable-asset pool still carries depeg and contract risks.

Other approaches include depositing a liquid staking token into a lending market, using a yield aggregator to manage deposits, or supplying assets to a pool that also pays token incentives. A yield aggregator may automate some tasks, but it introduces its own contracts and strategy choices. Some platforms offer leveraged farming, where borrowed funds increase exposure and potential returns as well as losses. “Passive” describes how much activity a user may need to do, not whether a strategy is low-risk or certain to make money.

How should you compare yield-farming returns?

Yield is usually shown as APR or APY. APR is an annualized rate that does not include compounding. APY estimates a rate after compounding rewards over time. The calculation often assumes that the displayed rate continues and that rewards are reinvested as expected, assumptions that may not hold in a changing DeFi market.

Ask what makes up the quoted number. A lending rate may reflect borrowing demand. A liquidity-pool estimate might combine trading fees with token incentives. An advertised APY may assume that rewards are sold or reinvested at a particular value. If a reward token falls in price, the value of your earnings can shrink even while the number of tokens you receive stays the same.

Rates can change as deposits, borrowing, trading volume and reward schedules change. A high rate can reflect a temporary incentive, a thin market or substantial risk—not an unusually good opportunity. Check the protocol’s own interface and documentation for the rate’s components, how often it updates, whether rewards are vested or claimable, and any deposit or withdrawal fees. Treat a quoted APR or APY as a snapshot or estimate, not a promise. Calculate returns in the asset or currency you care about, including likely transaction costs and the possibility of a loss in token value.

What is impermanent loss in a liquidity pool?

Supplying liquidity to a token pair can earn a share of swap fees, but it exposes you to changes in the pair’s relative prices. In an automated market maker, the pool adjusts its token balances as traders swap. If one token rises or falls sharply against the other, your position can end up holding a different mix of tokens than you would have by simply keeping them in your wallet.

This difference is commonly called impermanent loss. It is not necessarily reversed just because you withdraw; the term refers to how the pool position compares with holding the same assets outside the pool. Whether fee income and incentives make up for that difference depends on price movements, trading activity, reward value and the time you provide liquidity.

Concentrated-liquidity pools add another consideration: you select a price range for your assets. If the market price moves outside that range, the position may stop earning swap fees until it returns or you adjust the range. That can mean more active management and transaction costs. Stablecoin pairs can have less price movement under ordinary conditions, but they are not risk-free: a stablecoin can lose its peg, and pools may be exposed to assets that behave differently in a crisis. Understand the pool mechanics and compare the position with simply holding the assets before depositing.

What are the risks of yield farming?

DeFi yield is not a savings-account rate, and a positive displayed return does not mean your principal is protected. A smart-contract bug, exploit or flawed upgrade can make deposited assets unavailable or cause losses. An audit may help identify issues before launch, but it cannot prove that a contract is safe or prevent every future exploit.

Market risks include falling token prices, stablecoin depegs and sudden changes in borrowing or trading activity. A pool can have too little available liquidity for a convenient withdrawal. Protocol governance can change parameters, while an oracle error can affect systems that rely on external price data. Bridging assets between chains adds bridge and destination-chain risks. If a strategy uses borrowing, a price move can trigger liquidation and leave you with a loss.

There are also practical risks. A malicious or misleading site may ask you to approve a token allowance that gives a contract permission to use your assets. Sending funds to the wrong network or address can make them difficult or impossible to recover. Keep your wallet recovery phrase private, verify the protocol and network before signing, and review what each transaction authorizes. Never share a seed phrase to “fix” a deposit or claim a reward. If you cannot explain how a strategy earns its return or what could cause a loss, do not deposit until you understand it.

How can you assess a yield-farming strategy?

Start by deciding which assets you can afford to put at risk and whether you can tolerate their value changing. Then check the strategy’s mechanics, the protocol’s documentation and the exact network you would use. Look for clear information about deposits, withdrawals, fees, reward tokens, rate calculations and any lockups or minimums. Do not assume that a protocol’s name or popularity makes every pool safe.

Before depositing, investigate the smart contracts and their history. See whether security reviews are published, who can upgrade contracts, how funds are managed and what emergency controls exist. Reviews and audits are useful context, not guarantees. Check whether the protocol relies on other protocols, bridges, or stablecoins, since problems in those dependencies can affect your position too.

A cautious process can reduce avoidable mistakes:

  1. Find the official app through a trusted route and check the domain carefully.
  2. Confirm the token address and blockchain; similarly named tokens may be counterfeit.
  3. Read the wallet transaction before signing, including token allowances.
  4. Consider a small test transaction before making a larger deposit.
  5. Record the position and monitor the protocol’s announcements, rate and withdrawal conditions.

Keep a plan for exiting. If the strategy depends on frequent monitoring, be honest about whether you can provide it. A small test does not prove that a contract is safe, but it can help reveal interface or network mistakes before they become larger.

How is yield farming different from staking?

Yield farming and staking can both generate crypto rewards, but they describe different activities. Staking generally involves committing or delegating tokens to help secure a proof-of-stake blockchain or participate in its operation. A liquid staking protocol can issue a token representing staked assets; that token may then be used in DeFi, creating a yield-farming position with additional risks.

Farming usually refers to deploying assets in DeFi for lending interest, trading fees or token incentives. It can involve several protocols, and some strategies need regular monitoring. Staking may be simpler to maintain, but it still has risks such as validator penalties, provider or protocol failures, token-price changes and withdrawal delays. The details depend on the network and staking method.

Neither activity is automatically safer or more profitable. Compare the source of rewards, asset exposure, withdrawal rules, fees and technical dependencies. A return paid in a volatile token can have a different risk profile from interest paid in the deposited asset. If a strategy combines staking with lending or liquidity provision, assess each layer separately rather than treating it as ordinary staking. The word “passive” should not substitute for checking how funds are used and what could prevent you from withdrawing them.

How do you decide whether yield farming is right for you?

Before choosing a strategy, translate the advertised yield into a set of questions: Which assets are deposited? Who pays the return? Is it interest, trading fees, token emissions or a mix? Can the rate change at any time? What happens if a reward token loses value? How do withdrawals work, and what costs apply on the relevant blockchain? These questions often reveal more than comparing headline APYs.

Consider the full position rather than one protocol in isolation. A liquidity pool may depend on a stablecoin issuer, an exchange contract and a reward program. A leveraged position may depend on lending rates, collateral prices and liquidation rules. Diversifying across several contracts can reduce dependence on one position, but it does not eliminate shared risks such as a chain outage or market-wide sell-off.

Keep records of deposits, withdrawals, rewards and swaps. Tax treatment varies by jurisdiction and can depend on the transaction and asset, so consult current local guidance or a qualified tax professional. Laws also differ by country, and access to certain products may be restricted. Yield farming is not a guaranteed income source; only use funds you can afford to lose, and avoid borrowing money or relying on projected rewards to meet essential expenses. Revisit the position when its rate, underlying assets or protocol conditions change.

Frequently asked questions

Is yield farming the same as staking?

Yield farming is an umbrella term for using crypto in DeFi to seek returns, often by lending assets or supplying liquidity to a trading pool. Staking usually means helping secure a blockchain or delegating tokens for network rewards, though liquid staking tokens can also be used in yield-farming strategies.

What is the difference between APR and APY?

No. APR is a simple annualized rate that does not account for compounding. APY estimates the effect of compounding, but both figures can change and neither guarantees what you will earn.

Can you lose money yield farming?

It can be. A pool’s token price, incentive rate, borrowing demand and fees can change, and smart-contract failures or stablecoin depegs can cause losses. You may receive less value than you deposited, even when a strategy advertises a positive yield.

Do I have to lock up my crypto?

Not necessarily. Some protocols let you withdraw at any time, but withdrawals may be affected by available liquidity, network congestion, contract rules or an active lockup. Check the withdrawal terms before depositing.

Which yield-farming strategy is safest?

There is no universally safest protocol or strategy. Risk depends on the assets, contracts, chain, pool design and how rewards are generated. Review those risks yourself, and do not rely on an audit or a high advertised APY as a guarantee.

Mentioned in this guide

dApps in this guide

Aave V3 logo

Aave V3

Lending

Score 8.6 out of 10

Aave V3 is a non-custodial DeFi lending protocol on 21 chains where users earn interest on deposits or borrow against collateral.

TVL $15.8B+5.1%Ethereum · Base · Arbitrum +18
Uniswap V3 logoScore 8.4 out of 10

Uniswap V3 is a non-custodial decentralized exchange protocol for token swaps and concentrated liquidity provision across 40+ chains.

TVL $1.52B−1.8%Ethereum · Base · Arbitrum +38

Curve

DEXes

Score 8.0 out of 10

Curve is a decentralized exchange on Ethereum built for low-slippage swaps of stablecoins and similar assets, with CRV governance and a crvUSD stablecoin.

Ethereum
Compound V3 logoScore 8.0 out of 10

Compound V3 is a lending protocol on Ethereum and nine other chains where users supply a base asset for yield or borrow it against collateral.

TVL $1.26B−2.3%Ethereum · Arbitrum · Base +7

Morpho

Lending

Score 8.0 out of 10

Morpho is a decentralized lending protocol with isolated markets, curated vaults and fixed-rate loans for crypto lenders, borrowers and developers.

Ethereum · Base
Pancakeswap logoScore 8.0 out of 10

PancakeSwap is a BNB Smart Chain decentralized exchange with swaps, farming, staking and CAKE governance for self-custody DeFi users.

BNB Chain
Convex Finance logo

Convex Finance

Yield Aggregator

Score 7.8 out of 10

Convex Finance is a DeFi yield platform that boosts rewards for Curve, Frax and f(x) liquidity providers and lets CVX lockers vote on emissions.

TVL $506M−2.8%Ethereum · Fraxtal · Arbitrum +1
vfat.io logo

vfat.io

Yield Aggregator

Score 7.8 out of 10

vfat.io is a non-custodial, multi-chain yield aggregator and portfolio manager built on the Sickle smart contract wallet, for active DeFi farmers.

TVL $31.8M−1.2%Base · Ethereum · Hyperliquid L1 +33

Aave

Lending

Score 6.5 out of 10

Aave is an Ethereum-based crypto lending protocol for supplying assets and borrowing against collateral.

Ethereum

Keep reading

Related guides

All defi guides

DeFi · Explainer

What Is NFT Farming and How Does It Work in 2026?

NFT farming means depositing an NFT into a smart contract to earn token rewards. This guide explains how the process works, where the rewards come from, and what to check before you deposit.

DeFi · Explainer

Does Yield Farming Drive DeFi Growth? A 2026 Explainer

Yield farming, the practice of supplying crypto to DeFi protocols in return for rewards, was a major force behind the growth of decentralized finance. This guide explains how it works, why it attracted so much capital, and what to check before depositing funds.

DeFi · How-to

How to Earn Passive Income on Trader Joe in 2026

Trader Joe is a decentralized exchange on Avalanche where most passive income comes from supplying liquidity and collecting trading fees, along with any token incentives a pool offers. This guide explains how the V2 pool design works, how to pick a pool, and the risks, including impermanent loss, that can outweigh the yield.

DeFi · Explainer

What Does Staking Mean in Crypto? A 2026 Guide

Crypto staking means committing eligible tokens to help secure a proof-of-stake blockchain, with rewards that can vary and risks that include lockups, slashing and price changes. Learn how staking works, how it differs from lending, and what to check before choosing a method.

DeFi · How-to

What Is Uniswap and How Do You Use It in 2026?

Uniswap is a decentralized exchange where you swap tokens directly from your own wallet, with no company holding your funds. This guide explains how it works, how to make a swap and add liquidity, and what to check before you sign anything.