DeFi Tax Guide (UK) – How HMRC Taxes Decentralised Finance

Accounting Wise - DeFi tax guide - how HMRC taxes decentralised finance Hero Image

Get 50% off our services for the first 6 months when you sign up to one of our Pre-Built or Bespoke Packages!

DeFi (Decentralised Finance) is one of the fastest-growing areas in crypto from staking and yield farming to liquidity pools and token swaps. But with growth comes complexity, especially when it comes to tax.

In the UK, HMRC does not treat DeFi activity as tax-free or outside its remit. Quite the opposite HMRC has provided guidance that makes DeFi transactions taxable events in many cases. But determining exactly what to report, when, and how, can be a challenge.

This post goes someway to breaking down the UK DeFi tax rules, helping individuals, investors, and businesses stay compliant.

What Is DeFi?

Decentralised Finance (DeFi) refers to blockchain-based financial services and products that allow users to lend, borrow, earn, trade, or swap digital assets all without needing traditional banks or intermediaries. Instead, DeFi relies on smart contracts, which automate transactions directly on the blockchain.

Some of the most common DeFi activities include:

  • Staking – locking your cryptocurrency in a blockchain protocol to help secure the network and, in return, earn staking rewards.
  • Yield farming – moving crypto assets between platforms to maximise returns through interest, rewards, or incentives.
  • Liquidity provision – supplying tokens to liquidity pools on decentralised exchanges (DEXs) like Uniswap or PancakeSwap, and earning a share of trading fees.
  • Lending and borrowing – lending crypto to earn interest or using your crypto as collateral to borrow other assets via smart contracts.
  • Airdrops and rewards – receiving free tokens for participating in a project or as part of marketing campaigns.

Key point: Even though these activities operate on decentralised platforms often anonymously and without a central authority they are still taxable in the UK if you are a UK tax resident.

HMRC does not treat crypto as currency but as an asset, and DeFi transactions can give rise to Income Tax or Capital Gains Tax, depending on what you’re doing.

For more detail, see HMRC Cryptoassets Manual which now includes updates on DeFi tax treatment.

Does HMRC Tax DeFi Transactions?

Yes. HMRC considers most DeFi transactions taxable for UK residents either under Capital Gains Tax (CGT) or Income Tax, depending on how the transaction works and why you’re receiving crypto assets.

Key taxes that may apply:

Tax TypeWhen It Applies
Capital Gains Tax (CGT)Selling, swapping, spending, or otherwise disposing of crypto assets including swapping tokens within DeFi platforms. Each disposal is a taxable event.
Income TaxEarning crypto through staking rewards, yield farming returns, or airdrops (if received in exchange for work, promotion, or as an active reward).
Corporation TaxIf you operate a business or company that uses DeFi as part of its trading activity, profits may be subject to Corporation Tax instead of CGT.

 Important: Even actions like swapping tokens or moving them between DeFi protocols can count as a taxable disposal under HMRC rules. Many crypto investors overlook this and end up with unexpected tax bills.

HMRC generally expects you to keep detailed records of all transactions, including dates, market values in GBP, transaction fees, and what each transaction represents.

For official guidance, see the HMRC Cryptoassets Manual  which includes specific sections on DeFi and staking.

Common DeFi Activities and Their Tax Treatment

Let’s break down the most common DeFi use cases and how they’re taxed by HMRC.

1. Staking (Proof-of-Stake Rewards)

Tax treatment:

  • Staking rewards are usually treated as income when received
  • Income must be declared at the fair market value (FMV) in GBP at the time of receipt
  • Any future gain or loss when disposing of those tokens is subject to Capital Gains Tax (CGT)

Example:
You earn 1 ETH from staking. On the day received, ETH is worth £1,500.

  • Report £1,500 as income
  • When you later sell or swap the ETH, calculate CGT based on any gain/loss from the £1,500 baseline

2. Yield Farming

Yield farming often involves more complex transactions across multiple protocols. HMRC applies similar principles:

  • Rewards from yield farming are generally income
  • Any movement or swapping of tokens may trigger a CGT event

