> For the complete documentation index, see [llms.txt](https://docs.cakewallet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cakewallet.com/features/managing-your-wallet/recovery-phrase-and-keys.md).

# Recovery phrase and keys

What your wallet recovery phrase and private keys are, and how to view them in Cake Wallet under Settings, Recovery & Keys so you can write them down safely.

### Wallet keys

Your keys encode the private information in your wallet and are what allow you to spend coins and see incoming transactions. You may also use a wallet's keys to restore the wallet.

General terms specific to public-key cryptography where a private key and a public key make up a keypair. A public key is derived from the private key.

* The public key is safe to share, and gives the recipient the ability to encrypt something or verify a signature.
* The private key gives the owner the ability to sign or decrypt something, and as such, should be kept private.

### Wallet recovery phrase

Your recovery phrase (also called a seed phrase) is just a version of your private key written in a way that’s easier for you to write down. Your recovery phrase and keys are actually the same things, just in different forms! You can use a wallet's recovery phrase to restore your wallet too.

### Viewing your wallet's recovery phrase and keys

Tap the gear icon at the top right of the home screen to open `Settings`. Then, in the section named after your wallet, tap `Recovery & Keys`.

![Settings with Recovery & Keys in your wallet's section](https://raw.githubusercontent.com/cake-tech/docs-assets/main/v6.5.0/settings_root_01_top_hl-2.png)

Cake Wallet warns you that secret information is about to be shown. Tap `Show my Recovery Phrase & Keys`, then authenticate with your PIN, biometrics, or password.

![Secret information ahead warning](https://raw.githubusercontent.com/cake-tech/docs-assets/main/v6.4.5/settings_seedkeys_00_warning.png)

On the next screen you will see your wallet's recovery phrase and keys, split across tabs — `Recovery Phrase`, `Keys`, and a per-currency third tab such as `Silent Payments` (Bitcoin) or `Legacy` (Monero). Cake Wallet has 1 set of these per wallet, so you must save them all individually.

![Recovery Phrase tab with the Copy button highlighted](https://raw.githubusercontent.com/cake-tech/docs-assets/main/v6.4.5/settings_seedkeys_01_display_hl.png)

{% hint style="danger" %}
DO NOT show your recovery phrase or keys to anyone. Your funds will likely be stolen if you give out either.
{% endhint %}

Please write down your recovery phrase and keys and store them in a safe place. This will allow you to restore your wallet if you lose your device, or otherwise cannot access the wallet.

## Bitcoin and Litecoin extended public key (xPub)

Bitcoin and Litecoin wallets show an extended public key, labelled `xPub`, on the `Keys` tab. To find it, open `Recovery & Keys` as described above, switch to the `Keys` tab, and tap the copy icon next to `xPub`.

The same tab can also list `Master fingerprint`, `WIF`, `Private key` and `Public key`. Hardware wallets and watch-only wallets have no private keys in Cake Wallet, so they show only `Public key` and `xPub`. Bitcoin Cash and Dogecoin wallets show an `xPub` too.

{% hint style="danger" %}
Only copy the `xPub` entry. `WIF` and `Private key` on the same tab can spend your funds, so never share them. The `Show QR` button on the `Recovery Phrase` tab encodes your **recovery phrase**, not your xPub, so don't use it to share your xPub.
{% endhint %}

### What the xPub is for

You can import your xPub into another wallet app as a **watch-only** wallet. The app can then show your balance and incoming transactions, but it can't spend anything.

### Format

Cake Wallet always shows the key with the standard `xpub` prefix. It never uses `zpub`, even though Bitcoin and Litecoin wallets use native SegWit addresses by default. If the other app asks for an address or script type, choose native SegWit (P2WPKH). Litecoin wallets on a Ledger or Trezor are the exception: their key is shown in `Ltub` format.

### What it covers

The xPub belongs to your wallet's derivation path. That's `m/84'/0'/0'` for a BIP39 Bitcoin wallet and `m/84'/2'/0'` for a BIP39 Litecoin wallet. It covers the standard addresses of your **first account** only. It does **not** include:

* additional [Bitcoin accounts](https://docs.cakewallet.com/cryptos/bitcoin#accounts)
* on BIP39 wallets, address types you pick under `More Options`, such as Taproot or Legacy, because each one uses its own derivation path
* [Silent Payments](https://docs.cakewallet.com/features/privacy-and-security/silent-payments), [Lightning](https://docs.cakewallet.com/features/basic/bitcoin-lightning), or [Litecoin MWEB](https://docs.cakewallet.com/features/privacy-and-security/litecoin-mweb)

{% hint style="warning" %}
An xPub can't spend your coins, but it's a privacy risk. Anyone who has it can see every address it covers, along with your balance and full transaction history for those addresses. Share it only with apps and services you trust.
{% endhint %}


---

# 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://docs.cakewallet.com/features/managing-your-wallet/recovery-phrase-and-keys.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.
