Tax rules for DeFi are hard, but one problem comes before all of them: most people cannot reconstruct what they did. A year of swaps, pool deposits and reward claims across several wallets le
Tax rules for DeFi are hard, but one problem comes before all of them: most people cannot reconstruct what they did. A year of swaps, pool deposits and reward claims across several wallets leaves a trail that is easy to lose. This guide, written for December when many people tidy up before year end, reads what three tax authorities say you should record, then turns it into a simple log you can start today. It is about record keeping, not about tax-loss harvesting, which we cover in a separate November article. It is not tax advice.
What to know first
- The IRS (US) says that if you had digital asset transactions you must report them, whether or not they produced a taxable gain or loss, and it lists the details you need: type of asset, date and time, units, fair market value in US dollars, and basis.
- The ATO (Australia) says each crypto asset is a separate capital gains tax asset and lists records to keep, including the date, what the transaction was for, the other party's address and the Australian dollar value at the time.
- The ATO says to export your transaction history at least every 3 months, and to keep records for 5 years from the later of several dates.
- HMRC (UK) says tokens of each type are grouped into "pools", and the UK tax year runs 6 April to 5 April.
- On the ATO's DeFi page (revised 19 August 2026), depositing into a liquidity pool, and some DeFi "lending", can be a taxable event. Rewards are income at their value when received. The rules in your country may differ.
How we chose what to cover
We read the IRS "Digital assets" page, the HMRC guidance "Check if you need to pay tax when you sell cryptoassets", the HMRC collection page for cryptoassets, GOV.UK's Self Assessment deadlines page, and the ATO pages "Keeping crypto records" and "Decentralised finance and wrapping crypto", all on 3 December 2026. The IRS "when to file" page and the Canadian and Australian filing-date pages did not give us usable text, so we do not give filing deadlines for those countries. Our existing article on how to check a DeFi protocol before depositing covers safety. This article covers what you should write down after you deposit.
Terms used in this guide
Term
Plain meaning
Cost basis
What you paid for an asset, which is subtracted from the sale value to find your gain or loss
Disposal
Selling, swapping or otherwise parting with an asset in a way tax authorities count
Fair market value (FMV)
The value of the asset in your local currency at the moment of the transaction
Liquidity pool
A smart contract that holds pairs of tokens so others can trade, in return for fees to depositors
Receipt token
A token you get for depositing into a pool or protocol, which represents your share
Gas fee
The network fee you pay to send a transaction
Tx hash
The unique ID of a blockchain transaction, which anyone can look up
What the three authorities say to record
US (IRS). The IRS says digital assets are property for US tax purposes. If you had transactions, you must keep records documenting purchases, receipts, sales, exchanges or other dispositions, and the fair market value in US dollars of assets received as income or as payment in the ordinary course of a business. To calculate a gain or loss it lists the information you need: type of asset, date and time of transaction, number of units, fair market value at the time, and basis. It says a holding of one year or less is short-term and more than one year is long-term. It points to Form 8949 for capital assets, and to Form 1040 Schedule 1 for ordinary income from forks, staking and mining. The page says moving digital assets between wallets or accounts you own or control is not by itself a transaction that triggers a "Yes" answer to the digital assets question.

IRS Digital assets page explaining how to report digital asset transactions on a US tax return. Source: IRS.
UK (HMRC). HMRC says you work out your gain for each transaction, that the way you do so differs if you sell tokens within 30 days of buying them, and that you group each type of token into a pool and track a pooled cost. When you buy or receive tokens you add the amount paid to the pool, and when you dispose of tokens you deduct an equivalent proportion of the pooled cost. The tax year runs 6 April to 5 April. GOV.UK's deadlines page says the online Self Assessment return for 2025 to 2026 is due by 11:59pm on 31 January 2027, as is the payment.

HMRC Cryptoassets collection on GOV.UK with guidance for individuals on tax when you sell cryptoassets. Source: GOV.UK.
Australia (ATO). The ATO says you must keep records of each crypto asset and every transaction, and lists: receipts, the date of each transaction, what it is for and who the other party is (their address can be enough), exchange records, the Australian dollar value at the time, agent, accountant and legal costs, wallet records and keys, and software costs for tax. It says each crypto asset is a separate CGT asset. Its tips: export your history regularly, at least every 3 months, export everything before closing an account, and use a blockchain explorer or the exchange's support to rebuild lost records. Records should be kept for 5 years from the later of when you prepared them, when the transactions were complete, or the year the CGT event happened.
Why DeFi is harder to record
The ATO page explains the problem well, using Australian rules. Three examples from it, in plain words:

