UK DeFi tax guide

CRYPTOUK TAXREGULATION
8 min read
First published:
Last updated:
Sam Adams
Written by
Sam Adams,
Head of Content
Louise Lane headshot
Reviewed by
Louise Lane,
Associate Tax Director

DeFi, short for Decentralised Finance, is an innovative concept in the world of cryptocurrency that leverages blockchain technology to enable users to participate in various financial activities, such as lending, borrowing, trading, and more, without relying on traditional intermediaries like banks.

This guide aims to simplify the complex world of DeFi taxation for crypto enthusiasts and investors. We will cover essential topics to provide a basic understanding of DeFi and HMRC’s latest DeFi tax guidance before delving into the intricacies of DeFi taxation for specific activities including staking, liquidity pools, wrapped tokens, and lending. It's important to note that although we refer to this as "DeFi" guidance some of this activity can be practiced on centralised exchanges with the same tax application.

By the end of this guide, you’ll have a clearer grasp of the tax implications associated with your DeFi transactions.

What is DeFi?

DeFi, or Decentralised Finance, is a blockchain-based financial ecosystem that operates without traditional intermediaries, offering decentralised, permissionless, and transparent financial services to users globally.

The heart of DeFi lies in smart contracts, which automate transactions. Users can engage in a range of activities including trading, borrowing, lending and liquidity pools. Unlike in centralised systems where financial institutions would have control over these transactions, incurring time delays and extra costs, in DeFi anyone can participate without approval. This approach empowers users across the globe to access transparent and publicly verifiable financial services without geographical restrictions.

DeFi makes finance more inclusive, efficient, and open to all, with decentralised applications (dApps) running on blockchains like Ethereum, Solana, and Avalanche.

How is DeFi taxed?

Decentralised finance may be permissionless but it is taxable, and unfortunately understanding how can get pretty confusing as it often depends on the mechanics and the terms and conditions of the specific DeFi protocol and the type of activity you are participating in.

Rewards from DeFi activity may be subject to capital gains or income tax depending on whether a transaction is capital or revenue in nature. Additionally, when engaging in activities like lending, staking and liquidity pools, you need to consider the capital gains tax position of the principal tokens when entering and exiting, as well as the tax treatment for rewards generated.

Income tax for DeFi transactions

When you earn rewards for engaging in DeFi activity, for example from staking and lending, these rewards will likely be subject to income tax, reported on the tax return as miscellaneous income and taxed at your regular income tax rate. In rare circumstances, tax payers may be classed a ‘financial trader’ in cryptoassets and rewards are then reported as trading income.

Tax on airdrops

DeFi airdrops are considered as taxable income if they are received in return (or expectation) of performing a service. Regardless of whether the airdrop was treated as taxable or non-taxable upon receipt, the crypto asset will be subject to capital gains tax when disposed of. Take a look at our full <UK Crypto Tax Guide> to find out more.

Capital gains tax for DeFi transactions

Normal capital gains rules apply when you trade and sell crypto on decentralised exchanges. Just like on a centralised exchange, each time you dispose of a cryptoasset (by selling it for fiat, exchanging crypto to crypto, purchasing with crypto, or gifting crypto), you trigger a capital gain or loss depending on how the price of your crypto has changed since you originally acquired it (but watch out for the non-intuitive matching rules). When your net capital gains for the year exceeds the <annual capital gains allowance> you will pay capital gains tax at a <tax rate> dependent on your total annual income.

In addition to to calculating the tax position upon the ultimate disposal of the tokens, the following DeFi transactions might also be subject to capital gains tax if a change of beneficial ownership takes place at the time of entry/exit:

  • Adding/removing your crypto to/from a liquidity pool
  • Lending out your cryptoassets
  • Depositing crypto assets as collateral for a loan you take out
  • Staking your cryptoassets

To learn more about how cryptocurrency is taxed, and find more detail on tax allowances and tax rates then take a look at our detailed UK Crypto Tax Guide.

HMRC’s new guidance on DeFi lending and staking

In February 2022, HMRC published new guidance in their Cryptoasset Manual titled ‘Decentralised Finance: Lending and Staking’ indicating that investors need to consider the tax treatment of lending and staking activities as set out below:

  • Return/reward generated from the yield generating activity:
    • taxed as income or capital gains?
    • taxed at the time of entering activity, when received, or both?
  • Principal tokens locked away when staked/loaned/added as collateral:
    • capital gains tax disposal upon entry of the yield generating activity?
    • capital gains tax disposal upon exit from the yield generating activity?

Understanding how my DeFi transactions are taxed based on HMRC guidance?

You can follow the steps below to help establish how your DeFi transactions should be treated for tax. This can become very complex and seeking help from a tax professional or legal advisor is recommended.

1. Is the reward income or capital?

The tax treatment of income or capital for the reward received by the lender/liquidity provider depends on the structure of the transaction. HMRC have set out some guiding principles for determining the nature of receipt as capital or revenue and we summarise some indicators below:

