Protocols

Algorand 25-word mnemonics and xHD

Last reviewed 1 December 2026.

Safety: Never type or paste a real recovery phrase into a website, chat, or any tool you do not fully control and trust. This page describes official formats. It does not ask you to enter a phrase.

Algorand has two recovery styles that are easy to confuse. The original scheme is a 25-word mnemonic that uses the BIP39 English wordlist and is not BIP39. The later hierarchical deterministic scheme, documented by Algorand as an HD or xHD wallet, is BIP39, with a BIP44 path that uses Algorand's coin type 283'.

A 25-word Algorand backup will not import correctly into a generic BIP39 wallet. A 12- or 24-word BIP39 phrase from an xHD wallet will not reconstruct a classic 25-word Algorand account. Official documentation is explicit that the two backups are not interchangeable.

The 25-word account mnemonic

Current official documentation, Keys and Signing, describes a 25-word mnemonic as the most user-friendly representation of a 32-byte Ed25519 private key.

The first 24 words are produced by converting the private key bytes into 11-bit integers and mapping each integer to the BIP39 English word list. That shared list is why the phrase can look like BIP39. The encoding is not BIP39's entropy-plus-checksum construction, and there is no PBKDF2 step that turns a sentence into a 64-byte seed. The mnemonic is the key, plus a check.

The 25th word is a checksum. Official prose says it is formed from the first two bytes of "the hash of the private key," converted to an 11-bit integer and then to a word. The official Go SDK, go-algorand-sdk, implements that hash as SHA-512/256 (sha512.Sum512_256) over the 32-byte key, then takes the first two bytes. The same function appears in the SDK's v1.17.0 tag. A typo usually fails the 25th word rather than silently opening a different account.

Because each 25-word phrase encodes a single account key, it is not an HD tree. There is no account index or change chain inside the phrase. If you created several classic Algorand accounts, you have several 25-word backups, not one phrase and a list of paths.

Do not "convert" a 25-word Algorand mnemonic by feeding it to a BIP39 seed tool. BIP39 would treat 24 of the words as a sentence (and reject or misread the 25th), run PBKDF2, and produce a seed that has nothing to do with the original Algorand key.

Official docs also describe two other representations of the same key material. The public key is turned into an Algorand address by appending a 4-byte checksum and encoding the result in base32, which yields a 58-character address. Developers often see a base64 concatenation of the private and public keys. End users usually see the 25-word mnemonic or the address, not the raw 32-byte arrays.

xHD: BIP39 plus m/44'/283'

The same Keys and Signing page documents a hierarchical deterministic wallet that derives many Ed25519 key pairs from one root key. Algorand's @algorandfoundation/xhd-wallet-api TypeScript library implements BIP32-Ed25519 derivation. It derives Algorand address keys on the BIP44 path:

m / 44' / 283' / account' / 0 / index

283 is Algorand's registered coin type in SLIP-0044. The change level is 0. The account and address index levels are the usual BIP44 account and index.

The root key comes from a BIP39 mnemonic, including the usual optional passphrase when a wallet implements one. Official documentation states that this BIP39 mnemonic is not interchangeable with Algorand's 25-word account mnemonic.

This is the scheme to expect when a modern Algorand wallet offers a 12- or 24-word BIP39 backup and can derive more than one address from it. It is also the scheme a multi-currency BIP39 wallet would need to implement if it claims Algorand support through a standard path. Each derived private key still signs the same way a standalone account key does. What differs is only where the key came from: the wallet recomputes it from the root key and the path instead of storing one key per account.

The two schemes can coexist in the same ecosystem and even in the same product line. The word count is a useful first hint (25 versus 12 or 24), but the original wallet's documentation is the real source of truth. If a restore produces a different Algorand address from the one you funded, check which scheme the original wallet used before assuming the words are wrong.

The address format is the same whether the key came from a 25-word mnemonic or from an xHD path: a 58-character string derived from the public key. The difference is only how the private key was stored or derived.

FAQ

Why does an Algorand phrase have 25 words? The first 24 words encode a 32-byte key using the BIP39 English list. The 25th word is a checksum. Official docs describe it as the first two bytes of the hash of that key; the official Go SDK implements that hash as SHA-512/256.

Can I import a 25-word Algorand mnemonic into a BIP39 app? Not as Algorand's encoding. A BIP39 app is computing a seed from a sentence, not decoding a 32-byte key plus checksum. Official Algorand docs say the BIP39 xHD mnemonic and the 25-word account mnemonic are not interchangeable.

Is the xHD path the same as other BIP44 coins? The shape is the same: purpose 44', then coin type, account, change, index. The coin type is 283', and the derived keys are Ed25519, not secp256k1.

What if my wallet gave me 25 words and also talks about HD accounts? Treat the formats as separate until the wallet's own docs say how they relate. Do not assume a 25-word phrase is a BIP39 seed for m/44'/283'.

See also

Sources