☎ +1 214-659-1775 Signal: +1 214-659-1775 [email protected]
Mon–Fri 9:00–18:30 MT · Denver, Colorado

Your wallet file is deleted, not corrupt: what to do in the first hour

David Veksler By David Veksler Aug 11, 2026 10 min read Guides

A corrupt wallet file and a deleted wallet file are different problems, and people routinely treat them as the same one. A corrupt file is still on the drive and will wait patiently while you think. A deleted file is being erased, slowly on some drives and within minutes on others, by the machine you are using to research the problem.

That is the whole reason this guide exists. Almost every irrecoverable deleted-wallet case I see was recoverable at the moment the person noticed, and stopped being recoverable during the hours they spent downloading tools onto the same drive.

Two rules before anything else. Do not type your seed phrase into a website, however official the recovery tool looks. Do not send a drive, a wallet file, or a seed to anyone who contacted you first. If you are working out who to trust, read how to tell a legitimate recovery service from a scam before you hand anything to anybody.

The first hour: stop writing to the drive

Locked out of a wallet like this one?

We repair hardware wallets, crack forgotten passwords, and rebuild broken seed phrases — on our own bench in Denver.

✓ NO FEE UNTIL YOUR CRYPTO IS BACK · FREE EVALUATION
Start a free evaluation →

Deleting a file does not erase it. It marks the space as available. Everything that happens next is a race between you and whatever writes to that space first, and on a running operating system a great deal writes to it: browser cache, log files, Windows Update, the installer for the recovery tool you are about to download.

So, in order:

  1. Stop using the machine. If the wallet was on your system drive, shut the computer down. Do not "just check one thing" first.
  2. Do not install recovery software onto the affected drive. Install it on a second computer, or run it from a USB stick, and recover to a different drive.
  3. Take the drive out and work on it as a secondary drive, connected to another machine. A drive that is not booting an operating system is a drive that is not being written to.
  4. Make an image before you recover. A sector-by-sector image gives you unlimited attempts against a frozen copy. Working directly on the original gives you one attempt, and every failed attempt is a write.

Point four is the one people skip, and it is the one that matters most. If the drive is also failing, which is common in this situation, every additional read is a risk you spend on a tool you may have chosen wrongly. Image once, then experiment as much as you like.

Check whether it is actually deleted first

Before any carving, spend ten minutes on the cheap possibilities. A surprising share of "deleted wallet" cases are misplaced wallets.

If any of these produce a file, you are done with this article and you have a normal wallet-opening problem instead.

Why searching the recovery results for "wallet.dat" finds nothing

This is the part that confuses almost everyone, and it is the reason the free tools appear to fail when they have in fact succeeded.

There are two different kinds of recovery, and they behave completely differently.

Filesystem-aware undelete reads the filesystem's own records of recently deleted entries. It recovers the original filename and folder, so wallet.dat comes back as wallet.dat. It only works while those records survive, which usually means shortly after deletion and before a format.

File carving ignores the filesystem entirely and scans raw sectors for byte patterns that mark the start of a known file type. PhotoRec is the standard free carver, and its documentation is explicit about the tradeoff: it "ignores the file system and goes after the underlying data, so it will still work even if your media's file system has been severely damaged or reformatted."

The catch is that filenames live in the filesystem. A carver never sees them. Its output is a directory of thousands of files named f0012345.db, sorted by type. Your wallet is in there under a generic name, and if you search that pile for "wallet" you will conclude nothing was found.

It gets one step worse. PhotoRec's list of recovered formats has no wallet.dat signature at all. The only Bitcoin-specific entry is .wallet for the Armory wallet format. Bitcoin Core wallets are not carved as wallets, because they are not their own format: the current Bitcoin Core documentation describes wallet.dat as a "Personal wallet (a SQLite database) with keys and transactions," while older wallets, and legacy wallets in newer versions, are Berkeley DB files instead. PhotoRec carries signatures for both Berkeley DB and SQLite.

So the honest answer to "does PhotoRec recover Bitcoin wallet.dat" is yes, and it will hand it to you as an anonymous .db or .sqlite file among a great many others.