ATO page on decentralised finance and wrapping crypto, desktop view. Source: Australian Taxation Office.
- Pool deposits. The ATO says a CGT event happens when you deposit crypto into a liquidity pool, and the proceeds equal the market value of what you get back, such as a receipt token or a right. In its example, a provider deposited 1 EH bought 3 years earlier for $2 and received 20 XA tokens worth $20. The deposit counted as a CGT event with a capital gain of $18. The numbers are the ATO's own example, not ours.
- Withdrawals. Withdrawing from the pool is another CGT event, with proceeds equal to the market value of what you withdraw.
- Rewards. If you receive periodic rewards from a DeFi platform, you must report the market value of the reward at the time of receipt as assessable income, which the ATO says is taxed similarly to interest.
The page also says DeFi terms such as "lending" and "interest" do not always match their ordinary meaning for tax, and that many DeFi lending arrangements cause a CGT event because beneficial ownership ends. Rules in the US and UK may differ, and the IRS page we read does not go into DeFi detail. That is why the record has to capture the exact steps: you cannot decide how to treat an event later if you did not write down what happened.
A one-row-per-event log
Using the lists above, here is a simple log. One row per event, kept in a spreadsheet:
Column
What to write
Why
Date and time (UTC)
Exact time of the transaction
IRS lists date and time; prices change by the minute
Wallet / account
Which wallet or exchange
Keeps positions separate
Chain
Ethereum,
Solana, and so on
Same token can exist on several chains
Tx hash
The transaction ID
Proof, and a way to look it up later
Action
Swap, deposit to pool, withdraw, claim reward, bridge, send to own wallet, gift
The tax treatment depends on it
Asset out and units
What left, and how many
Needed for disposals
Asset in and units
What arrived, including receipt tokens
Needed for cost basis
Value in your currency
Value at that moment and the price source
IRS and ATO both ask for it
Fees
Gas and platform fees, in the fee token and its value
ATO lists related costs
Counterparty / protocol
Contract or protocol name and address
ATO asks who the other party is
Notes
What it was for, and links to screenshots
Context
Rules for keeping it:
- Step 1: Log reward claims as events with the value at the time you received them, not when you sell them.
- Step 2: Log receipt tokens as a separate asset with their own row, because they are what you hold while the position is open.
- Step 3: Log transfers between your own wallets, marked as such, so they are not mistaken for sales.
- Step 4: Save the price source. Write down where you got the value.
- Step 5: Export your history on a schedule. The ATO suggests every 3 months. A calendar reminder at year end is a start.
Per-wallet tracking
Many people use several wallets, one for long-term holding, one for DeFi and some on an exchange. For records, the sources we read lead to three points: the ATO treats each crypto asset as separate, HMRC pools tokens by type, and the IRS asks for basis information per disposal. None of the pages we read said how to split basis across wallets in each country. We did not read the current US rules on whether cost basis must be tracked wallet by wallet, so ask a tax professional before choosing a method. Whatever method you use, always record which wallet each row belongs to. You can combine rows later, but you cannot separate them if you did not record them.
Our reading
The three authorities ask for similar things: the date, the amount, the value at the time, the other party and the cost. They differ on what counts as an event and on how to pool costs, and for DeFi only the ATO page we read goes into detail. The cheapest step is to start logging now with the template above. Anything you did earlier in the year can be rebuilt from exchange exports and blockchain explorers, and the earlier you do it, the less you forget.
What we did not check
- We did not read the full IRS FAQs on virtual currency, or any IRS guidance on staking or liquidity pools in DeFi.
- We did not check US rules on wallet-by-wallet cost basis.
- We did not read HMRC guidance on DeFi, staking or liquidity pools.
- We did not read Canadian or other countries' guidance.
- We did not verify filing deadlines for the US, Canada or Australia.
- We did not test any crypto tax software.
- Risk warning: Rules differ by country and change. None of this is tax advice.
FAQ
What is the minimum I should record for each DeFi transaction?
Date and time, wallet, chain, transaction ID, action, assets in and out with units, the value at that time and its source, and the fees. This follows the lists in the IRS and ATO pages.
Do I need to record transfers between my own wallets?
Yes, mark them clearly. The IRS page says transferring digital assets between wallets you own or control is not by itself a reason to answer "Yes" to the digital assets question, but a record helps show it was your own transfer.
Is depositing into a liquidity pool a taxable event?
In Australia, the ATO says it is a CGT event. Other countries may treat it differently, and we did not check the US or UK on this point.
How long should I keep records?
In Australia, 5 years from the later of the dates the ATO lists. Other countries have their own rules, which we did not check.
Can I rebuild missing records?
Often partly. The ATO suggests using a blockchain explorer or contacting the exchange. It is much harder after an account is closed, so export before you close.
Is this tax advice?
No. It describes public guidance and suggests a way to keep records. Ask a qualified tax professional in your country.
Read original article on defiliban.io