Blog / DeFi and Web3

Yield Farming Explained: How It Works Step by Step

Cointechies

Yield farming is the practice of putting crypto to work in DeFi to earn returns, often by moving funds to wherever rewards are highest. It became popular in 2020 and remains a core part of DeFi.

How it works, step by step

  1. Pick a protocol such as a lending market or a decentralised exchange.
  2. Deposit assets, either by lending them or by adding them to a liquidity pool.
  3. Receive a receipt, like a pool token, representing your share.
  4. Earn rewards from fees, interest and sometimes extra tokens.
  5. Optionally stake the receipt in another farm for more rewards.
  6. Withdraw when you want to take profits or change strategy.

Where the yield comes from

  • Trading fees paid by users of a liquidity pool
  • Borrower interest in lending markets
  • Incentive tokens given by projects to attract users

The last is often the largest part of the advertised rate, which is why it can drop sharply.

Bar chart splitting an illustrative farm's advertised yield into fees and token rewards
Much of the headline return often comes from reward tokens, whose price can fall.

Understanding APY

Headline APY figures can mislead. They assume rewards remain constant and are reinvested often. Real returns change as more users join and as token prices move.

The risks

  • Impermanent loss when providing liquidity to volatile pairs
  • Smart contract bugs and hacks
  • Reward token collapse as farmers sell
  • Rug pulls in unknown projects
  • Gas fees that eat into small positions

Staying sensible

Start small, prefer audited and well-established protocols, favour yields from real fees over printed tokens, and ask what is paying the return. If a yield seems far too high, assume extra risk.

The bottom line

Yield farming can earn returns, but they come from risk. Learn the mechanics, start small, and never trust a rate you can’t explain.

This article is for educational purposes only and is not financial advice. Crypto assets are volatile and you can lose some or all of your investment.

Follow the market in real time on the live crypto prices page, or go back to all articles.

More from the blog

All articles