DeFi Tax in Japan: Swaps, Liquidity and Yield Farming
DeFi is where Japanese crypto tax stops being arithmetic and starts being judgement. The published guidance covers the building blocks clearly. It does not answer every composite transaction, and pretending otherwise is how people end up with a number they cannot defend.
This guide separates the two: what the NTA has actually stated, and where you are reasoning by analogy and should say so.
The two rules everything else is built from
First, a swap is a disposal. FAQ section 1-3 covers exchanging one crypto asset for another and treats it as a taxable event, valued in yen. There is no fiat leg required and no de minimis for small swaps. A DeFi user who never touches yen can still have a full year of taxable disposals.
Second, rewards are income on receipt. FAQ section 1-7 covers mining, staking and lending, and brings the market value of the crypto received at the time of receipt into gross revenue, with the costs incurred deductible. That value also becomes the cost of those tokens, so selling them later is a second, separate event measured against it.
Those two rules, applied honestly, resolve most of what a DeFi user actually does.
Applying them to the common patterns
- DEX swap. Squarely within section 1-3. Disposal of the token given, valued in yen at the time.
- Yield farming rewards. Reward tokens arriving in your wallet are the section 1-7 pattern: income at the yen value on receipt, and that value becomes their cost.
- Lending interest. Section 1-7 names lending explicitly.
- Gas and protocol fees. Section 2-3 lists the necessary expenses for a crypto disposal as the cost of the asset disposed of and the fees paid on sale, and allows other expenditure only to the extent it is directly required for the disposal.
Where the guidance runs out
Depositing into a liquidity pool and receiving an LP token in return is not addressed by a dedicated Q&A. Whether that deposit is itself a disposal of the deposited assets depends on how you characterise the exchange, and the honest position is that this is a judgement call, not a settled rule. The same applies to LP token redemption, to impermanent loss, to wrapping and bridging, and to rebasing tokens.
What you can do is be consistent and be able to explain your treatment. What you should not do is adopt whichever characterisation is cheapest in each individual case. If your positions are material, this is the point to involve a tax accountant rather than a calculator.
The three things that make DeFi expensive in Japan
The rate. Crypto gains are miscellaneous income, aggregated with your other income and taxed at progressive national rates of 5% to 45% plus a flat 10% resident tax, so the effective ceiling is around 55%.
No offset. Under FAQ section 2-11, losses arising in the computation of miscellaneous income cannot be set against salary or other income, because the Income Tax Act restricts offsetting to real estate, business, forestry and capital gains income. A profitable farm and a failed one in the same year net off inside miscellaneous income, but a losing year does not reduce your salary tax.
Reward volume. Per block or per day reward accrual means hundreds or thousands of separate income events, each needing a yen value at its own timestamp. This is the part that cannot be done by hand and is the main reason DeFi users need software rather than a spreadsheet.
Cost basis method
Disposal cost is computed by the total average method or the moving average method, selected per crypto asset type. FAQ section 2-5 requires the election to be filed by the filing deadline for the year of first acquisition, and states that where no election is filed the method is the total average method. Section 2-6 sets out how to change it later.
For DeFi in particular the choice matters, because a high volume of same-token in and out over a year produces materially different results under the two methods.
Our Japan crypto tax guide covers the income rules, and the DeFi tax guide covers the mechanics across jurisdictions.
General information, not tax advice. DeFi treatment involves genuine uncertainty. Confirm your positions with a qualified Japanese tax professional.
Practical Record-Keeping for DeFi Positions
Keeping a clear and consistent record of your DeFi activity is the foundation of any defensible tax position. Start by maintaining a transaction log that captures the date and time of each event, the protocol involved, the type of action (such as a swap, deposit, withdrawal, or reward receipt), and the amounts of each token before and after the event. For every transaction, note the market value in yen at the exact moment, using a reliable price source. If you use a portfolio tracker or tax software, ensure it can export raw data so you can verify the calculations independently. It is also wise to record the wallet addresses involved and any transaction hashes, as these serve as evidence if questions arise later. Organise your records by tax year and keep them in a secure location, as you may need to refer back to them for several years. Remember that the quality of your records directly affects your ability to explain your positions to a professional or an authority. A well-documented trail reduces stress and helps you identify any missing information early, rather than scrambling at filing time.
Identifying Unanswered Questions in Your Situation
Before you finalise any tax calculation, take time to list the specific aspects of your DeFi activity that are not clearly addressed by published guidance. For example, you might be unsure whether depositing tokens into a liquidity pool constitutes a disposal, or how to treat the receipt of an LP token. Write down each uncertainty and the possible interpretations. For each one, consider the most reasonable and consistent approach, and document why you chose it. This is not about finding the cheapest option, but about being able to justify your method. If you have multiple similar transactions, apply the same logic to all of them. If you are using software, check how it handles these edge cases and whether you can override its default settings to match your chosen approach. Keep a separate note of these decisions, as they will be invaluable if you need to explain your return to a tax professional or an auditor. Remember that unanswered questions are normal in DeFi, but ignoring them is not a strategy.
Reconciling Data Across Multiple Sources
DeFi activity often spans multiple platforms, wallets, and blockchains, making it easy for data to become inconsistent. To ensure accuracy, you should reconcile your records against independent sources. Start by comparing your transaction log with the history shown on each protocol's interface or on a blockchain explorer. Check that token balances match across your records and the actual wallet balances at various points in time. If you use tax software, import data from all relevant sources and verify that the software's totals align with your own calculations. Pay special attention to events that might be recorded differently, such as wrapped tokens, airdrops, or rebasing tokens. If you find discrepancies, trace them back to the original transaction and correct the error. It is also helpful to keep a summary of your total income and disposals for the year, and cross-check it against your exchange statements if you used any. This process may be time-consuming, but it catches mistakes that could otherwise lead to an incorrect filing. A thorough reconciliation gives you confidence that your numbers are complete and accurate.
Documenting Your Assumptions and Judgements
Because DeFi involves many judgement calls, it is essential to document every assumption you make. For each uncertain transaction, write down the facts, the possible treatments, and the reasoning behind your choice. For example, if you decide that a liquidity pool deposit is not a disposal, note why you believe the economic substance supports that view, and cite any analogy to existing guidance. If you use a particular valuation method for rewards, explain how you determined the market value and at what time. This documentation serves as a personal reference and as evidence if your return is questioned. It also helps you stay consistent throughout the year, as you can refer back to your notes for similar transactions. When you prepare your tax return, keep this documentation alongside your other records. If you work with a tax professional, share these notes so they can understand your approach and offer advice. Remember that a well-documented assumption is far more credible than an unexplained number, and it demonstrates that you have acted in good faith.
Reviewing Before Filing and Knowing When to Seek Help
Before you submit your tax return or finalise your accounting, conduct a thorough review of your entire calculation. Check that all transactions are included, that values are consistent, and that your chosen methods have been applied uniformly. Look for any obvious errors, such as missing entries or incorrect timestamps. If you have used software, spot-check a few transactions manually to ensure the output is reliable. Consider whether your total income and gains seem reasonable given your activity. If something looks off, investigate before filing. Also, be aware of your own limits. If your DeFi activity is complex or involves significant amounts, it is wise to consult a qualified tax professional who understands both Japanese tax law and DeFi. They can help you navigate the grey areas and ensure your return is as accurate as possible. Seeking help early is better than facing a problem later. Remember that the goal is not to minimise your tax at all costs, but to report correctly and defensibly. A careful review and professional advice can give you peace of mind and reduce the risk of future issues.
Organising Your DeFi Records
A disciplined approach to record-keeping is the backbone of any defensible tax position, especially in the complex world of DeFi. Begin by establishing a single, consistent system for capturing every transaction. This means logging each event with its date and time, the protocol used, the type of action (swap, deposit, withdrawal, reward receipt), and the exact amounts of each token involved. For every transaction, record the market value in yen at the precise moment it occurred, using a reliable price source. If you rely on portfolio trackers or tax software, ensure you can export the raw data so you can verify calculations independently. Keep a record of wallet addresses and transaction hashes as evidence. Organise your records by tax year and store them securely, as you may need to refer back to them for several years. The quality of your records directly affects your ability to explain your positions to a professional or an authority. A well-documented trail reduces stress and helps you identify missing information early, rather than scrambling at filing time. Additionally, reconcile your records against independent sources. Compare your transaction log with the history shown on each protocol's interface or on a blockchain explorer. Check that token balances match across your records and actual wallet balances at various points. If you use tax software, import data from all relevant sources and verify that the software's totals align with your own calculations. Pay special attention to events that might be recorded differently, such as wrapped tokens, airdrops, or rebasing tokens. If you find discrepancies, trace them back to the original transaction and correct the error. It is also helpful to keep a summary of your total income and disposals for the year, and cross-check it against any exchange statements. This process may be time-consuming, but it catches mistakes that could otherwise lead to an incorrect filing. A thorough reconciliation gives you confidence that your numbers are complete and accurate. Document every assumption you make, especially for uncertain transactions. Write down the facts, the possible treatments, and the reasoning behind your choice. For example, if you decide that a liquidity pool deposit is not a disposal, note why you believe the economic substance supports that view, and cite any analogy to existing guidance. If you use a particular valuation method for rewards, explain how you determined the market value and at what time.
FAQ
Is a DEX swap taxable in Japan?
Yes. FAQ section 1-3 treats exchanging one crypto asset for another as a taxable event valued in yen. No fiat leg is required and there is no de minimis for small swaps.
When are yield farming rewards taxed?
On receipt. FAQ section 1-7 brings the market value of crypto obtained from mining, staking and lending into gross revenue at the time of receipt, with the costs incurred deductible. That value also becomes the cost of those tokens for the later disposal.
Is entering a liquidity pool a disposal?
There is no dedicated NTA Q&A on it. Whether depositing assets and receiving an LP token is itself a disposal depends on how the exchange is characterised, and the honest position is that this is a judgement call rather than a settled rule. Be consistent, be able to explain your treatment, and take advice if the amounts are material.
Can DeFi losses reduce my salary tax?
No. FAQ section 2-11 states that losses arising in the computation of miscellaneous income cannot be offset against salary or other income, because the Income Tax Act limits offsetting to real estate, business, forestry and capital gains income.
