What Is Yield Farming? How It Works, Where the Yield Comes From and the Risks

On this page
Yield farming definition
Yield farming is the practice of putting crypto assets to work in decentralized finance (DeFi) protocols to earn a return. Farmers lend tokens to borrowers, deposit them into liquidity pools that power decentralized exchanges, or place them in vaults and staking contracts, and are paid in interest, trading fees and reward tokens. Returns are variable, usually quoted as an APY, and carry risks that bank deposits don’t.
The term comes from the idea of “farming” a crop of new tokens. It is also called liquidity mining when the main reward is a protocol’s own token paid out to attract deposits.
How yield farming works
At its simplest, yield farming has four steps:
- Connect a self-custody wallet to a DeFi protocol.
- Deposit assets into a smart contract: a lending pool, a liquidity pool or a vault.
- Receive a receipt token that represents your share, such as an aToken from Aave or an LP token from a DEX.
- Earn yield as the protocol pays interest, fees or rewards, then withdraw by returning the receipt token.
Some farmers then take the receipt token and deposit it somewhere else to earn a second layer of yield. This “composability” is what makes DeFi yield possible and also what makes risks stack up.
Where the yield comes from
Every yield farming return traces back to a handful of sources:
| Source | Who pays | Example | How durable |
|---|---|---|---|
| Borrower interest | People borrowing against collateral | Supplying USDC to Aave | Lasts as long as borrowing demand |
| Trading fees | Traders swapping on a DEX | Providing liquidity on Uniswap or Curve | Depends on volume; offset by impermanent loss |
| Staking rewards | The network (issuance and fees) | Liquid staking ETH with Lido | Set by the protocol; fairly stable |
| Token incentives | The protocol, by issuing new tokens | Liquidity mining rewards | Temporary; fades as prices fall or emissions end |
| Strategy returns | Mixtures of the above, sometimes leveraged | Auto-compounding vaults, Pendle fixed yield | Depends on the strategy |
Yield dashboards often split a pool’s APY into base yield (interest and fees) and reward yield (incentive tokens). Base yield is what remains when the incentives stop.
Types of yield farming
- Lending. Supply an asset to a lending market and earn borrower interest, with no impermanent loss. See how to lend your crypto on DeFi.
- Providing liquidity. Deposit a token pair into a DEX pool as a liquidity provider and earn a share of trading fees, plus incentives in some pools. See how liquidity pool fees work.
- Staking and liquid staking. Earn network rewards on proof-of-stake tokens while keeping a tradable token. See staking vs. lending.
- Stablecoin farming. Lend or pool dollar-pegged tokens to earn yield with little price volatility. See which platforms suit stablecoin yield farming.
- Vaults and aggregators. Let a vault harvest and compound rewards automatically.
- Fixed yield. Lock in a known rate to maturity using yield-tokenization protocols such as Pendle.
- Leveraged yield farming. Borrow to enlarge a position, adding liquidation risk.
Our guide to yield farming strategies walks through each one, from simple to advanced.
APR vs. APY
Yield farming rates are quoted two ways:
- APR is the simple annual rate without compounding: annual return ÷ amount invested × 100.
- APY assumes rewards are reinvested: APY = (1 + r/n)^n − 1, where r is the APR and n is the number of compounding periods per year.
A 10% APR compounded daily is about 10.5% APY. Many farms advertise APY that only holds if you compound often and the reward token’s price stays flat. Our explainer on what APY means in crypto has worked examples.
What does yield farming pay in 2026?
Rates move daily, so treat these as a snapshot from DefiLlama in mid-November 2026, base yield only:
- Stablecoin lending and savings on the largest Ethereum markets (Aave V3, Sky’s sUSDS, Spark): roughly 3–4.5%.
- ETH liquid staking: roughly 1.8–2.7%, with Lido’s stETH about 2.2%.
- SOL liquid staking: around 5%.
- Volatile-pair DEX pools and incentive farms: anywhere from low single digits to triple digits, mostly from reward tokens and before impermanent loss.
If a farm pays far above the going lending rate for the same asset, ask what extra risk explains the gap. Check live figures on DefiLlama Yields before acting on any number.
A short history
Lending protocols and DEX liquidity pools existed before 2020, but yield farming took off in June 2020 when Compound started distributing its COMP governance token to borrowers and lenders. Other protocols copied the model, and the resulting “DeFi summer” saw advertised APYs in the hundreds or thousands of percent, mostly paid in new tokens. Many of those tokens later lost most of their value. Since then, yields have shifted toward “real yield” from fees, interest and staking, along with fixed-rate products and yield-bearing stablecoins.
Risks of yield farming
- Smart contract exploits. DefiLlama’s hacks database records about $1.2 billion taken from DeFi protocols in 2026 as of mid-November.
- Impermanent loss when the prices of pooled tokens diverge.
- Reward-token collapse that wipes out a headline APY.
- Depegs of stablecoins or liquid staking tokens.
- Liquidation on leveraged positions.
- Dependency risk from oracles, bridges, collateral tokens or vault managers.
- Rug pulls and scams dressed up as farms.
- Gas costs that can exceed the yield on small balances.
- Tax and regulation: rewards are often taxable, and rules keep changing.
Read the full guide to the risks of yield farming and our guide to judging how safe a yield farming platform is.
How to start safely
- Choose an asset you are happy to hold for the whole period, often a major stablecoin or ETH.
- Use long-running, audited protocols and bookmark their official sites.
- Compare base vs. reward APY and check the protocol’s incident history.
- Start small, test a withdrawal and watch gas costs; layer 2 networks are cheaper for small amounts.
- Avoid leverage until you understand liquidation.
- Spread deposits and keep records for taxes.
To compare platforms, see what are the best yield farming platforms. Browse more guides in the yield farming and staking hub. This page explains how yield farming works; it isn’t financial advice.
Frequently asked questions
What is yield farming in simple terms?
Yield farming means lending or depositing your crypto into a DeFi app so others can use it, and getting paid for it in interest, fees or reward tokens. It is similar to earning interest, but with higher and more varied risks.
Is yield farming profitable?
It can be, but returns are variable. Established stablecoin lending paid roughly 3–4.5% in late 2026, and higher yields usually depend on volatile reward tokens, leverage or riskier pools. Gas fees and losses can make small positions unprofitable.
What is the difference between yield farming and staking?
Staking locks a proof-of-stake token to help secure a network and earn protocol rewards. Yield farming is broader: it includes lending, providing liquidity and using vaults, and can include staking as one ingredient.
Is yield farming safe?
No form of yield farming is free of risk. Smart contract hacks, stablecoin depegs, impermanent loss and falling reward-token prices can all cause losses, and there is no deposit insurance.
Is yield farming legit or a scam?
Yield farming itself is a legitimate DeFi activity, but scams use the same language. Fixed daily returns, anonymous teams, unaudited contracts and referral rewards are common red flags.
How is yield farming taxed?
In many countries, rewards are taxed as income when received and disposals trigger capital gains or losses. Rules vary, so check local guidance.
Sources
Educational content, not financial advice. DeFi carries risk, including total loss of funds.
Guides about Yield farming
- The Basics of Yield Farming Strategies
There are multiple yield farming strategies you can use to maximize your earnings. Open this link to learn more.
- Risks of Yield Farming
The risks of yield farming include impermant loss, smart contract exploits, unfariness, liquidation, and more.
- Stablecoin Yield Farming: What It Is and How It Works
Read to learn everything there is about stablecoin yield farming - how it works, and how to earn a profit with stablecoin yield farming.
- Alpaca Finance—Ease of Use, Fees, and More
Learn more about Alpaca Finance—what the platform has to offer and why it will be a big player in the DeFi space
- Leveraged Yield Farming: Everything You Need to Know
Leveraged yield farming is a subset of yield farming where you use borrowed money to improve your position and returns. Read on to find out how it works.
- How to Make Money With Stablecoins
Read to learn what stablecoins are, how stablecoins make money, and how you can start earning with stablecoins today.
- 7 Safest & Most Profitable Yield Farming Platforms (2022)
Yield farming offers users an alternative opportunity to earn crypto rewards and gain healthy profits. We've listed the 7 safest yield farming platforms to use.
- Key Features of DeFi Explained
Explaining decentralized finance (DeFi)—how it differs from traditional finance solutions, and why it has become a popular finance option.
Answers about Yield farming
- Liquidity Pool vs. Staking: Which Is Better?
In this article, we explain the differences between liquidity mining and staking in DeFi and blockchain investing.
- How Is Yield Farming Taxed?
What is yield farming, is it taxable? how is it taxed? what countries have similar crypto tax rules?
- Yield Farming vs. Staking: What’s the Difference?
Yield farming and staking are the two most lucrative methods to generate income on crypto holdings. Find out what sets them apart.
- How Do I Automate Yield Farming?
Learn about the basics of yield farming and how to automate it for big profits while minimizing risk.
- How Do You Farm Cryptocurrency?
You can farm cryptocurrency by providing liquidity, lending, borrowing, or staking your crypto assets. Click the link to learn more.
- What Is a Self-Generating Liquidity Token and How Does It Work?
What is a self-generating liquidity token? How do they work? How can you get liquidity tokens, and how have LP tokens transformed DeFi?
- Yield Farming: How to Avoid Impermanent Loss
What is impermanent loss, how can it be avoided, how common is impermanent loss?
- Is Yield Farming Profitable?
Yield farming can be a profitable venture, as long as you keep your eye on the market and research your yield farming provider thoroughly.
- Is Yield Farming Legit?
Yield farming is a potentially profitable DeFi investment strategy that can generate profits on investments.
Community questions about Yield farming
- What platforms are the best for yield farming?
The best yield farming platforms can be difficult to spot. It is good to note, however, that the most stable yields come from investment in stablecoins …
- Is stablecoin yield farming a good investment?
While you can make more profits by yield farming with standard crypto like Bitcoin , you are faced with the risk of impermanent loss . This is every yield…
- Do yield farming bots exist and are they safe?
It is in fact possible to create any kind of bot to do anything, especially with crypto and in trading. Most of the platforms known as yield aggregators…
- Which platform is best for yield farming stablecoins?
Curve is the best platform for stablecoin yield farming. It’s an Automated Market Marker (AMM) platform that resembles Uniswap and Balancer. However, it…
- What is yield farming in DeFi?
Yield framing is the combination of strategies to maximize yields. Yield Farmers invest in a combination of protocols, and pools using different…
- What is a good yield farming leverage ratio?
Like leverage trading, leverage yield farming allows you to open a position bigger than your collateral. Yield farming in DeFi requires the farmer to…
- Which are the best yielding strategies on Polygon?
The best yield farming strategy on Polygon can allow you to earn up to $100 daily. You can earn this by borrowing stablecoins on your staked Matic, and…
- How can I maximise yield farming gains?
Yield aggregation has always been the goal of yield farmers. It simply means searching for, and earning the highest return for providing liquidity to a…
- How is stablecoin different from other cryptocurrencies?
A stablecoin is a cryptocurrency whose value is tied to a stable reserve asset like the US dollar or a commodity like Gold. Stablecoins offer an…
- Is yield farming for interest capital gains worth it?
Yield farming is not a risk-free way to earn passive income. When you deposit your crypto to a liquidity pool, you actually deposit it to a crypto…
- Is it a good idea to invest in DeFi staking?
Yes, it's a good idea to invest in DeFi staking as it has numerous benefits over Proof-of-Work (PoW) mining: It is cheaper: In PoW, you must purchase…
- How do you calculate yield farming leverage?
A leveraged position is essentially a borrowed position. It means that you have $500, for example, but you can create a trading position of up to 6x that…
- Which is the more profitable strategy: yield farming or staking?
Yield farming is usually more profitable than staking, but it's also a bit unreliable. It's widely regarded as a less safe option than staking…
- Does Layer 2 scaling reduce transaction fees for yield farming traders?
Layer 2 solutions are accelerating Ethereum’s pursuit of mainstream DeFi adoption by making it more scalable, faster, and cost-effective. This is a…
- Is yield farming stablecoins safe?
While you can make more profits by yield farming with standard crypto like Bitcoin , you are faced with the risk of impermanent loss . This is every yield…
- Where can I yield farm stablecoins?
Here are the top three platforms where you can yield farm stablecoins: Aave – this is a popular stablecoin yield farming platform. With more than $14…
- Do L2 protocols pose less risk for generating higher returns for yield farmers?
Layer-2 protocols are designed to be faster and more efficient than their layer-1 counterparts. To be this fast and efficient, L2 protocols must sacrifice…
- Which yield farming tool can I use to identify platforms with the best return?
DeFi Prime is the best yield farming tool to identify platforms with the best returns. It breaks down the various DeFi categories and niches, and the…