> For the complete documentation index, see [llms.txt](https://help.xaman.app/app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/...with-secret-numbers.md).

# How to import your Secret Numbers

How to add an existing XRP Ledger account to Xaman with its Secret Numbers

### Background

If you created your XRP Ledger account in Xaman, or in Xumm before it, you were given a set of Secret Numbers: eight rows of six digits, labeled A to H. They are your account's [account secret](#user-content-fn-1)[^1], and entering them in Xaman gives you access to your account, on a new phone or after reinstalling the app. This article walks you through importing them, and explains what makes them different from other account secrets.

Xaman is a self-custody[^2] wallet. The moment you import your Secret Numbers, Xaman encrypts them and stores them in the secure chip on your phone, where no one can view them, not you and not the Xaman team. That is why Xaman cannot show them to you again or recover them. Your written copy is the only one you can read, so keep it safe, and keep it private.

### About Secret Numbers

Secret Numbers were designed by XRPL Labs, the team behind Xaman, as an easier and safer way to write down an account secret. The older formats, a family seed and a recovery phrase, are easy to mistype, and a recovery phrase depends on knowing the words of one language. Numbers work the same in every language, and they are hard to confuse with each other.

Each row of six digits holds five digits of your secret, plus one check digit at the end. The check digit is calculated from the other five and from the row's position, A to H. That means Xaman can catch many typos, and many rows entered in the wrong place, right away, before you ever see the wrong account.

### Before you get started

Check that you have these ready:

* Your Secret Numbers, all eight rows.
* A private place where nobody can see your screen or your paper.
* The latest version of Xaman.

{% hint style="danger" %}
Anyone who sees your Secret Numbers can take everything in your account. Enter them only in the Xaman app, never in a website, a form, or a message. Xaman support never asks for them.
{% endhint %}

### Import your account

To import your account with its Secret Numbers:

1. Tap **Settings** > **Accounts**.
2. Tap **+ Add account**.
3. Tap **Import an existing account**.
4. Choose **Full access**, then tap **Next**.
5. Choose **Secret numbers**, then tap **Next**.
6. Enter row A on the keypad, then tap **Next**. Repeat for rows B to H.
7. Check that the r-address shown is the account you expect, then tap **Confirm**.
8. Choose a security level, then tap **Next**.
9. Enter a name for the account, then tap **Next**.

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2FimKwdZQqHDVkK5Eeb4ch%2Fxaman-add-an-account.png?alt=media&amp;token=6c59707d-7f57-4e01-8a61-0630fa43aeb7" alt="The Add an account screen, with buttons to create a new account, import an existing account, or add a Xaman Tangem card" width="333"><figcaption><p>Choose Import an existing account</p></figcaption></figure>

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2FaTyo3lhTdIREkhWjWmMV%2Fxaman-account-type.png?alt=media&amp;token=08912857-84c8-4c9d-aed8-db9477f5306c" alt="The choice between Full access and Read only when importing an account" width="334"><figcaption><p>Full access lets you sign transactions</p></figcaption></figure>

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2F8ckKUazuIr3fUoubfOJR%2Fxaman-secret-type.png?alt=media&amp;token=950c0ae3-71bf-4bdb-9ff1-8eeedc56d50a" alt="The Secret type screen, with Secret numbers, Family Seed / Private Key, and Mnemonic" width="333"><figcaption><p>Choose the type of secret you wrote down</p></figcaption></figure>

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2FmapdLvN7OFK0d3zOwBzh%2Fxaman-secret-numbers-keypad.png?alt=media&amp;token=173e4401-d5c1-4dc8-9ee5-2e6f038218c0" alt="The Secret numbers screen, with a keypad for entering row A" width="332"><figcaption><p>Each row is checked as you enter it</p></figcaption></figure>

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2Fgit-blob-fa3be54591d0e33438c9a5894a56efbd2b102da5%2FPublic%20Address%20-%202.png?alt=media" alt="The confirmation screen showing the r-address of the account being imported"><figcaption><p>Make sure this is the account you expect</p></figcaption></figure>

If you only want to watch an account without signing for it, choose **Read only** in step 4 instead. See [How to import an account in Read Only mode](https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/...in-read-only-mode.md).

### If Xaman shows a different r-address

The correct Secret Numbers always lead to the same account. Entered correctly, they always give the same r-address, with your balance and tokens in place. If Xaman shows an r-address you do not recognize, often with no balance at all, the numbers you entered belong to a different account, usually a new one that has never been activated. Your own account is fine. You have simply reached a different one.

If you see this at step 7, tap **Back** and check your numbers before you continue. If you already imported the account, you can remove it from Xaman without any harm. See [How to remove an account from Xaman](https://help.xaman.app/app/getting-started-with-xaman/how-to-remove-an-account-from-xaman.md).

There are three possible reasons:

* **A number was written down wrong when the account was created.** Look closely at your paper for digits that are easy to confuse, such as 1 and 7, 6 and 8, or 3 and 8.
* **A number was entered wrong.** Every digit must be correct, in the correct spot, in the correct row. The check digits catch many mistakes, but not all of them, so one wrong digit can still lead to a different account.
* **The Secret Numbers belong to another account.** Every XRP Ledger account has its own account secret. If you have created more than one account, it is easy to mix up which Secret Numbers belong to which.

To find your account:

1. Enter your Secret Numbers again, slowly, comparing each row with your paper.
2. If you still see a different r-address, look for a digit you are unsure of, swap it for its look-alike, and try again. Change one digit at a time.
3. Look for any other account secrets you have written down, and try those.

The only way into your account is its correct account secret. No one can work it out for you, including Xaman. If none of these steps work, see [I've lost my account secret!](https://help.xaman.app/app/learning-more-about-xaman/ive-lost-my-account-secret.md) for your options. If you have questions along the way, we are happy to help.

<a href="https://xaman.app/detect/xapp:xumm.support-md" class="button primary">Open the Xaman Support xApp</a>

### Choosing a security level

Xaman asks how you want to sign transactions for this account:

* **Standard security: best for an everyday account.** You sign with your Xaman passcode, or with your face or fingerprint if you turn on biometrics.
* **Extra security: best for long-term savings.** You set a separate signing password for this account, and you enter it each time you sign. If you ever forget it, you can reset it with your Secret Numbers. See [Resetting the (account) signing password](https://help.xaman.app/app/learning-more-about-xaman/resetting-the-account-signing-password.md).

<figure><img src="https://3221812686-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMiHAzvIPISVuuzt0AeOR%2Fuploads%2Fgit-blob-b5ecd9ab38b8b972b5091f8f446b1aaf07c72521%2FInstall%20-%20Extra%20Security%20screen.png?alt=media" alt="The Xaman screen for choosing between standard and extra security"><figcaption><p>Extra security adds a password for this account only</p></figcaption></figure>

### Frequently asked questions

**Xaman says a row is not valid. What does that mean?**

The check digit at the end of the row does not match the other five, so something in that row is wrong. Check it digit by digit against your paper. Also make sure you are entering the row in the right place: row C goes in row C. A row in the wrong position usually fails the check, even if every digit is right.

**Can I use my Secret Numbers in another wallet?**

Secret Numbers are an open standard, but most other wallets use a family seed or a recovery phrase instead. You can convert your Secret Numbers into a family seed. See [Moving your XRPL account to another wallet](https://help.xaman.app/app/learning-more-about-xaman/moving-your-xrpl-account-to-another-wallet.md).

**I have lost my Secret Numbers. What can I do?**

If your account is still in Xaman on another phone, you can still use it there. Otherwise, no one can recover the account, including Xaman. See [I've lost my account secret!](https://help.xaman.app/app/learning-more-about-xaman/ive-lost-my-account-secret.md) for your options.

### See also

* [Should I import my XRP Ledger account into Xaman?](https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/should-i-import-my-xrp-ledger-account-into-xaman.md)
* [How to import your Family Seed](https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/...with-a-family-seed.md)
* [How to import your Mnemonic](https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/...with-a-mnemonic.md)
* [How to Test or Verify your Account Secret](https://help.xaman.app/app/learning-more-about-xaman/how-to-test-your-account-secret.md)
* [I've lost my account secret!](https://help.xaman.app/app/learning-more-about-xaman/ive-lost-my-account-secret.md)

[^1]: The secret that controls your account, as Secret Numbers, a family seed, or a recovery phrase. Never share it with anyone.

[^2]: You alone hold the keys to your account. No company, including Xaman, can move, freeze, or recover your funds for you.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.xaman.app/app/getting-started-with-xaman/importing-your-account/...with-secret-numbers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