CapitalIncome
Return earned by providing a service to the borrower/DeFi lending platform
The return isrealised from the capital growth in value of an asset owned by the lender/liquidity providerpaid to the lender/liquidity provider by the borrower/DeFi lending platform
At the time of agreement, the return is…unknown/ speculativeknown / agreed
Return is paid… upon repayment of the principal a one-off paymentperiodically throughout the period of lending
The period of lendingindefinite or long termfixed or short term

2. Is beneficial ownership transferred?

You will need to examine the terms and conditions for each type of lending/staking activity to understand if beneficial ownership has been transferred. 

  • Where the recipient is able to deal with the tokens as they wish, it is a strong indicator that they have acquired beneficial ownership.
  • Where the recipient is restricted from dealing with the received tokens, it is a strong indicator that the lender/liquidity provider has retained beneficial ownership.

3. Consider the tax treatment

Using your decisions on income vs capital and whether beneficial ownership transferred, you can work out the tax treatment for the principal token on entry and exit from the yield generating activity. This becomes complex as there are so many different scenarios with different tax outcomes, take a look at our technical tax guide for full detail.

Now that we have introduced the different concepts of capital and income rewards and explained the importance of the transfer of beneficial ownership, we will explore the taxation of different types of DeFi transactions in more detail.

What is liquidity mining tax?

A liquidity pool is a crowdsourced pool of cryptocurrencies or tokens locked in a smart contract that is used to facilitate trades between the assets on a decentralised exchange (DEX), providing liquidity and convenience to the DeFi ecosystem. When a user supplies a pool with liquidity, they are often rewarded with Liquidity Provider (LP) tokens in proportion to the amount of liquidity. When the pool facilitates a trade, a fractional fee is distributed proportionally amongst the LP token holders. DeFi protocols like Uniswap and Curve offer liquidity pools built on various blockchain platforms like Ethereum and Polygon.

According to HMRCs guidance, when engaging in liquidity pools you may have a tax liability on entering and exiting the pool as well as on rewards received. This however is only the case where you lost beneficial ownership of your tokens whilst they were in the pool.

Tax on liquidity pool rewards

Tax on liquidity pool rewards depends on if the nature of the liquidity pool reward is capital or income.

Income in nature: the liquidity pool reward is taxable as miscellaneous income based on the sterling value of the received reward on the date it was receivable. (Or, for “financial traders” treated as trading income).

Capital in nature: the reward is subject to capital gains tax - please refer to our technical guide for more detail on when this is taxed.

It’s important to record the acquisition cost of the liquidity pool reward when received, as this assists with the CGT calculation when these tokens are later disposed of.

Tax on entering and exiting a liquidity pool

No change in beneficial ownership: If there is no transfer of beneficial ownership then a capital gain is not realised when tokens are added or removed from the pool.

Change in beneficial ownership: If there is a transfer in beneficial ownership, this triggers a capital gain or loss at the time of adding and removing your cryptoassets to/from a liquidity pool:

  • When you enter a liquidity pool, you lock away the principal token and receive a redemption token. This is viewed as:
    • a CGT disposal of the principal token - the disposal proceed are the sterling market value and there could be a gain or loss
    • an acquisition of the redemption token - the acquisition cost is the sterling market value of the disposed token
  • When you exit the pool, you reacquire the principal token and dispose of the redemption token. This is viewed as:
    • an acquisition of the principal token - the acquisition cost is the sterling market value of the token re-acquired
    • a disposal of the the redemption token, where proceeds are the market value of the reacquired principal token

Although the principle is the same, tax is applied differently depending on if the liquidity pool rewards are deemed income or capital in nature, please seek help from a tax professional or refer to our <technical guide> for more detailed information.

DeFi taxes on lending

Some DeFi protocols such as Aave and Compound allow crypto users to secure loans by depositing their crypto as collateral. Interest rates are determined by the market and shift in response to supply and demand. When lending crypto on decentralised platforms you may be subject to income tax and/or capital gains tax, depending on the nature of the reward and if there is a change in beneficial ownership.

Tax on your lending rewards

Income in nature: If you decide the nature of your lending rewards is income, your tokens will be taxable as miscellaneous income, subject to income tax at their sterling value at the date they are receivable.

Capital in nature: If you decide your lending rewards are capital in nature, then at the point of loaning out your tokens, a capital gain is realised on the reward (based on the estimated present value of the future reward). This gain upon entry is then re-assessed upon receipt of the capital reward (usually upon repayment to you of the tokens lent out), based on the value of the reward when received.

Tax when loaning out and receiving repayment of your tokens

There is no income tax on the principal tokens, but you need to consider the capital gains tax positions at the time of loaning out and at the time of receiving the repayment of your cryptoassets.

The capital gains tax treatments differs depending on whether beneficial ownership changes when the tokens are loaned out - take a look at our <technical guide> for more detail and get help from a tax professional where required.

