I attempted a transaction 22 hours ago with a low gas offer due to insufficient ETH, but the transaction has been pending since and I can't seem to cancel it. MetaMask indicates there's not enough gas for cancellation. Previously, I heard that MyEtherWallet's website allowed for offline sending, but I can't find that option now. This was my attempt to purchase something through Uniswap with ETH, and I'm stuck without a solution. I tried sending to my own MetaMask account to resolve this without success. Any advice on resolving this without further expenses would be greatly appreciated.

  • You can send a transaction to your own account with higher gas using an empty value, like 0 ETH. Make sure that the nonce used is the latest the same as the one you used for your pending transaction.
    – Adam Boudj
    Commented Mar 30 at 4:23
  • I tried your suggestion, but the transaction still hasn't been canceled, and the fee from that transaction hasn't been returned to me. Commented Mar 30 at 11:27

1 Answer 1


A pending transaction cannot be cancelled. It can only be replaced by another pending transaction in the mempool.

If you no longer wish to execute your Uniswap transaction, you can follow Adam Boudj's suggestion. Send zero ETH to your own wallet using a higher gas price while maintaining the same nonce as the Uniswap transaction. Even if you don't have sufficient gas to complete the transaction, it's not an issue. Your pending transaction will replace the existing one in the mempool. When the network's gas price drops low enough, your pending transaction, which is a zero ETH transfer, will be executed. Your Uniswap transaction will NOT be executed.

If you need to use your wallet for another transaction while your zero ETH transfer is pending, simply send the new transaction with the same nonce and a higher gas price.

Note that to replace the old transaction, you'll need to increase AT LEAST the priority fee, and if desired, the base fee.

  • Please update your answer with Adam Boudj's post url that you're referring as suggestion, instead of his profile url. Commented Apr 1 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.