DeFi Tax UK: How HMRC Taxes Lending, Borrowing and Yield
If you have lent stablecoins, supplied liquidity, staked tokens or farmed yield, your DeFi tax UK position is rarely as simple as “I only get taxed when I sell”. Decentralised finance breaks the neat split between buying and selling that the rest of crypto tax relies on, because a single deposit into a protocol can be both a movement of your tokens and a source of ongoing returns.
The central question for every DeFi transaction is the same: is it a disposal (taxed under Capital Gains Tax) or does it produce income (taxed under Income Tax)? Get that wrong and you either overpay or under-declare and risk a penalty. This guide explains how HMRC currently taxes lending, borrowing, staking and yield for UK users, using the principles in HMRC’s Cryptoassets Manual.
Key Takeaways
- The first question for any DeFi transaction is whether it is a disposal (CGT) or income (Income Tax).
- Depositing tokens into a lending or staking protocol can be a disposal for CGT if beneficial ownership of the tokens passes to the protocol.
- Returns are taxed by their nature, not their label: a return that looks like interest is generally miscellaneous income, while some returns may be capital.
- Gas and transaction fees are part of the cost of each transaction and can themselves form part of many small disposals.
- HMRC ran a 2023 consultation on simplifying DeFi, but the existing principles still apply until any new rules take effect.
What does DeFi tax UK actually mean?
“DeFi” covers any financial activity run on smart contracts rather than through a bank or centralised exchange: lending pools, liquidity provision, staking, yield farming and borrowing against collateral. There is no special “DeFi tax” in UK law. HMRC simply applies the ordinary rules for Capital Gains Tax and Income Tax to each step. Two questions run through everything below:
- When you move tokens into or out of a protocol, has a disposal happened for CGT purposes?
- When you receive a return, is it income or a capital receipt?
HMRC’s dedicated guidance lives in the DeFi section of the Cryptoassets Manual (CRYPTO61000 onwards), which deals specifically with lending and staking.
Is depositing into a protocol a disposal?
This is the question that catches most people out. Sending tokens to a smart contract feels like moving money into a savings account, but for tax it can be a disposal at market value, crystallising a gain or loss there and then.
HMRC’s test is beneficial ownership. As the manual puts it at CRYPTO61620, you must consider whether the lender or liquidity provider actually transfers beneficial ownership of the tokens to the borrower or platform:
- If beneficial ownership passes to the protocol (for example, the tokens go into a shared pool you no longer control), depositing is a disposal for CGT.
- If beneficial ownership is retained, there is generally no disposal on deposit.
The same logic applies in reverse on withdrawal. If you receive back a different token, or a claim against the pool rather than your original coins, that exchange can be a further disposal. Many DeFi positions therefore produce two CGT events: one in, one out.
How are DeFi returns taxed: income or capital?
Once you are earning, HMRC looks at the nature of the return rather than what the protocol calls it. The manual at CRYPTO61214 uses the established “interest versus growth” distinction:
- A return with the character of interest, a reward for lending, is generally revenue and taxed as miscellaneous income.
- A return that reflects growth in the value of what you hold may instead be capital.
How a reward is paid does not change its nature. Whether it is a fixed return, a variable yield, a final lump sum or new tokens dripped over time, the question is the same: is this compensation for lending (income), or an increase in the value of my position (capital)?
Where a return is income, the general crypto rule applies: it is taxed at its £ market value on the date of receipt, and that value becomes the base cost of the new tokens for any future CGT disposal, so it is not taxed twice.
| DeFi action | Likely tax treatment | What to check |
|---|---|---|
| Deposit tokens into a lending pool | Possible CGT disposal | Does beneficial ownership pass to the protocol? |
| Receive lending interest / yield | Usually income (miscellaneous) | £ market value on date received |
| Receive return reflecting value growth | May be capital | Nature of the return, not its label |
| Withdraw / unwind the position | Possible CGT disposal | Are you getting back different tokens? |
| Pay gas / transaction fees | Small CGT disposal of the fee token | Allowable cost where attributable |
What about borrowing and gas fees?
Borrowing against your crypto is generally not, by itself, a disposal of the collateral, as long as you keep beneficial ownership and the same tokens come back when you repay. The position changes if your collateral is liquidated to cover the loan: that liquidation is a disposal for CGT.
Gas is the hidden tax headache of DeFi. Every interaction, depositing, claiming a reward, swapping, withdrawing, is paid for in a network token such as ETH, and spending crypto to pay a fee is itself a disposal of that fee token. Under CRYPTO22150, transaction fees can be an allowable cost where attributable to acquiring or disposing of an asset, but each payment is also a micro-disposal in its own right. Across an active year that can mean hundreds of tiny gains and losses.
The record-keeping problem
This is where DeFi tax UK becomes genuinely hard. A single yield-farming strategy can generate:
- A disposal on deposit.
- Dozens of income receipts as rewards accrue.
- A gas disposal on every single on-chain action.
- A further disposal on withdrawal.
Each of those needs a £ value at the exact date it happened, fed into your Section 104 pool for that token. Pooling is per person, and HMRC’s matching order is same-day first, then the 30-day rule, then the pool. Protocols do not produce tax statements and wallets do not label transactions, so reconciling a full year by hand is rarely realistic.
Will the rules change?
HMRC has acknowledged that taxing a deposit as a disposal does not match the economic reality of lending tokens you expect to get back. In 2023 it ran a consultation on the taxation of DeFi lending and staking, exploring a framework where no disposal arises on deposit and tax is deferred until you economically dispose of the assets. That work has not yet become law, so the existing principles above still apply.
Worked example: a yield position
Priya, a UK basic-rate taxpayer, deposits ETH worth £20,000 into a lending protocol. She originally acquired that ETH for £14,000, so her Section 104 pool cost is £14,000.
- On deposit: beneficial ownership passes to the protocol, so this is a disposal. Gain = £20,000 − £14,000 = £6,000.
- After her CGT annual exempt amount of £3,000 for 2025/26, the taxable gain is £3,000. At 18% within the basic-rate band, CGT due is £540.
- Rewards: over the year she receives interest-like yield tokens worth £1,200 at their dates of receipt. As miscellaneous income this is taxed at her 20% rate: £240. That £1,200 also becomes the base cost of the reward tokens.
- Gas: she spends ETH on fees throughout the year, each a small disposal she must value and pool.
From one “set and forget” position, Priya has a CGT event, a stream of income, and a year of micro-disposals to track. Total tax on the events above: £780, before accounting for gas.
How a specialist handles it
We start with the data, not the return. We pull every wallet and protocol interaction into one reconciled timeline, classify each event as deposit, reward, fee or withdrawal, apply the beneficial-ownership test to decide what is a disposal, and value every income receipt in £ at the moment it landed. Only then do we build the Section 104 pools and the final figures, so the numbers on your return can be evidenced if HMRC asks.
Frequently Asked Questions
Is moving crypto into a DeFi protocol always a disposal?
No. It depends on whether beneficial ownership of the tokens passes to the protocol. If it does, the deposit is a disposal for CGT. If you keep beneficial ownership of the same tokens, there is generally no disposal on deposit.
Is DeFi yield income or capital?
It depends on the nature of the return. A reward that behaves like interest for lending is generally taxed as miscellaneous income, while a return reflecting growth in value may be capital. The label the protocol uses does not decide it.
How is DeFi income valued?
Income rewards are taxed at their £ market value on the date you receive them. That same value becomes the base cost of those tokens for any later CGT disposal, so the value is not taxed twice.
Do I pay tax just for paying gas fees?
Spending crypto to pay a gas or transaction fee is a disposal of that fee token, so it can produce a small gain or loss. The fee may also be an allowable cost where it is attributable to acquiring or disposing of an asset.
Is borrowing against my crypto taxable?
Taking out a loan against your crypto is generally not a disposal of the collateral, provided you keep beneficial ownership and get the same tokens back. If your collateral is liquidated, that liquidation is a disposal for CGT.
Are the DeFi rules going to change?
HMRC consulted in 2023 on simplifying how DeFi lending and staking are taxed, including not treating a deposit as a disposal. No new rules have taken effect yet, so the existing principles still apply.
Get your DeFi position reconciled before you file
DeFi is where most DIY crypto tax falls apart, because a year of lending, staking and farming can hide a CGT disposal inside what felt like a simple deposit. If you are unsure whether your protocol activity is income, capital, or both, get it checked before the next Self Assessment deadline. Book a free, confidential review at certifiedcryptoaccountant.com, and see how our crypto tax services handle DeFi reconciliation and disclosure for UK and US clients.
Sources: HMRC Cryptoassets Manual, Decentralised Finance: Lending and staking (GOV.UK, CRYPTO61000 and CRYPTO61620); HMRC consultation, “The taxation of Decentralised Finance involving the lending and staking of cryptoassets” (GOV.UK); HMRC, Capital Gains Tax (GOV.UK).