Why Does an Ethereum Transaction Stay Pending and How Can You Speed It Up or Cancel It?
## Why Does an Ethereum Transaction Stay Pending?
You may have sent ETH from MetaMask or performed a swap in a DeFi application, only to see the transaction remain pending for a long time.
This usually means that the transaction has not yet been confirmed and included in a blockchain block. A common reason is that the suggested gas fee is too low for current network conditions. An older transaction from the same account may also cause later transactions to wait in the queue.
In some cases, you can replace the transaction with one that uses a higher fee, or attempt to cancel it while it is still pending.
**Important:** A confirmed transaction cannot be reversed using the Cancel option. Cancellation is an attempt to replace a transaction that is still waiting for confirmation.
## 1. What Is a Pending Transaction?
A pending transaction is one that has been submitted from a wallet but has not yet been included in a valid blockchain block.
For example, you may send 0.1 ETH to an address. MetaMask submits the request, but if the suggested fee is not competitive for current network conditions, the transaction may remain in the waiting queue.
Understand the difference between these two situations:
- **Pending in the wallet:** MetaMask still displays the transaction as unconfirmed.
- **Pending in the explorer:** The transaction is visible on the network but has not yet been included in a block.
Sometimes the activity shown by a wallet does not match the actual blockchain status. Check the TXID using a reliable explorer for the correct network.
## 2. What Is the Difference Between Gas Fee and Priority Fee?
A transaction on Ethereum requires a network fee. The fee depends on the computational resources required and current market conditions for block space.
Under the EIP-1559 fee model, several concepts are important:
- **Gas Limit:** The maximum amount of gas allocated for executing a transaction.
- **Base Fee:** The base part of the transaction fee, determined by network conditions and burned.
- **Priority Fee:** An additional amount offered to encourage validators to process a transaction sooner.
- **Max Fee:** The maximum fee per unit of gas that the user is willing to pay.
If the proposed Priority Fee or Max Fee is too low compared with current network conditions, the transaction may remain pending for longer.
Increasing the fee can improve the chance of faster processing, but it does not guarantee a specific confirmation time. Network activity and competition for block space can change.
## 3. What Is a Nonce and Why Does It Matter?
A nonce is a sequential number used for transactions sent from an account on a network. Each subsequent transaction generally receives the next nonce.
For example, if transactions from an account have nonce values 10, 11, and 12, and transaction 10 is still pending, later transactions may also have to wait.
Nonce ordering helps the network process transactions from an account in sequence and prevents the same nonce from being executed more than once.
For this reason, on many Ethereum-compatible networks, a pending transaction can be replaced by another transaction that uses the same nonce.
## 4. What Should You Do Before Speeding Up or Canceling?
Before replacing a transaction, follow these steps:
1. Check MetaMask and confirm that the transaction is actually pending.
2. Search for its TXID on an explorer for the same network.
3. Verify that the transaction has not already been confirmed.
4. Check whether an older pending transaction exists in the same account.
5. Record the transaction nonce.
6. Check the current suggested network fees using a reliable gas tracker.
For Ethereum, you can use the Etherscan Gas Tracker:
https://etherscan.io/gastracker
If the issue appears to be only in MetaMask's activity display, close and reopen the browser or app, then check the transaction status on the explorer before taking further action.
## 5. How to Speed Up a Transaction in MetaMask
Speed Up resubmits the same transaction with a higher gas fee.
The replacement uses the same nonce so that the network processes one of the transactions with that nonce.
General steps:
1. Open MetaMask.
2. Find the pending transaction in Activity or its transaction details.
3. Select Speed Up, if the option is available for that transaction.
4. Review the new suggested fee.
5. Choose a fee based on current network conditions.
6. Review the transaction details and confirm.
7. Check the replacement transaction status or new TXID in the explorer.
In MetaMask Extension version 13.30 and later, the user interface for certain supported networks has changed. After submitting a transaction, a Transaction submitted notification appears in the sidebar. Selecting it opens the transaction details panel. If the transaction is pending, Speed Up or Cancel may be available there.
This interface change applies to the Extension and should not automatically be assumed to describe the same navigation in MetaMask Mobile.
**Important:** Speed Up increases the transaction cost. There is no fixed gas price that is always appropriate; the fee should be evaluated against current network conditions.
## 6. How to Cancel a Pending Transaction in MetaMask
If you no longer want the transaction to execute, you may be able to use MetaMask's Cancel option.
General steps:
1. Find the transaction in Activity or the transaction details panel.
2. Confirm that it is still pending on the network.
3. Select Cancel.
4. Review the cancellation request in the wallet confirmation window.
5. Check the replacement fee.
6. Confirm only if the details are correct.
7. After the replacement is processed, check the previous transaction status in the explorer.
Cancellation does not mean deleting a transaction from the blockchain. The wallet submits a replacement transaction using the same nonce so that the original transaction is no longer executed.
This commonly works by sending a zero-value ETH transaction to your own public address with the same nonce. However, when using MetaMask's in-app option, follow the exact steps and details presented by the wallet.
## 7. Manually Replacing a Transaction with a Custom Nonce
If the Cancel option is unavailable, you may be able to use Custom Nonce. This method is more suitable for experienced users because an incorrect nonce or fee can create additional problems.
General steps:
1. Find the nonce of the pending transaction in the explorer.
2. Enable the necessary MetaMask setting to show and edit the nonce.
3. If Smart Transactions is enabled, MetaMask's current instructions may require you to temporarily disable it.
4. Create a new transaction to your own public address.
5. Set the transfer amount to 0 ETH.
6. Set Custom Nonce to exactly the same nonce as the pending transaction.
7. Choose a Gas Limit and replacement fee using MetaMask's guidance and current network conditions.
8. Before confirming, review the recipient, amount, nonce, and fee again.
9. Confirm the replacement transaction and check the result in the explorer.
MetaMask's manual replacement guidance recommends setting the Priority Fee and Max Fee higher than those of the original transaction to improve the chance that the replacement is processed first. Do not treat the examples in the guide as permanent fee values; network conditions change.
If you are unfamiliar with Custom Nonce, prefer MetaMask's in-app Speed Up or Cancel option and avoid manual changes unless you understand the process.
## 8. What If You Have Multiple Pending Transactions?
If several transactions from the same account are pending, you generally need to start with the oldest transaction.
A smaller nonce usually indicates an older transaction. For example, if transactions with nonces 15, 16, and 17 are pending, check transaction 15 first.
If you replace a newer transaction while an older transaction remains in the queue, the replacement may fail or the newer transaction may remain pending.
MetaMask also recommends resolving multiple pending transactions from the oldest to the newest.
## 9. Does Canceling a Transaction Cost Gas?
Yes. A cancellation or replacement is also a new blockchain transaction, so it requires a network fee to be processed.
Keep these points in mind:
- The replacement needs a competitive fee.
- Cancellation costs may increase when the network is busy.
- If the replacement transaction is confirmed, its network fee is paid.
- A transaction that has already been confirmed cannot be canceled.
- If an original transaction fails but is included in a block, gas may still have been consumed.
Check the replacement fee before choosing Cancel or Speed Up.
## 10. Can a Confirmed Transaction Be Canceled?
No. Once a transaction has been included in a block and confirmed, it cannot be removed from the blockchain using the Cancel option.
If ETH has been sent to the wrong address, recovery usually depends on the cooperation of the recipient address owner. If a swap has executed successfully, it cannot be canceled afterward. You would need to make a new transaction to perform a reverse trade.
Always verify the recipient address and transaction details before confirming.
## 11. What If MetaMask Shows Pending but the Explorer Does Not?
Sometimes the wallet's Activity information is out of sync with the actual network status. In this situation:
1. Confirm that MetaMask is using the same network as the transaction.
2. Search the TXID on the correct explorer.
3. Close and reopen MetaMask.
4. If the transaction does not exist on the network, investigate the cause before submitting another transaction.
5. If necessary, consult MetaMask's official instructions for troubleshooting transaction history.
Reset Account in MetaMask settings can clear local Activity data, but it should not be the default solution for a transaction that is genuinely pending on the blockchain. Check the network status first.
## 12. Checklist for Fixing a Pending Transaction
Before taking action, check the following:
1. The transaction is actually pending on the explorer.
2. You selected the correct network.
3. You recorded the TXID and nonce.
4. You checked for older pending transactions from the same account.
5. You reviewed current fees using a gas tracker.
6. You understand that Speed Up increases the fee.
7. You understand that Cancel can only be attempted while the transaction remains pending.
8. For manual replacement, you will use exactly the same nonce as the pending transaction.
9. You reviewed the recipient, amount, and fee before confirming the replacement.
## Conclusion
An Ethereum transaction commonly remains pending because the suggested fee is too low or earlier transactions from the same account are still waiting to be processed. Start by checking the transaction status on a blockchain explorer.
If you still want the operation to execute, Speed Up can replace the same transaction with a higher fee. If you no longer want it to execute, you may be able to use Cancel or nonce replacement while the transaction is still pending.
Remember that a confirmed transaction cannot be canceled and a replacement transaction also requires a network fee. If several transactions are pending, check the oldest nonce first.
For more guides about Ethereum, wallets, and cryptocurrency security, visit Coincoino:
https://coincoino.com/article
**Official resources:**
- MetaMask guide to Speed Up and Cancel: https://support.metamask.io/manage-crypto/transactions/how-to-speed-up-or-cancel-a-pending-transaction
- MetaMask guide to replacing pending transactions: https://support.metamask.io/manage-crypto/transactions/why-cant-i-replace-a-pending-transaction-/
- MetaMask guide to customizing a nonce: https://support.metamask.io/configure/transactions/how-to-customize-a-transaction-nonce
- Ethereum guide to pending transactions: https://ethereum.org/community/support/faq/
- Etherscan Gas Tracker: https://etherscan.io/gastracker
View Post Details