This wikiHow teaches you how to restore a file you've deleted from your Windows or macOS computer. If you've only recently deleted the file, you can usually restore it quickly from the Recycle Bin (PC) or the Trash (Mac). As long as you back up your computer, you should be able to restore deleted files from one of your recent backups. If you run out of options, you can use file recovery software like Recuva (Windows) or Disk Drill (Mac) to increase your chances of recovering the file.

Method 1
Method 1 of 7:

Restoring from Recycle Bin on Windows

  1. 1
    Open the Recycle Bin. You'll usually find this trashcan icon on your desktop. If you don't see it, open the Windows search bar next to the Start menu, type recycle, and then click Recycle Bin in the search results.
    • Deleting files from your hard drive generally puts them into the Recycle Bin for a period of time before permanently erasing them, so if it hasn't been long since you opened the file―and you haven't emptied the Recycle Bin recently—there's a good chance they'll still be there.[1]
  2. 2
    Select the file you want to restore. Scroll down and select the file, or use the "Search" bar at the top-right corner of the screen to search by file name. Clicking the file once will highlight it.
    Advertisement
  3. 3
    Click the Restore the selected items button. It's the icon that looks like a sheet of paper with a green arrow at the top of the window. This places the file back into its original location.
  4. Advertisement
Method 2
Method 2 of 7:

Restoring from Trash on a Mac

  1. 1
    Click the Trash icon on the Dock. The Dock is the row of icons typically found at the bottom of the screen.
    • If you deleted a file from your Mac within the last 30 days, you can usually recover it from the Trash.
  2. 2
    Search for the deleted file. Scroll down through the files in the Trash window to look for your deleted file.
    • If there are a lot of files in the Trash, you can search for the file by name. Type part or all of the file name into the "Search" bar at the top-right corner of the window, then press Return to search. You may have to click the Trash tab above the results to show only files in the Trash bin.[2]
    • If the file you're looking for is no longer in your Trash, you may be able to recover it from a Time Machine backup or from your iCloud drive.
  3. 3
    Drag the deleted file to another folder. You can drag it to the desktop for easy access, or just drag it to the desired folder in the left panel of the window. This restores the file.
  4. Advertisement
Method 3
Method 3 of 7:

Using File History to Restore from a Windows 10 Backup

  1. 1
    Type restore files into the Search bar. This bar is usually next to the Start menu at the bottom-left corner of the screen, although you may have to click the Start menu or a magnifying glass to open it first.
    • If you have File History backups set up on your Windows 10 PC, you can use it to restore files and folders you've deleted or overwritten with different data.[3]
    • If you back up your Windows PC to an external hard drive, connect that hard drive before you continue.
  2. 2
    Click Restore your files with File History. It should be at the top of the search results.
    • If you see a message that says "No file history was found," File History is turned off and you'll need to try another method.
  3. 3
    Select the deleted file. If the file has been backed up multiple times, you can use the arrows to browse through the backed-up versions and select the one you want.
    • You can use the Search box at the top-right corner of the window to search by file name or any other criteria.
  4. 4
    Click Restore. This moves the selected version of the file to its original location.
    • If you want to place the restored file in a different folder instead, right-click Restore, click Restore To, and then choose a location.
  5. Advertisement
Method 4
Method 4 of 7:

Restoring from Time Machine on a Mac

  1. 1
    Open Finder . It's the two-toned smiling face icon on the Dock, which usually runs along the bottom of the screen. If you use Time Machine to back up files on your Mac, you can restore deleted files with a simple Spotlight search.[4]
    • If you don't use Time Machine to back up the files on your Mac, you'll need to use another method.
    • If your files are backed with iCloud, see the Restoring from iCloud method instead.
  2. 2
    Type file name into the search bar and press Return. It's at the top-right corner of the Finder window. This displays a list of matching results.
    • You can refine your search by clicking the plus + on the right side of the search window and selecting different criteria.[5]
  3. 3
    Click the Time Machine icon in the menu bar. It's near the top-right corner of the screen, generally to the left of the time. The icon looks like a clock with a curved arrow around it. A menu will expand.
    • If you don't see this icon, click the Apple menu at the top-left corner, select System Preferences, click Time Machine, and then select "Show Time Machine in menu bar." The icon should then appear.
  4. 4
    Click Enter Time Machine on the menu.
  5. 5
    Go to the backup that contains the deleted file. You can use the arrows and/or the timeline to find the backup that contains the file you searched for.
  6. 6
    Select the file and click Restore. This restores the file to its original location.
  7. Advertisement
