File Recovery Guide: Step by Step
In this article
- Before You Start: Stop Using the Device
- Step 1: Check the Recycle Bin or Trash
- Step 2: Use File History or Time Machine Backups
- Step 3: Try Free Recovery Software
- Step 4: Install the Software on a Different Drive
- Step 5: Run the Scan and Recover to a Safe Location
- Step 6: If Software Fails, Consider Professional Services
- Common Mistakes That Ruin Recovery
- Frequently Asked Questions
This guide walks you through recovering deleted files on Windows, macOS, and mobile devices. You’ll learn the exact steps to try first, what software options exist, and how to avoid common mistakes that permanently destroy data.
Before You Start: Stop Using the Device
The moment you realize a file is missing, stop writing new data to that drive. When a file is deleted, the space it occupied is marked as free, but the actual data remains until overwritten. Every new download, program install, or even opening certain apps can overwrite those sectors. If the file is on your main system drive, shut down the computer and boot from a different drive if possible, or use another computer to access the drive externally.
Step 1: Check the Recycle Bin or Trash
This sounds obvious, but many people skip it. On Windows, double-click the Recycle Bin icon on the desktop. Look for your file, right-click it, and choose Restore. On macOS, open the Trash from the Dock, right-click the file, and select Put Back. If the file was deleted from a network drive or a USB stick, it may not appear here—those deletions often bypass the Recycle Bin entirely.
Step 2: Use File History or Time Machine Backups
If you had backups enabled, recovery is trivial.
- Windows File History: Go to Settings > Update & Security > Backup. If it’s on, click “More options” and then “Restore files from a current backup.” Browse the timeline and select the version you need.
- macOS Time Machine: Open the folder where the file was, then click the Time Machine icon in the menu bar and choose “Enter Time Machine.” Scroll through the snapshots, select the file, and click “Restore.”
If you never enabled these, skip to the next step.
Step 3: Try Free Recovery Software
When backups fail, software that scans the raw drive is your best bet. These tools read the file system and look for remnants of deleted files. Popular free options include:
- Recuva (Windows only) – simple wizard interface, works well for common file types.
- PhotoRec (Windows, macOS, Linux) – command-line based, but very powerful; it ignores the file system and scans for known file signatures.
- TestDisk (same family as PhotoRec) – good for recovering lost partitions, not just files.
For macOS, Disk Drill has a free trial that shows recoverable files, but you need the paid version to actually save them. PhotoRec is free and works on both OSes.
Step 4: Install the Software on a Different Drive
Never install recovery software on the same drive you’re trying to recover. The installation process writes many small files, which could overwrite the very data you need. Download the installer on another computer, put it on a USB stick, and run it from there. If you must install it on the same machine, use a different partition or an external drive.
Step 5: Run the Scan and Recover to a Safe Location
Launch the recovery tool, select the drive or folder where the file was, and start a deep scan. This can take hours depending on drive size. When the scan finishes, preview the found files—many tools let you see thumbnails or text content. Select the ones you want and save them to a different drive than the one you scanned. Never save recovered files back to the same drive; that could overwrite other lost files.
Step 6: If Software Fails, Consider Professional Services
If the file is irreplaceable and the software can’t find it, your last option is a data recovery service. These companies use cleanroom environments to physically repair damaged drives and extract data with specialized equipment. Costs can range from hundreds to thousands of dollars, depending on the damage and the drive type. This is only worth it for critical business data or irreplaceable family photos.
Common Mistakes That Ruin Recovery
- Continuing to use the computer – even browsing the web writes temporary files.
- Running disk cleanup or defragmentation – these actively overwrite free space.
- Installing recovery software on the same drive – as mentioned, the installer writes data.
- Using the drive after a failed recovery attempt – each scan and reboot can overwrite more.
- Ignoring the “quick format” vs “full format” difference – a quick format only removes the file table, a full format writes zeros across the drive, making recovery nearly impossible.
Frequently Asked Questions
Can I recover files after emptying the Recycle Bin?
Yes, in most cases. Emptying the bin just marks the space as free—the data is still there until overwritten. Use recovery software immediately and avoid using the drive.
How long does a deep scan take?
It depends on the drive size and speed. A 1TB hard drive can take 4-12 hours. SSDs are faster but may have TRIM enabled, which permanently erases deleted data within seconds.
Why can’t I recover files from my SSD?
SSDs use a feature called TRIM, which tells the drive to physically erase data blocks that are no longer in use. This happens almost immediately after deletion, making recovery impossible with standard software. If you have an SSD, your best bet is backups.
Is it safe to use free recovery software?
Most well-known free tools are safe, but always download from the official website. Avoid “cracked” or keygen versions of paid software—they often contain malware. Read the installer prompts carefully to avoid bundled adware.
Can I recover files from a formatted drive?
If it was a quick format, yes, because only the file system structure is erased. A full format (or a secure erase) writes zeros over the entire drive, and recovery is virtually impossible. The sooner you stop using the drive, the better.
What if the file was on a USB flash drive?
The same principles apply. Stop using the drive, run recovery software, and save recovered files to your computer’s hard drive. USB drives are less likely to have TRIM, so recovery is often more successful than with SSDs.