On Windows, use
python in commands. On Linux and macOS, use python3. All examples on this page use python3 to match Linux/macOS defaults.Download BTCRecover
Download the latest zip from GitHub and unzip it to a folder of your choice:There is no installer. The main scripts —
btcrecover.py and seedrecover.py — are in the root of the unzipped folder.Install Python 3
Only Python 3.9 and later are supported. Python 3.12 is recommended because it has the simplest module installation across all platforms.
- Windows
- Linux
- macOS
- Android (Termux)
- Download the latest Python 3.12 installer from python.org/downloads/windows.
- Run the installer. On the first screen, check “Add Python to PATH” before clicking Install.
- Choose the 64-bit (
x86-64) installer for modern PCs.
Install Python packages
From inside the Full packages (all supported wallet types):
btcrecover directory, install the required packages.Essential packages (Bitcoin and Ethereum wallet support):If you get an If you use Python for other projects, consider using a virtual environment instead to avoid conflicts.
error: externally-managed-environment message on newer Linux distributions (Ubuntu 23.04+, Debian 12+), add --break-system-packages:If you are running Python 3.13 and get a build error, set this environment variable before running the pip command:
Fix RIPEMD160 on Linux and macOS (if needed)
As of OpenSSL v3 (released late 2021), RIPEMD160 is part of the “Legacy” provider and may be disabled by default on Linux and macOS. BTCRecover includes a pure-Python fallback, but it runs at roughly one-third the speed of the native implementation.Check whether native RIPEMD160 is working:If the script reports that RIPEMD160 is not available, you need to enable the OpenSSL legacy provider. An example configuration file is available at
docs/example_openssl.cnf in the repository.Wallet-specific package requirements
Therequirements.txt file covers Bitcoin and Ethereum wallets. For other wallets, you may need additional packages. The simplest option is to install everything:
| Package | Required for |
|---|---|
coincurve | Electrum 2.8+ encrypted wallets, BIP-39 passphrases, Bither |
pycryptodome | 20x speedup for Bitcoin Core, MultiBit, Electrum, Blockchain.com (not strictly required) |
py_crypto_hd_wallet | Avalanche, Cosmos, Polkadot, Solana, Stellar, Tezos, Tron, Secret Network |
shamir-mnemonic | SLIP-39 wallets |
groestlcoin_hash | Groestlcoin BIP-39 wallets |
eth-keyfile | Ethereum UTC Keystore files |
ecdsa | BIP-38 encrypted paper wallets |
pynacl, bitstring | Helium BIP-39 wallets |
For
py_crypto_hd_wallet on Windows, you must first install the Microsoft Visual C++ Build Tools.