,

BTCRecover Install + GPU Acceleration on Windows (Python 3)

BTCRecover Install + GPU Acceleration on Windows (Python 3) Crypto Seed, Wallet Password Recovery

If you have lost part of a seed phrase, forgotten a wallet password, or need to brute-force a missing piece of your recovery data, BTCRecover can be one of the most practical tools available. The problem is that many older Windows installation guides no longer work cleanly for the current Python 3 branch.

In this written guide, I’ll walk you through an updated setup process on Windows: installing the right version of Python, getting BTCRecover running from the command line, testing a CPU-only install, and then adding GPU acceleration using PyOpenCL if your hardware supports it.

If you want to follow along visually, you can also watch the video. This article is meant to be useful on its own, so I’ve included the key steps and decisions in plain English.

CPU versus GPU recovery performance table showing speed differences across wallet types
A comparison of CPU and GPU recovery performance for different wallet types

Why you need an updated Windows guide

BTCRecover is a command-line tool, and that can feel intimidating if you are not used to working in a terminal. But the process is very doable once you follow it step by step.

The main reason this guide exists is that older tutorials often refer to outdated repositories or installation methods that no longer match the current Python 3 branch. If you try to install BTCRecover using an old guide, you may run into missing dependencies, incompatible packages, or a broken setup that does not support GPU acceleration properly.

The good news is that once you have it installed correctly, most of the commands and arguments used in other BTCRecover tutorials still work. I’ve made an effort to keep things backwards compatible where possible, so after this installation guide, you should be able to follow recovery-specific guides for seed phrase mistakes, forgotten passwords, or other wallet recovery scenarios.

GitHub repository page for the maintained BTCRecover project
The maintained BTCRecover GitHub repository

Use the maintained BTCRecover repository

First, use my maintained BTCRecover GitHub repository. Other repositories may be outdated and have not been properly updated for Python 3 or GPU acceleration.

You want to follow the installation guide included in that repository. It is the safest starting point because it matches the version of BTCRecover I test and document.

When you download BTCRecover, save the ZIP file somewhere easy to find, such as your Downloads folder. Then extract it using Windows’ default “Extract All” option. The exact folder name may vary slightly depending on how the archive is packaged, but the important thing is that you end up with a folder containing files like btcrecover.py.

Install 64-bit Python 3

Next, install Python 3. You need Python 3.6, 3.7, or 3.8 for this guide. If you already have one of those versions installed, you may be able to skip ahead and verify it in the command prompt. Otherwise, download the installer from python.org.

You can technically use a 32-bit version, but I recommend installing the 64-bit version. The reason is important: if you plan to do recovery using an address database, that will not work with 32-bit Python. Also, knowing whether your Python install is 32-bit or 64-bit matters later when selecting the correct PyOpenCL wheel file for GPU acceleration.

Python.org Windows download page showing stable and pre-release versions
Official Python downloads for Windows

When running the Python installer, make sure you check “Add Python to PATH”. This is important because it lets you run python from the command line without manually typing a long path every time.

After that, you can use the default installation options and click Install Now.

Verify Python in Command Prompt

Once Python is installed, open Command Prompt. You can do this by pressing the Windows key, typing cmd, and selecting Command Prompt.

Then type:

python

You should see a banner showing your Python version. In my example, it shows a 64-bit Python 3.8 build. If you see Python 2 or an older version below 3.6, you will need to sort out which Python versions are installed on your machine and how they are being called from the command line. Managing multiple Python installations is beyond the scope of this guide, but it is a common source of confusion.

The key point is simple: when you type python, you want the correct 64-bit Python 3 version to appear.

Command Prompt showing Python installed and available
Verifying the Python installation from Command Prompt

Navigate into the BTCRecover folder

Now open a new or existing Command Prompt window and navigate to the folder where you extracted BTCRecover.

If your files are in Downloads, you can use commands like:

cd Downloads
cd btcrecover-master

The exact folder name may differ slightly depending on how the ZIP file was named when downloaded. The important thing is that your command prompt is inside the folder containing btcrecover.py.

You can confirm this by typing:

dir

You should see BTCRecover files and folders listed in the same place you would expect from Windows Explorer. If you are not in the correct folder, later commands may fail or install packages into the wrong environment.

Install BTCRecover requirements with pip

With your command prompt open inside the extracted BTCRecover folder, install the required Python packages using pip.

