Recover Deleted Files on Windows or Mac

Category: Hard-Drives

'Yikes... I didn't mean to delete that file!' It happens to everyone... it could be a stray mouse click, a senior moment, or fumbling fingers. And the document, spreadsheet, or photo you just spent hours creating or editing is gone. Or maybe not. Fortunately, 'deleted' doesn't necessarily mean 'gone forever' on a hard drive. Here are some things to try when you want to recover a deleted file...

How To Recover Deleted Files

Once in a while, humans armed with mouse and keyboard may delete a file they wish they had not. Accidents happen. Recovering deleted files on Windows or Mac systems is often possible, but it requires just a bit of know-how, a gentle touch and a bit of luck. It has to do with the subtle difference between “delete” and “erase.” Read on, and I’ll explain.

First, look in the Recycle Bin. (On a Mac, it's called the Trash Bin.) When you "delete" a file on a Windows or Mac system, it’s not actually deleted, but rather it is moved to the Recycle/Trash Bin and not erased permanently. On Windows, double-click on the Recycle Bin icon to open a window that displays the Recycle Bin's contents. Click on the item you want to recover to highlight it and then click "Restore this item" on the menu bar. The file will be restored to its previous location. When no items are selected you will see the menu option to "restore all files." On a Mac, open the Trash Bin from the Dock. Select the file(s) that you want to recover by right-clicking them, and then select the "Put Back" option. This trick will work in most cases, unless you have recently emptied the Recycle/Trash Bin.

If you made a backup copy of all your data before deleting a file, the file may be recovered from the backup. Use the Restore function of your backup program to locate and restore a specific file.

Recover Deleted Files on Windows 10

More File Recovery Tools

The File History and System Restore functions of Windows provide other ways to recover a file that was deleted or accidentally modified. The nice part is that you may be able to recover versions of a file that you did not back up, even if they are days or weeks older. If you have activated File History, it will automatically make multiple backup copies of your important files. Windows also automatically creates System Restore Points during certain major operations, such as installing new software. The Restore Points are essentially backup copies of files, folders, and settings.

See my article What is File History? for help setting up and configuring File History. (The article references Windows 8, but it applies equally on a Windows 10 or 11 computer.) You may also want to read Try System Restore for Windows 10 for help turning on System Restore.

Here is how to restore a deleted file that Windows has saved with File History or System Restore:

  • Click the Start button, type This PC and press Enter to display the drives on your computer.
  • Click on a drive and navigate its folder tree to the folder that contained the deleted file.
  • Right-click on the folder and select "restore previous version" from the drop-down menu.
  • Select the desired file and click Restore

Mac users have something similar, called Time Machine. In addition, some Mac apps automatically save versions of your file while you edit, and also when you open, save, or rename them. To find previous versions of a file, open the document, then click "File / Revert To / Browse All Versions". Find the version you want by browsing the timeline, then you can revert to an older version, or duplicate a saved version in a new document.

If these methods fail, you may still be able to recover a deleted file using a free third-party data recovery program such as Recuva for Windows, or Disk Drill for Mac. See also 10 Free Tools to Recover Deleted Files. Such programs can recover files that have been deleted in such a way that the Recycle or Trash Bin was not involved, but only as long as the disk space occupied by the file has not been overwritten.

Pardon just a bit of geekery here. Both Windows and Mac operating systems maintain a master file table which keeps track of the location of each file that’s stored on your hard drive. When your operating system is given the command to delete a file, it doesn’t go to all the trouble of actually erasing the data contained in that file. Instead, it just removes the “pointer” to that file in the master file table. (On Windows, this is known as the MFT. On a Mac, it's the Index Node.)

That's where a bit of luck and the gentle touch come into play. The longer you wait before attempting to recover a deleted file, the less your chances of getting it back in one piece. That's because the space occupied by deleted files is marked as available, and can be overwritten when you create or save a new file, download from the Internet, or by various operating system functions. Recuva and other third-party file recovery tools have the smarts to scan your hard drive for those “deleted but not erased” files, and restore them.

And just for completeness, I should mention that you can use these tools on flash drives and memory cards as well. I remember one time when a friend gave me an SD memory card from his camera, bemoaning the loss of hundreds of photos taken on a family trip. Because the card was undisturbed after whatever “accident” caused the photos to be deleted, I was able to restore them all. I told my friend it was magic, and for all practical purposes, it was.

Do you have experience with recovering deleted files? Post your comment or question below…

Ask Your Computer or Internet Question

  (Enter your question in the box above.)

It's Guaranteed to Make You Smarter...

AskBob Updates: Boost your Internet IQ & solve computer problems.
Get your FREE Subscription!


Check out other articles in this category:

Link to this article from your site or blog. Just copy and paste from this box:

This article was posted by on 19 Apr 2023

For Fun: Buy Bob a Snickers.

Prev Article:
LifeLock: Will it Save Your Digital Bacon?

The Top Twenty
Next Article:
Forward Emails to Your Phone Via Text Message

Most recent comments on "Recover Deleted Files on Windows or Mac"

Posted by:

Stukahna Sandbahr
19 Apr 2023

Can someone tell me where recycle bin even is? I just switched to Windows 11 and there's no icon for it. When I searched, some program came up called "storage sense" but still couldn't find it.

Posted by:

19 Apr 2023

@Stukahna Sandbahr

In the address bar of File Explorer, type 'recycle bin' (this is case insensitive) and hit enter. This will open up Recycle Bin.

For adding a shortcut of it to the desktop, drag&drop the Recycle Bin icon present in the address bar.

Posted by:

19 Apr 2023

@ Stukahna Sandbahr

Take a look at and near the bottom of the page (after all the ways to open the recycle bin), you will find a way to add it to the desktop (I guess you don't have to pin it to the Start menu if you don't want to; it will just stay on the desktop).

I hope this helps.

Posted by:

Stukahna Sandbahr
19 Apr 2023

Thanks everyone!

Posted by:

19 Apr 2023

If realize deletion immediately try +z first then look in the trash.

Posted by:

19 Apr 2023

A few years ago I had a disk drive that suddenly wasn't recognized by my PC. I was hoping some kind of software would get my PC to see it and let me recover the data.

Eventually I decided it had to be drive hardware. Since I had another drive of the same model, I took them apart. I swapped the circuit boards but that didn't fix it. Still not recognized. I swapped them back and the working one still worked but the broken one was still broken.

After a lot of work, phone calls to recovery companies, communications with friends who worked at the drive company (Seagate), it turns out that swapping boards would never have fixed it. There is a chip on the board which is programmed for each specific drive with parameters for that drive. They can't be switched. So there was no way for anyone including Seagate to fix it.

As Bob has often said, important to have up to date backups.

Posted by:

Hugh Gautier
20 Apr 2023

Bob, you are forgetting a program that has been around for just over 16 years. One that is called Spinrite, does more than protect your hard drive it can salvage can move data from corrupted sectors. I've been using Spinrite since the 16-bit days when it moved to the 32-bit files, remember? With each new iteration, the program has become even better than it was. True, it is not a free program, but the money it cost is well worth it, and a lot cheaper than having to buy a new system, send the hard drive off under warranty, and still lose the data that you had on the drive. At that point, $89.99 doesn't sound all that bad either. Gibson Research Corporation is owned and operated by Steve Gibson. Watch the video(s) they can show you what you need to know.

EDITOR'S NOTE: SpinRite is great for situations where the drive appears to be hosed. But I don't think it has the ability to retrieve a single deleted file from a working disk.

Posted by:

Joel B
20 Apr 2023

Not to change the subject, but after a recent Microsoft update and restart, my file explorer search box vanished! I have looked high and low, but can not find it anywhere in the start menu. Could someone kindly point me in the right direction to find it again? Many, many thanks to all! And thanks especially to Bob for his continuing helpful advice! Thanks Bob!

Posted by:

James J Steinis
20 Apr 2023

It is best to install a file recovery tool before you need it.

Post your Comments, Questions or Suggestions

*     *     (* = Required field)

    (Your email address will not be published)
(you may use HTML tags for style)

YES... spelling, punctuation, grammar and proper use of UPPER/lower case are important! Comments of a political nature are discouraged. Please limit your remarks to 3-4 paragraphs. If you want to see your comment posted, pay attention to these items.

All comments are reviewed, and may be edited or removed at the discretion of the moderator.

NOTE: Please, post comments on this article ONLY.
If you want to ask a question click here.

Free Tech Support -- Ask Bob Rankin
Subscribe to AskBobRankin Updates: Free Newsletter

Copyright © 2005 - Bob Rankin - All Rights Reserved
About Us     Privacy Policy     RSS/XML

Article information: AskBobRankin -- Recover Deleted Files on Windows or Mac (Posted: 19 Apr 2023)
Copyright © 2005 - Bob Rankin - All Rights Reserved