> For the complete documentation index, see [llms.txt](https://docs.leather.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leather.io/get-started/add-or-restore-accounts.md).

# Add or Restore Accounts

Add accounts to a Leather wallet, and bring back accounts that no longer show in the account list.

One wallet can hold many accounts. Each account has its own addresses. All accounts in a wallet come from the same Secret Key. One backup restores them all, and losing the key loses them all.

## Add an account

1. On the Home screen, click the account card at the top to open the account switcher.

   ![Account card on the Home screen](https://4209755586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaSQhveafXrLjROsW3JZ1%2Fuploads%2F9CB6GnuHP95cIks3vEn2%2Fe-support-add-or-restore-accounts-01-home-account-card.png?alt=media\&token=8a24bb2b-ac43-404f-9475-ca9aa019a44f)
2. Click "Add account" under the wallet you want to add it to.

   ![Add account button on the account selection screen](https://4209755586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaSQhveafXrLjROsW3JZ1%2Fuploads%2FOPsMV92YwmIl9Ypbhp5v%2Fe-support-add-or-restore-accounts-02-switch-account-add-account.png?alt=media\&token=3e1e082e-1c4a-4c52-977c-5eb77b740908)
3. Leather adds the account with the next account number and switches to it. The message "Account created!" confirms it.

   ![Account created message on the Home screen](https://4209755586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaSQhveafXrLjROsW3JZ1%2Fuploads%2FLvDsnXikAmLeIV0oGqHS%2Fe-support-add-or-restore-accounts-03-new-account-created.png?alt=media\&token=4121a8ae-3288-4b6f-b08f-e2afae33d51a)

To switch accounts, open the account switcher and click the account. "Add account" exists for wallets with a Secret Key only, not for Ledger wallets.

## Restore missing accounts

After a restore, Leather looks for accounts that were used: an STX balance, a BNS name or a BTC balance. It stops after 20 unused accounts in a row. An account you never used does not come back on its own. It still exists, because it comes from your Secret Key. Bring it back in one of two ways.

### Option 1: Add accounts until they reappear

Click "Add account" once for each missing account. Each click adds the next account number, so the accounts come back in order with the same addresses.

### Option 2: Set the highest account in the console

Use this when many accounts are missing.

1. Open Leather in a full tab with the "Open in full screen" button.
2. Open the browser console: Ctrl+Shift+J on Windows and Linux, Cmd+Option+J on Mac.
3. Enter the command below. Replace `9` with the number of your highest account minus one, because account numbers start at 0 in the code. `9` shows Account 1 to Account 10.

   ```javascript
   debug.setHighestAccountIndex(9)
   ```
4. Press Enter. The account switcher now lists the accounts up to that number.

The command applies to the active wallet.

## Related

* [Install Leather](/get-started/install-leather.md)
* [View Secret Key](/get-started/view-secret-key.md)
* [Secure Your Secret Key](/wallet-and-security/secure-secret-key.md)
* [Account Privacy](/wallet-and-security/account-privacy.md)
* [Lock and Unlock Wallet](/get-started/lock-and-unlock-wallet.md)
