Disclaimer: This article is educational and does not constitute tax advice. Tax outcomes depend on your specific facts and circumstances. Consult a licensed CPA before filing. Circular 230 applies.

In This Article

  1. The Short Answer: It Depends on the Transaction
  2. Gas Fees on Buys: Added to Cost Basis
  3. Gas Fees on Sells: Reduces Your Proceeds
  4. Gas Fees on Crypto-to-Crypto Swaps: The FAQ 72 Rule
  5. Gas Fees on Wallet Transfers: The OBBBA Problem
  6. Gas Fees on Failed or Reverted Transactions: Fact-Specific Analysis
  7. Gas Fees on Token Approvals and DeFi Interactions
  8. How 1099-DA Handles Gas Fees
  9. Ethereum vs. Solana vs. Layer 2 Fee Structures
  10. Paying Gas in Non-Native Tokens (USDC, etc.)
  11. Schedule C Traders vs. Individual Investors
  12. Record-Keeping Requirements
  13. Frequently Asked Questions

The Short Answer: It Depends on the Transaction

Gas fees are not uniformly "deductible" or "not deductible." Their tax treatment depends entirely on what the gas fee was paying for. The 2024 Final Regulations (Treasury Decision 10000, Federal Register July 9, 2024) and the IRS's updated Digital Asset FAQs establish clear rules for each scenario. Here is the framework:

Reference tableSwipe to view all columns →
Transaction TypeGas Fee TreatmentIRS Authority
Buying cryptoAdded to cost basis of acquired assetIRC Section 1012, Treas. Reg. 1.1012-1(h)(1), FAQ 56
Selling cryptoReduces amount realized (proceeds)IRC Section 1001, Treas. Reg. 1.1001-7(b)(1), FAQ 52
Swapping crypto-to-cryptoReduces proceeds on disposed asset onlyFAQ 72, FAQ 66, Treas. Reg. 1.1001-7(b)(1)
Transferring between own walletsNot deductible for individual investors (permanently under OBBBA)Section 212 miscellaneous itemized deductions disallowed under Section 67(g), made permanent by OBBBA Section 70110; FAQ 81, FAQ 97
Failed or reverted transactionAnalyze the fee-token disposition, any acquired/disposed property or service, basis, holding period, abandonment/worthlessness, recovery rights, and Sections 165/1001; no automatic characterTransaction facts and applicable Code/regulation provisions
Token approval (ERC-20)Allocate to next related transactionFAQ 53 definition of DAT costs
Claiming airdropsAdded to basis of received tokensFAQ 56 (acquisition cost)

The IRS defines these costs as "digital asset transaction costs" (DAT costs) in FAQ 53: "the amount paid by you in cash or property (including digital assets) for services provided by another to effect the purchase, sale, or disposition of a digital asset," including "transaction and 'gas' fees, transfer taxes, and commissions."

Gas Fees on Buys: Added to Cost Basis

When you buy crypto, the gas fee becomes part of your cost basis under IRC Section 1012 and Treas. Reg. 1.1012-1(h)(1). FAQ 56 states that basis "includes the amount you paid for transaction services to effect the purchase."

Example: You buy 1 ETH for $2,000 and pay $50 in gas. Your basis is $2,050. When you eventually sell for $3,000, your gain is $950 instead of $1,000. At a 30% combined rate, that $50 in gas saves you $15 in tax.

This applies to every crypto purchase - whether through an exchange, a DEX, or a direct peer-to-peer transaction. The gas fee is a cost of acquiring the asset.

Gas Fees on Sells: Reduces Your Proceeds

When you sell crypto, the gas fee reduces your amount realized under IRC Section 1001 and Treas. Reg. 1.1001-7(b)(1). FAQ 52 confirms that the amount realized equals cash received "reduced by your digital asset transaction costs allocable to the disposition." The Form 1099-DA instructions require brokers to reduce proceeds by DAT costs before reporting in Box 1f.

Example: You sell ETH for $3,000 and pay $80 in gas. Your amount realized is $2,920. With a $2,000 basis, your gain drops from $1,000 to $920 - saving approximately $24 at a 30% combined rate.

Gas Fees on Crypto-to-Crypto Swaps: The FAQ 72 Rule

This is the most important change in the 2024 Final Regulations for active DeFi users. FAQ 72 states explicitly: "If you exchange digital assets for other digital assets differing materially in kind or extent, your basis in the digital assets received is their cost. You may NOT include any digital asset transaction costs paid to effect the exchange in the basis of the digital assets you received because this cost was allocable to the digital assets that you disposed of."

Translation: Gas on a swap reduces proceeds on the token you sold. It does NOT add to the basis of the token you bought.

Example: You swap 1 ETH (basis $1,500) for USDC worth $2,000 and pay $100 in gas. Correct treatment: amount realized = $1,900 ($2,000 minus $100 gas). Gain = $400. The $100 gas provides an immediate $47 tax benefit at a 47% combined short-term rate.

Before FAQ 72, many tax software programs split gas between both sides or added it to the acquired asset's basis. Both approaches are now incorrect for TY2025+. If your software still adds swap gas to acquired basis, it is deferring a current-year benefit and potentially misreporting under the 2024 Final Regulations.

Illustration with stated assumptions. Suppose a trader has $1,600 of swap gas, the old software treatment deferred half into acquired-asset basis, and the affected current-year deduction falls at an assumed 43% combined marginal rate. The incremental current-year difference is $1,600 x 50% x 43% = $344. Change the old-software treatment, rate, or return facts and the result changes.

Gas Fees on Wallet Transfers: The OBBBA Problem

Transferring crypto between your own wallets is not a taxable event (FAQ 81). However, the gas you pay to execute that transfer IS a disposition of the gas token itself (FAQ 97). You recognize gain or loss on the gas tokens consumed: gain = FMV at disposal minus your basis in those specific gas tokens.

The deductibility problem: For individual investors (not Schedule C filers), the gas cost on a transfer that is not itself a sale or exchange falls under IRC Section 212 - investment expenses. The OBBBA permanently eliminated miscellaneous itemized deductions under IRC Section 67(g), meaning these fees are permanently nondeductible for individual investors. This is not a temporary suspension - it will not expire.

The math: If you pay $120 per year in wallet transfer gas, that's $0 in current tax benefit as an individual investor. A Schedule C trader deducting the same $120 under IRC Section 162 saves approximately $44 to $56 depending on marginal rate.

Gas Fees on Failed or Reverted Transactions: Fact-Specific Analysis

A reverted smart-contract call may consume a fee token without completing the intended call, but that label does not establish one universal federal tax result. Separate the disposition of the fee token from any property acquired or disposed of, service purchased, protocol claim, refund or recovery right, and later transaction. Establish adjusted basis and holding period for the units consumed and determine whether Sections 1001, 165, 162, or capitalization rules apply to each component.

Do not assume $0 proceeds, short-term character, abandonment, worthlessness, or a closed-and-completed Section 165 loss merely because a block explorer says 'failed.' Trade-or-business status also does not convert every token disposition or failed-call cost into an ordinary Section 162 deduction. Document the transaction hash, contract action, units consumed, intended property or service, recovery efforts, and any refund before selecting character and return placement.

CCA 202224010 concerns corporate merger-termination fees and is nonprecedential; it is not authority for blockchain gas or a blanket capital-loss conclusion, so it is not relied on here.

Gas Fees on Token Approvals and DeFi Interactions

Token approvals (ERC-20): An approval transaction grants permission for a smart contract to spend your tokens. It does not move assets. The gas fee is a prerequisite cost of the subsequent trade, and FAQ 53's definition of DAT costs ("amount paid to effect the purchase, sale, or disposition") supports allocating approval gas to the next related buy, sell, or swap. Combine the approval gas with the subsequent transaction's gas and apply the rules for that transaction type.