Method 5
Method 5 of 7:

Using a Data Recovery Tool for Windows

  1. 1
    Select a data recovery program. If you've been unable to restore your deleted file from the Recycle Bin or a backup, you may be able to use a data recovery tool. You may find some free apps that claim to recover deleted files, but the paid options usually yield better results. Intel recommends Piriform Recuva, Stellar Data Recover, and Disk Drill as reliable programs.[6]
    • The rest of this method will walk you through using Recuva, as there's a free option that can perform advanced file recovery. Other apps should work similarly.
  2. 2
    Go to https://www.piriform.com/recuva/download in a browser. This is the official download site for Recuva.
    • The software has recently been purchased by CCleaner, so don't worry if you're redirected to CCleaner's version of the download site.[7]
  3. 3
    Click Download under the "FREE" option. You may be prompted to click Save or another option to start the download at this point.
  4. 4
    Start the Recuva installer. The installer file will be called something like "rcsetup153.exe" and be saved to your default download folder. Double-click the file to launch the installer, or just click the file name once if it appears along the bottom edge of your web browser.
    • If prompted to allow the app to run, click Yes.
  5. 5
    Click the orange Install button. This installs the app onto your computer. When the install is complete, you'll see a message that says "Recuva v.153 Setup Completed."
  6. 6
    Click the orange Run Recuva button. It's at the center of the window.
  7. 7
    Click Next to start the recovery wizard. It's at the bottom-right corner of the window.
  8. 8
    Select a file type and click Next. If you're not sure which type of file to select, choose All Files at the top of the list.
  9. 9
    Select the file's original location. Check the box to the left of one of the file locations on your computer, or leave I'm not sure selected to look everywhere.
  10. 10
    Click Next.
  11. 11
    Check the "Enable Deep Scan" box. It's near the bottom of the window. This will allow Recuva to perform an advanced scan of your computer, which increases the chances that you'll recover the file(s).
  12. 12
    Click Start. This is at the bottom of the window. Recuva will now scan for deleted files.
    • A deep scan can take several hours to complete, especially if you chose the All Files and I'm not sure options earlier. A progress bar and time estimation will stay on the screen during the scan.
    • Once the scan is complete, a list of deleted files will appear.
  13. 13
    Locate and select your deleted file(s). Once the scan completes, click the check box next to the file you want to restore.
    • To narrow down the search results, click the Switch to advanced mode button at the top-right corner of the window to choose certain locations or refine the search to specific file types.
  14. 14
    Click the Recover… button. It's at the bottom-right corner of the window. This restores the selected file its original location.
  15. Advertisement
Method 6
Method 6 of 7:

Using a Data Recovery Tool for macOS

  1. 1
    Select a data recovery program. If you've tried recovering from the Trash, Time Machine, and iCloud and still haven't been able to restore your file, you may be able to use a data recovery program. Although data recovery programs for macOS generally cost money, reputable apps allow you to do a free scan so you can figure out if the file is recoverable before you spend money.[8] Some apps recommended by Macworld and other reputable sites are Stellar Data Recovery Pro, Disk Drill, and Data Rescue 5.
    • The rest of this method will walk you through using Disk Drill, although other options should work similarly.
  2. 2
    Go to https://www.cleverfiles.com. This is Disk Drill's official website.
  3. 3
    Click the green Free Download button. It's near the center of the page. This downloads the image to your Downloads folder.
  4. 4
    Double-click the DMG file. It's called "diskdrill.dmg" and is in the Downloads folder.
  5. 5
    Drag the Disk Drill icon onto the Applications folder. This installs Disk Drill on your Mac.
  6. 6
    Open Disk Drill. You can do this by double-clicking Disk Drill in the Applications folder or on the Launchpad.
    • If the deleted file was on an external drive, make sure that drive is connected before you continue.
  7. 7
    Leave the first three boxes checked and click Next. These settings are recommended by the developer.[9]
  8. 8
    Give Disk Drill permission to scan your drive(s). Follow the on-screen instructions to verify your password and give the app permission to run.
  9. 9
    Select No thanks, Basic edition is OK. You can use the Basic (free) version of the app to scan for the missing file. If the file can be restored, the app will give you the option to upgrade so you can restore it.
  10. 10
    Select the drive on which the file was located. For example, if the file was on your USB drive, select that.
  11. 11
    Click Recover to start the scan. Disk Drill will proceed through various scans to help you find the correct file.
  12. 12
    Follow the on-screen instructions to locate your file. If Disk Drill's first scan doesn't return the file you're looking for, you'll be prompted to do a Quick Scan. If that doesn't pull up your file, the final option is to do a Deep Scan.
    • If Deep Scan finds your files and other scans did not, it will not be able to display file names. You'll have to sort and preview the results to see if the file you're looking for is there.
  13. 13
    Check the box next to the file you want to restore. If a lot of files were found, you can refine the search by typing a file name or keyword into the search box at the top-right corner of the window. You can also narrow the results by date and file type. Check the box next to the file you want to restore.
    • If you are unable to find your deleted file using this method, the file may not be recoverable. You won't need to pay for the upgrade or continue with this method.
  14. 14
    Click the Recover button. It's at the top-right corner of the window.
  15. 15
    Follow the on-screen instructions to upgrade to the Pro version. This will require you to make a payment. Once your payment is processed, you'll be returned to the search results where you can click Recover again to start the recovery. Once the file is restored, it will be in its original location.
  16. Advertisement
