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.
There are 10 references cited in this article, which can be found at the bottom of the page.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 1,182,242 times.
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.
Steps
Restoring from Recycle Bin on Windows
-
1Open 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]
-
2Select 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.
- If you can't find the file using this method, you can try restoring it from a backup or a data recovery tool like Recuva.
Advertisement -
3Click 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.
Restoring from Trash on a Mac
-
1Click 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.
-
2Search 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.
-
3Drag 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.
Using File History to Restore from a Windows 10 Backup
-
1Type 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.
-
2Click 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.
-
3Select 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.
-
4Click 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.
Restoring from Time Machine on a Mac
-
1Open 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.
-
2Type 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]
-
3Click 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.
-
4Click Enter Time Machine on the menu.
-
5Go 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.
-
6Select the file and click Restore. This restores the file to its original location.
Using a Data Recovery Tool for Windows
-
1Select 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.
-
2Go 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]
-
3Click Download under the "FREE" option. You may be prompted to click Save or another option to start the download at this point.
-
4Start 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.
-
5Click 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."
-
6Click the orange Run Recuva button. It's at the center of the window.
-
7Click Next to start the recovery wizard. It's at the bottom-right corner of the window.
-
8Select 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.
-
9Select 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.
-
10Click Next.
-
11Check 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).
-
12Click 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.
-
13Locate 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.
-
14Click the Recover… button. It's at the bottom-right corner of the window. This restores the selected file its original location.
Using a Data Recovery Tool for macOS
-
1Select 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.
-
2Go to https://www.cleverfiles.com. This is Disk Drill's official website.
-
3Click the green Free Download button. It's near the center of the page. This downloads the image to your Downloads folder.
-
4Double-click the DMG file. It's called "diskdrill.dmg" and is in the Downloads folder.
-
5Drag the Disk Drill icon onto the Applications folder. This installs Disk Drill on your Mac.
-
6Open 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.
-
7Leave the first three boxes checked and click Next. These settings are recommended by the developer.[9]
-
8Give Disk Drill permission to scan your drive(s). Follow the on-screen instructions to verify your password and give the app permission to run.
-
9Select 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.
-
10Select the drive on which the file was located. For example, if the file was on your USB drive, select that.
-
11Click Recover to start the scan. Disk Drill will proceed through various scans to help you find the correct file.
-
12Follow 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.
-
13Check 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.
-
14Click the Recover button. It's at the top-right corner of the window.
-
15Follow 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.
Restoring from iCloud on a Mac or PC
-
1Go 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]
-
2Sign in with your Apple ID. Use the Apple ID you use to sign into iCloud on your computer, phone, or tablet.
-
3Click Account Settings. It's the blue link below your name at the top-center part of the page.
-
4Click 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.
-
5Select 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.
-
6Click Restore. This moves the file back to its original location on your computer.
-
7Click Done when the process is complete. The file is now restored.
Expert Q&A
Did you know you can get expert answers for this article?
Unlock expert answers by supporting wikiHow
-
QuestionHow can I recover deleted files from my computer?Yaffet MesheshaYaffet 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.
Computer Specialist -
QuestionMy 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 AnswerProbably not, the space where that program was has been overwritten by these new programs.
-
QuestionI deleted a file a few hours ago. Can I still get the file back?Community AnswerYes, you can; try data recovery using the methods listed above. Your method will depend on your operating system.
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⧽
References
- ↑ Yaffet Meshesha. Computer Specialist. Expert Interview. 22 September 2020.
- ↑ https://www.macworld.co.uk/how-to/mac-software/recover-deleted-files-3510559/
- ↑ https://support.microsoft.com/en-us/help/17143
- ↑ https://support.apple.com/guide/mac-help/recover-files-time-machine-spotlight-mh15136/10.15/mac/10.15
- ↑ https://support.apple.com/guide/mac-help/narrow-search-results-mh15155/10.15/mac/10.15
- ↑ https://www.intel.com/content/www/us/en/tech-tips-and-tricks/recover-deleted-files.html
- ↑ https://www.ccleaner.com/recuva/download
- ↑ https://www.macworld.co.uk/feature/mac-software/best-data-recovery-apps-3681531/
- ↑ https://www.cleverfiles.com/recover-deleted-files-mac.html
- ↑ https://9to5mac.com/2019/10/23/recover-lost-icloud-documents-files/
- ↑ Yaffet Meshesha. Computer Specialist. Expert Interview. 22 September 2020.
About This Article
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.