Log InSign UpBook a Consultation
Blogs

What Is Yield Farming?

How yield farming and DeFi yield work, where the returns come from, the real risks like impermanent loss, and how it compares to staking.

Featured guide
Table of Contents

Key points

  • Yield farming is a way of earning rewards by supplying your crypto to DeFi protocols, also called liquidity mining.
  • You deposit tokens into a liquidity pool run by smart contracts, and earn a share of the fees, interest, or token rewards it generates.
  • The returns can be high, but so are the risks, including impermanent loss, smart contract exploits, and outright scams.
  • It is more active and higher-risk than staking, which tends to be simpler and steadier.
  • Yield farming is a high-risk activity. This article is educational only and is not financial advice.

Yield farming is one of the most talked-about ways to earn rewards in crypto, and one of the most misunderstood. At its simplest, it means putting your crypto to work in decentralised finance, or DeFi, to earn a return, rather than leaving it sitting idle. Done carefully, it can generate income. Done carelessly, it can lose you everything you put in.

This guide explains what yield farming is, how it works, where the returns actually come from, and, just as importantly, the significant risks involved. It is written for beginners, and it is educational only. Yield farming is a high-risk activity, and nothing here is financial advice or a suggestion to try it.

What is yield farming?

Yield farming is a way of earning rewards by supplying your crypto to DeFi protocols, the financial applications that run on blockchains without banks or brokers in the middle. You provide your tokens to a protocol, it puts them to use, and you earn a return in exchange. The practice is also known as liquidity mining.

The name comes from an analogy with farming: you plant your crypto by depositing it, and harvest rewards over time. In spirit it is a little like earning interest in a savings account, except there is no bank. Instead, smart contracts handle everything automatically, and the returns, along with the risks, can be far higher than anything a bank would offer.

How does yield farming work?

Yield farming runs on liquidity pools. A liquidity pool is a shared pot of crypto, locked in a smart contract, that other people can trade against or borrow from. When you add your tokens to a pool, you become a liquidity provider, and you earn a share of the activity the pool generates.

In return for your deposit, you usually receive LP tokens, short for liquidity provider tokens, which represent your share of the pool and can be redeemed for your funds later. Some farmers take this further, depositing those LP tokens into yet another protocol to earn extra rewards on top, a stacking approach that raises both the potential return and the complexity. The more layers involved, the more places something can go wrong.

A simple example

Say you deposit an equal value of two tokens, such as ETH and a stablecoin, into a pool on a decentralised exchange. Traders swap between those two tokens and pay a fee each time, and you earn a share of those fees in proportion to how much of the pool you funded. Your LP tokens are your claim on the pool, and you redeem them to withdraw your share plus any rewards. It sounds simple, and mechanically it is, but as the risks below show, the outcome is far from guaranteed.

Why do people yield farm?

The appeal is straightforward. Yield farming offers a way to earn a return on crypto that would otherwise sit idle in a wallet, and in some cases those returns can be higher than traditional options like a savings account. It also plays a real role in DeFi, since the liquidity that farmers provide is what lets decentralised exchanges and lending platforms function at all. For people who understand the space, it is a way to put capital to work and support the ecosystem at the same time. The catch, as the next sections make clear, is that the returns come with substantial risk, and the higher the advertised yield, the more caution it usually deserves.

Where does the yield come from?

A sensible question to ask about any yield is a simple one: who is paying it, and why? In yield farming, the DeFi yield usually comes from three sources.

Trading fees

When you supply tokens to a pool on a decentralised exchange, traders pay a small fee on every swap, and a share of those fees goes to the liquidity providers. The more trading a pool handles, the more fees it earns for the people who funded it.

Lending interest

Some DeFi protocols let people borrow from a pool. Borrowers pay interest, and that interest flows back to the people who supplied the funds. It works much like a bank paying interest on deposits, except there is no bank taking a cut in the middle.

Token rewards

To attract deposits, many protocols hand out their own governance tokens as an extra incentive, which is why yield farming is also called liquidity mining. These rewards can look generous, but their value depends entirely on the token's price, which can fall as fast as it rises.

The risks of yield farming

This is the part that matters most. Yield farming can offer high returns, and high returns in crypto almost always mean high risk. Before the appeal of the numbers takes over, these are the dangers to understand.

Impermanent loss

This is the risk that catches most newcomers out. When you supply two tokens to a pool and their prices move apart, you can end up with less value than if you had simply held the tokens, even after collecting rewards. It is called impermanent because the loss only locks in when you withdraw, but it is very real, and it is unique to providing liquidity.

Smart contract risk

