Home/Guides/

How crypto gas fees and transaction costs are taxed

Last updated 2026-11-24 · Sources linked on every listing

Short answer: under the IRS digital asset FAQs added Dec. 15, 2025, gas fees, commissions and similar costs that effect a buy or sell are "digital asset transaction costs." Cash (or property) paid to buy adds to basis; cash paid to sell reduces amount realized. Paying the fee in crypto is itself a taxable disposal of those coins. Moving coins between wallets you own stays non-taxable, but the gas you burn on that move is still a disposition of the fee coins, and those fees do not get treated as transaction costs that shrink a sale gain.

What counts as a digital asset transaction cost

IRS FAQ 53 defines digital asset transaction costs as amounts you pay in cash or property (including digital assets) for services provided by another to effect the purchase, sale or disposition of a digital asset. Examples include transaction and gas fees, transfer taxes and commissions.

FAQ 53 also draws a bright line: costs paid only to transfer digital assets (for example, moving coins between your own wallets) are not digital asset transaction costs. See also FAQ 81 on non-taxable self-transfers.

Buys: fees go into basis

FAQ 56: if you buy digital assets with cash and pay cash for transaction services to effect the purchase, your basis includes the cash paid for the assets plus the cash paid for those services. FAQ 71 says the same idea when you receive digital assets in exchange for other property (other than a crypto-for-crypto swap): allocable digital asset transaction costs paid in cash can increase basis in what you received.

That basis is what you later subtract on Form 8949. Method choice (FIFO, HIFO, specific ID) is separate; see crypto cost basis methods.

Sells: fees reduce amount realized

FAQ 52: your gain or loss on a sale for U.S. dollars is amount realized minus adjusted basis. Amount realized equals cash received plus the fair market value of any services you received to effect the sale, reduced by digital asset transaction costs allocable to the disposition. FAQ 55 confirms that cash paid for services to effect a sale may reduce amount realized.

So a $50 commission or gas cost on a sale typically lowers the proceeds side of the math, not a separate miscellaneous deduction.

Paying the fee in crypto is a second taxable event

FAQ 62 and FAQ 97: when you pay for services with digital assets, you dispose of those assets and recognize capital gain or loss, measured from your basis in the coins used (FAQ 63). That is true whether the services are "transaction costs" on a trade or gas to move coins between your own wallets.

Related: taxable vs non-taxable crypto events and self-custody wallet taxes.

Crypto-to-crypto swaps and withheld fees

On an exchange of digital assets that differ materially in kind or extent:

Swaps are taxable dispositions either way; see crypto-to-crypto trade tax. Stablecoin legs are still reportable even without a 1099-DA (FAQ 100).

What software should do

A usable tracker has to (1) tag wallet-to-wallet transfers so they aren't sales, (2) record gas paid in crypto as small disposals at FMV, and (3) attach buy/sell commissions the way the FAQs allocate them. CoinLedger (code CRYPTOTAX10 for 10% off) and Koinly both import exchange and wallet history and build Form 8949. Affiliate links; disclosure. Compare them in Koinly vs CoinLedger. DeFi-heavy wallets: see DeFi tax software.

On the XRP Ledger, transaction costs are burned rather than paid to anyone; see XRP taxes for reserves and account deletion.

Moving coins between your own wallets? See is transferring crypto between wallets taxable.

Sources

For how ETH itself is taxed (sales, gas, staking, the Merge and ETHW), see Ethereum taxes.

Solana-specific fee and token account deposit rules are on our Solana taxes page.

Thousands of small gas disposals, DeFi swaps or a 1099-DA that ignores fees? Browse the crypto tax CPA directory or DeFi crypto tax CPAs. General information, not tax advice. Sources checked 2026-10-27.

Wrapping ETH or bridging to an L2? See wrapping and bridging taxes.

Opening or closing a Lightning channel? See Lightning Network taxes.

FAQ

Are crypto gas fees tax deductible?

Gas and other digital asset transaction costs paid to effect a purchase or sale generally aren't a separate Schedule A deduction. Per IRS FAQ 53 and 55–56, costs paid in cash or property for services that effect a purchase add to your basis, and costs that effect a sale reduce your amount realized. Paying those costs in crypto is also a disposition of the coins you used (FAQ 97).

Do I owe tax when I pay a gas fee in ETH or another coin?

Yes. FAQ 97 says that when you use digital assets to pay for transaction services to effect a purchase, sale, disposition or transfer, you dispose of those assets and recognize gain or loss. FAQ 62 makes the same point for paying for services with digital assets generally.

Do gas fees on a wallet-to-wallet transfer count as transaction costs that reduce my gain?

No. FAQ 53 says amounts paid for transaction services to move digital assets between your own wallets or accounts are not treated as digital asset transaction costs. The transfer itself stays non-taxable under FAQ 81, except for the coins you used or that were withheld to pay the fee, which are a taxable disposition.

How do transaction costs affect a crypto-to-crypto swap?

On a swap of digital assets that differ materially in kind or extent, FAQ 66 says your amount realized is the fair market value of what you received plus the fair market value of transaction services you received, reduced by certain transaction costs allocable to the disposition. FAQ 72 says you generally may not add those costs to the basis of the coins you received; they reduce amount realized on the coins you gave up. FAQ 98–99 cover units a broker withholds from the received coins to pay its fee.

What records should I keep for gas fees?

FAQ 95 says you must keep records sufficient to support your return, including receipts, sales, exchanges, dispositions or transfers and fair market values. For each fee paid in crypto, keep the date and time, the coin and amount used, its U.S. dollar value, and which purchase, sale or transfer it related to.