Tip: Keep detailed records of each transaction, as multiple gas fees, liquidity moves, and token conversions are involved.

3. Liquidity Pools

Joining a liquidity pool is often treated as a disposal, because you’re exchanging your tokens for LP (Liquidity Provider) tokens.

Tax implications:

  • CGT event when you add assets to the pool
  • Income tax on any rewards received in tokens
  • Another CGT event when you remove your assets or swap LP tokens

Complexity warning:
Some DeFi protocols allow “impermanent loss” or dynamic rebalancing, which can affect your tax calculation. You may end up receiving different tokens than those you originally deposited  which HMRC treats as separate disposals.

4. Lending and Borrowing

Lending platforms like Aave or Compound involve two key tax events:

  • Lending tokens can count as a disposal (CGT) if you lose beneficial ownership
  • Interest earned is treated as income

Borrowing is generally not taxed (you don’t pay tax on loans), but using crypto as collateral can trigger a CGT event if the asset is locked in a smart contract and control is relinquished.

5. Token Swaps and Disposals

Every time you:

  • Swap one token for another
  • Sell crypto for fiat
  • Use crypto to pay for goods/services

…it’s a disposal for CGT purposes.

You’ll need to calculate:

  • Gain or loss = (Value at disposal – Acquisition cost)
  • Deduct any allowable expenses (e.g. transaction fees)

Example:
You bought 2 ETH for £2,000 and later swapped it for tokens worth £2,500.
You made a £500 gain which is taxable under CGT rules.

6. Airdrops

Airdrops are treated differently depending on how they’re received:

  • If received without doing anything in return (e.g. as a random gift), they may not be income, but are taxed as capital when sold
  • If received in exchange for action (e.g. promoting or holding tokens), they’re treated as income at FMV

Tax-Free DeFi?

In the UK, very few DeFi actions are tax-free. However, some instances where you may not be taxed:

  • Buying and holding crypto (no tax until disposal)
  • Transferring between wallets you own (no disposal)
  • Gifting crypto to a spouse (CGT-free)

Crypto Accountants Who Understand the Business Side of Blockchain

 Crypto Accountants

Get 50% off our services for the first 6 months when you sign up to one of our Pre-Built or Bespoke Packages!

Speak to an accounting expert

If you’re unsure what level of support you need, our friendly team are on hand to help you pick the right package for you.

Allowances and Tax Rates (2025/26)

Capital Gains Tax (CGT)

  • Annual exemption: £3,000 (reduced from previous years)
  • Basic rate taxpayers: 10% on crypto gains
  • Higher rate taxpayers: 20% on crypto gains

CGT guidance – GOV.UK

Income Tax

  • Standard income tax rates apply (20%, 40%, 45%)
  • DeFi income is added to your other earnings for the tax year
  • You may use the £1,000 trading allowance or £1,000 miscellaneous income allowance, depending on the nature of the activity

Reporting DeFi to HMRC

If you’re a UK tax resident, you must report your DeFi activity on your Self Assessment tax return. HMRC expects you to declare both income and gains arising from your crypto and DeFi transactions.

How to report DeFi:

  • Crypto income – such as staking rewards, yield farming returns, or taxable airdrops should be reported under “Miscellaneous Income” or “Foreign Income”, depending on the source.
  • Crypto capital gains for example, from swapping, selling, or spending tokens must be included in the Capital Gains section (SA108) of your return.

Key thresholds:

  • You must complete the Capital Gains Summary (SA108) if your total gains for the year exceed the Capital Gains Tax annual allowance or if any individual disposal gains more than £3,000.
  • Even if you make a loss, you should report it so you can offset it against future gains.

Record-keeping is crucial. HMRC expects you to keep clear, detailed records to support your figures. For DeFi, that means tracking:

  • Dates of each transaction
  • Names and quantities of tokens involved
  • GBP value at the date of each event (sale, swap, or income received)
  • Relevant wallet addresses and the DeFi protocol used
  • Gas fees and platform fees paid (these can often be allowable deductions for CGT)

