ThisCalculator

Everyday

How to Recover Data from a USB Pendrive

Updated · Standard formula, shown below

This guide walks you through recovering files from a USB pendrive that has become unreadable, accidentally formatted, or shows as empty. You’ll learn the safest order of steps, the free tools that work, and how to avoid making the damage worse. Before you start, stop using the drive immediately – every new write can overwrite the data you want back.

What You’ll Need

  • The malfunctioning USB pendrive
  • A working computer (Windows, macOS, or Linux)
  • A second USB port or USB hub (optional, but helpful)
  • Another storage device with enough free space to hold the recovered files (e.g., internal hard drive, another USB drive, or cloud storage)
  • Free data recovery software – options include Recuva (Windows), PhotoRec (cross-platform), TestDisk (cross-platform), or Disk Drill (macOS/Windows, free trial)
  • Patience – recovery can take from minutes to hours depending on drive size and damage

Step-by-Step

  1. Stop using the pendrive immediately. If you haven’t already, unplug it. Do not run antivirus scans, do not open files, do not format it. Any write operation (even saving a tiny file) can overwrite the exact sectors that held your lost data.
  2. Check if the drive is recognized by your computer. Plug it into a different USB port (preferably a rear port on a desktop, not a hub). On Windows, open File Explorer and look under “This PC”. On macOS, check Finder > Locations. If the drive appears with its normal name and capacity, you may be dealing with a logical issue (corrupted file system) rather than physical failure.
  3. Try a different computer and cable. Some pendrives fail on one machine but work on another due to power delivery or driver issues. If it works elsewhere, copy everything off immediately.
  4. If the drive shows as “RAW” or prompts to format, do NOT format. A RAW drive means the file system is corrupted, but the data is often still there. Use recovery software directly on the RAW volume.
  5. Download and install recovery software on your computer, not on the pendrive. Choose one tool based on your OS. For Windows, Recuva is user-friendly. For cross-platform, PhotoRec is powerful but command-line based (TestDisk has a text menu). Disk Drill offers a GUI on both Windows and macOS.
  6. Run the recovery software as administrator (Windows) or with full disk access (macOS). Right-click the program and select “Run as administrator”. On macOS, grant permission in System Settings > Privacy & Security > Full Disk Access.
  7. Select the pendrive as the source drive. In the software, you’ll see a list of drives. Choose the USB drive (identified by its capacity and letter/name). Do not select your internal hard drive.
  8. Choose a deep scan or full scan mode. Quick scan is faster but may miss files. Deep scan reads every sector and can find more, especially after formatting or corruption. Be prepared for it to take a long time (hours for a 64GB drive).
  9. Start the scan and wait. Do not unplug the drive during the scan. If the software asks to install extra drivers or components, allow it (this is normal for some tools).
  10. Preview and select files to recover. After the scan, the software will show a list of recoverable files. Many tools let you preview images, documents, and videos before recovery. Check the file sizes and modification dates to identify what you need.
  11. Recover files to a different drive. Choose a destination folder on your internal hard drive, another USB drive, or cloud storage. Never save recovered files back to the same pendrive – that would overwrite the very data you are trying to salvage.
  12. After recovery, verify the files. Open a few to confirm they are not corrupted. If some files are damaged, you may need to try a different recovery tool or perform a more thorough scan.
  13. If the drive is still not recognized, try TestDisk to repair the partition table. TestDisk can rebuild the boot sector or partition table, which often makes the drive accessible again without data loss. Use it carefully – it can also cause further damage if misused.

Common Mistakes

  • Continuing to use the drive after noticing a problem. Every second of use reduces the chance of recovery.
  • Formatting the drive when prompted. Formatting erases the file system, making recovery harder (though not always impossible).
  • Saving recovered files back to the same pendrive. This overwrites the very data you are trying to get back.
  • Using the wrong scan mode. Quick scan alone often misses files after a format or severe corruption.
  • Installing recovery software on the pendrive itself. The installation writes to the drive, potentially overwriting data.
  • Ignoring physical signs. If the drive makes clicking noises, gets very hot, or is physically damaged, stop using it – further attempts may cause permanent data loss.

Tips

  • Work on a copy if possible. If the drive is recognized, create a disk image (using tools like dd on Linux or Win32 Disk Imager on Windows) and run recovery on the image instead of the original.
  • Free tools are often enough. Recuva and PhotoRec are free and have recovered countless files. Paid tools like R-Studio or EaseUS Data Recovery Wizard offer more features but are not always necessary.
  • Use a powered USB hub. Some pendrives draw more power than a port provides, causing intermittent failures. A powered hub can stabilize the connection.
  • Recover in batches. If the drive is failing, recover the most important files first (documents, photos) and leave less critical data for later.
  • Keep the drive cool. Overheating can worsen physical damage. If the drive feels hot, let it cool down before further attempts.
  • After recovery, back up your data regularly. Pendrives are not reliable for long-term storage – they fail without warning.

Troubleshooting

Drive is not detected at all. Try a different USB port, a different computer, and a different cable (if the drive uses a detachable cable). If it still isn’t recognized, the drive may be physically dead – professional recovery services might be the only option, but they are expensive.

Drive is detected but shows 0 bytes or no media. This often indicates a firmware or controller issue. Try using the Windows Disk Management tool (right-click Start > Disk Management) to see if the drive appears as “Unknown” or “No Media”. If it shows as “No Media”, the drive is likely not being read properly – try a different USB port or computer.

Recovery software finds files but they are corrupted. This can happen if the files were partially overwritten or the drive has bad sectors. Try a deep scan with a different tool. Some files may be unrecoverable – accept that and focus on the ones that open correctly.

Scan takes forever. A deep scan on a large drive can take many hours. Let it run overnight if necessary. If the scan freezes, try a different tool or run the scan in a different mode (e.g., sector-by-sector).

Drive prompts to format every time. Do not format. Instead, use TestDisk to rebuild the boot sector. If that fails, use recovery software to extract files directly from the RAW file system.

Recovered files have generic names (like “file0001.doc”). This is common when the file system is severely damaged. Use the preview feature to identify files by content, or sort by size and date.

Frequently Asked Questions

Can I recover data from a formatted pendrive? Yes, in most cases. Formatting erases the file system index, but the actual data remains until overwritten. Use recovery software with a deep scan to find it.

How long does data recovery take? It depends on the drive size and scan depth. A quick scan on a 16GB drive might take 10 minutes; a deep scan on a 128GB drive can take several hours.

Is it possible to recover data from a physically damaged pendrive? Sometimes, if the damage is minor (e.g., broken USB connector). If the memory chip is intact, a professional service might recover data, but it’s costly. If the chip is damaged, recovery is unlikely.

Can I use the pendrive again after recovery? Yes, but it’s risky. If the drive had a logical error, reformatting it after recovery is safe. If it had physical issues, the drive may fail again – consider replacing it.

What is the best free data recovery software? Recuva (Windows) is user-friendly. PhotoRec (cross-platform) is powerful but less intuitive. TestDisk (cross-platform) is great for repairing partition tables. Try one, and if it doesn’t work, try another – different tools can find different files.

Can I recover data from a pendrive that is not recognized at all? If the drive isn’t detected by any computer, the controller or memory chip may be faulty. Professional recovery services may be able to read the chip directly, but this is expensive. For most users, it’s not feasible.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.