pip is Python’s built-in package manager. You can either type the installation command manually or copy and paste it from the repository documentation. Right-clicking in Command Prompt usually works for pasting on Windows.

The command will download and install the dependencies needed by BTCRecover. This may take a minute, depending on your internet connection. If everything is working correctly, you should not see major errors at this stage.

Command Prompt installing BTCRecover requirements with pip
Installing BTCRecover dependencies using pip

Test the CPU-only installation

At this point, if you do not have a suitable GPU, you can skip the PyOpenCL step and use BTCRecover on your CPU. That is still useful for many recovery scenarios, especially smaller searches or wallets where CPU performance is acceptable.

To test the installation, run the test command provided in the repository documentation. In my video, I ran the full test suite from inside the BTCRecover folder. The tests may take a short while to complete.

For a CPU-only setup, you should see most tests pass and the OpenCL-related tests skipped. That is expected if PyOpenCL has not been installed yet. As long as the non-GPU tests pass, your base installation is working correctly.

BTCRecover test suite passing with OpenCL tests skipped on CPU
CPU-only BTCRecover installation test results

If you see this kind of result, you are ready to move on to a recovery-specific guide for the type of wallet or mistake you are trying to fix. You can also look through the documentation for examples that closely match your situation.

When GPU acceleration helps

GPU acceleration can dramatically speed up certain types of BTCRecover searches, but it does not help every scenario equally. Some wallet types benefit more from OpenCL-based acceleration than others. If you have a capable AMD or NVIDIA graphics card and current drivers, adding GPU support is worth doing.

If your computer only has basic integrated graphics or an older unsupported GPU, CPU-only recovery may still be the better option. Do not force GPU setup if your hardware does not meet the requirements; it can create more problems than it solves.

Prepare for PyOpenCL installation

To add GPU acceleration, you need a working install of PyOpenCL for OpenCL 1.2. You also need an OpenCL-compatible graphics card and current drivers.

Before anything else, make sure your GPU drivers are up to date. This applies to both AMD and NVIDIA cards. Without proper drivers, PyOpenCL will not work correctly. Installing or updating GPU drivers is outside the scope of this guide, but it is a required prerequisite.

One important difference from the main BTCRecover install is that you cannot simply use the normal online pip command to install PyOpenCL directly in all cases. You need to manually download the correct wheel file for your Python version and system architecture.

Choose the correct PyOpenCL wheel file

The PyOpenCL download page lists many .whl files, and choosing the wrong one is a common mistake. You need to match three things:

  1. OpenCL 1.2 — look for cl12.
  2. Your Python version — for example, Python 3.8 uses cp38.
  3. Your system architecture — since we installed 64-bit Python, you want the win_amd64 file.

So if you are using Python 3.8 on a 64-bit Windows machine and need OpenCL 1.2, you are looking for a wheel that matches those three criteria.

PyOpenCL documentation explaining how to choose the correct wheel
Matching OpenCL version, Python version, and architecture

Download that .whl file into your Downloads folder or another location where you can easily find it from Command Prompt.

Install the PyOpenCL wheel with pip

Now go back to Command Prompt. If you are still inside the BTCRecover folder, move up one directory level:

cd ..

Then navigate into the folder containing the downloaded .whl file if necessary. In my example, that is the Downloads folder.

Use pip3 install followed by the wheel filename. You can start typing the beginning of the filename and press Tab to let Windows autocomplete it, assuming there is only one matching PyOpenCL wheel in that folder. If you downloaded multiple .whl files, be careful to select the correct one manually.

After running the command, pip will install PyOpenCL along with any additional dependencies it needs. You are looking for a successful installation message that includes PyOpenCL.

If you get many errors here, the most likely cause is that you downloaded or tried to install the wrong wheel file. Double-check that the OpenCL version, Python version, and 64-bit architecture all match your system.

Rerun the tests to confirm GPU acceleration

Once PyOpenCL installs successfully, navigate back into your BTCRecover folder:

cd btcrecover-master

Then run the same test command you used earlier. This time, the OpenCL tests should no longer be skipped. They should actually run and pass if your GPU, drivers, and PyOpenCL installation are working correctly.

There may still be one skipped test related to SLI or multi-GPU systems. That is normal unless you have a supported multi-GPU setup. As long as the main OpenCL tests pass, GPU acceleration is ready to use.

Next steps after installation

