Can a Stuck Bitcoin Transaction Be Canceled?
Yes, you can cancel a Bitcoin transaction, but only before it receives any confirmations, and it depends on whether the transaction has Replace-By-Fee (RBF) enabled. Once confirmed, it cannot be reversed. The most direct way to cancel is to send a 0 BTC transaction to yourself with a higher fee, which will replace the original transaction.
Check the Transaction Status First
Enter your transaction hash (TxID) into a block explorer like mempool.space to see its confirmation status.
Case A: Confirmations ≥ 1.
The transaction is already on-chain and cannot be canceled. The nature of the blockchain means confirmed transactions are immutable. Do not attempt any cancel operations; the funds have already reached the recipient's address.
Case B: Confirmations = 0, and the transaction is still in the mempool.
The transaction is still pending and you can try to cancel it.
Completion check: You have confirmed in the explorer that this transaction is currently in an "Unconfirmed" state and has not been included in any block yet.
Check if RBF Is Enabled
Open the wallet from which you sent the transaction and view the transaction details. The way it is displayed varies by wallet, but typically it will be marked as "Replaceable (RBF)" or "RBF" under the transaction status or advanced information.
Case A: Transaction has RBF enabled (or the wallet has it on by default, e.g., Ledger, Trezor Suite).
You can cancel directly using RBF. On the transaction details page, click "Cancel" or "Speed up" and choose "Cancel transaction". The system will automatically construct a 0 BTC transaction sent to yourself, with a fee about 10% higher than the original, and broadcast it to replace the original transaction.
Case B: Transaction does not have RBF enabled.
RBF cannot be used; refer to the alternative methods below.
Currently, Bitcoin Core has enabled full RBF policy by default (Bitcoin Core 28.0). Regardless of whether the original transaction was marked as replaceable, most nodes will now accept a replacement transaction with a higher fee. However, some older wallets still require the original transaction to be explicitly marked as "replaceable".
Completion check: You have confirmed whether your wallet supports RBF cancellation and have located the corresponding action button in the wallet.
Manual Cancellation if the Wallet Does Not Support RBF
In your wallet, create a transaction sending to yourself (set the recipient address to your own address) with an amount of 0 BTC or a very small amount.
The key point: manually set the nonce value of this new transaction to be exactly the same as the nonce of the stuck transaction. At the same time, the fee for the new transaction must be higher than the original one.
Manually setting the nonce is an advanced feature hidden in many wallets by default. You need to enable "Custom nonce" or "Advanced transaction options" in the wallet settings. Be careful not to enter it incorrectly — if the nonce is wrong, you might overwrite a different transaction.
Completion check: The new transaction has been broadcast. In the block explorer, you can see that the fee rate of the new transaction is higher than the original, and the original transaction's status has changed to "Replaced" or has disappeared.
Alternative: Use a Third-Party Mempool Accelerator
If you cannot use RBF and are unable to manually build a replacement transaction, you can consider using a third-party mining pool accelerator service.
Submit your transaction hash to a mining pool that offers an accelerator (e.g., ViaBTC, Foundry USA) and pay an additional fee (an out-of-protocol payment). The pool will then prioritize your transaction in its queue.
⚠️ Risk warning: Third-party acceleration services are not part of the standard protocol and carry the risk of fraud. Only use official acceleration channels of well-known mining pools. Do not enter your transaction hash or make payments on unofficial links. Acceleration fees usually do not guarantee confirmation; review the service terms carefully.
Completion check: The acceleration request has been submitted, and the transaction appears as received on the pool's confirmation page.
Wait for Automatic Expiry (Lowest-Cost Method)
If none of the above methods appeal to you, or your transaction amount is very small, you can do nothing and wait for the transaction to be dropped from the network-wide mempool automatically.
By default, Bitcoin nodes remove unconfirmed transactions from the mempool after approximately 14 days (336 hours). At that point, the funds will return to your balance and become available again.
The mempool retention time may vary between different node or wallet software, up to a maximum of around 14 days. If your wallet does not show the balance restored, be patient or contact wallet support for confirmation.
Completion check: The transaction has disappeared from the block explorer, and your wallet balance is restored.
Common Reasons for Failure
Failure Reason 1: Insufficient balance to cover the fee for the new transaction.
Canceling a transaction is essentially initiating a new transaction, so you need extra balance to pay the higher miner fee. If your wallet balance is insufficient, the cancel button will be greyed out and unclickable.
Failure Reason 2: The fee increase for the RBF replacement is not large enough.
The new transaction's fee must be higher than the original, and the increase must at least meet the network's minimum relay fee, otherwise nodes will not forward the replacement transaction.
Failure Reason 3: The original transaction has already been included in a block, but the explorer cache hasn't updated.
Sometimes the explorer still shows "Unconfirmed" even though a miner has already included it. Refresh the browser after a few minutes — if the confirmation count becomes 1, do not attempt to cancel it anymore.
How to Confirm Cancellation Is Complete
Enter your original transaction hash into a block explorer. If the status changes to "Replaced" or "Overwritten by a new transaction," the cancellation was successful. The new transaction (the cancellation) will appear as a separate transaction in the explorer with the fee rate you set.
After a successful cancellation, confirm that the funds have returned to your available balance. If you need to send again, choose a higher fee before broadcasting — check the current recommended fee rates on mempool.space and set it to "High" to avoid getting stuck again.