DeFi taxes on borrowing

The tax position for an individual borrowing tokens is simpler to understand as the same treatment applies regardless of any change in beneficial ownership!

Receipt of loan: When the loan is received there is an acquisition of the tokens borrowed, at their sterling market value at date of receipt.

Don’t forget that depending how the loan is used, there may be further taxable events. For example, if the loan is used to purchase other cryptoassets then these would be disposals and normal capital gains tax would apply.

Repayment of Loan: When the loan is repaid this is classed as a disposal subject to capital gains tax based on the sterling market value at the date of repayment.

There is no tax relief for any lending fees paid to the lender however if the fee is paid using cryptoassets this is subject to CGT.

How is staking taxed?

Crypto staking involves locking up a certain amount of cryptocurrency in a blockchain network to support its operations, earning stakers rewards in the form of additional cryptocurrency. For instance, staking Ethereum in a proof-of-stake network to validate transactions and receive additional Ethereum as a reward.

When staking crypto, you may be subject to income tax and/or capital gains tax, depending on the nature of the reward and if there is a change in beneficial ownership.

Tax on the staking reward

Income in nature: The sterling value of the crypto staking reward is taxable as miscellaneous income (or in rare circumstances, where the staking activity amounts to financial trading - trading income).

Capital in nature: A capital gain is realised at the time of staking the crypto tokens (based on the estimated present value of the future capital reward). This is then re-assessed upon receipt of the capital reward, based on the value of the reward when received.

Tax at the time of staking and receiving staking reward

If there is a transfer in beneficial ownership at the time of staking then you need to consider the capital gains tax position of the tokens. For detailed information take a look at our Technical Tax guide for the UK or get assistance from a tax professional.

To stay on top of your crypto taxes and track your cryptoassets all in one place, start your journey with Recap and sign up for free today.


UK DeFi tax FAQs

Do DeFi protocols report to HMRC?

It’s unlikely that DeFi protocols report to HMRC but as transparency becomes more important in crypto then this may change in future. Don’t forget that keeping HMRC informed on your taxable income and gains is your responsibility!

Can HMRC see my DeFi activity?

Although it’s likely that tax authorities like HMRC have mechanisms to monitor and investigate decentralised finance activity, we honestly don’t know! Users engaging in DeFi activities should be aware of their tax obligations and stay informed about any updates or changes in regulations.


When does the HMRC guidance on DeFi lending and staking apply from?

All HMRC guidance is not law but their interpretation of existing tax law, therefore it applies to all prior transactions. If you feel your prior years tax returns were filed incorrectly, after reading the 2022 DeFi Lending and Staking guidance, you should file an amended return.

Should I wait for new HMRC guidance before submitting a tax return for my DeFi activity?

No, although we expect HMRC’s 2022 DeFi lending and staking guidance to change, you must still submit a tax return. Not doing so may result in fines or penalties.


How is crypto yield farming taxed in the UK?

Yield farming in crypto involves providing liquidity to DeFi protocols by locking up assets, earning users additional tokens or interest as rewards for participating in the network. The taxation of yield farming can likely be approached in the same way as liquidity mining. It’s likely that returns generated from yield farming are considered income tax. You should always check with a professional tax advisor if unsure.

How are wrapped crypto tokens taxed in the UK?

A wrapped token in crypto is a representation of an asset tokenised on a different blockchain, enabling cross-chain compatibility and use on decentralised platforms while maintaining a pegged value to the original asset. For example Wrapped Bitcoin (WBTC), represents Bitcoin (BTC) on the Ethereum blockchain, allowing users to trade and use WBTC on Ethereum-based decentralised platforms while the value remains pegged to the price of Bitcoin. The process of wrapping a token is an exchange of one cryptoasset for another and is therefore a disposal subject to capital gains tax. As the tokens share the same (or similar) market value by design, the tax impact is likely to be small however it should still be accounted for.

Related Posts

UK TAX
An illustration of a book "Recap's crypto tax guide" with an image of the Union Jack (UK) flag and a pile of Bitocoin.

Crypto tax UK: A comprehensive guide

Essential crypto tax information based on HMRC's guidance to help you understand when and how you need to pay tax on your crypto assets.

Sam Adams
UK TAX
REGULATION
Crypto Tax Sucks: E02 Decrypting DeFi Taxes

Crypto Tax Sucks: E02 Decrypting DeFi Taxes

In this second episode of "Crypto Tax Sucks" I'm joined by Joe David of MYNA and Tom Wardle of Swapsicle to talk about DeFi taxes.

Dan Howitt
CRYPTO
UK TAX
HMRC logo and a Union Jack with DeFi logos like Ethereum, Polygon and Solana

UK government proposes new legislation to simplify taxation for crypto investors engaged in DeFi lending and staking activities

HMRC has issued a further consultation on the taxation of DeFi. We break down the detail and explore how their proposal might be developed further to ensure clarity and certainty for taxpayers.

Sam Adams