Once BTCRecover is installed and tested, your next step depends on what you are trying to recover:

  • A mistaken or partially remembered seed phrase
  • A forgotten wallet password
  • A missing word in a BIP39-style recovery phrase
  • A wallet-specific brute-force scenario
  • An address-database-based search, if applicable to your situation

Look for the BTCRecover guide that most closely matches your case. The installation steps above are shared across many of those guides, so once this part is done correctly, you can focus on the actual recovery logic instead of fighting with setup errors.

Security note: run offline when using real funds

If you are working with a seed phrase or wallet password that controls real funds, I strongly recommend disconnecting your computer from the internet before running BTCRecover. Once installed, BTCRecover does not need an internet connection to perform recovery searches. It can run completely standalone.

This is especially important if the machine has been used for other things, if you are unsure about its security state, or if you want to reduce exposure while handling sensitive recovery data. After you have recovered your seed or password and moved your funds to a new wallet on a clean machine, you can reconnect as needed.

If you need additional help with lost funds, forgotten passwords, or complex recovery scenarios, see the wallet recovery services and consultations page.

Quick checklist

Before running any real recovery job, confirm the following:

  1. You are using the maintained BTCRecover repository.
  2. You installed 64-bit Python 3.6, 3.7, or 3.8.
  3. You checked “Add Python to PATH” during installation.
  4. Typing python in Command Prompt shows the correct version.
  5. Your command prompt is inside the extracted BTCRecover folder.
  6. The pip requirements installed without major errors.
  7. The CPU-only test passed, with OpenCL tests skipped if you do not have GPU support yet.
  8. If using GPU acceleration, your GPU drivers are current.
  9. You downloaded the correct PyOpenCL wheel for OpenCL 1.2, your Python version, and win_amd64.
  10. The final test run shows OpenCL tests passing.

If you follow that process carefully, BTCRecover should be ready to use on Windows with either CPU-only recovery or GPU-accelerated recovery depending on your hardware.

Questions from viewers

Common questions from the comments on this video, with my answers.

Why do I get a 'file not found' or 'wrong folder' error when running pip install or the test scripts?

This usually means you are running the command from the wrong directory. You need to navigate into the specific BTCRecover folder where the `requirements.txt` file is located before running any commands. If you still can't find the file, check that your extraction was complete by comparing it to the GitHub repository structure.

How do I fix errors saying PyOpenCL is 'not a supported wheel' or 'file does not exist'?

These errors indicate a mismatch between the downloaded file and your system environment. First, ensure you are running the `pip3 install` command from the same folder where you saved the `.whl` file. Second, verify that the version of PyOpenCL you downloaded matches your Python version (e.g., cp38 for Python 3.8) and your platform (win_amd64). The documentation explains how to select the correct file based on your specific setup. (Apps and tools change, so check the current version if something looks different.)

Is GPU acceleration worth it if I only have a few missing words or a mid-range CPU?

For BIP39 seeds, the bottleneck is often single-core speed because seed generation happens in a single thread. If you are only missing 2-3 words, even a mid-range CPU can handle this in a few days, so a high-end GPU might not provide a significant benefit. However, for larger searches, a powerful GPU helps, but note that you can currently only use multiple GPUs from the same vendor (all Nvidia or all AMD), not mixed.

What should I do if my tests pass on CPU but fail or hang after installing PyOpenCL?

If you see errors like 'OUT_OF_RESOURCES' or hangs during testing, your GPU may not have enough video memory (VMEM) to be useful for the specific wallet type you are recovering. In this case, it is often better to just run the recovery using CPU only with a single thread. Older GPUs or those without proper driver support may also cause these issues.

I have a wallet.dat file but forgot the password. Can I recover it without downloading Bitcoin Core?

Yes, you can use BTCRecover to attempt to recover the password directly from the `wallet.dat` file. You will need to create a tokenlist or passwordlist with your best guesses. If you know the private keys separately, you could import them into Electrum, but if you only have the encrypted file, BTCRecover is the tool to use. Note that raw brute-force only works for very short passwords; having a good idea of what the password was increases your chances significantly.

How do I specify known words in specific positions within a seed phrase using a tokenlist?

You can use anchors in your tokenlist file to lock specific words to specific positions. For example, if you know the first word, you would use a start anchor (`^`) followed by the word. If you know the last word, you use an end anchor (`$`). This tells BTCRecover that those words must appear in those exact spots for every guess. Remember that BTCRecover selects one item per row, so structure your rows accordingly to represent AND/OR logic correctly.

Full video transcript

