Skip to main content
Tax · Crypto

DeFi tax UK: yield farming, lending, LP tokens

HMRC's crypto tax treatment of DeFi activity is technical and ungenerous. Most "yield" is taxable as income at the moment received. Most "swaps" between tokens are CGT disposals. Liquidity pool deposits often trigger disposals. The compliance burden falls entirely on you. Here's the 2026/27 mechanic.

5-minute read

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:

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:

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 valueCGT event 1
Receive LP token (Uniswap UNI-V2 or similar) representing positionCGT 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 tokenCGT event 2
Receive back USDC + USDT — acquisitions at market valueCGT 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:

Examples:

The record-keeping problem

For every DeFi transaction, you need:

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:

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.

Editorial accountability
Open Trust Centre →

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.

Editorial standards Editorial process Corrections policy How we make money Editorial team Methodology