Protocols

Hedera: 12- and 24-word BIP39 phrases, and the 22-word legacy list

Last reviewed 1 December 2026.

Information, not advice. This page describes official Hedera SDK reference documentation for mnemonics and private keys. It is not financial, legal, or recovery advice, and it is not a substitute for the wallet that holds your backup.

Safety: Never type or paste a real recovery phrase into a website, chat, or any tool you do not fully control and trust. Official SDK examples show method names, not a reason to enter a funded phrase in a browser.

Hedera accounts can be attached to more than one kind of key, and a recovery phrase is not always the same length. Official Mnemonic and PrivateKey reference pages distinguish a current 12- or 24-word scheme from a 22-word legacy scheme, and they distinguish Ed25519 keys from ECDSA keys on secp256k1.

The 22-word scheme is the legacy format in official documentation. It is not a 24-word legacy format. 12- and 24-word phrases are the ones official docs describe against a BIP-32 (BIP39) word list and SLIP-10 derivation.

12- and 24-word phrases

Official PrivateKey documentation states that 24- and 12-word mnemonics use a BIP-32 word list and SLIP-10 derivation. The official Mnemonic reference provides generate12 and generate24, each returning a new random mnemonic from the BIP-39 standard English word list.

Those phrases are the current standard recovery format in the official SDK. Recovery takes an optional passphrase. A passphrase here is the extra secret used when deriving the key from the mnemonic; omitting one that the original wallet set will not produce the same key.

SLIP-0044 registers coin type 3030 for Hedera. Official published Mnemonic and PrivateKey reference pages describe SLIP-10 derivation for 12- and 24-word phrases and take an index in the standard recovery methods, but those two reference pages do not themselves print a full path string such as a complete m/44'/3030'/… formula. This page therefore does not invent that formula. Use the official SDK methods, or a wallet's own documentation, to recover a key at a given index.

Standard Ed25519 and ECDSA recovery

The official Mnemonic reference documents these standard methods (names vary slightly by language):

  • toStandardEd25519PrivateKey(passphrase, index) — recover an Ed25519 private key from the mnemonic, with an optional passphrase and an index.
  • toStandardECDSAsecp256k1PrivateKey(passphrase, index) — recover an ECDSA secp256k1 private key from the same kind of phrase, again with a passphrase and an index.

Index 0 is the first standard key in official examples. A different index is a different key. Choosing Ed25519 or ECDSA is a scheme choice, not a cosmetic encoding. The two methods do not produce interchangeable keys.

Official reference examples also show a more generic toPrivateKey in some languages. For recovery, prefer the standard methods the SDK documents for Ed25519 and ECDSA, and confirm which curve the original wallet used.

Hedera account ids such as 0.0.x are network identifiers. They are not encoded in the mnemonic. After you recover a key, the account that key can still sign for depends on the keys currently associated with that account on Hedera.

22-word legacy phrases

Official PrivateKey documentation states that 22-word mnemonics use a legacy word list from the original Hedera mobile wallets. That is a different list from the BIP39 English list used by generate12 and generate24.

Official Mnemonic examples include toLegacyPrivateKey(). A 22-word phrase from an early mobile wallet should be recovered with the legacy method the official SDK documents, not by treating the words as a BIP39 sentence and running SLIP-10 as if it were a 12- or 24-word phrase.

Do not "upgrade" a 22-word backup by padding it to 24 words, and do not assume a 24-word phrase is the legacy format. Official docs attach the legacy word list to 22 words.

Official fromString and fromWords methods report errors when a phrase contains a word that is not on the expected list, when the checksum does not match, or when the word count is unexpected. That is why a 22-word legacy phrase must not be forced through the 12- and 24-word SLIP-10 path, and why a 24-word BIP-39-list phrase must not be treated as a 22-word legacy backup.

Hedera also allows threshold and multi-key account arrangements. Recovering one private key from a mnemonic is not always enough to sign for an account that requires several keys. Confirm the account's current key layout in official network tools or the wallet that created it, rather than assuming a single recovered key is the only signer.

What official docs do not say here

This page does not republish an unofficial path string from issue threads as if it were printed in the SDK reference. It also does not claim a single mandatory curve for every Hedera account: official standard methods exist for both Ed25519 and ECDSA.

There is no official Hedera-native 24-word scheme that replaces BIP39 for new 24-word phrases. New 12- and 24-word phrases in the official SDK use the BIP-39 English list and SLIP-10.

FAQ

My phrase is 24 words. Is that the Hedera legacy format? No. Official documentation ties the legacy word list to 22-word mnemonics. 12- and 24-word phrases use a BIP-32 word list and SLIP-10 derivation.

Is a modern Hedera phrase BIP39? Official generate methods use the BIP-39 English list. Official PrivateKey docs then specify SLIP-10 derivation for those 12- and 24-word phrases. That is not the same as a 22-word legacy phrase.

Ed25519 or ECDSA? Official standard recovery methods exist for both. Use the curve the original wallet used. The same words and passphrase still produce different keys under the two methods.

Where is the derivation path? Official standard methods take a passphrase and an index, and official docs specify SLIP-10 for 12- and 24-word phrases. The published Mnemonic and PrivateKey reference pages cited here do not print a full path string, so this page does not invent one.

See also

Sources