Can you deduct crypto fees on taxes?
You can deduct crypto fees indirectly. Trading and gas fees on buys and sells adjust basis or proceeds, but fees to move coins between your own wallets do not.
Crypto fees are usually not a deduction on their own line, but many of them still reduce your tax. In the US, fees tied to buying or selling crypto change the numbers used to work out a gain or loss. The UK takes a similar approach through allowable costs. The catch is that not every fee qualifies.
Are crypto transaction fees tax deductible?
Not as a standalone deduction for most investors. The IRS calls them digital asset transaction costs: amounts paid in cash or property to carry out a purchase, sale or other disposal. It names gas fees, transfer taxes and commissions as examples.
Where they go depends on the trade:
- Buying with dollars. The fee is added to your cost basis.
- Selling for dollars. The fee reduces the amount realized.
- Swapping one coin for another. The fee reduces the amount realized on the coin you give up. The IRS says it cannot also be added to the basis of the coin you receive.
Either way, the effect is a smaller gain or a larger loss.
Are gas fees tax deductible?
A gas fee paid as part of a purchase, sale or swap counts as a transaction cost and is treated as above. A gas fee paid to move coins between your own wallets does not. The IRS says such fees are not transaction costs, so they cannot be added to basis.
There is a second effect. Paying a fee in crypto is itself a disposal. The IRS says units used to pay a transfer fee are disposed of, which can create a small gain or loss of its own. A House bill, the Digital Asset Tax Certainty Act, would ignore gains and losses on fees of $10 or less from 2028, but as of November 2026 it had not become law.
Do exchange fees count in cost basis?
Yes, when they are part of buying crypto with cash. The IRS says transaction costs on a cash purchase increase basis, and on a later cash sale the selling fee reduces proceeds instead. Trade confirmations that show each fee make these adjustments easier to support. The fees themselves are described in what are maker and taker fees.
Are crypto trading fees deductible in the UK?
HMRC allows some fees as allowable costs for Capital Gains Tax. Its manual lists exchange fees on buying tokens with pounds or other currency and on selling tokens for them, plus fees paid to have a transaction added to the blockchain. On token-to-token swaps, HMRC accepts splitting the fee 50/50 between the two tokens, as long as nothing is deducted twice.
Some fees do not count. HMRC says fees for depositing or withdrawing pounds are not allowable, and GOV.UK adds that costs already deducted against Income Tax cannot be claimed again.
Rules differ by country and change often. Check the tax authority or a qualified professional for your own situation.
This guide explains how things work. It is not financial, legal or tax advice. Last updated .