How to find your wallet in a pile of carved files

Once you understand that you are looking for a shape rather than a name, sifting the output becomes a normal job. What to look for, by wallet:

The practical method on a drive image is not to browse the carved output at all. It is to search the raw image for the structural markers of the format you want, then extract around the hits. That is slower to set up and dramatically more reliable, and it works on files that no signature list covers.

The thing that actually decides your odds: HDD versus SSD

Everything above assumes the data is still physically present. On a spinning hard drive it usually is, for a long time. On a solid state drive it frequently is not, within minutes, and no software can change that.

The mechanism is TRIM. When you delete a file, the operating system tells the drive that those blocks are free, and the drive's own garbage collection wipes them on its own schedule, without waiting for anything to overwrite them. Microsoft's documentation describes delete notifications as the feature "that notifies the underlying storage device of clusters that have been freed due to a file delete operation," and states that "for systems using NTFS, trim is enabled by default unless an administrator disables it."

You can check what your system was doing. On Windows, in an administrator command prompt:

fsutil behavior query DisableDeleteNotify

A result of 0 means TRIM was enabled, which is the default and the bad news. A result of 1 means it was disabled, which improves your odds considerably.

This single fact reorders the whole triage. Deleted wallet on an old spinning drive, noticed quickly, is one of the better cases in this business. Deleted wallet on a TRIM-enabled SSD, noticed a week later, is one of the worst, and anyone who tells you otherwise while quoting an upfront fee is telling you what you want to hear. Realistic numbers for this and other situations are in recovery odds by scenario.

Phones behave like SSDs, and worse. Modern iPhone and Android storage is encrypted at rest, so deleted data is not merely marked free, it is unreadable once its key is discarded. Recovery there means app backups, iCloud or Google account data, and old computer backups, not carving.

Formatted, reset, or reinstalled

A quick format rewrites the filesystem table and leaves the data in place, which is the good case: carving works well on quick-formatted drives, exactly as PhotoRec's documentation claims for reformatted media. A full format writes over the whole volume, and a drive that was encrypted and then reset has had its key destroyed. Those last two are generally not recoverable by software, whatever a paid tool's marketing page implies.

Windows "Reset this PC" sits in between and depends on which option was chosen and what the drive is. It is worth an evaluation rather than an assumption.

A fragment is not nothing

If carving returns a wallet file that is truncated or partly overwritten, do not throw it away. A wallet file is a container for keys, and keys are small. A partial Bitcoin Core wallet routinely still contains intact private keys that can be extracted directly, byte pattern by byte pattern, even when no software will open the file as a wallet. The technique, and the specific byte marker for Bitcoin Core keys, is described in the corrupt or deleted Bitcoin Core wallet guide.

The same logic applies across formats. "The file will not open" and "the keys are gone" are separate claims, and the second one needs much more evidence than the first.

What makes it permanent

The short list, so you can avoid all of it:

None of these are exotic mistakes. They are the normal things a competent person does when trying to fix a computer, which is precisely why deleted-wallet cases are so often lost by careful people.

When to hand it over

Hand it over when the wallet is worth more than the drive, when the drive is failing while you work, when the first careful attempt has already failed, or when you are about to run a tool you have not used before against the only copy of your data. The decision point is not difficulty. It is that a wrong move here is not reversible.

That is the service: corrupt and deleted wallet file recovery by David Veksler, through a Colorado-registered LLC, with a written contract, published pricing, a free evaluation, and no fee until your crypto is back. In the first message, describe the drive, the wallet software, and what happened, not your secrets. A first evaluation should never require your seed words or private keys.

If instead your coins were sent to somebody else's address by a thief or a scammer, this is not a data-recovery problem and no drive work will bring them back. The honest version of that situation is my Bitcoin was stolen, can you help.

Start your free evaluation →

Sources

David Veksler

David Veksler

Founder of WalletRecovery.info and The Bitcoin Consultancy. Working in Bitcoin since 2013; recovering wallets for clients since 2017 as Veksler Consulting LLC (Colorado, USA). About David →