Stuck Ethereum Transaction? How to Speed Up, Cancel, or Replace It
To fix a stuck Ethereum transaction, speed it up by resubmitting the same nonce with higher fees, cancel it with a 0 ETH self-transfer at that nonce, or wait for the mempool to drop it within 3 to 24 hours. Most stalls come from a max fee below the base fee, a low tip, or an earlier stuck nonce.
This article is for educational and informational purposes only and does not constitute financial, investment, or trading advice. Cryptocurrency and DeFi investments carry significant risk, including the potential loss of all invested capital. Always conduct your own research (DYOR) and consult a qualified financial advisor before making any investment decisions. Past performance does not guarantee future results.
The Twelve-Hour Panic
You submitted a swap. An hour passes. The transaction is still pending. Your wallet shows three more queued behind it that cannot confirm either.
You refresh Etherscan every thirty seconds hoping it moves.
I have been there. Everyone who uses Ethereum long enough has been there. The good news is that in 2026 this is a solved problem — the tools are mature, the fee mechanics are well-understood, and you can almost always get unstuck within minutes once you know where to push.
This guide walks through every scenario: why transactions get stuck, how to diagnose yours in under five minutes, how to speed up or cancel through MetaMask, when to drop to raw nonce replacement, and how to prevent the whole mess next time.
If you are new to gas mechanics entirely, read our explainer on what gas fees are and how they work first — this guide assumes you know the basics.
Why Do Ethereum Transactions Get Stuck?
Cause 1: Max fee below current base fee
Under EIP-1559, every transaction specifies two values:
- maxFeePerGas: the absolute cap you will pay per unit of gas.
- maxPriorityFeePerGas: the tip paid directly to the validator on top of base fee.
The network's base fee floats from block to block, rising when blocks are full and falling when they are empty. If the base fee rises above your maxFeePerGas after you submitted, the transaction becomes ineligible for inclusion and just sits in the mempool.
This is the single most common stuck-transaction cause in 2026. During NFT mints, airdrop claims, or sudden market moves, base fee can spike from 5 gwei to 100 gwei in minutes. Any wallet that guessed 20 gwei as its max is stranded.
Cause 2: Priority fee too low to be attractive
Even with maxFeePerGas high enough, validators still pick the transactions with the highest effective priority fee first. If every recent block included transactions at 2 gwei tip and you set 0.5 gwei, builders simply skip yours.
Cause 3: Nonce blocked by an earlier stuck transaction
Nonces are strict. If your account has stuck nonce 42, then nonce 43, 44, and 45 cannot mine regardless of their fees. You have to fix 42 before anything else moves.
This cascade is especially bad on trading accounts that submit many transactions per hour: a single laggy approval can stall a whole position.
Step 1: Confirm the Transaction Is Actually Stuck
Open Etherscan and paste your transaction hash. The statuses you will see:
- Pending: still in the mempool, can be replaced.
- Success: already mined. Nothing to do.
- Failed: mined but reverted. Not stuck; the transaction executed but hit an error in the contract.
- Dropped: removed from the mempool due to time or resource pressure. The nonce is free; you can submit a new transaction at the same nonce.
If it is pending and has been for more than ~15 minutes under normal network conditions (or ~1 hour during congestion), it is stuck. Proceed to Step 2.
If your wallet shows pending but Etherscan cannot find the hash at all, your node never propagated it. Check your wallet is connected to the right RPC — this happens to people running their own nodes more than they realize.
Step 2: Compare Your Fees to Current Mempool Conditions
Open the Etherscan gas tracker or ultrasound.money. Note:
- Current base fee
- Suggested priority fee (usually 1-3 gwei in normal conditions)
- Recent confirmed transaction tips
Now compare to your stuck transaction. On Etherscan, the transaction detail page shows Max Fee, Max Priority Fee, and Base Fee Per Gas in the advanced details.
If maxFeePerGas < current base fee: the transaction cannot mine until base fee drops. Replace with a higher cap.
If maxFeePerGas >= current base fee but maxPriorityFeePerGas is very low: validators are deprioritizing you. Replace with a higher tip.
If both numbers look fine: check for a lower-nonce stuck transaction on the same account (see Cause 3).
Step 3: The MetaMask Fast Path
For 95 percent of stuck transactions, MetaMask's built-in UI is all you need.
- Open MetaMask and select the correct account and network.
- Click the Activity tab.
- Click the pending transaction.
- You will see Speed Up and Cancel buttons at the top.
Speed Up opens a fee editor pre-filled with a 10 percent bump (the geth minimum for mempool replacement). You can choose Market, Aggressive, or Custom. Custom lets you set maxFeePerGas and maxPriorityFeePerGas directly.
Cancel does the same thing but submits a 0 ETH self-transfer at the same nonce. If the cancel replacement wins the race, the original is effectively voided. If the original mines first, the cancel fails and you have paid a small amount of gas.
How much to bump
The mempool replacement rule requires both gas fee fields to be at least 10 percent higher than the original. This is a floor, not a recipe.
In practice:
- Gentle bump (+15-25%): use when network is calm and you just want a nudge.
- Aggressive bump (+50-100%): use during congestion; guarantees inclusion in the next few blocks.
- Nuclear bump (2-5x): use when you absolutely need it in the next block (airdrop claim, liquidation).
Every bump is a new max fee — if it still does not mine, you can bump again from there.
Step 4: Manual Nonce Replacement for Power Users
MetaMask's UI handles the common case. For edge cases — custom nonces, wallet disagreement about nonce, batched transactions — you need to do it manually.
Find the nonce
On Etherscan, click the transaction and look at the Nonce field in the advanced details. Or in MetaMask, the transaction detail shows the nonce in the bottom section.
Build a replacement in MetaMask
- Settings > Advanced > Customize transaction nonce > ON.
- Start a new transaction (any send, swap, or contract interaction).
- At the confirmation screen, edit the nonce to match the stuck transaction's nonce.
- Set fees well above current base fee and tip.
- Confirm.
Ethereum will process whichever transaction mines first at that nonce; the other becomes invalid and drops out of the mempool.
Build a replacement with ethers.js
For scripted or high-frequency operations:
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider(process.env.RPC_URL);
const wallet = new ethers.Wallet(process.env.PRIVATE_KEY, provider);
const stuckNonce = 42; // whichever nonce is stuck
// Cancel: 0 ETH self-transfer at the same nonce
const tx = await wallet.sendTransaction({
to: wallet.address,
value: 0n,
nonce: stuckNonce,
maxFeePerGas: ethers.parseUnits("150", "gwei"),
maxPriorityFeePerGas: ethers.parseUnits("5", "gwei"),
});
console.log("Cancel submitted:", tx.hash);
await tx.wait();
console.log("Cancel confirmed");The same pattern speeds up a transaction — just rebuild the original transaction (to, value, data) at the same nonce with higher fees.
Step 5: When to Use Flashbots Instead
Public mempool replacement races are themselves subject to MEV. If your transaction is large or profitable to front-run (big swap, NFT mint, arbitrage), searchers will detect your speed-up and sandwich it.
Flashbots Protect gives you a private RPC endpoint. Transactions submitted there go directly to block builders, bypassing the public mempool entirely. To use it:
- Add the Flashbots Protect RPC as a custom network in MetaMask (or point your wallet there).
- Submit the speed-up or replacement through that RPC.
- The transaction becomes visible on-chain only when mined.
This is also the right tool if you suspect your public transaction has been picked up by a sandwicher who will crowd out any replacement you attempt.
For background on Ethereum's transaction model, see our explainer on what Ethereum is.
Step 6: Account Abstraction Sidesteps Most of This
ERC-4337 account abstraction wallets do not have the same nonce cascade problem. UserOperations use a flexible nonce space with "keys" and "sequences", so you can have multiple parallel nonce streams from the same account. A stuck operation in one key does not block another key.
Smart wallets like Safe, Argent, and Coinbase Smart Wallet also offer built-in replacement and cancellation UIs that handle fee bumping for you. If you find yourself regularly stuck, migrating off a standard EOA is the right long-term answer.
Real Scenarios I Have Debugged
Scenario A: NFT mint disaster
User set maxFeePerGas to 30 gwei for an anticipated mint. At mint time, base fee spiked to 400 gwei from coordinated mint activity. Transaction stranded for 6 hours, along with 4 queued approvals behind it.
Fix: cancelled the mint with a replacement at 500 gwei max, 10 gwei priority. Cancel confirmed within 2 blocks. The 4 queued approvals then processed in order normally.
Scenario B: Wallet says confirmed, Etherscan says pending
User's wallet showed the transaction as mined. Etherscan showed pending. Wallet was connected to a cached RPC that had forked briefly. Cleared wallet cache, reconnected to a fresh RPC (Alchemy or Infura), and the real status surfaced.
Scenario C: Nonce disagreement
User submitted transactions from two devices simultaneously. Both used nonce 17. One confirmed; the other stayed pending forever because nonce 17 was already used. The "stuck" transaction was actually invalid.
Fix: submit a new transaction at nonce 18 to resync the wallet's nonce counter. The old pending will eventually drop.
Scenario D: Revoke.cash revoke stuck
User revoking a token approval after seeing their wallet on revoke.cash. Revoke transaction stuck at low gas. Meanwhile a scam contract had already been called — the revoke needed to win the race.
Fix: re-submitted the revoke via Flashbots Protect at 3x normal fees. Landed in the next block. This is a case where gas price truly matters in real time.
Prevention Playbook
- Set realistic defaults. Configure MetaMask Advanced > Default gas limit and fee settings. Do not leave it on "low" for anything time-sensitive.
- Watch base fee before submitting. Thirty seconds on Etherscan gas tracker saves hours of waiting.
- Avoid back-to-back submissions. If you submit 5 transactions in rapid succession, each at the same fee, and base fee rises between them, you will strand the last ones. Space them out or bump later ones proactively.
- Use L2s for casual activity. Arbitrum, Optimism, and Base gas is so low that stuck transactions are effectively impossible. Save mainnet for operations that require it.
- Switch to a smart wallet for trading. Account abstraction eliminates nonce cascades entirely.
When Nothing Works, Just Wait
Stuck transactions eventually drop out of the mempool — typically 3 hours on well-run nodes, up to 24 hours across the broader network. If the transaction is not time-sensitive and the fee is only slightly low, waiting is free and risk-free. You have not spent any gas until the transaction mines.
Once dropped, your nonce is free again and you can submit normally. Verify via an Etherscan check that the pending status has gone to dropped before assuming the nonce is clear.
What to Read Next
- What Are Gas Fees? Ethereum Fees Explained
- What is Ethereum? A Beginner's Guide
- ERC-4337 Account Abstraction Developer Guide
External references:
- Etherscan Gas Tracker
- EIP-1559 Specification
- Flashbots Protect RPC
- MetaMask Support: Speed Up / Cancel
- Ultra Sound Money (Base Fee dashboard)
This post is part of our Ethereum and DeFi coverage. For the broader picture, see our [complete guide to Ethereum](/blog/what-is-ethereum-explained).
Sources
The primary sources this article cites, checked in November 2026:
- EIP-1559 (eips.ethereum.org)
- Etherscan gas tracker (etherscan.io)
- Coinbase Smart Wallet (coinbase.com)
- MetaMask Support: Speed Up / Cancel (support.metamask.io)
- Transaction Dropped & Replaced (Etherscan Information Center) (info.etherscan.com)
- How to replace a Pending/Dropped transaction (Etherscan Information Center) (info.etherscan.com)
- Flashbots Protect quick start (Flashbots Docs) (docs.flashbots.net)
- Get started with Infura (Infura documentation) (docs.metamask.io)
- What Are Token Approvals? (Revoke.cash) (revoke.cash)
Key Takeaways
- Check Etherscan first: only a transaction still shown as pending is stuck, while a dropped transaction frees its nonce for reuse.
- A replacement must reuse the same nonce and raise both maxFeePerGas and maxPriorityFeePerGas by at least 10 percent, the geth default.
- Ethereum has no native cancel; cancelling means sending a 0 ETH self-transfer at the same nonce with higher fees.
- A stuck low-nonce transaction blocks every higher-nonce transaction from the same account until it mines or drops.
- Under EIP-1559, transactions stall when the base fee rises above maxFeePerGas, so bumping only the tip is often not enough.
- Flashbots Protect routes transactions privately to block builders, which helps when a public replacement would be front-run or sandwiched.
Frequently Asked Questions
Why is my Ethereum transaction stuck pending for hours?
There are three usual causes. Your max fee may be below the current base fee, so the network will not include the transaction. Your priority fee may be lower than block builders are accepting, so they skip it. Or a lower-nonce transaction from the same account is stuck, and Ethereum processes nonces strictly in order.
How do I speed up a stuck transaction in MetaMask?
Open MetaMask, go to the Activity tab and click the pending transaction to reveal the Speed Up and Cancel buttons. Speed Up opens a fee editor pre-filled with a 10 percent bump at the same nonce, with Market, Aggressive and Custom options. If the new fee is still below current mempool conditions, the replacement will also stick.
Can I really cancel an Ethereum transaction after I submitted it?
Not exactly. You cannot delete a pending transaction from the mempool, but you can replace it with a 0 ETH transfer to your own address at the same nonce and a higher fee. If that confirms first, the original is dropped. If the original mines first, the cancel fails and you lose a small amount of gas.
My replacement transaction is also stuck. What now?
Your replacement fee is still too low. Check the current base fee on the Etherscan gas tracker and set maxFeePerGas at least 25 percent above it, with a priority fee matching the median tip recent blocks included. If it still sticks, wait for a quieter period and retry with a much higher cap.
Does EIP-1559 change how I handle stuck transactions?
Yes. Instead of a single gasPrice, there are two values: maxFeePerGas, the cap including base fee, and maxPriorityFeePerGas, the tip paid to validators. Transactions stall when maxFeePerGas falls below a base fee that can rise block over block. Set maxFeePerGas with headroom, around 2x the current base fee, and bump both values when replacing.
About the Author
Marcus Williams
Blockchain & DeFi Editorial Desk
Blockchain & DeFi Editorial Desk · Web3AIBlog
Marcus Williams is a pen name for our blockchain and DeFi editorial desk. Posts under this byline are written and reviewed by contributors with backgrounds in protocol engineering, on-chain analysis, smart contract auditing, tokenomics, and decentralized finance. The desk covers consensus mechanisms, liquidity protocols, MEV, on-chain forensics, regulatory frameworks across jurisdictions, and the operational realities of running and using DeFi at scale. Our coverage is an editorial synthesis of protocol documentation, on-chain data, and audited primary sources, with every figure verified against a primary source before publication.