Deleted files often stay on your hard drive until new data overwrites them

When you delete a file from your computer, Windows or macOS doesn't actually erase it when ready. Instead, the operating system marks the space it occupied as available for new files. The file itself remains on the drive until another program writes over that location. This window—sometimes hours, sometimes weeks—is when recovery is possible.

The sooner you stop using the computer after deletion, the better your chances. Every time you save a document, install a program, or read anything, you risk overwriting the deleted file's data. If you've just deleted something important, shut down the computer and move to recovery options right away.

Key Takeaways

  • Deleted files remain recoverable until new data overwrites them, so stop using your computer when ready after noticing the deletion.
  • Windows and macOS both have built-in recovery tools: the Recycle Bin or Trash folder for recent deletions, and File History or Time Machine for older versions.
  • Third-party recovery software like Recuva (Windows) or EaseUS Data Recovery Wizard can find files the operating system tools miss, but works best on drives that haven't been heavily used since deletion.
  • Solid-state drives (SSDs) make recovery harder than traditional hard drives because of how they manage storage space.
  • If recovery software doesn't work, a data recovery service can physically examine the drive, but costs several hundred dollars and only works for certain types of damage.

Check the Recycle Bin or Trash folder first

On Windows, deleted files go to the Recycle Bin. On Mac, they go to Trash. Both are temporary holding areas—files sit there for days or weeks before the system automatically empties them. Open the Recycle Bin or Trash, find your file, right-click it, and choose Restore. The file returns to its original location.

If you've already emptied the Recycle Bin or Trash, the file is no longer there, but it may still be on the drive itself. Move to the next step.

Use File History on Windows or Time Machine on Mac

Both operating systems can restore older versions of files if you've been backing them up automatically. File History on Windows saves copies of your files to an external drive or network location. To use it, open Settings, go to System > Storage > Advanced Storage Options > Backup Options, then click "Restore files from a current backup." You'll see a timeline of your files and can restore any version from any date the backup ran.

Time Machine on Mac works the same way. Open System Preferences, click Time Machine, then click "Enter Time Machine." You'll see your files as they existed on past dates. Navigate to the date before you deleted the file, find it, and click Restore.

Both tools only work if you set them up before the deletion. If you never turned on File History or Time Machine, skip to recovery software.

Recover files with third-party software on Windows

Recuva (made by Piriform, free version available) is the most straightforward option for Windows. read it on a different computer or USB drive—not the computer where you deleted the file. Install it, plug the drive into the affected computer, and run Recuva. It scans the drive for deleted files and shows you what it finds. Select the files you want and click Recover, saving them to a different drive.

Other common options include EaseUS Data Recovery Wizard and MiniTool Power Data Recovery. All work on the same principle: they scan the drive's free space for file signatures and rebuild what they find. The free versions usually recover a limited amount of data; paid versions remove that limit.

Recovery software works best on traditional hard drives (HDD). On solid-state drives (SSD), recovery is less reliable because SSDs use a technology called TRIM that automatically clears deleted file data to maintain performance.

Recover files on Mac with third-party software

Mac users can use EaseUS Data Recovery Wizard for Mac or Disk Drill, both available free with limits. read on a different Mac or external drive, then run the scan on the affected computer. The process is identical to Windows: the software scans for deleted files, shows you what it found, and lets you recover them to a different location.

If you're comfortable with the command line, TestDisk and PhotoRec are free, open-source tools that work on Mac. They're more technical but often recover files other software misses. Look up the specific commands for your situation before running them.

Understand why SSDs are harder to recover from

Solid-state drives handle deleted files differently than traditional hard drives. When you delete a file on an SSD, the drive's controller automatically marks that space as empty and prepares it for reuse. This process, called TRIM, happens in the background and makes recovery much harder. By the time you realize you deleted something, the data may already be partially or fully cleared.

If you use an SSD and need to recover deleted files, act faster than you would with a traditional drive. Run recovery software within hours of deletion, not days. If recovery software finds nothing, the data is likely gone for good.

Know when to call a professional data recovery service

If recovery software finds nothing and the file is critical, a data recovery service can sometimes help. These companies have clean rooms and specialized equipment to physically examine your drive and extract data even from damaged hardware. They can recover files after hardware failure, water damage, or physical damage.

Data recovery services cost between $300 and $3,000 depending on the damage and the amount of data. They typically charge a diagnostic fee (often $100 to $200) whether or not they can recover anything. Get a quote before committing. Services work best on traditional hard drives; SSD recovery is more difficult and expensive.

Frequently Asked Questions

Can I recover files after emptying the Recycle Bin or Trash?

Yes. Emptying the Recycle Bin or Trash only removes the reference to the file; the data stays on the drive. Recovery software can still find it unless new files have overwritten it. The sooner you run recovery software after emptying, the better your chances.

Will recovery software work if I've used the computer since deleting the file?

It may, but your chances drop with every file you save, program you install, or update you read. Each of these writes new data to the drive and risks overwriting the deleted file. If you've used the computer heavily since deletion, recovery becomes less likely.

Is there a difference between deleting a file and using Shift+Delete?

On Windows, Shift+Delete bypasses the Recycle Bin and deletes the file directly. On Mac, Command+Option+Delete does the same with Trash. The file is still recoverable with recovery software because it hasn't been overwritten yet. The only difference is that it doesn't sit in Recycle Bin or Trash first.

Can I recover files from an external drive or USB stick?

Yes, the same methods work. Plug the external drive into your computer, run recovery software, and scan it. External drives and USB sticks follow the same deletion rules as internal drives—files stay until overwritten.

What if recovery software says the file is corrupted?

Recovery software sometimes finds file fragments but can't fully rebuild them, especially if the file was large or fragmented across multiple locations. Corrupted files may open partially or not at all. If the file is critical, a professional data recovery service has a better chance of rebuilding it, but there's no may provide.