How does yield farming work?
Deposit crypto, earn double-digit yields, get rich while you sleep. That is the pitch. The mechanics are real, the yields are real, and so is everything that can go wrong.
Short answer: you lend your crypto to a decentralized protocol, the protocol puts it to work, and you earn a share of the fees plus bonus tokens. The yields are real — and so are the ways to lose everything, which the advertisements mention less often.
Yield farming sounds like alchemy: park your tokens somewhere, collect 20%, 50%, sometimes triple-digit annual yields, while traditional savings accounts pay single digits. During crypto's boom years, it was the engine of DeFi's growth, pulling hundreds of billions into smart contracts. The mechanics underneath are genuinely clever. They are also genuinely dangerous, in ways that only become obvious when something breaks.
This is how it works — and what "works" actually costs.
The basic mechanic: your tokens go to work
Strip away the jargon and yield farming has three steps. You deposit tokens into a smart contract. The protocol uses your tokens for something productive. You receive a share of whatever value that produces.
The "something productive" comes in a few standard forms. On a decentralized exchange like Uniswap or Curve, it is market-making: you deposit a pair of tokens — say ETH and USDC — into a liquidity pool, and the protocol uses your tokens to let other people trade between them. Every trade pays a small fee, typically a fraction of a percent, and that fee is split among everyone who supplied liquidity, proportional to their share. More trading volume through the pool means more fees for you.
On a lending protocol like Aave or Compound, the productive purpose is credit: you deposit tokens, borrowers borrow them (posting more collateral than they borrow, which protects lenders from defaults), and you earn a share of the interest they pay. Borrow demand — and therefore your yield — rises and falls with the market's appetite for leverage.
Simple enough. Now the complications.
Where the yield actually comes from
This is the question that separates farmers who survive from farmers who become cautionary tales. Yield that appears to come from nowhere always comes from somewhere — and the farmer who does not know the source is usually the source.
Legitimate yield comes from two places. The first is real economic activity: trading fees paid by actual traders, interest paid by actual borrowers. This yield is modest, variable, and honest. A busy liquidity pool might pay single-digit to low-double-digit annual returns from fees. Stablecoin lending rates have swung from under 1% to over 15% across market cycles, tracking borrowing demand.
The second source is token emissions: the protocol prints its own native tokens and hands them to you as a bonus. This is where the eye-popping APYs come from — the 100%, 500%, 1,000% figures in the advertisements. And this is where you should slow down, because newly printed tokens are not value created. They are value transferred, usually from later buyers to earlier farmers, and their price depends entirely on continued demand. When the emissions slow or the selling starts, the APY evaporates. Many farmers have earned spectacular yields denominated in tokens that were worthless by the time they sold.
Impermanent loss: the risk with the friendly name
The most misunderstood risk in yield farming has the most reassuring name. Impermanent loss sounds temporary — like something that resolves itself. Sometimes it does. Often it does not.
Here is how it works. When you deposit two tokens into a liquidity pool at a given price ratio, the pool automatically rebalances as traders swap between them. If the price of one token moves significantly relative to the other, you end up withdrawing a different mix than you deposited — and worth less than if you had simply held both tokens in your wallet. The loss is "impermanent" only in the narrow sense that it reverses if prices return to exactly where they started. If they do not, it is just a loss.
A concrete sense of scale: if one token in your pair doubles in price relative to the other, the impermanent loss is roughly 5–6% versus holding. If it quadruples, the loss approaches 20%. The more volatile and less correlated your pair, the worse it gets — which is precisely why the highest-APY pools, the ones pairing obscure tokens, carry the heaviest hidden cost. Many novice farmers earn 30% in fees and lose 40% to impermanent loss, and only discover the arithmetic at withdrawal.
Smart contract risk: code is law, including the bugs
Every yield farm runs on smart contracts — code that holds your money and executes the rules automatically. Code has bugs. Bugs in financial code get exploited. This is not theoretical: DeFi's history is a long ledger of drained protocols, some of them audited by reputable firms, some of them household names.
Audits help but guarantee nothing. Several audited protocols have been hacked. Beyond bugs, there is admin key risk — some protocols let developers upgrade contracts or move funds, which means your trustlessness depends on the trustworthiness of strangers. And then there are outright rug pulls: developers launch a token, advertise enormous yields, attract deposits, then drain the pool and vanish. It remains one of the most common scams in crypto.
The honest way to think about smart contract risk: every deposit is an unsecured loan to a piece of software written by people you have never met, in an industry where the exploiters are professionals. Price it accordingly.
Stablecoin farms: the boring middle
Not all farming involves volatile pairs. A large share of DeFi yield comes from stablecoin strategies — depositing USDC or similar dollar-pegged tokens into lending protocols or stablecoin liquidity pools, where both sides of the pair barely move.
The appeal is obvious: no impermanent loss worth mentioning, yields that historically ran from low single digits to the mid-teens depending on borrowing demand, and a risk profile closer to a high-yield savings account than a casino. During bull markets, when traders borrow heavily to lever up, stablecoin lending rates spike — that is when the boring farms pay best.
The risks do not disappear; they change shape. Stablecoins can depeg — lose their dollar peg — as several spectacularly did, wiping out "safe" positions overnight. Smart contract risk remains identical: the code holding your USDC can be exploited just like any other pool. And yields compress hard in bear markets, when nobody wants to borrow and rates sink toward 1%. Boring is relative. In DeFi, boring just means the dangers are quieter.
Gas fees: the tax on small farmers
One cost rarely appears in APY advertisements: transaction fees. Every deposit, withdrawal, claim, and rebalance on a blockchain costs gas — and on networks like Ethereum during busy periods, a single transaction can cost tens of dollars.
Do the math on a small position and the absurdity appears. Earning 12% APY on a $500 deposit is $60 a year. If depositing costs $25, claiming rewards costs $15, and withdrawing costs $25, you have spent $65 to earn $60. The farm did not lose money. The blockchain ate it.
This is why yield farming has a minimum viable size, and why small farmers are quietly pushed toward cheaper networks or centralized alternatives — each with their own tradeoffs. Any yield strategy that ignores transaction costs is not a strategy. It is a donation to validators.
The yield farmers who survive
The farmers who last share a few habits. They know exactly where each point of yield comes from and discount anything they cannot explain. They favor established protocols with long track records and multiple audits over new farms offering triple-digit APYs. They treat reward tokens as income to be sold, not assets to be held — because reward tokens almost always decay. They size positions so that a total loss, while painful, is not ruinous. And they never, ever farm with money they need.
There is also a quieter truth: the best risk-adjusted yields in DeFi have usually been the boring ones. Lending stablecoins on an established protocol during high-demand periods. Providing liquidity to deep, high-volume pools of correlated assets. Single-digit to low-double-digit returns, earned from real activity, with the exotic risks minimized. The farmers chasing 500% APY on new tokens are not earning yield. They are buying lottery tickets denominated in jargon.
The question to ask before depositing
Yield farming works, in the narrow sense that the mechanics do what they claim. Deposit, earn, withdraw — the machine functions. Whether it works for you depends on a single question, asked honestly: after fees, after impermanent loss, after the reward token's decay, and after pricing in the small but real chance of total loss — is the expected return actually better than doing nothing?
For most people, most of the time, the honest answer is no. The yields that beat that test are modest, the work to find them is real, and the risks never fully go away. Farming is not free money. It is a job — one that pays in proportion to how carefully you do it, and charges tuition to everyone else.
Latest posts
- How do I get my first order on Fiverr with no reviews?
- What is a three-fund portfolio?
- Can you sell on Amazon without using FBA?
- How much should I have in my emergency fund?
- Can AI-generated videos be monetized on YouTube?
- How do you make money online without showing your face?
- How much does eBay charge to sell in 2026?
- What is the safest investment for beginners?
- What is the difference between an index fund and an ETF?
- Should I reinvest my dividends or take the cash?
- How much should I save each month?
- How often should you post on YouTube?
- What are the best Fiverr gigs for beginners in 2026?
- Is the FIRE movement realistic?
- How do creators get paid by brands?