How to Recover Accidentally Deleted Files in OS X

This wikiHow teaches you how to look for and potentially recover files that you have deleted on your Mac computer. The first thing you should do is check your Mac's Trash Can for deleted files. If your files aren't there, you can try...

Method 1 of 3:

Using the Trash Can

  1. Picture 1 of How to Recover Accidentally Deleted Files in OS X
    Open the Trash Can app. Double-click the wastebasket-shaped app icon in your Mac's Dock. This will open the Trash Can window.
  2. Picture 2 of How to Recover Accidentally Deleted Files in OS X
    Look for your deleted files. Scroll through the Trash Can to look for the files, or type a file's name into the search bar that's in the top-right corner of the window.
    1. If you can't find your deleted files, you'll need to use Time Machine to attempt to restore them.
  3. Picture 3 of How to Recover Accidentally Deleted Files in OS X
    Select deleted files. Click and drag your mouse across a group of files to select them all, or hold Command and click individual files to select them independently.
    1. If you want to select every file in Trash Can, click a file, then press Command and A at the same time.
  4. Picture 4 of How to Recover Accidentally Deleted Files in OS X
    Click File. It's a menu item in the top-left corner of the screen. A drop-down window will appear.
  5. Picture 5 of How to Recover Accidentally Deleted Files in OS X
    Click Put Back. This option is in the File drop-down menu. Doing so will send your selected files back to their original location(s).
    1. If the Put Back option is greyed out, you'll need to click and drag the selected files from the Trash Can window onto the desktop and then drop them there.
Method 2 of 3:

Using Time Machine

  1. Picture 6 of How to Recover Accidentally Deleted Files in OS X
    Open Spotlight
    Picture 7 of How to Recover Accidentally Deleted Files in OS X
    . Click the magnifying glass icon in the top-right corner of the screen. A search bar will appear.
  2. Picture 8 of How to Recover Accidentally Deleted Files in OS X
    Type time machine into Spotlight. Doing so searches for the Time Machine app on your computer.
  3. Picture 9 of How to Recover Accidentally Deleted Files in OS X
    Click Time Machine. It's a teal app with a clock on it. You should see this option near the top of the Spotlight search results. Time Machine will open.
  4. Picture 10 of How to Recover Accidentally Deleted Files in OS X
    Select the files' location. Click the folder that contained your file(s) on the left side of the Time Machine window. Doing so will show you the folder's contents.
  5. Picture 11 of How to Recover Accidentally Deleted Files in OS X
    Go to a backup during which your files were still on your Mac. Click the upward-facing arrow to the right of the Time Machine window to scroll through backups until you see your deleted files appear.[1]
    1. If you scroll past the files' creation date and they still aren't showing up, you can't use Time Machine to restore the files.
  6. Picture 12 of How to Recover Accidentally Deleted Files in OS X
    Select the files that you want to restore. Click and drag your mouse across a group of files to select them all, or hold Command and click individual files to select them independently.
  7. Picture 13 of How to Recover Accidentally Deleted Files in OS X
    Click Restore. It's a grey button near the bottom of the Time Machine window. This will restore your selected files.
    1. You may have to repeat this process for different folder locations in Time Machine.
Method 3 of 3:

Using a Data Recovery Program

  1. Picture 14 of How to Recover Accidentally Deleted Files in OS X
    Stop using your Mac for now. The key to recovering files using a data recovery program is to stop using the Mac's hard drive immediately. Don't download any software or create any folders or backups now, since doing so may overwrite the space where the file that you want to recover was stored.
  2. Picture 15 of How to Recover Accidentally Deleted Files in OS X
    Download a file recovery program. You will most likely have to pay for your selected program. Make sure to download the program on another computer or drive so that you don't accidentally overwrite the file you are trying to recover. Popular programs include the following:[2]
    1. PhotoRec (Free)
    2. Disk Drill (paid)
    3. Data Rescue (paid)
    4. EaseUS (paid)
  3. Picture 16 of How to Recover Accidentally Deleted Files in OS X
    Install the data recovery program on a USB drive. If you can do this, you'll cut down on the risk of overwriting your Mac's files.
    1. If you aren't able to install the recovery program on a USB flash drive, you can at least move the program's setup file onto your Mac from the USB drive. This isn't ideal, but it may be necessary.
  4. Picture 17 of How to Recover Accidentally Deleted Files in OS X
    Scan your drive. The process will vary depending on the program you choose, but generally you will be able to select the drive that you want to scan. Select the drive that contained the files you accidentally deleted, then select the Scan option.
    1. Your selected program may have additional options to select before continuing.
  5. Picture 18 of How to Recover Accidentally Deleted Files in OS X
    Select the files that you want to recover. After scanning your drive, you will be presented a list of files that can be recovered. You can select these in order to restore them.
    1. File names will often be destroyed, so you may have to preview each file individually in order to find the one you want.
    2. Not all files can be restored.
  6. Picture 19 of How to Recover Accidentally Deleted Files in OS X
    Save your files. After selecting the files you want to recover, you will be prompted to save the files somewhere. If you still have more files to try to find, do not save them to the drive they were deleted from. Instead, save them to an external drive or another connected drive.
    1. If trying to recover a large number of files, recover the most important ones first. Even the recovery process can overwrite and corrupt deleted files, so make sure you grab the ones you need the most first.
Update 04 March 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile