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.
In This Article
- The Short Answer: It Depends on the Transaction
- Qualifying Cash-Acquisition Gas: Basis Treatment
- Sale-Allocable Gas: Amount-Realized Treatment
- Materially Different Digital-Asset Exchanges: FAQ 72 Allocation
- Own-Wallet Transfers: Fee-Token and Remaining-Cost Analysis
- Gas Fees on Failed or Reverted Transactions: Fact-Specific Analysis
- Gas Fees on Token Approvals and DeFi Interactions
- How 1099-DA Handles Gas Fees
- Ethereum vs. Solana vs. Layer 2 Fee Structures
- Paying Gas With Native or Non-Native Digital Assets
- Schedule C Traders vs. Individual Investors
- Record-Keeping Requirements
- Frequently Asked Questions
The Short Answer: It Depends on the Transaction
Gas fees are not uniformly "deductible" or "not deductible." Their tax treatment depends on the underlying transaction and facts. The 2024 Final Regulations (Treasury Decision 10000, Federal Register July 9, 2024) and the IRS's updated Digital Asset FAQs provide settled rules for specified acquisitions and dispositions and a fact-specific framework where the guidance does not supply a direct answer. Here is the framework:
| Transaction Type | Gas Fee Treatment | IRS Authority |
|---|---|---|
| Buying crypto for cash | For a qualifying cash acquisition, allocable DAT costs are added to the acquired asset's basis | IRC Section 1012, Treas. Reg. 1.1012-1(h)(1), FAQ 56 |
| Selling crypto | Reduces amount realized (proceeds) | IRC Section 1001, Treas. Reg. 1.1001-7(b)(1), FAQ 52 |
| Exchanging digital assets that differ materially in kind or extent | For an exchange governed by FAQ 72, allocable DAT costs reduce proceeds on the disposed asset | FAQ 72, FAQ 66, Treas. Reg. 1.1001-7(b)(1) |
| Transferring between own wallets | The underlying transfer ordinarily is not taxable, while using a fee token is a separate disposition; FAQ 53 says the transfer cost is not a DAT cost, and no universal current deduction follows | FAQs 53, 81, and 97; Sections 67(h), 162, and 212 and capitalization or personal-expense rules may require separate fact-specific analysis |
| Failed or reverted transaction | Analyze the fee-token disposition, any acquired/disposed property or service, basis, holding period, abandonment/worthlessness, recovery rights, and Sections 165/1001; no automatic character | Transaction facts and applicable Code/regulation provisions |
| Token approval (ERC-20) | Fact-specific: not expressly addressed; FAQ 53's DAT-cost definition supports allocating to a related acquisition/disposition when one follows - document the position | None on point (FAQ 53 analogy only - not substantive authority) |
| Claiming airdrops | Fact-specific: not expressly addressed; a documented basis-addition position draws on FAQ 56's general acquisition-cost rule | None on point (FAQ 56 analogy only - not substantive authority) |
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."
When a gas or transaction cost is paid with a digital asset, analyze two separate components: the disposition of the fee-token units and the treatment of the fee amount in the underlying transaction. The table and numerical examples below isolate the second component; they do not compute separate gain or loss on the fee token. Reconcile the actual fee-token units, fair market value, adjusted basis, and holding period in addition to the underlying transaction.
Qualifying Cash-Acquisition Gas: Basis Treatment
For a qualifying cash purchase of 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."
Isolated arithmetic illustration: You buy 1 ETH for $2,000 and pay $50 in gas, producing a $2,050 basis. If you later sell for $3,000, the illustrated gain is $950 rather than $1,000. Assuming only this gain component changes, all other return facts stay constant, and an illustrative 30% combined marginal rate applies, $50 multiplied by 30% produces a $15 modeled tax-component difference. This is not a complete-return tax-savings result.
This applies to qualifying purchases of crypto for cash (U.S. dollars) - whether through an exchange or a direct peer-to-peer transaction (IRS Digital Asset FAQ 56). A crypto-for-crypto exchange is governed by FAQ 72 when the exchanged digital assets differ materially in kind or extent; that rule allocates the transaction costs to the disposed asset, as the next section explains. A wrap, bridge, or same-asset transaction requires separate classification and is not classified here. For a qualifying cash acquisition, the gas fee is a cost of acquiring the asset.
Sale-Allocable Gas: Amount-Realized Treatment
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, the illustrated gain is $920 rather than $1,000; the complete return determines any tax effect.
Materially Different Digital-Asset Exchanges: FAQ 72 Allocation
The 2024 Final Regulations address transaction costs in digital-asset exchanges. 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, which is the same as the fair market value used in determining the amount realized on the disposition of your transferred digital assets. 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: For an exchange governed by FAQ 72 - one involving digital assets that differ materially in kind or extent - allocable gas 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. Under those stated values, amount realized is $1,900 ($2,000 minus $100 gas) and the illustrated gain is $400. Applying an expressly assumed 47% combined marginal rate solely to the $100 proceeds adjustment produces a $47 modeled tax-component difference; gain character, loss limits, and the complete return determine the actual effect.
For the transactions governed by FAQ 72, splitting the allocable DAT costs between both sides of the swap or adding them to the acquired asset's basis does not follow the stated allocation rule. A software result that adds those costs to acquired-asset basis should be reconciled to the transaction facts and current rule; gain character, loss limits, and the complete return determine the timing and tax effect.
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 reduction in amount realized 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.
Own-Wallet Transfers: Fee-Token and Remaining-Cost Analysis
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.
Deduction and capitalization analysis: FAQ 53 says a cost paid to transfer digital assets between a taxpayer's own wallets is not a DAT cost. If the remaining cost is an IRC Section 212 miscellaneous itemized expense, Section 67(h) bars the current deduction; OBBBA Section 70110 redesignated former Section 67(g) and removed its sunset. That does not establish Section 212 treatment in every case: capitalization, Section 162, personal-expense, and other rules depend on the ownership, activity, purpose, and transaction facts.
Return treatment: An individual investor does not receive a current Section 212 miscellaneous-itemized deduction for wallet-transfer gas under Section 67(h). A taxpayer who establishes both trader trade-or-business status and the fee's Section 162 business character may have different treatment, but status is fact-specific and not elective; the transaction facts and complete return determine timing and any tax effect.
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. FAQ 53's definition of DAT costs ("amount paid to effect the purchase, sale, or disposition") can support a documented position that approval gas is allocable to a later related buy, sell, or swap. Approvals are not expressly addressed in the FAQs, so this is a position by analogy rather than settled guidance; the connection to any later transaction must be established, and where none follows the treatment remains unresolved and fact-specific.
LP deposits/withdrawals: One approach practitioners take - as of August 2026 there is no IRS guidance on point, and characterization depends on the protocol's actual legal and economic terms - treats liquidity pool deposits as taxable exchanges (deposited tokens for LP tokens, which can be materially different property). Under that approach, gas on LP entry is typically applied against the proceeds of the deposited tokens and gas on LP exit against the proceeds of the redeemed LP tokens - but the entry/exit characterization itself, and whether farming rewards are ordinary income at receipt-time fair market value, depend on the actual arrangement's rights, assets, and terms. None of these protocol results is settled by IRS guidance; document the analysis for the actual facts.
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. Reconcile the actual furnished form with the broker's transaction ledger and do not subtract a gas amount again to the extent Box 1f already reflects it.
A reporting broker's Form 1099-DA may not reflect costs paid on-chain outside the sale that broker effected. Reconcile DeFi swaps, wallet transfers, airdrop claims, and other on-chain activity to the actual furnished form and source records rather than assuming those costs appear in Box 1f. Review the crypto tax services page for the firm's current scope.
Ethereum vs. Solana vs. Layer 2 Fee Structures
Fee amounts can change with the network, transaction type, complexity, congestion, validator settings, and time. Use the actual on-chain fee-token units and contemporaneous fair market value rather than a static network fee range or assumed annual total.
The federal tax framework does not change merely because a transaction uses Ethereum, Solana, or a Layer 2. Apply the acquisition, disposition, swap, transfer, or other transaction rule to the actual fee. FAQ 108 states that reportable transactions must be reported "regardless of the amount," and no statutory de minimis exception currently applies; confirm current law before filing.
Paying Gas With Native or Non-Native Digital Assets
Gas can be paid with a network's native digital asset, a stablecoin, or another token. Regardless of the token label, analyze two separate components:
- Disposition of the fee token: Determine gain or loss from the fair market value and adjusted basis of the specific units used; for a stablecoin such as USDC, do not assume the result from the token's stated peg
- Treatment of the fee amount: Treat the fee-token amount as a DAT cost only when it meets FAQ 53's definition and an applicable acquisition, disposition, or exchange rule governs the transaction. Otherwise, separately analyze capitalization, Sections 162 and 212, personal-expense rules, a failed call, and any other fact-specific issue rather than automatically adjusting basis or proceeds
The fee-token disposition and the transaction-specific treatment of the fee amount are separate computations. Reconcile both using the actual units, fair market value, basis, transaction facts, and reporting rules rather than assuming a trivial economic result or universal DAT-cost adjustment.
Schedule C Traders vs. Individual Investors
Taxpayer classification and the character of the underlying transaction both affect gas-fee treatment:
| Scenario | Individual Investor | Schedule C Trader |
|---|---|---|
| Gas on buys | Add qualifying acquisition DAT costs to basis | The acquisition rule is not elective merely because the activity is a trade or business; actual asset, dealer, and inventory facts can affect the reporting path |
| Gas on sells | Reduce amount realized by allocable disposition DAT costs | The disposition rule is not elective merely because the activity is a trade or business; actual asset, dealer, and inventory facts can affect the reporting path |
| Gas on exchanges governed by FAQ 72 | Reduce proceeds when the exchanged digital assets differ materially in kind or extent; otherwise classify the transaction separately | The FAQ 72 allocation follows the qualifying transaction, not investor or trader status; actual dealer, inventory, and reporting facts can affect the reporting path |
| Gas on wallet transfers | No universal current deduction; Section 67(h) bars a miscellaneous itemized deduction if Section 212 applies, while capitalization and personal-expense rules remain fact-specific | Potential Section 162 treatment requires established trade-or-business status and expense character; status alone does not decide treatment |
| Gas on failed transactions | Fact-specific: determine the fee-token disposition, adjusted basis, holding period, acquired/disposed property or service, recovery rights, and any closed-and-completed Section 165 event | Trade-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 interactions | Allocate to taxable events where authority supports it; otherwise document a fact-specific position | Potential Section 162 treatment - trader status and expense character are fact-specific |
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
IRC Section 6001 and FAQ 95 require records sufficient to support the return position. Depending on the treatment claimed, relevant records can include:
- 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) may import or classify some transaction data, but capabilities and implementations differ and change between releases. Reconcile any software allocation for an exchange governed by FAQ 72 - digital assets differing materially in kind or extent - to the source records, Treas. Reg. 1.1001-7(b)(1), and FAQs 52 and 72 rather than assuming the imported classification applies the proceeds-reduction rule. Classify a wrap, bridge, or same-asset transaction separately.
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?
The Form 1099-DA instructions require a reporting broker to reduce Box 1f proceeds by allocable DAT costs. Reconcile the actual form to that broker's transaction ledger; do not subtract a cost again to the extent Box 1f already reflects it, and do not assume costs paid outside the broker-effected sale appear on the form.
How do gas fees work on crypto-to-crypto swaps after 2025?
For an exchange governed by FAQ 72 - one involving digital assets that differ materially in kind or extent - the allocable gas reduces the amount realized on the disposed asset. It does NOT add to the basis of the acquired asset. Apply that rule independently of a platform's historical allocation method; classify a wrap, bridge, or same-asset transaction separately.
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(h) 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?
The network name does not determine federal tax character. Apply the rule for the actual acquisition, disposition, swap, transfer, or other transaction to the fee-token units and value. Network conditions can change the fee amount, but no statutory de minimis threshold currently excuses an otherwise reportable transaction.
How should I track gas fees for taxes?
Maintain records sufficient to support the treatment, which may include the transaction hash, date, gas-token amount, contemporaneous USD fair market value, basis in the fee-token units, transaction type, and allocation position. Software may help import or classify records, but reconcile its output to the source data and, when FAQ 72 governs, its materially-different-assets predicate and allocation rule rather than assuming it automates the required treatment.
Is paying gas in USDC a taxable event?
Using USDC to pay gas is a disposition of the USDC. Determine the gain or loss from the actual fair market value and basis of the units used rather than assuming a result from the stated peg. Separately determine whether the fee amount meets FAQ 53's DAT-cost definition and which acquisition, disposition, exchange, capitalization, Sections 162 or 212, personal-expense, failed-call, or other fact-specific rule applies; do not automatically adjust the main transaction.