Auto-generated from the video and lightly corrected; timestamps open that moment on YouTube.

Introduction to BTCRecover 0:00

So you found yourself in a situation where you've lost part of your seed phrase or maybe you've lost your wallet password or something like that and you're wanting to be able to use BTCRecover to try and recover that. But I unfortunately discovered that most of the guides kicking around, including my previous videos on the matter, no longer really work in terms of how to install the newest Python 3 version of BTCRecover. so this guide is going to quickly look at how to install everything you need to get BTCRecover running on windows using the python 3 branch that is the current branch now on my github repository as well as how to set up everything you need so that you can use gpu acceleration which can dramatically speed things up depending on which type of wallet you're using and we'll have videos look at how to do this on linux as well as using like rented cpu power on vast.ai coming later and if you haven't already done so hit subscribe that way you can stay in the loop for content i make to help you find your way in the crazy and often hostile environment that is cryptocurrency it can certainly seem daunting at first to get this tool set up and running especially if you're not someone who's like familiar with working in the command line but it's certainly very doable and basically once you follow the process in this video all of the other videos that i've done for using BTCRecover even the previous version uh will actually still work because i've been making an effort to make sure that all the commands and arguments and things that BTCRecover uses stay the same to be backwards compatible with previous versions all right so we're going to start out

Downloading the Tool 1:23

just at my github repository for BTCRecover this is the repository that you want to use because the other repositories for BTCRecover are all quite out of date and haven't really been maintained in over two years so to use it on python 3 which is what i'll cover in this guide and to do the sort of GPU acceleration I'll be covering here you'll need to be using my repository here. So we're just going to follow the bouncing ball through the installation guide that is in here. So we'll just click through here and basically there's just a few steps that we're going to do. So first thing we want to do is download BTC Recover. We can literally just right click and just save that link there. So the next thing we're going to do is install

Installing Python 2:11

Python and we're going to need Python 3.6, 3.7 or 3.8. So this might mean you need to upgrade your version of Python. What we're going to do is we are just going to go to the download site which is here. So these are the official downloads on python.org. So while you can just download the 32-bit version and it will work, we are going to actually download the 64-bit version. That's these ones with x86 64 at the end of it and the reason for that is that if you're trying to do recovery with an address database it will actually not work if you have 32-bit version and also knowing which version of python you installed whether it's 64-bit or 32-bit will be important later so keep note of that all right so if we look in the downloads folder we have two things we have BTCRecover we can literally just right click on that and just say extract all and just do the default unzip that Windows will do, just go with defaults that's totally fine, and once that's done you can see that we have BTC Recover there, even though it sort of puts itself in the same folder twice, that doesn't matter and here is Python, so we're going to install that, so we'll double click on the thing that we just downloaded and we want to make sure that we add Python 3.8 to part because we're going to be using python from the command line so make sure you check that little box down the bottom other than that you can just say install now and the defaults will be totally fine all right there we go so that's python install done so if i hit the windows button on my keyboard and type in cmd you'll see that the best match is command prompt so you can just hit enter and then you can have command prompt here and what you can do now is if you type in Python, you'll see that it actually shows you this now, whereas before it just opened up the Windows Store. So we can see here that I've now got Python 3.8.4 installed, or RC1, and it is the 64-bit version, and there you go. So if you type in Python and it says something like Python 2 or some earlier version of Python earlier than 3.6, you're going to need to use either a different command to run Python depending on the way you've got things installed or you're going to need to work out which version of Python you want on your computer and managing multiple different Python installed on your computer is beyond the scope of what we're going to be looking at here. Step three

Installing Requirements 4:43

we are going to install all of the requirements via Python pip. So pip is basically a package manager that's built into Python so what we're going to do is we are going to navigate to where we downloaded that too. So I just downloaded to the default so it'll just go into the downloads folder. So if I'm in the command prompt now I type in cd downloads and then I type in cd BTCRecover and then as you noticed before it was in there twice so we'll just do that. We're now in the folder for BTCRecover. So if I type in dir and hit enter it'll actually show me all the files here that are in this folder here. So all what we're looking at the same thing now in Windows Explorer here on the left and in the command prompt on the right. So it's important that you're in the folder where you unzipped BTC Recover otherwise nothing will work. So the next step is to install all the requirements using Python PIP. So basically you can either just type in this command here just in your command prompt that is in the BTCRecover folder or you can actually just copy it and paste it by right clicking in the command prompt window like i just did and then just hit enter and it will actually just automatically go through and download and install all the different requirements you need for BTCRecover and there you go and that's done there shouldn't be any errors or anything like that now at this point if you don't have a decent

