What you need to know: DeFi tax UK: yield farming, lending, LP tokens
Quick answer: HMRC treats most DeFi activity strictly: (a) yield from liquidity pools, lending platforms, and yield farms is income tax at receipt (taxed at your marginal rate , valued in GBP at the moment the token enters your wallet), (b) most swaps are CGT disposals (depositing tokens for an LP token, claiming rewards,…
Key points:
- Income tax events: Receipt of new tokens that weren't there before. Yield, staking rewards, airdrops, governance distributions, "fee" tokens from LPs.
- CGT events: Disposal of tokens — selling, swapping, paying with crypto, gifting (except to spouse).
- Both events can fire on the same transaction. E.g. claiming a yield reward is income at receipt; then later swapping that reward to another token is a CGT disposal.
HMRC treats most DeFi activity strictly: (a) yield from liquidity pools, lending platforms, and yield farms is income tax at receipt (taxed at your marginal rate, valued in GBP at the moment the token enters your wallet), (b) most swaps are CGT disposals (depositing tokens for an LP token, claiming rewards, unstaking), and (c) "wrapping" tokens may or may not be a disposal depending on whether beneficial ownership changed. The compliance burden is on you to track GBP values at every transaction. Specialist crypto tax software (Koinly, CoinTracker, Recap) is effectively mandatory above a few hundred transactions/year.
How HMRC classifies DeFi activity
HMRC's Cryptoassets Manual sets the framework:
- Income tax events: Receipt of new tokens that weren't there before. Yield, staking rewards, airdrops, governance distributions, "fee" tokens from LPs.
- CGT events: Disposal of tokens — selling, swapping, paying with crypto, gifting (except to spouse).
- Both events can fire on the same transaction. E.g. claiming a yield reward is income at receipt; then later swapping that reward to another token is a CGT disposal.
The four common DeFi patterns
1. Lending (Aave, Compound)
Depositing crypto to lend — usually NOT a disposal (you retain beneficial ownership of the underlying tokens; you just get a receipt token like aDAI or cDAI representing your deposit). Interest you receive is income at the GBP value when received.
2. Liquidity pools (Uniswap, Curve)
Depositing two tokens into an AMM pool — usually IS a disposal. You've swapped your tokens for an "LP token" representing your share. Each swap is a CGT event valued at the time of deposit. Then when you withdraw, that's another disposal of the LP token. Trading fees collected in the pool are typically income at receipt.
3. Yield farming (Yearn, Convex)
Multi-step strategies — usually multiple CGT events plus income at receipt of farmed rewards. The compounding nature makes tracking essential.
4. Staking (Lido, Rocket Pool, native chain staking)
Receipt of staking rewards = income at GBP value of receipt. Disposal of the staked token (e.g. converting stETH back to ETH) = CGT event. See the staking tax guide.
Worked example — typical DeFi user
£10,000 deposited to a stablecoin LP in March 2025, earning 8% APY
| Deposit £10,000 of USDC and USDT into LP — CGT disposal of both tokens at market value | CGT event 1 |
| Receive LP token (Uniswap UNI-V2 or similar) representing position | CGT acquisition |
| Earn ~£800 of yield over 12 months, paid monthly in token rewards | ~£800 income |
| Each monthly reward valued in GBP at receipt — income tax at 20%/40%/45% | Tax: £160-£360 |
| Withdraw LP position March 2026 — disposal of LP token | CGT event 2 |
| Receive back USDC + USDT — acquisitions at market value | CGT acquisition |
That's 12+ taxable events for a single year of "lending stablecoins." Most retail DeFi users underestimate this dramatically.
What "disposal" actually means
HMRC's test for whether a transaction is a disposal:
- Has beneficial ownership of the original asset transferred to a third party? If yes → disposal.
- Have you received something different in return? If yes → disposal.
- Is the original asset still controlled by you (just in a different form)? If yes → may not be a disposal.
Examples:
- Swapping ETH for DAI on Uniswap → disposal (different asset received, beneficial ownership transferred to liquidity pool).
- Depositing ETH into a smart contract that returns a 1:1 wrapped version (wETH) where you can withdraw at any time → likely NOT a disposal (same beneficial ownership; just a wrapper).
- Depositing two assets into a Uniswap V2 LP and receiving an LP token → disposal (the LP token represents a share of a pool, not the original assets).
- Lending to Aave and receiving aTokens → typically NOT a disposal (HMRC accepts aTokens represent your deposit). But contested in some cases.
The record-keeping problem
For every DeFi transaction, you need:
- Date and time.
- Token in / token out.
- Amount of each.
- GBP value of each at the moment of transaction (using a reputable price feed).
- Transaction fees (in ETH or other; convertible to GBP at the time).
- Wallet address and network.
For a moderately active DeFi user, this can be 1,000+ transactions/year. Manual tracking is impractical — specialist crypto tax software is effectively required.
HMRC nudge letters and DeFi
From 2023, HMRC has received transaction data from major UK-facing exchanges and crypto platforms. For DeFi specifically, HMRC also accesses wallet activity via blockchain analysis tools. They've sent nudge letters to thousands of crypto holders whose declared income doesn't match observed activity.
If you receive a nudge letter, options:
- Voluntary disclosure within 30 days — minimal penalty.
- Engage a crypto tax specialist to compile a full reconstruction.
- Ignore — risk full investigation with penalties up to 200% of tax owed.
See the HMRC nudge letter guide.
Sources and methodology
HMRC's crypto guidance is in the Cryptoassets Manual. Specific DeFi treatment: CRYPTO61000–CRYPTO62500. For complex DeFi positions, see the tax adviser recommendation (specialist needed for high-volume positions). The methodology page documents sources.
Related crypto tax guides
How UK Tax Drag holds itself to account
Every page is reviewed against the editorial standards, written from primary sources, sourced openly, and corrected publicly. No affiliate revenue. No sponsored content. No paid placements.