Search
Free crypto tools · Market data loads when needed.Data details ↗
READ A FAILED RECEIPT

Ethereum transaction failed but gas was charged: why?

Understand a failed on-chain execution, calculate the fee actually paid and check the cause before you consider another attempt.

A transaction that is included in an Ethereum block but fails during execution can still use gas. The attempted transfer or contract action is reverted, but the network has processed the attempt and charges for gas used. Find the transaction’s hash on an Ethereum mainnet explorer and read its status, gas used and effective gas price. A pending or dropped attempt is a different case.

Do not blindly resend a failed payment or raise its gas limit. First confirm whether a transaction reached a block, why it failed and whether any related transfer actually occurred. A failure label from an exchange or wallet may describe an internal step rather than an on-chain execution.

What does “failed” mean on Ethereum?

Ethereum distinguishes a transaction being broadcast, included in a block and executed successfully. A block explorer’s failed or reverted status means it was included but its top-level execution did not complete successfully. Its receipt records the status and gas consumed. The attempted state change is not applied, but the gas spent on execution is not returned. This is why a failed contract interaction can leave the token balance unchanged while the ETH balance falls by the fee. The Ethereum JSON-RPC receipt exposes status (0x0 for failure, 0x1 for success), gasUsed and effectiveGasPrice; Ethereum’s EVM explanation describes a revert restoring earlier state while gas is consumed.

How do I check what I paid?

  1. Find the complete transaction hash in your wallet’s activity. Search it on an Ethereum mainnet explorer.
  2. Verify the transaction is in a block and the receipt says failed. If it is pending or has no on-chain receipt, do not apply the failed-execution explanation yet.
  3. Read the receipt’s gas used and effective gas price. Multiply them to estimate the execution fee, then convert gwei to ETH: one billion gwei equal one ETH.
  4. Check any wallet or explorer explanation of the failure, the contract action, token transfers and the actual account balance before deciding what to do next.

The formula is gas used × effective gas price = execution fee. On Ethereum mainnet, the fee is paid in ETH. A wallet’s gas limit is a ceiling for the attempt, not always the amount used; unused gas is not charged. Ethereum’s transaction guide explains that unused gas is refunded.

Worked example: failed swap, 0.001 ETH fee

Suppose a swap is included in a block but its receipt says failed. It used 50,000 gas at an effective price of 20 gwei per gas. The fee is 50,000 × 20 = 1,000,000 gwei, or 0.001 ETH. The swap output is not delivered, but the 0.001 ETH execution fee remains. This is illustrative math, not a current network quote. You can enter the gas units and rate into the Ethereum gas fee calculator to check the unit conversion, then compare with your actual explorer receipt.

Was it failed, pending, dropped or just not credited?

On a narrow screen, scroll the table sideways to see all columns.

The next step depends on the actual state
What you seeWhat it usually meansNext check
Included in block; receipt failedOn-chain execution reverted; gas used was charged.Read receipt, failure reason and actual token movements before retrying.
Pending; no block or receiptThe network has not confirmed the attempt yet.Follow your wallet’s pending-transaction guidance. Do not duplicate the action blindly.
Dropped or never broadcastNo failed on-chain receipt exists for that attempt.Check wallet activity and sender status; a held fee estimate is not necessarily a fee paid.
Successful on-chain; exchange balance missingThe chain and the receiving service are at different stages.Check asset, network, recipient and the receiver’s credit rules.

See the pending or missing transfer guide for the sender/network/receiver distinction. MetaMask’s failed-gas explanation confirms that gas for executed work is not a wallet refund.

What should I check before trying again?

Look at the wallet or explorer’s failure details. A contract might reject a swap because its price or slippage conditions were not met; an “out of gas” failure is different. Check your balance, allowances, intended contract, destination and current quote. Raising a gas price does not repair a contract condition, and raising a gas limit does not make an unsafe or invalid action safe. If a dapp asks for new approval or a recovery phrase, stop and review the approval guide and official support. The exact failure reason may not be available from a simple explorer status; do not guess and repeatedly pay to test it.

Questions people ask

Does a failed Ethereum transaction use the whole gas limit?

Not necessarily. A revert can consume only part of the limit; an out-of-gas failure can consume it. Check the receipt’s actual gas used and effective price rather than assuming the maximum estimate was paid.

Can I get the gas fee back?

Network gas already consumed by a failed on-chain execution is generally not refundable by your wallet provider. If a service charged a separate fee or only placed a temporary hold, ask that service through its official support route; that is a different question from Ethereum’s gas receipt.

Is this the same on every chain?

No. This guide describes Ethereum mainnet and Ethereum-style execution. Other chains and layer-2 networks have different fee components and service rules. Use the explorer and documentation for the exact network you used.

Primary sources

Ethereum transactions and gas, Ethereum transaction receipt fields, Ethereum EVM revert semantics and MetaMask’s wallet guidance. Fee conditions and wallet interfaces can change; verify your own receipt and current provider documentation.

See how crypto.tt sources and reviews guides. Check current network and service instructions before acting.