In This Article
- The Short Answer: It Depends on the Transaction
- Gas Fees on Buys: Added to Cost Basis
- Gas Fees on Sells: Reduces Your Proceeds
- Gas Fees on Crypto-to-Crypto Swaps: The FAQ 72 Rule
- Gas Fees on Wallet Transfers: The OBBBA Problem
- Gas Fees on Failed Transactions: Capital Loss
- Gas Fees on Token Approvals and DeFi Interactions
- How 1099-DA Handles Gas Fees
- Ethereum vs. Solana vs. Layer 2 Fee Structures
- Paying Gas in Non-Native Tokens (USDC, etc.)
- 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 entirely on what the gas fee was paying for. The 2024 Final Regulations (Treasury Decision 10000, July 29, 2024) and the IRS's updated Digital Asset FAQs establish clear rules for each scenario. Here is the framework:
| Transaction Type | Gas Fee Treatment | IRS Authority |
|---|---|---|
| Buying crypto | Added to cost basis of acquired asset | 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 |
| Swapping crypto-to-crypto | Reduces proceeds on disposed asset only | FAQ 72, FAQ 66, Treas. Reg. 1.1001-7(b)(1) |
| Transferring between own wallets | Not deductible for individual investors (permanently under OBBBA) | IRC Section 212 eliminated; FAQ 81, FAQ 97 |
| Failed transaction | Short-term capital loss | IRC Section 165(a), Form 8949 |
| Token approval (ERC-20) | Allocate to next related transaction | FAQ 53 definition of DAT costs |
| Claiming airdrops | Added to basis of received tokens | FAQ 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.
For active DeFi users, this adds up. A trader doing 200 swaps per year with $1,600 total gas sees approximately $344 more in current-year tax benefit under the correct FAQ 72 method versus the old approach.
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 Transactions: Capital Loss
Failed smart contract reverts and out-of-gas errors consume your gas but produce nothing. The IRS treats this as a closed and completed transaction with $0 proceeds — you disposed of the gas tokens and received nothing in return.
For individual investors, this is a short-term capital loss reported on Form 8949. The loss equals the basis in the gas tokens consumed. It can offset capital gains and up to $3,000 of ordinary income annually, with unlimited carryforward. IRS Chief Counsel Advice 202224010 (2022) supports capital loss characterization for transaction costs in failed deals.
For Schedule C traders, failed transaction gas is an ordinary business loss deductible under IRC Section 162 — more favorable because it offsets ordinary income without the $3,000 annual limitation.
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. Explore the DeFi Protocol Tax Map for protocol-specific treatment details.
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:
| Network | Typical Fee per Transaction | Annual Cost (500 DeFi transactions) |
|---|---|---|
| Ethereum Mainnet | $0.30 to $0.40 (post-Dencun upgrade) | $150 to $200 |
| Solana | Less than $0.01 | Less 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 April 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:
- Disposal of USDC: You recognize gain or loss on the USDC used (typically near-zero for a dollar-pegged stablecoin, but technically reportable)
- 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:
| Scenario | Individual Investor | Schedule C Trader |
|---|---|---|
| Gas on buys | Add to basis | Add to basis OR Section 162 deduction |
| Gas on sells | Reduce proceeds | Reduce proceeds OR Section 162 deduction |
| Gas on swaps | Reduce proceeds (FAQ 72) | Same — FAQ 72 applies to all |
| Gas on wallet transfers | Not deductible (IRC 212 permanently eliminated) | Section 162 ordinary deduction |
| Gas on failed transactions | Capital loss, $3K annual limit | Ordinary loss, fully deductible |
| Gas on DeFi interactions | Allocate to taxable events | Section 162 for all business gas |
A high-volume DeFi user spending $3,000 annually on gas could see approximately $1,030 in current-year tax benefit with proper tracking — or $0 if they ignore gas fees entirely. The difference is especially pronounced for Schedule C traders who can deduct transfer and DeFi gas as ordinary business expenses.
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. Verify that your software correctly implements FAQ 72 for TY2025+ swap gas allocation. CoinTracker and CoinLedger have confirmed correct implementation; verify Koinly's current handling before relying on output.
Related reading: 1099-DA by Exchange | The 1099-DA $0 Basis Trap | DeFi Protocol Tax Map | Crypto Tax Services
## Frequently Asked Questions
Are gas fees tax deductible?
It depends on the transaction. Gas on buys adds to cost basis. Gas on sells reduces proceeds. Gas on swaps reduces proceeds on the disposed asset (FAQ 72). Gas on wallet transfers is permanently nondeductible for individual investors after the OBBBA eliminated IRC Section 212 investment expenses. Gas on failed transactions is 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?
Not if you are an individual investor. The OBBBA permanently eliminated miscellaneous itemized deductions under IRC Section 67(g), which included investment expenses under IRC Section 212. Wallet transfer gas for individual investors is permanently nondeductible. Schedule C traders can deduct transfer gas as an ordinary business expense under IRC Section 162.
What happens with gas fees on failed transactions?
Failed transactions that consume gas produce a short-term capital loss for individual investors. You disposed of the gas tokens and received $0 in return. Report on Form 8949 with $0 proceeds. The loss offsets capital gains and up to $3,000 of ordinary income annually with unlimited carryforward.
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.
