When you vote for a Governance referendum, your tokens are locked at least while the referendum is up for vote. Once the referendum ends, the lock may expire or it may remain for a longer period, depending on your conviction and whether you voted with the winning side or not.

But regardless of the lock period, the lock will expire eventually and once that happens you need to manually remove it in order to make the locked balance transferable again. The lock isn't removed automatically. In this article, you'll learn how to remove these expired democracy locks.

If you click on the arrow icon on the far right of your account and then hover over the little clock icon next to the democracy locked balance you can see if there are any locks that have expired:

NOTE: Locks don't stack. This means that an account can have many different locks on it and the largest one determines the total locked balance.

For example, if you have 200 DOT locked because of staking and 100 DOT locked because of democracy, you will have a locked balance of 200 DOT, not 300 DOT. If you then remove the expired democracy lock, you'll still have 200 DOT locked, because of the staking lock.

On the other hand, if you have 100 DOT locked for staking and 200 DOT locked for democracy, when you remove the democracy lock, you'll get 100 DOT as transferable balance and the rest 100 DOT will remain locked due to staking.

For non-Ledger accounts

To remove an expired lock from a non-Ledger account, follow these steps:

1. Click on the three dots on the right side of your account

2. Select "Clear expired democracy locks":

3. Then simply sign and submit the extrinsic and all the expired locks will be removed.

For Ledger accounts

Clearing an expired democracy lock through the UI is a batch call that the Ledger apps do not support. So, the two calls need to be issued separately for Ledger accounts. To do that, follow these steps:

1. Go to the Developer > Extrinsics page on Polkadot-JS UI

2. Select your Ledger account

3. On the left drop-down menu select "democracy" and on the right select "removeVote(index)". Then enter the referendum index. In the example screenshot above, the index of each referendum is shown next to the expired locks.

4. Then submit the transaction

5. Then you need to submit the second extrinsic. From the right drop-down menu select "unlock(target)" and choose your account from the drop-down menu that appears below. Then submit the transaction.

If you have more than one expired lock, you need to repeat this process for each one you want to remove.