This guide walks you through recovering deleted or lost files on both Windows and macOS. You’ll learn built-in methods, free tools, and best practices to maximize your chances of getting your data back. Before starting, stop using the affected drive immediately to avoid overwriting the data you want to recover.
What You’ll Need
- A working computer (the same one or another) with enough free storage to save recovered files.
- An external drive or USB stick with at least as much free space as the data you hope to recover.
- If the drive is physically failing (clicking, not spinning), consider professional recovery – DIY attempts may worsen damage.
Step-by-Step
Windows
- Check the Recycle Bin – Double-click the Recycle Bin on your desktop. If your file is there, right-click it and choose Restore. If you deleted it with Shift+Delete, it may not be here, but it’s worth checking.
- Use File History (if enabled) – Go to Settings > Update & Security > Backup. If File History was on, click More options > Restore files from a current backup. Browse the timeline and select the version you need.
- Try Previous Versions – Right-click the folder that contained the file, select Properties, then the Previous Versions tab. If a shadow copy exists, select it and click Restore.
- Use Windows File Recovery (free command-line tool) – Download it from the Microsoft Store. Open Command Prompt as administrator. Use the basic syntax:
winfr C: D: /n \Users\YourName\Documents\file.docx(replace C: with the drive where the file was, D: with your external drive, and adjust the path). For more thorough scans, add/rfor damaged drives or/xfor NTFS. - Try a third-party recovery tool – Tools like Recuva (free) or TestDisk (open-source) can scan deeper. Install on a different drive, run the scan, and save recovered files to your external drive.
macOS
- Check Trash – Click the Trash icon in the Dock. If your file is there, right-click it and choose Put Back. If you emptied Trash, proceed.
- Use Time Machine (if set up) – Connect your Time Machine backup drive, then open the folder where the file was. Click the Time Machine icon in the menu bar and choose Enter Time Machine. Use the timeline on the right to go back to a date before deletion, select the file, and click Restore.
- Check local snapshots – If Time Machine is on but no backup drive is connected, macOS may have local snapshots. Open the folder, enter Time Machine as above, and look for a “Local Snapshots” option in the sidebar.
- Use Terminal with fsck (for unmounted drives) – If you have an external drive that won’t mount, open Terminal and type
diskutil listto find the disk identifier (e.g., disk2). Then runfsck_hfs -dr /dev/disk2s1(replace with your identifier). This can repair directory errors and make files accessible again. - Try third-party software – Tools like Disk Drill (free trial) or TestDisk can scan the drive. Download to a different drive, scan, and recover to an external drive.
Common Mistakes
- Continuing to use the drive – Every new file written can overwrite the deleted data. Stop all activity on the affected drive immediately.
- Installing recovery software on the same drive – This can overwrite the very data you’re trying to recover. Always install and save to a different drive.
- Ignoring the Recycle Bin/Trash – Many people forget to check these first, wasting time on more complex methods.
- Using the wrong file system tool – Windows File Recovery works differently on NTFS vs. FAT32. Check your drive’s format first.
- Panicking and trying every tool at once – Each scan can modify the drive. Be methodical: start with the least invasive methods.
Tips
- Back up regularly – The best recovery is not needing it. Use File History, Time Machine, or a cloud service.
- Act quickly – The sooner you attempt recovery, the higher the chance of success.
- Use a read-only connection – If possible, connect the affected drive via a write-blocker or use a live Linux USB to mount it read-only.
- Recover to a different drive – Always save recovered files to a separate physical drive.
- Know your file system – NTFS (Windows), APFS/HFS+ (macOS), exFAT (both). Some tools are file-system specific.
Troubleshooting
- Recovery tool finds nothing – Try a deeper scan option (e.g., /r in Windows File Recovery, or “Deep Scan” in third-party tools). If still nothing, the data may be overwritten or the drive may have physical damage.
- Drive not recognized – On Windows, check Disk Management (right-click Start > Disk Management). On macOS, use Disk Utility. If the drive appears but has no letter/name, assign one. If it doesn’t appear at all, try a different USB port or cable.
- Error messages during recovery – “Access denied” may mean the drive is encrypted or permissions are wrong. Try running the tool as administrator (Windows) or unlocking the drive with your password (macOS).
- Recovered files are corrupted – This often happens when the file was partially overwritten. Try an earlier version from Time Machine/Previous Versions, or use a tool that can reconstruct file fragments.
- Recovery takes too long – A full scan of a large drive can take hours. Let it run overnight. If it’s stuck, try a different tool or a more targeted scan (limit to the folder where the file was).
Frequently Asked Questions
Can I recover files after emptying the Recycle Bin/Trash?
Yes, often. The data remains on the drive until overwritten. Use recovery software immediately.
How long does data recovery take?
It depends on drive size and method. Quick scans can take minutes; deep scans can take hours.
Is data recovery free?
Built-in tools (File History, Time Machine, Windows File Recovery) are free. Third-party tools often have free trials with limits.
Can I recover data from a dead hard drive?
If the drive doesn’t spin or makes clicking noises, DIY recovery is risky. Professional services may succeed but are expensive.
Will recovery software damage my drive?
Read-only scans are safe. However, any write operation (even by the OS) can overwrite data. Always use a read-only approach.
What if I don’t have a backup?
Recovery is still possible, but success depends on how much the drive has been used since deletion. Act immediately and follow the steps above.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Move Data to a New Samsung Galaxy Phone
- Pixel C vs Surface Pro: Key Differences
- iPhone X vs iPhone: Key Differences Explained
- Chromebook Won’t Charge: How to Fix
- How to Delete Photos on Google Drive
- Firefox Bookmark Management Tips & Tricks