Back to Blog
Cost Basis

Are Crypto Gas Fees Tax Deductible? How Transaction Fees Affect Cost Basis

March 22, 2026 8 min read

Gas fees and exchange commissions add up fast—especially during busy periods on Ethereum. The good news is that most of those fees aren't lost money for tax purposes. Used correctly, they reduce your taxable gains. But "deductible" is the wrong word for how it usually works. Here's the accurate picture.

The Key Idea

For most investors, transaction fees aren't a separate line-item deduction. Instead, fees tied to a trade increase your cost basis when buying and reduce your proceeds when selling. Either way, your taxable capital gain shrinks—you get the benefit through the gain calculation, not as a write-off.

Why "Deductible" Is the Wrong Frame

After the 2017 Tax Cuts and Jobs Act, individual investors generally cannot deduct investment expenses as miscellaneous itemized deductions. So you can't simply add up your gas fees and subtract them on Schedule A.

Instead, the tax code lets you fold acquisition and disposal costs into the transaction itself. This is actually better than a deduction for many people, because it reduces capital gains directly and doesn't depend on whether you itemize.

Fees When You Buy: They Raise Your Cost Basis

When you acquire crypto, the fees required to make that purchase are added to your cost basis. A higher basis means a smaller gain (or a larger loss) when you eventually sell.

Example: Buying ETH

  • You buy 1 ETH for $2,000
  • The exchange charges a $30 trading fee
  • Your cost basis is $2,030, not $2,000

If you later sell that ETH for $3,000, your gain is $970 instead of $1,000. The $30 fee saved you from being taxed on an extra $30 of gain.

Fees When You Sell: They Reduce Your Proceeds

When you dispose of crypto, selling costs reduce the proceeds you report. Lower proceeds mean a smaller gain.

Example: Selling ETH

  • You sell 1 ETH for $3,000
  • You pay a $25 fee to execute the sale
  • Your reported proceeds are $2,975

Combine both examples—$2,030 basis and $2,975 proceeds—and your taxable gain is $945, compared to $1,000 if you ignored the fees entirely. The $55 in total fees came straight off your taxable gain.

Gas Fees on Swaps and Transfers

On-chain gas fees follow the same logic, but the situation you're in determines the treatment.

Gas on a Taxable Swap

If you pay gas to swap one token for another—a taxable disposal—the gas is a cost of that transaction. It can typically be added to the basis of the token you receive or netted against the disposal, reducing your gain.

Gas to Move Crypto Between Your Own Wallets

Transferring crypto between wallets you own is not a taxable sale, so there's no gain to offset at that moment. The treatment of gas paid purely to move your own assets is less clear, and tax professionals differ on whether it can adjust basis at all. Track it, but don't assume it automatically reduces a future gain.

Gas Is Often Paid in Crypto—That's a Disposal Too

When you pay gas in ETH (or SOL, MATIC, etc.), you are spending crypto, which is itself a taxable disposal of that crypto. If the gas tokens appreciated since you acquired them, paying the fee can trigger a small capital gain. Most are tiny, but across thousands of transactions they need to be tracked.

When Fees Might Be a True Business Deduction

The rules change if your crypto activity rises to the level of a trade or business—for example, a mining operation or a qualifying full-time trader. In those cases, fees may be deductible as ordinary and necessary business expenses on Schedule C rather than basis adjustments. This is a narrow category with strict requirements, so don't assume you qualify just because you trade frequently.

Keep the Records

To capture the tax benefit of every fee, you need to know, for each transaction:

  1. The fee amount in U.S. dollars at the time of the transaction
  2. Whether the fee was a buy, sell, or swap cost (so it adjusts the right side)
  3. The token used to pay gas and its own cost basis
  4. Whether the transaction was taxable at all (a self-transfer vs. a disposal)

Exchanges usually report fees on trade confirmations, but on-chain gas requires pulling the USD value at the block timestamp—something automated tools handle far more reliably than a spreadsheet.

Capture Every Fee Automatically

BasisTracker pulls trading fees and on-chain gas, values them in USD, and applies them to the right side of each transaction—so your cost basis and gains reflect every dollar you actually paid.

Download BasisTracker

Free to start · Windows 10/11

Conclusion

Crypto gas and exchange fees aren't deductible in the everyday sense, but they almost always lower your tax bill—by raising your cost basis on purchases and reducing your proceeds on sales. The catch is record-keeping: you need each fee in USD, attached to the correct transaction, and you need to remember that paying gas in crypto is itself a disposal. Track fees consistently and you won't pay tax on gains you never really had.

This article is for informational purposes only. Tax laws can change; consult a qualified tax professional for personalized advice.