RobTheCoins.xyz
Troubleshooting

How to Cancel a Pending Ethereum Transaction

Learn how to cancel a pending Ethereum transaction in simple steps. Our guide covers the process, fees, timing, and essential safety tips to ensure you do it right.

Updated Sep 19, 2026 3 min read
How to Cancel a Pending Ethereum Transaction

Quick answer: To cancel a pending Ethereum transaction, you can use tools like MetaMask to speed up or cancel the transaction by adjusting the gas fee.

Key takeaways

  • Pending Ethereum transactions can be canceled or replaced by adjusting the gas fee.
  • Tools like MetaMask offer built-in options to speed up or cancel transactions.
  • Always double-check transaction details before confirming any action.
  • Cancelling a transaction may incur additional fees.
  • Ensure your wallet is connected to the correct network before proceeding.

Before you start

  • Ensure your wallet (e.g., MetaMask) is connected to the correct Ethereum network.
  • Have sufficient ETH in your wallet to cover potential gas fees.
  • Understand that cancelling a transaction may not always be possible.
  • Backup your seed phrase and keep it secure.
  • Verify the transaction is indeed pending on a blockchain explorer.

How to Cancel a Pending Ethereum Transaction: step by step

1. Access Your Wallet

Open your Ethereum wallet, such as MetaMask, and ensure it is connected to the correct account. You should see your current balance and recent transactions.

2. Identify the Pending Transaction

Locate the transaction you wish to cancel in your transaction history. It should be marked as ‘Pending’. If you cannot find it, check the transaction hash on a blockchain explorer.

3. Open Advanced Options

Click on the pending transaction to view more details. Look for an option like ‘Speed Up’ or ‘Cancel’. In MetaMask, this is usually under the ‘Activity’ tab.

4. Increase the Gas Fee

To cancel the transaction, you need to create a new transaction with a higher gas fee. This is often done via the ‘Speed Up’ option, which allows you to replace the pending transaction.

5. Confirm the New Transaction

Review the new transaction details, including the increased gas fee. Confirm the transaction to broadcast it to the network. This new transaction will attempt to cancel the pending one.

6. Wait for Confirmation

The cancellation process may take some time, depending on network congestion and the gas fee you set. You can monitor the status on a blockchain explorer.

7. Verify Cancellation

Once the new transaction is confirmed, check the original transaction on a blockchain explorer. It should be replaced or marked as ‘Failed’ if the cancellation was successful.

8. Check Your Wallet Balance

Ensure that your wallet balance reflects the correct amount after the cancellation. You may have incurred additional gas fees for the replacement transaction.

Fees and how long it takes

The fees for cancelling a pending Ethereum transaction depend on the gas price you set. Higher gas fees can lead to faster confirmation but will cost more. Typical fees range from a few cents to several dollars, depending on network congestion.

The time it takes to cancel a transaction varies. In periods of low congestion, it may take just a few minutes. During high congestion, it could take longer, and you may need to increase the gas fee further to expedite the process.

Tips to avoid mistakes

  • Always keep an eye on network congestion and adjust gas fees accordingly.
  • Use a blockchain explorer to monitor the status of your transactions.
  • Consider using tools like GasNow to get real-time gas price estimates.
  • If your wallet supports it, use the ‘Speed Up’ option before trying to cancel.
  • Never share your seed phrase or private keys with anyone.

Stay safe

  • Never confirm transactions without verifying the details, including the recipient address and the amount.
  • Ensure your wallet is secured with a strong password and two-factor authentication if available.
  • Be cautious of phishing sites and only use official wallet applications.
  • Keep your seed phrase offline and in a secure location.
  • Test with a small transaction first if you are unsure about the process.

If something goes wrong

Transaction won’t cancel — If the transaction won’t cancel, you may need to wait until it expires or contact the wallet support team for assistance.

Insufficient funds for gas — Ensure you have enough ETH in your wallet to cover the gas fees for the replacement transaction.

Network congestion — During high congestion, you may need to increase the gas fee significantly to cancel the transaction promptly.

Wallet connection issues — If your wallet is not connecting, try restarting the application or reinstalling it. Ensure your internet connection is stable.

Doing this as part of trading, income, or a disposal? See how it may be taxed in Tax by country and the taxable-events section — information, not advice.

Frequently asked questions

Can I cancel a transaction after it has been confirmed?
No, you cannot cancel a transaction once it has been confirmed on the Ethereum blockchain. Transactions on the blockchain are irreversible.
How long does it take to cancel a pending transaction?
The time varies depending on network congestion and the gas fee set. It can range from a few minutes to several hours.
Will I lose my ETH if I try to cancel a transaction?
You may lose a small amount of ETH due to gas fees for the replacement transaction, but your original ETH should remain intact if the cancellation is successful.
Can I cancel a transaction using any wallet?
Most modern wallets like MetaMask, Coinbase Wallet, and Trust Wallet offer options to cancel or speed up transactions. Check your wallet's documentation for specific instructions.
What happens if I set a low gas fee for cancellation?
A low gas fee may result in the cancellation transaction taking longer to confirm or not being processed at all. It is often better to set a higher gas fee to ensure the transaction is processed quickly.
Information, not advice. This page explains how the rules are generally understood and is not tax, legal, or financial advice. Rules change and depend on your circumstances — always check the cited source and consult a qualified professional in your jurisdiction before you act.
Keep going

More troubleshooting guides

All guides →