DeFi Yield Farming Tax UK: How HMRC Taxes Liquidity Provision

July 13, 2026 3 min read

Key Takeaways

  • Depositing tokens into a liquidity pool is not a disposal for HMRC purposes, as long as you receive the same tokens back.
  • Every fee earned, reward claimed, and governance token received is taxed as miscellaneous income at its pound market value when received.
  • LP tokens carry a cost basis equal to the value of your deposited assets — track this carefully to calculate gains on withdrawal.
  • Withdrawing different tokens than you deposited triggers a disposal and potential capital gains tax.
  • Yield farming is one of the most complex areas of UK crypto tax. DeFi-specific tax software is typically essential for accurate reporting.

Yield farming — providing liquidity to DeFi protocols for rewards — creates multiple taxable events that require careful tracking.

The Core Tax Events

ActionTax Event
Deposit tokens into a liquidity poolNot a disposal (if same tokens back)
Receive LP tokensNot a disposal
Earn trading feesMiscellaneous income at receipt
Receive governance tokensMiscellaneous income at receipt
Withdraw different tokens than depositedDisposal
Withdraw same tokensNot a disposal

Providing Liquidity

ScenarioTax
Deposit ETH + USDC into Uniswap poolNot a disposal
Receive UNI-V2 LP tokensNot a disposal
Pool earns trading feesIncome (value at receipt)
Withdraw ETH + USDC (proportions changed)Disposal of LP tokens

The deposit itself is not a disposal. But the balance of tokens changes over time (impermanent loss), which is realised on withdrawal.

Fee Income

Fee TypeTax Treatment
Trading fees from poolMiscellaneous income
Protocol rewards (in native token)Miscellaneous income
COMP, SUSHI, CRV rewardsMiscellaneous income
Staking LP tokens for extra rewardsMiscellaneous income

All rewards are taxed at market value when received.

Governance Token Airdrops

ScenarioTax Treatment
UNI airdrop to historical usersNo action → CGT on sale
Liquidity mining rewards (ongoing)Miscellaneous income
Retroactive airdrop for past activityNo action → CGT on sale

The LP Token Problem

When you deposit into a pool, you receive LP tokens (e.g., UNI-V2). These represent your share of the pool.

EventTax Treatment
Receive LP tokensNot a disposal
Transfer LP tokens to another walletDisposal of LP tokens
Redeem LP tokens for underlying assetsDisposal of LP tokens
Stake LP tokens in a rewards contractNot a disposal

Tracking Cost Basis

AssetCost Basis
LP tokensValue of deposited assets
Yield farming rewardsMarket value when received
Governance tokensMarket value when received

Record Keeping for Yield Farming

RecordWhy
Date of depositStart of position
Deposited tokens and amountsCost basis
LP token amount receivedPosition tracking
Each reward received (date, token, value)Income tracking
Date of withdrawalDisposal event
Withdrawn tokens and amountsGain/loss calculation
Transaction hashesProof for HMRC

Common Mistakes

MistakeConsequence
Not tracking LP token cost basisWrong gain calculation on withdrawal
Ignoring small reward claimsEach is a taxable event
Forgetting impermanent lossRealised on withdrawal
Not reporting governance token airdropsMissed income

Bottom Line

Yield farming generates taxable income from fees and rewards. Depositing into a pool is not a disposal; withdrawing different tokens is. Track every reward at market value when received. LP tokens have a cost basis that must be tracked. Keep detailed records — yield farming is one of the most complex areas of crypto tax. Consider using DeFi-specific tax software.

What yield farmers need to know about UK tax

Yield farming is one of the most tax-complex activities in crypto. Here are the points that matter most:

  1. Deposits are not disposals — putting tokens into a liquidity pool does not trigger CGT, as long as you receive the same tokens back.
  2. Every reward is income — trading fees, governance tokens, and staking incentives are all taxed as miscellaneous income at their pound market value when received.
  3. LP tokens have a cost basis — track the value of your deposited assets, because this becomes the baseline for calculating gains or losses when you withdraw.
  4. Withdrawing different tokens is a disposal — if the tokens you receive differ from what you deposited, CGT applies to any gain above your cost basis.
  5. Record-keeping is essential — HMRC expects detailed records of every deposit, reward, and withdrawal. DeFi-specific tax software is typically necessary to assemble this accurately.

Building a tax-efficient farming strategy

Once you understand the tax events, the next question is how to farm in a way that minimises unnecessary complexity. The simplest approach is to stick with a small number of pools, use the same token pair across pools where possible, and avoid frequently rotating between protocols. Each new pool creates a fresh set of cost-basis calculations and disposal events, so the fewer moving parts, the cleaner your tax return.

Claiming rewards less frequently can also help — if your platform allows it, batching reward claims into quarterly or annual events reduces the number of individual income entries on your Self Assessment. The trade-off is that you lose real-time visibility on your holdings, so this only makes sense if you are comfortable with the protocol and its smart contracts.

Finally, consider the tax year boundary. If you are sitting on unrealised gains within a liquidity pool, withdrawing before 5 April and re-depositing after 6 April crystallises the gain in the current tax year, using your CGT annual exempt amount. This is only worthwhile if you have remaining allowance and the gain is within the £3,000 threshold — otherwise, leaving the position open and deferring the disposal may be the better move.

Common errors in yield farming tax

ErrorWhy it matters
Treating deposits as disposalsOver-reports gains; HMRC does not require CGT on same-token deposits
Ignoring small reward claimsEach claim is a separate income event, even if the value is a few pence
Forgetting impermanent loss on withdrawalThe difference between deposited and withdrawn value is a disposal gain or loss
Not tracking LP token cost basisWithout a cost basis, you cannot calculate your gain accurately on withdrawal
Assuming pool staking is capital incomeHMRC classifies staking rewards as miscellaneous income, not capital gains

Frequently Asked Questions

Is depositing into a liquidity pool a taxable event in the UK?

HMRC does not treat depositing tokens into a liquidity pool as a disposal, provided you receive the same type of tokens back. However, any trading fees you earn while providing liquidity are taxed as miscellaneous income at the point you receive them.

When do I owe tax on yield farming rewards?

Each time you receive a reward — whether trading fees, governance tokens, or staking incentives — it is taxed as miscellaneous income at its pound market value at the moment of receipt. This applies even if you immediately restake or reinvest the tokens.

How do I calculate gains when withdrawing from a liquidity pool?

When you withdraw, compare the pound value of the tokens you receive against their combined cost basis (the value when you deposited plus any income already taxed). If the value is higher, you have a capital gain subject to CGT. If you withdrew the same tokens you deposited, no disposal occurs.

PP
PaisayehPaisa Editorial Team
Financial education in plain language. Our team reviews every article for accuracy and clarity.
← Back to Blog Search all articles
This content is for educational purposes only. Not financial advice. Do your own research before investing.