This guide explains how Ethereum validator exits and staking withdrawals work, including the mechanics of exit queues and withdrawal processing. You’ll learn the step-by-step process for exiting a validator and claiming your staked ETH, plus common pitfalls and troubleshooting tips.
What You’ll Need
- Access to your validator’s signing keys (keystore file and password) or the mnemonic seed phrase used to generate them.
- A computer or interface that can run Ethereum validator client software (e.g., Prysm, Lighthouse, Teku, Nimbus) or a tool that can broadcast signed exit messages.
- An Ethereum node or a service that allows you to broadcast transactions (like Infura, Alchemy, or your own node).
- Basic understanding of Ethereum transactions and gas fees.
Step-by-Step
- Understand the two types of withdrawals. Since the Shapella upgrade (April 2023), there are two types: partial withdrawals (excess balance above 32 ETH) and full withdrawals (entire validator balance after exit). Partial withdrawals are automatic; full withdrawals require an exit.
- Check your validator’s status. Before exiting, ensure your validator is active and not already exited or slashed. You can check on beaconcha.in or your validator client.
- Generate the exit message. Use your validator client’s exit command (e.g.,
prysmctl validator exitfor Prysm,lighthouse account validator exitfor Lighthouse) or a tool like the Ethereum Staking CLI. This creates a signed message containing your validator index and signature. - Broadcast the exit message. Send the signed exit message to the beacon chain via your node or a service. This is not a regular transaction; it’s a special operation that gets included in a beacon block.
- Wait for the exit queue. Your validator enters an exit queue. The queue processes a limited number of exits per epoch (currently 8 per epoch, roughly every 6.4 minutes). The wait time depends on the total number of validators exiting. For a large queue, it can take days.
- Wait for the exit to finalize. After your validator is processed, it enters a “exited” status. There’s a mandatory waiting period (currently 256 epochs, about 27 hours) before your funds become withdrawable.
- Set your withdrawal credentials. If you haven’t already, ensure your validator has 0x01 (Ethereum address) withdrawal credentials. If you still have 0x00 (BLS) credentials, you must sign a message to update them to an address. This is done via your validator client or a tool like the “0x01 withdrawal credential change” process.
- Wait for the withdrawal. Once your validator is exited and the waiting period is over, your full balance (minus any penalties) becomes eligible for withdrawal. The beacon chain processes withdrawals automatically, sending ETH to your withdrawal address. This can take a few days depending on the number of validators ahead of you.
- Verify the withdrawal. Check your withdrawal address on a block explorer to confirm the ETH arrived. The withdrawal is a normal transaction on the execution layer.
Common Mistakes
- Not setting 0x01 credentials before exit. If you have 0x00 credentials, you must update them before the withdrawal can be processed. Doing this after exit is possible but adds delay.
- Using the wrong validator index. Ensure you’re exiting the correct validator, especially if you run multiple.
- Broadcasting the exit twice. Once a validator is exited, it cannot be re-activated. Double-check before sending.
- Ignoring the exit queue. The queue can be long; don’t expect an instant exit. Plan ahead.
- Forgetting about gas fees. The exit message itself doesn’t require gas, but if you need to update withdrawal credentials, that’s a transaction that does.
Tips
- Use a dedicated tool like the Ethereum Staking CLI (from the Ethereum Foundation) to generate exit messages safely.
- Monitor the exit queue on beaconcha.in to estimate your wait time.
- Keep your signing keys secure; anyone with them can force an exit.
- If you’re running a validator, consider setting up automatic partial withdrawals to a cold wallet to reduce risk.
- Understand that slashing penalties can reduce your withdrawal amount. Check your validator’s status for any slashings.
Troubleshooting
Exit message not accepted. Ensure your validator is active and not already exited. Check that your client is synced to the latest beacon chain state. If using a custom tool, verify the validator index and signature.
Withdrawal not appearing after exit. First, confirm your validator status is “exited” and the waiting period has passed. Then, check that your withdrawal credentials are 0x01 and point to the correct address. If everything is correct, wait a few more days; the withdrawal queue can be long.
Credential change not working. This requires a signed message from your BLS key. Make sure you’re using the correct key and that your client supports the operation. If you’re stuck, seek help from the Ethereum staking community forums.
Validator shows “slashed” instead of “exited”. If your validator was slashed, the exit process is different. You cannot voluntarily exit; the protocol forces an exit, but the withdrawal process is similar. Your balance will be reduced by the slashing penalty.
Frequently Asked Questions
How long does the exit queue take?
The queue processes 8 validators per epoch (6.4 minutes). With ~500,000 validators, a full queue could take days. You can see the current queue length on beaconcha.in.
What is the difference between partial and full withdrawal?
Partial withdrawals automatically send any balance above 32 ETH to your withdrawal address. Full withdrawals happen after an exit and send your entire remaining balance.
Do I need to keep my validator running after exit?
No. Once your exit is processed, you can shut down your validator. However, you must wait for the withdrawal to be processed, which happens automatically on the beacon chain.
Can I cancel an exit once broadcast?
No. Once the exit message is included in a block, your validator will exit. There’s no way to reverse it.
What happens to my staked ETH if I lose my keys?
If you lose your signing keys, you cannot sign an exit message, so your validator will remain active and you’ll continue to earn rewards (or incur penalties). You can’t withdraw without the keys. If you have the mnemonic, you can regenerate the keys.
Are there any fees for exiting?
No, the exit operation itself is free. However, if you need to update your withdrawal credentials, that’s a regular transaction with gas fees.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Custom Alphanumeric Passcode iPhone: How to Set
- HomePod Software Update: How to Install
- How to Shuffle Photos in Slideshow on iPhone
- Quick Look Not Working on Mac? Fixes That Work
- How to See Deleted WhatsApp Messages on iPhone
- QUIC Protocol Error in Windows 10: Fixes