Recovering Files from a Memory Card or USB Stick: Safe First Steps
Lost photos on a memory card or files on a USB stick? Stop using it, avoid formatting and follow these careful steps to give recovery its best chance.
A camera shows "card error", a USB stick is suddenly empty, or you deleted the wrong folder. Your heart sinks. The good news is that files are often still recoverable in these situations, provided you act carefully. The bad news is that panic can make things worse. Here is how to give your data the best chance.
Why deleted files may still be there
When you delete a file, most systems do not erase its contents right away. They simply mark the space as available and remove the entry from the directory. Until something new is written over that space, the data may still exist. Formatting a card or stick often works the same way, especially a quick format, which clears the index rather than every byte. That is why recovery is sometimes possible, and why it is so important to avoid writing anything new to the device.
Do these things first
- Stop using the card or stick immediately. Take it out of the camera or phone. Every new photo or file risks overwriting what you want back.
- Do not format it, even if the device suggests that you do. Do not run disk repair tools either until you have tried to recover the files.
- Do not save recovered files onto the same device. Always recover to a different drive.
- Try a different reader or port. Sometimes the problem is a faulty cable, a dirty connector or a poor card reader rather than the card.
- Check the obvious places. Look in the recycle bin or trash if the stick was connected to a computer, and in any backup or sync service you use.
Using recovery software
Many recovery programs, both free and paid, can scan a device for traces of deleted files. They work in two main ways: by reading what is left of the directory, and by searching the raw data for the typical patterns of file types such as JPEG images. The second method can find files even when their names and folders are gone, though recovered files may come back with generic names.
Some sensible rules:
- Download recovery software from the developer's official site only, and install it on your computer rather than on the affected card. Tools from unknown sources can be unreliable or even harmful.
- Use a card reader connected to your computer so the program can read the device directly.
- Preview files before recovering, if the program allows it.
- Save results to a folder on a separate drive.
- Be cautious about tools that promise a perfect result or ask for payment before showing any preview.
When recovery is less likely
Success is not guaranteed. Files that have been overwritten are generally gone. Cards that have been used heavily after deletion, or that have been completely re-formatted and refilled, give poor results. Some devices use features that actively erase freed space, which makes recovery difficult or impossible. Results also vary with the file type: simple formats are easier to recover than fragmented or complex ones.
When the device itself is damaged
If the card is bent, cracked, wet or burnt, or if no computer detects it at all, stop. Further attempts, such as applying heat or repeatedly plugging it in, can cause more harm. A professional recovery service can sometimes help, but it can be costly, so weigh the value of the data. Ask about their fees and process before sending anything.
Prevent the next scare
The best recovery plan is a backup. Copy photos off a card as soon as possible and keep them in more than one place, following the 3-2-1 backup rule. Do not erase a card until you have confirmed that the copies open properly, using the habits in our guide to testing your backups. Use quality cards from reputable makers, eject devices properly and replace old cards that show errors.
Frequently asked questions
Does a quick format erase my data permanently? Not usually. It removes the index, so files can often still be recovered until new data overwrites them.
Can I recover files from a card that my camera says is empty? Sometimes. Stop using it and scan it with recovery software on a computer.
Is free recovery software good enough? Many free tools work well for simple cases. Paid versions may offer extra features, but no tool can recover overwritten data.