Using crypto tax software can help keep this organised, but ultimately you are responsible for the accuracy of your figures.

What If You Don’t Report?

Many people assume crypto and DeFi activity is “under the radar” but HMRC is now actively targeting undeclared crypto income and gains.

HMRC has access to information from:

  • UK-based and overseas crypto exchanges (thanks to data-sharing rules)
  • Blockchain analysis tools that track wallet activity across multiple blockchains
  • International agreements with other tax authorities under the Common Reporting Standard (CRS) and similar treaties

If you fail to declare your DeFi income or gains, HMRC can impose:

  • Late filing penalties for missing deadlines
  • Interest charges on unpaid tax
  • Formal investigations or compliance checks
  • Fines of up to 100% of the undeclared tax if they decide you deliberately failed to report

Key point: HMRC increasingly uses automated data-matching and blockchain tracing tools so assuming crypto is invisible is a costly mistake.

If you realise you’ve made an error, it’s usually better to make a voluntary disclosure. Coming forward before HMRC contacts you can significantly reduce penalties.

For more on this, see GOV.UK: Disclose undeclared income.

Tools to Track DeFi Taxes

Tracking DeFi transactions manually can be time-consuming especially if you’re swapping tokens across multiple chains or using different wallets and protocols. The good news is there are crypto tax tools designed to help automate much of the process and keep your records HMRC-ready.

Popular DeFi tax tracking tools for UK taxpayers include:

  • Koinlyconnects to wallets, major exchanges, and many DeFi protocols. Supports UK tax treatment and can generate detailed capital gains and income reports for Self Assessment.
  • CoinTrackertracks both crypto income (like staking rewards) and capital gains. Also offers integrations with multiple wallets and exchanges.
  • Recapa UK-based crypto tax platform specifically designed for HMRC reporting, with live portfolio tracking and built-in Capital Gains Tax calculations.

Tip: Even with a good tool, it’s still your legal responsibility to make sure your records are complete and accurate so check your reports before filing.

Final Thoughts

DeFi brings huge opportunities for earning, lending, and investing but it also comes with serious UK tax responsibilities. Whether you’re casually staking tokens or actively farming yield across multiple protocols, understanding how HMRC treats each transaction is essential to avoid unexpected tax bills or penalties.

At Accounting Wise, we help freelancers, crypto investors, and businesses:

  • Track and report DeFi and crypto income accurately
  • Calculate capital gains on token disposals and swaps
  • Stay compliant with HMRC’s complex crypto rules
  • Integrate crypto and digital assets into your wider accounting and tax strategy

Don’t risk falling behind on your obligations get the right support and stay ahead of HMRC’s tightening rules on DeFi.

Contact Accounting Wise today to get clear, practical advice on managing your crypto tax responsibilities.

Need help understanding your business finances? Get started today for expert advice on improving your profits.

Newsletter Subscription - Accounting Wise

Join Our Newsletter!

Get expert accounting tips, tax updates, and business insights straight to your inbox. Sign up today and stay one step ahead!

Newsletter Signup

Hot Topics

More related Accounting Community, News & Resources

Accounting Wise - tax, ebay stores and the HMRC

Tax, eBay Stores and the HMRC

Running an eBay store in the UK can be a profitable side hustle or a full-time business. But while listing, selling, and shipping products may be your main focus, understanding your tax responsibilities is just as important.
Accounting Wise - key accounting dates for October 2025

Key Accounting Dates for October 2025

October is a busy month for UK businesses when it comes to tax and compliance. From Corporation Tax payments and returns to Self Assessment notifications, PAYE, CIS, and even Plastic Packaging Tax, there are several key deadlines that business owners need to keep firmly on their radar.
Accounting Wise - How to File Landlord Self-Assessment in the UK

How to File Landlord Self-Assessment in the UK

For many landlords, especially first-timers, the idea of filing a Self-Assessment can be daunting. The rules around allowable expenses, property income bands, tax relief, and deadlines can feel overwhelming.