ETH gas fees: A guide to Ethereum gas and crypto tax reporting
Learn the basics about ETH gas fees, including how modern Ethereum fees work and what role they play in cryptocurrency transactions and tax reporting.

Crypto investors have always had to consider Ethereum (ETH) gas fees, but the role those fees play changes over time. As Ethereum use expands across decentralized finance (DeFi) and layer 2 networks, the gas system receives occasional redesigns and upgrades to expand its utility.
For example, EIP-1559 replaced manual bidding with a demand-based base fee and ETH burning, which changed how gas prices adjust and how users pay fees. More recently, EIP-4844 lowered costs for layer 2 activity by introducing blob data while keeping Ethereum as the settlement layer. These upgrades brought structure and predictability to gas fees, but raised the bar for what you need to understand to report transactions correctly on your tax returns.
In this article, we’ll explain how ETH gas fees work today and how they affect your crypto tax reporting.
What are gas fees?
Gas measures the computational work required to execute an action on a crypto blockchain like Ethereum. Every transfer, mint, swap, or smart contract interaction consumes gas.
Users pay gas fees in a unit called Gwei, which represents one nano-ether of gas. Ether (ETH) is the native currency of the Ethereum blockchain.
Gas pricing consists of four key components:
- The base fee is the minimum amount of ETH required to include a transaction in a block. The Ethereum network uses a protocol to set this fee automatically based on block space demand – when blocks fill up, the base fee rises, and when demand drops, the base fee falls. The protocol also burns this ETH, removing it from circulation.
- The priority fee is an optional tip users can pay to validators to expedite their blockchain transactions on Ethereum’s proof-of-stake system. During periods of high network activity, tips can push requests ahead of other users.
- The max fee is the fee ceiling users can set, indicating what they’re willing to pay so the network won't charge them more than they're willing to pay.
- Blob gas was introduced in the EIP-4844 upgrade, and it applies mainly to layer 2 networks that post compressed transaction data back to the Ethereum mainnet. Blob fees are considerably lower than traditional layer 1 fees.
How Ethereum gas fees work in 2026
The Ethereum system now works as a hub for various layer 2 networks like Arbitrum, Optimism, and Base. While the main Ethereum execution layer (layer 1) handles high-value security and settlement, layer 2 solutions process the bulk of user activity.
Ethereum block space remains scarce, so that factor is still what primarily drives base fees. When thousands of users attempt to mint a popular non-fungible token or engage in high-frequency trading simultaneously, the congestion can raise base fees considerably.
Layer 2 networks significantly reduce costs for the average user by bundling transactions together. However, these networks must still pay for Ethereum’s security by posting blobs of data to the mainnet. So when users congest the mainnet with events like spikes in maximal extractable value (MEV) or major protocol launches, layer 2 transactions may also see higher gas prices.
How Ethereum gas fees impact crypto taxes
Gas fees affect taxes because they change either your proceeds, cost basis, or realized gains and losses. In other words, gas fees either reduce your taxable gain on a sale or increase your tax basis on an acquisition, both of which work in the taxpayer's favor.
These days, your crypto activity likely spans across the Ethereum mainnet, multiple layer 2s, and cross-chain swaps. Each system may charge fees differently, but the effect on crypto taxes depends largely on the type of transaction.
Gas fees on sales and dispositions
When you dispose of crypto through sales or swaps, gas fees reduce your taxable proceeds. For example, if you sell one ETH for $3,000, and the transaction consumes $45 worth of ETH in gas, your taxable proceeds are $2,955. This lower proceeds figure reduces your capital gains.
Token swaps also count as disposals. Let’s say you swap ETH for USDC (USD Coin), and the ETH you disposed of has a market value of $2,400 while the gas costs $60. For tax purposes, you disposed of $2,400 and received $2,340 in net value after gas – so again, the gas fees directly reduced your proceeds.
Holding period also matters, since if the ETH you spent was in your possession for less than a year, the gain or loss is treated as short-term. If you held the ETH for longer than one year, it qualifies for long-term capital gains tax rates, which are generally lower than short-term rates.
Gas fees on transfers
Gas fees from sending or transferring tokens increase the sender’s cost basis. For example, maybe you buy one ETH for $2,200 on an exchange like Coinbase, and you later transfer it to a crypto wallet like MetaMask, paying $35 in gas. Your new cost basis becomes $2,235, and when you eventually sell that ETH, the higher basis reduces your taxable gain.
This rule also applies to bridging assets. Let’s say you bridge ETH from the Ethereum mainnet to Base (a layer 2 network), and the transaction costs $28 in gas. That $28 increases the ETH’s cost basis – although the asset didn’t change, you spent ETH to move it, and that cost follows the asset.
Gas fees on failed transactions
Failed transactions are still common on Ethereum, especially when interacting with smart contracts during periods of blockchain congestion. Failures can happen because:
- You set your max fee limit too low during a fee spike
- MEV competition crowded out your transaction
- A layer 2 sequencer delayed inclusion and invalidated the transaction
When a transaction fails, Ethereum doesn’t refund the gas fees. You spent ETH and received nothing in return, which could result in a loss you can use to offset other capital gains.
Let’s say you attempt a swap on an exchange like Uniswap during network congestion. The transaction fails, but it still consumes $40 in gas fees, calculated using the Gwei price and paid with a portion of your ETH that originally had a cost basis of $55.
Because you disposed of ETH worth $40 that originally cost you $55, you realized a $15 capital loss from the failed transaction. If the ETH increased in value between the time you acquired it and the time you paid gas fees, the same failed transaction would have produced a capital gain.
Track your ETH transactions and gas fees with CoinTracker
Ethereum gas fees affect more than just transaction costs. They influence cost basis, taxable proceeds, and realized gains or losses across sales, swaps, transfers, and even failed transactions.
You’ll need to capture the exact timing and market value of gas fees at the moment you pay them, so you can report your taxes accurately. But as your Ethereum activity spreads to mainnet and layer 2 networks, tracking all of this manually becomes impractical.
Managing your crypto assets shouldn’t be complicated. CoinTracker lets you track your entire portfolio across multiple exchanges and wallets, all in one place. Join the three million users who rely on CoinTracker for a seamless crypto experience – start free today.
Disclaimer: This post is informational only and is not intended as tax advice. For tax advice, please consult a tax professional.
FAQ
Are Ethereum gas fees tax deductible?
For most individual investors, gas fees are not separately deductible. Instead, they are added to cost basis on acquisitions or deducted from proceeds on dispositions which reduces your taxable capital gain (or increases your capital loss). Businesses or traders may have different treatment; consult a tax professional.
How does AI calculate gas fees?
Some AI trackers and fee calculators use on-chain data to identify the gas you spend. These tools value ETH at the transaction timestamp and assign the cost to the correct tax category.
Do layer 2 gas fees count the same as layer 1 for tax purposes?
Whether you pay gas fees on layer 1 or layer 2 networks, the tax rules are the same. You apply the gas fee to the cost basis or proceeds of the transaction.
Are swap gas fees considered disposition fees?
Yes, gas fees paid during a swap reduce taxable proceeds because you disposed of ETH to execute the transaction.
Can failed transaction gas fees produce a tax loss?
Yes, spending ETH on failed transactions can create a capital loss (or gain) based on ETH’s market value at the time.