LP deposits/withdrawals: The majority CPA position treats liquidity pool deposits as taxable exchanges (deposited tokens for LP tokens, which are materially different property). Gas on LP entry reduces proceeds of the deposited tokens. Gas on LP exit reduces proceeds of the redeemed LP tokens. Farming rewards from LP positions are ordinary income at FMV when received.

How 1099-DA Handles Gas Fees

Form 1099-DA Box 1f reports gross proceeds reduced by allocable DAT costs (including gas) per the Form 1099-DA instructions and Reg. Section 1.6045-1. This means the number you see in Box 1f should already have gas deducted. Do not subtract gas fees again from a Box 1f number that already reflects them - that would be double-counting.

However, exchanges only report gas for transactions they execute. Gas you pay on-chain outside the exchange (DeFi swaps, wallet transfers, airdrop claims) will not appear on any 1099-DA. You must track and report these yourself. Review the crypto tax services page for the firm's current scope.

Ethereum vs. Solana vs. Layer 2 Fee Structures

Gas fee levels vary dramatically by network, which affects both the dollar impact and the practical tracking burden:

Reference tableSwipe to view all columns →
NetworkTypical Fee per TransactionAnnual Cost (500 DeFi transactions)
Ethereum Mainnet$0.30 to $0.40 (post-Dencun upgrade)$150 to $200
SolanaLess than $0.01Less than $5
Layer 2s (Arbitrum, Optimism, Base)$0.03 to $0.10$15 to $50
Ethereum Mainnet (2021 peak)$50 to $86+ per DEX swap$25,000 to $43,000+

The tax rules are identical regardless of network - a $0.003 Solana transaction fee gets the same treatment as a $50 Ethereum gas fee. But the practical reality is that sub-penny L2 and Solana fees create a de minimis tracking burden. FAQ 108 states you must report all transactions "regardless of the amount," and no statutory de minimis threshold currently exists. Congressional proposals (including a $300 per-transaction threshold with $5,000 annual cap) have been introduced but not enacted as of May 2026.

Paying Gas in Non-Native Tokens (USDC, etc.)

Some transactions use stablecoins or other tokens to pay gas instead of the network's native token. When you pay gas in USDC, two tax events occur:

  1. Disposal of USDC: You recognize gain or loss on the USDC used (typically near-zero for a dollar-pegged stablecoin, but technically reportable)
  2. DAT cost adjustment: The USDC amount paid is applied as the DAT cost to the main transaction per the same rules above

For a stablecoin like USDC, the gain on disposal is usually trivial ($0.001 per USDC). But it creates an additional Form 8949 reporting line, and your tax software must handle both events.

Schedule C Traders vs. Individual Investors

The distinction between Schedule C traders and individual investors is the single biggest factor in gas fee deductibility:

Reference tableSwipe to view all columns →
ScenarioIndividual InvestorSchedule C Trader
Gas on buysAdd to basisAdd to basis OR Section 162 deduction
Gas on sellsReduce proceedsReduce proceeds OR Section 162 deduction
Gas on swapsReduce proceeds (FAQ 72)Same - FAQ 72 applies to all
Gas on wallet transfersNot deductible (IRC 212 permanently eliminated)Section 162 ordinary deduction
Gas on failed transactionsFact-specific: determine the fee-token disposition, adjusted basis, holding period, acquired/disposed property or service, recovery rights, and any closed-and-completed Section 165 eventTrade-or-business status alone does not make the token disposition ordinary; determine character, capitalization, Sections 162/165/1001, and Section 1211 limits from the transaction facts
Gas on DeFi interactionsAllocate to taxable eventsSection 162 for all business gas

At an expressly assumed 34.33% combined marginal rate, a currently deductible $3,000 gas amount produces a $1,029.90 current-year tax difference ($3,000 x 34.33%), rounded to $1,030. This is a marginal-rate illustration, not a universal benefit; capitalization, activity classification, loss limits, and the complete return can change the timing and amount.

Record-Keeping Requirements

