All guides

Wallet guides

Why did my Ethereum transaction fail but still charge gas?

A failed Ethereum transaction can still cost ETH because the network already performed work before execution stopped. When the whole transaction reverts, its intended transfer or contract changes are rolled back, but the gas already consumed is still charged. First confirm the result on the correct block explorer: a failed on-chain transaction and a wallet error before submission are different situations.

An Ethereum coin sits beside a fictional phone receipt showing Failed and Network fee, with a paper checklist and pen.
AI-generated conceptual illustration; not a real wallet screen or transaction.

Start with the receipt, not just the wallet notification

Open the transaction from your wallet’s activity history using its block-explorer link. Confirm that the explorer is for Ethereum mainnet if that is where you sent it. A record on another network will not settle what happened to this transaction.

  1. Match the transaction hash and sending account to the entry you are investigating.
  2. Read the status and block information. If it is pending, it has not yet reached the same outcome as a transaction included in a block with a failure status.
  3. If it failed, note the displayed error, actual transaction fee, gas used and recipient or contract.
  4. Check your account’s ETH and token activity separately. A quoted value or attempted transfer is not proof that the recipient received it.

MetaMask: checking wallet activity in a block explorer

Ethereum: the transaction lifecycle

Out of gas and contract reverts need different checks

Etherscan distinguishes an out-of-gas failure from a contract revert. Running out of gas means execution exhausted the allowed budget. A contract can also stop deliberately because one of its conditions was not satisfied; the displayed reason may help explain which one.

The REVERT instruction rolls back changes while preserving gas that has not been consumed. That differs from exhausting the gas allowance. In either case, increasing the amount you are willing to pay does not establish that the underlying action is valid.

What you findWhat to investigate
Out of gasThe wallet’s estimate and the computational limit required by this particular operation.
Reverted, with a reasonThe contract or application condition described by that error.
Pending or missing from this explorerWhether you have the correct network and hash, and whether submission occurred.

Etherscan: reasons for failed transactions

EIP-140: how REVERT handles state changes and remaining gas

Read gas used and gas price as separate numbers

Gas measures computation. The gas limit caps how much computation a transaction may consume; the price per unit determines its cost in ETH. The actual execution fee is gas used multiplied by the effective gas price. A wallet’s maximum fee estimate is not necessarily the amount ultimately charged.

For a fictional ordinary Ethereum transaction, suppose the receipt shows 60,000 gas used at 12 gwei per unit. The cost is 720,000 gwei, or 0.00072 ETH. Those example numbers are not a current fee quote. Use your own receipt’s actual figures. Other networks and specialized transaction types can have additional fee components.

Ethereum: gas units, fees and gwei

Investigate once before paying for another attempt

Save the hash and exact error, then consult the wallet or application’s official documentation for that operation. For an unexplained contract failure, stop and ask its official support channel what the error means. Do not repeatedly submit identical attempts hoping one will work.

A previously successful approval and a later failed swap are separate transactions. Inspect each record rather than assuming the failed swap undid earlier activity. Similarly, a swap service’s order status is separate from the status of your deposit transaction. Keep the order reference and transaction hash distinct when requesting help.

Reading a public receipt does not require connecting a wallet or signing anything. Never give support your recovery phrase or private key. If you later choose to retry, review the operation and its current estimate again; another included failed transaction can incur another fee.

MetaMask: why failed execution still incurs gas

Approval versus transfer: understand separate wallet actionsSwap IDs and transaction hashes

A FEW MORE DETAILS

Common questions

Does a failed transaction mean the intended payment succeeded?

A whole-transaction revert rolls back its intended transfers and contract changes. The network fee remains. Inspect the exact transaction and any separate related records.

Can MetaMask refund the gas I spent?

MetaMask states that it does not receive this network fee and cannot refund it. A failed status does not itself trigger reimbursement.

Does every wallet error cost gas?

No. An error before a transaction is accepted into a block is different from failed on-chain execution. Establish what was submitted and check its receipt before drawing conclusions.

Reviewed November 25, 2026 against Ethereum, EIP-140, Etherscan and MetaMask documentation. The fee calculation is fictional. This guide describes ordinary Ethereum transaction troubleshooting, not a promise about a wallet, swap provider or recovery outcome.

Keep reading