Method 7
Method 7 of 7:

Restoring from iCloud on a Mac or PC

  1. 1
    Go to https://www.icloud.com in a web browser. If you use iCloud to back up files on your computer, you can use the iCloud website to restore deleted files. You'll just need to make sure it's been fewer than 30 days since you deleted the file.[10]
  2. 2
    Sign in with your Apple ID. Use the Apple ID you use to sign into iCloud on your computer, phone, or tablet.
  3. 3
    Click Account Settings. It's the blue link below your name at the top-center part of the page.
  4. 4
    Click Restore Files. It's under the "Advanced" header near the bottom-left corner of the page. You may have to scroll down to find it.
  5. 5
    Select the file(s) you want to restore. You can click multiple files if you wish.
    • If you don't see the file you want to restore, it's no longer saved to iCloud. Try another method to restore the file.
  6. 6
    Click Restore. This moves the file back to its original location on your computer.
  7. 7
    Click Done when the process is complete. The file is now restored.
  8. Advertisement

Expert Q&A
Did you know you can get expert answers for this article? Unlock expert answers by supporting wikiHow

  • Question
    How can I recover deleted files from my computer?
    Yaffet Meshesha
    Yaffet Meshesha
    Computer Specialist
    Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time.
    Yaffet Meshesha
    Computer Specialist
    Expert Answer

    Support wikiHow by unlocking this expert answer.

    The first thing you should do is to check the Recycling Bin. You might also see if they're backed up to cloud storage like One Drive or DropBox. If it's not there, you may need to run a data recovery software, or even send your computer to a data recovery company service.
  • Question
    My file was deleted last month. I've installed things since then. Is there a way to recover my file without installing a recovery program?
    Community Answer
    Community Answer
    Probably not, the space where that program was has been overwritten by these new programs.
  • Question
    I deleted a file a few hours ago. Can I still get the file back?
    Community Answer
    Community Answer
    Yes, you can; try data recovery using the methods listed above. Your method will depend on your operating system.
Advertisement

Warnings

  • Most Mac recovery software is in the $80 to $100 price range. Without a Time Machine backup, you will have to pay for recovery software to bring back your deleted data.
    ⧼thumbs_response⧽
Advertisement


  1. https://9to5mac.com/2019/10/23/recover-lost-icloud-documents-files/
  2. Yaffet Meshesha. Computer Specialist. Expert Interview. 22 September 2020.

About This Article

Yaffet Meshesha
Co-authored by:
Computer Specialist
This article was co-authored by Yaffet Meshesha and by wikiHow staff writer, Nicole Levine, MFA. Yaffet Meshesha is a Computer Specialist and the Founder of Techy, a full-service computer pickup, repair, and delivery service. With over eight years of experience, Yaffet specializes in computer repairs and technical support. Techy has been featured on TechCrunch and Time. This article has been viewed 1,182,242 times.
How helpful is this?
Co-authors: 60
Updated: June 3, 2021
Views: 1,182,242
Categories: Data Recovery
Article SummaryX

1. Try recovering from the Recycle Bin or Trash.
2. Attempt to restore from a local backup.
3. Restore from your iCloud Drive if you use it to back up files.
4. Try a reputable data recovery app.

Did this summary help you?
Advertisement