Under IRC Section 6001 and FAQ 95, you must maintain for each gas fee transaction:

  • Transaction hash (blockchain identifier)
  • Date and time of transaction
  • Amount of gas token consumed (in native units)
  • Fair market value of gas token at time of consumption (USD)
  • Basis in the gas token units consumed (for FAQ 97 gain/loss calculation)
  • Transaction type (buy, sell, swap, transfer, LP deposit/withdrawal, claim, failed)
  • How the DAT cost was allocated (reduced proceeds vs. added to basis)

Crypto tax software (Koinly, CoinTracker, CoinLedger) automates most of this, but implementations differ and change between releases. Run one crypto-to-crypto swap through your software and confirm the gas reduced the amount realized on the disposed token rather than being added to the acquired token's basis - Treas. Reg. 1.1001-7(b)(1) and FAQ 52 give the proceeds-reduction treatment, and FAQ 72 bars adding it to the acquired token's basis.

Related reading: 1099-DA Reconciliation Service | The 1099-DA $0 Basis Trap | Crypto Tax Services

Frequently Asked Questions

Are gas fees tax deductible?

It depends on the transaction. Gas on a qualifying acquisition can enter basis; gas allocable to a disposition can reduce amount realized under the applicable rules. A failed or reverted call requires separate analysis of the fee-token disposition, basis and holding period, any property or service, recovery rights, capitalization, and Sections 162, 165, and 1001; it is not automatically a short-term capital loss.

Does the 1099-DA include my gas fees?

Yes, for exchange-executed transactions. Box 1f reports proceeds reduced by allocable DAT costs (including gas) per Reg. Section 1.6045-1. Do not subtract gas fees again from a Box 1f figure. However, gas paid on-chain outside the exchange (DeFi, wallet transfers, airdrop claims) does not appear on any 1099-DA.

How do gas fees work on crypto-to-crypto swaps after 2025?

FAQ 72 from the 2024 Final Regulations requires that swap gas reduces the amount realized on the disposed asset. It does NOT add to the basis of the acquired asset. This is a change from pre-2025 practice where many platforms split gas or added it to acquired basis.

Can I deduct gas fees for transferring crypto between my own wallets?

No universal current deduction follows from a wallet transfer. Moving the underlying asset between wallets ordinarily is not itself a disposition, but consuming a fee token can be a separate disposition and the remaining cost may require capitalization, Section 162, Section 212/67, or personal-expense analysis. For 2026, Section 67(g) bars miscellaneous itemized deductions that would otherwise arise under Section 212; trade-or-business status alone does not prove that a transfer fee is a currently deductible Section 162 expense. Preserve the transfer, fee-token basis, business purpose, ownership, and recovery records before selecting treatment.

What happens with gas fees on failed transactions?

No single result follows from the word 'failed.' Determine the fee-token units and basis, holding period, consideration or service received, intended transaction, recovery rights, and whether a closed-and-completed Section 165 event occurred. Sections 1001, 162, 165, capitalization rules, and the complete facts control; do not automatically report $0 proceeds, short-term character, or an ordinary business loss.

Do Solana and Layer 2 fees get the same tax treatment as Ethereum gas?

Yes. The tax rules are identical regardless of network. A $0.003 Solana fee gets the same IRC Section 1012/1001 treatment as a $50 Ethereum fee. The practical difference is that sub-penny fees create a micro-transaction tracking burden, though no statutory de minimis threshold currently exists.

How should I track gas fees for taxes?

Maintain a record of each gas transaction including: transaction hash, date, gas token amount, USD fair market value at the time, your basis in the gas tokens, the transaction type, and how the DAT cost was allocated. Crypto tax software automates this - verify it correctly implements FAQ 72 for swap gas.

Is paying gas in USDC a taxable event?

Yes. Using USDC to pay gas is a disposal of the USDC with gain or loss recognized. For a dollar-pegged stablecoin the gain is typically trivial, but it creates an additional Form 8949 reporting line. The USDC amount is then applied as the DAT cost to the main transaction.