# RootStakeLocked (/docs/errors/chain/RootStakeLocked)

A root (netuid 0) exit was attempted before `RootStakeUnlockInterval` blocks elapsed since the coldkey/hotkey's last root stake add, remove, or claim. Applies to `remove_stake` and to move/swap/transfer off root. Check `LastColdkeyHotkeyStakeBlock` against the current block and wait out the hold window (or leave the interval at 0 via sudo if the lock is not intended).

Declared by the `SubtensorModule` pallet; it classifies to the semantic code [`too_early`](/docs/errors/too-early).

Declared at [`pallets/subtensor/src/macros/errors.rs#L353`](/code/pallets/subtensor/src/macros/errors.rs#L353).

## Remediation [#remediation]

The required window has not opened yet; wait some blocks and retry

The same explanation is available in the terminal: `btcli explain RootStakeLocked`.
