PDF download Download Article
The quickest and easiest ways to rescue your deleted files
PDF download Download Article

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. This wikiHow article teaches you how to restore a file you've deleted from your Windows or macOS computer.

Things You Should Know

  • Quickly and easily recover deleted files on your computer by restoring them from the Recycling Bin or Trash.
  • If you're using Windows 10 or 11, use Windows File Recovery or File History to restore your deleted files.
  • You can also use backup services like iCloud or Time Machine to restore deleted files.
Method 1
Method 1 of 8:

Restoring from Recycle Bin on Windows

PDF download Download Article
  1. 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 some 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. 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. 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 8:

Using File Recovery on Windows

PDF download Download Article
  1. It's a free command-line utility for Windows 10 and 11 that attempts to recover deleted data. Windows File Recovery works for SSDs, HDDs, USB drives, and memory cards.
    • If you don't have it already, go to the Microsoft Store page and install the tool.
    • When prompted, select Yes .
  2. winfr source-drive: destination-drive: [/mode] [/switches] .
  3. The tool lets you decide if you want to restore every file or if you have a specific file requirement that you want to restore.
    • For example, if you just want to restore everything on your C: and E: drives, type Winfr C: E: /regular /n \Users\<username>\Documents\ .
    • However, if you want to restore .jpeg and .png files in your Pictures folder, type Winfr C: E: /extensive /n \Users\<username>\Pictures\*.JPEG /n\Users\<username>\Pictures\*.PNG and replace "<username>" with your username in the computer. [2]
  4. Advertisement
Method 3
Method 3 of 8:

Using File History to Restore from a Windows Backup

PDF download Download Article
  1. 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 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. 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. 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. 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 8:

Using a Data Recovery Tool for Windows

PDF download Download Article
  1. 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. [4]
    • 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. 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. [5]
  3. You may be prompted to click Save or another option to start the download at this point.
  4. 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. 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. It's at the center of the window.
  7. It's at the bottom-right corner of the window.
  8. If you're not sure which type of file to select, choose All Files at the top of the list.
  9. 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. 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).
  11. 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.
  12. 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.
  13. It's at the bottom-right corner of the window. This restores the selected file its original location.
  14. Advertisement
Method 5
Method 5 of 8:

Restoring from Trash on a Mac

PDF download Download Article
  1. 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. 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. [6]
    • 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. 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 6
Method 6 of 8:

Restoring from Time Machine on a Mac

PDF download Download Article
  1. 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. [7]
    • 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. 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. [8]
  3. 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 Settings, and select Control Center. Scroll down to Time Machine , and then select "Show Time Machine in the menu bar." The icon should then appear.
  4. You can use the arrows and/or the timeline to find the backup that contains the file you searched for.
  5. This restores the file to its original location.
  6. Advertisement
Method 7
Method 7 of 8:

Using a Data Recovery Tool for macOS

PDF download Download Article
  1. 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. [9] 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. Go to https://www.cleverfiles.com . This is Disk Drill's official website.
  3. It's near the center of the page. This downloads the image to your Downloads folder.
  4. It's called "diskdrill.dmg" and is in the Downloads folder.
  5. This installs Disk Drill on your Mac.
  6. 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 the drive is connected before you continue.
  7. These settings are recommended by the developer. [10]
  8. Follow the on-screen instructions to verify your password and give the app permission to run.
  9. 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. For example, if the file was on your USB drive, select that.
  11. Disk Drill will proceed through various scans to help you find the correct file.
  12. 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 do 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. 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 can't 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. It's at the top-right corner of the window.
  15. 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 8
Method 8 of 8:

Restoring from iCloud on a Mac or PC

PDF download Download Article
  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. [11]
  2. Use the Apple ID you use to sign into iCloud on your computer, phone, or tablet.
  3. It's the blue link below your name at the top-center part of the page.
  4. It's under the "Advanced" header near the bottom-left corner of the page. You may have to scroll down to find it.
  5. 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. This moves the file back to its original location on your computer.
  7. The file is now restored.
  8. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    How can I recover deleted files from my computer?
    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.
    Computer Specialist
    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
    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
    Yes, you can; try data recovery using the methods listed above. Your method will depend on your operating system.
See more answers
Ask a Question
      Advertisement

      Tips

      Tips from our Readers

      The advice in this section is based on the lived experiences of wikiHow readers like you. If you have a helpful tip you’d like to share on wikiHow, please submit it in the field below.
      • Be careful what services you turn to to help you recover your data as some are scams. Do you research and look at reviews from other customers. Better yet, see if any of your friends have gone through this problem and used a recovery service that they'd recommend.
      • If you can't recover the files it's a learning experience. In the future, remember to back up your data to an external hard drive and/or an online cloud storage service.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      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.
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 1,239,111 times.

      Reader Success Stories

      • Sunder Rawat

        Jul 11, 2016

        "It is very useful to recover my deleted files, which were deleted by mistake. Thanks to the software makers."
      Share your story

      Is this article up to date?

      Advertisement