Testing the Installation 6:11

graphics card in your computer you can actually skip step four and just do it using your cpu and you can basically just test your installation using this command here and I'll just quickly show you what that looks like and speed it up and there you go so that's done took a minute to run and everything passed and the OpenCL ones were skipped which is good so once you get to the point where all the tests pass like this BTC Recover is installed and is working correctly so you can move on to looking at the specific video that covers the type of recovery you want to do or look in the documentation for an example that closely relates to that so if those who want

Setting up GPU Acceleration 6:51

to do GPU acceleration. We'll just go through that as well because it actually doesn't take very long. So what we're going to do is we need to have a working install of PyOpenCL, which is a Python OpenCL library for OpenCL 1.2. So what we're going to do is firstly, it goes without saying, you will need to install the latest driver package for your GPU. It doesn't matter what sort of GPU you've got, AMD or NVIDIA, you will need to install those drivers, nothing will work without this and installing those is not part of this guide. Honestly, it probably came installed by default in Windows. Now for PyOpenCL, you can't just use that same pip command that we used before to install it directly online. You're going to have to go to this website here and manually download the correct version. Because if you see on this website there's like a whole ton of different options but basically what we have here is some instructions on how to select the right one so basically we want to make sure you select the OpenCL 1.2 so we want to make sure we get the Python 3.8 version and we want to make sure that we get the 64-bit version because we have 64-bit Python installed so we can go onto this page and just look through all of them the python 1.2 ones are down lower so this is the one we want here so it's for opencl 1.2 it's python 3.8 and it's amd64 so that whl file is the one that we want so we're just going to left click on that and then it's going to prompt to download it and we're going to save that into our downloads folder by default now how you install this file is using a special command with pip. So we're going to go back to our downloads folder. So you can do that either by just closing command prompt and navigating back to there, or we can just go back down the directory level. So if we just type in cd space dot dot slash dot slash, dot dot slash, and hit enter, it will actually take us two levels back down. So we're now back into the downloads folder, pip three install. So if I just start typing in, Here I open CL and then hit the tab button on my keyboard. Windows will actually work it out and it'll fill it in with the file that you just downloaded. That is assuming you only downloaded one file. If you downloaded a whole bunch of them, you're going to have to manually make sure you install the right one. And so if you hit enter, it'll try and install it. It'll download some other bits and pieces for it as well. And that's done. So basically what you're looking for is this message here. you know, successfully installed a whole bunch of things that includes PY OpenCL. And if you get a whole bunch of errors, you've probably selected the wrong file that you either downloaded from that website or you tried to install the wrong one at this step here.

Verifying GPU Setup 9:51

So once you've done that, OpenCL and GPU acceleration will now work. All right, so if I just navigate back to the BTC Recover directory, if i just type in btc and hit tab it'll actually fill it out and hit enter and again if i just type in cd space and then type in btc and then hit tab key it'll actually fill it out enter okay so now i want to run that tests command from before and so now this time we run it you'll see it will actually do all of the opencl tests rather than skipping them the only one it's probably going to skip is the SLI test which is only going to run if you have a multi-gpu system and so there you go. So that's it. So from here, you would basically look at some of the other videos or some of the other example guides I've got for how to use BTC Recover to try and find something that matches your situation the best. The other thing to note is if you're going to be using this with your actual seed that has funds on it, you can safely disconnect your internet connection at this point because BTC Recover doesn't need any networking whatsoever to run. It's downloaded everything it needs and can run totally standalone and you can then reconnect your computer after you've recovered your seed and moved your funds to a new one.

Related guides

Stuck with a wallet recovery?

I maintain BTCRecover and have helped people recover seed phrases, passphrases and wallet passwords since 2019. Book a one-hour video session and I’ll walk you through doing the recovery yourself, without sharing your seed. Or, if you’d rather I run it, a trusted recovery is charged only if it succeeds.

Private sessions: US$100 per hour. Trusted recovery: 10% of recovered funds. I never contact people first and will never ask for your seed phrase over chat or email.

Found this useful?

These guides are free and ad-free. You can support them by sharing them, subscribing on YouTube, or sending a tip.

Stuck on this?

Book a one-hour session and I’ll walk you through it, or ask about a trusted recovery.

Recovery guides

More guides