Yield farming depends entirely on smart contracts, and if the code has a bug or a vulnerability, attackers can drain a pool and take the funds inside it. Even protocols that have been audited have been exploited, and there is usually no way to recover what is lost once it is gone.

Scams and rug pulls

The open nature of DeFi lets anyone launch a protocol, including bad actors. In a rug pull, developers create a project to attract deposits, then disappear with the funds. Very high advertised yields on a brand-new, unknown project are a classic warning sign, not an opportunity.

Unsustainable yields and volatile tokens

Eye-catching returns are often paid in a protocol's own token, whose price can collapse and erase the gains, or worse. Yields also change constantly, and funds are sometimes locked up for a set period, which can leave you unable to exit when you most want to. If a yield looks too good to be true, it usually is.

Yield farming vs staking

Yield farming is often confused with staking, since both earn rewards on crypto, but they differ a lot in effort and risk. Staking generally means locking crypto to help secure a proof-of-stake network, in return for network rewards. Yield farming means supplying crypto to DeFi protocols to earn fees, interest, and incentives.

FeatureYield farmingStaking
What you doSupply crypto to DeFi poolsLock crypto to help secure a network
EffortActive; often needs managingMostly passive
Typical riskHigher, including impermanent lossGenerally lower
Where rewards come fromFees, interest, token incentivesNetwork rewards for validating
ComplexityHighLower

In short, staking tends to be simpler and steadier, while yield farming is more active, more complex, and carries more ways to lose money. Neither is right for everyone, and both deserve careful research before any money is involved.

Frequently asked questions

What is yield farming in simple terms?

Yield farming is a way of earning rewards by supplying your crypto to DeFi protocols, rather than leaving it idle. You deposit tokens into a liquidity pool run by smart contracts, and in return you earn a share of the fees, interest, or token rewards the pool generates. It is also called liquidity mining, and it is a high-risk activity.

How do yield farmers earn returns?

The DeFi yield usually comes from three sources: a share of the trading fees when people swap tokens in a pool, interest paid by borrowers in lending protocols, and reward tokens that protocols hand out to attract deposits. The token rewards can look large, but their value rises and falls with the token's price, so the headline figure can be misleading.

Is yield farming safe?

No, it is not safe, and it should be treated as high-risk. The main dangers are impermanent loss, where the value of your deposited tokens drifts below simply holding them; smart contract exploits, where bugs let attackers drain funds; and scams such as rug pulls. Rewards can also collapse with a token's price. This is general information, not financial advice.

What is impermanent loss?

Impermanent loss happens when you supply two tokens to a liquidity pool and their prices move apart. Because of how pools rebalance, you can end up with less value than if you had just held the two tokens, even after earning rewards. It is called impermanent because it only becomes a real, locked-in loss when you withdraw your funds from the pool.

What is the difference between yield farming and staking?

Staking usually means locking crypto to help secure a proof-of-stake network, and it is fairly passive and lower-risk. Yield farming means supplying crypto to DeFi protocols to earn fees, interest, and incentives, and it is more active, more complex, and higher-risk, with dangers like impermanent loss that staking does not have. Both earn rewards, but in very different ways.

Keeping crypto simple with UpTrade

DeFi can be complex and unforgiving. If you would rather keep things simpler, a broker offers a more straightforward path with guidance behind you. UpTrade is a dedicated crypto brokerage built around real relationships, not a self-serve app you navigate alone.

  • Direct ownership of your crypto, across 500+ digital assets, without navigating DeFi protocols alone.
  • A dedicated personal broker and 24/7 support, to help you understand your options and the risks.
  • Optional institutional-grade custody through Fireblocks, included at no extra cost.

UpTrade is an AUSTRAC-registered digital currency exchange provider (DCE100856266-001). You can read more about registered providers at austrac.gov.au.

→ Book a free consultation→ What is a smart contract?

Related articles

General information only. This article is for educational purposes and does not constitute financial, investment, legal or tax advice, nor a recommendation to buy, sell or hold any asset. Cryptocurrency is a high-risk asset and you should consider your own circumstances and seek independent advice before making any decision. UpTrade does not make price predictions.

Written by

Kane Bisogni

Head of Research & Analytics

Kane leads our international research division, delivering clear, actionable insights into crypto markets and emerging investment opportunities. A true “crypto native,” he has over seven years of hands-on experience, formal qualifications in finance and economics, and has worked across Web3 hedge funds, venture capital, and leading incubators.

Keep reading

All insights
Straight to your inbox

The desk's weekly read,
no noise.

Market updates, new explainers and the occasional Alpha Pro report, sent once a week. Unsubscribe anytime.

10,000+ investors · 1 email / week
You're subscribed!
Oops! Something went wrong while submitting the form.