When an important file disappears, the first thing to do is avoid making the situation worse. If it was stored on your computer or an external drive, stop saving or downloading files to that drive until you know what happened. New data can overwrite the space a deleted file occupied, reducing the chance of recovery. Then work through the checks below, starting with the simplest options.
Make sure the file was actually deleted
Before trying recovery tools, search for the file by name and check the folder where you last saw it. It may have been moved, renamed, or saved somewhere else. If you use more than one Google, Microsoft, Apple, or Dropbox account, confirm that you are signed in to the account that contains the file.
Also consider whether the file was synced across devices. Syncing keeps locations in step, so deleting a file on one device can also remove it from the cloud and other synced devices. If the file is missing everywhere, check the trash or recycle bin in the service itself rather than assuming the local copy is the only place to look.
Check the Recycle Bin or Trash
This is usually the fastest way to recover a recently deleted file.
- Windows: Open Recycle Bin, find the file, right-click it, and select Restore. Windows returns it to its original location.
- Mac: Open Trash from the Dock, find the file, right-click it, and select Put Back.
If you cannot find the file there, it may have been permanently deleted, removed from a location that bypasses the bin, or deleted from a cloud-only folder. On Windows, Shift+Delete typically bypasses Recycle Bin. Files removed from some external or network drives may bypass the bin as well.
On a Mac, start with Trash in the Dock. If you are comfortable using Finder, you can also open your home folder and inspect its .Trash folder, but this is not a guaranteed way to find files removed from other volumes or locations.
Recover a deleted file from cloud storage
Cloud services usually provide a trash or deleted-files area, but the retention period depends on the service, account type, plan, and any administrator policies. Restore the file as soon as possible, and check the service’s current rules if it is no longer listed.
- Google Drive: Open Google Drive on the web and select Trash from the menu. If the file is there, right-click it and choose Restore.
- OneDrive: Sign in to OneDrive on the web and open Recycle bin. Select the file and choose Restore. Personal and work or school accounts can have different retention rules, and an organization’s administrator may control recovery options.
- Dropbox: Open Dropbox on the web and go to Deleted files. Select the file and choose the restore option if it is still eligible for recovery.
- iCloud Drive: Visit iCloud.com and look for the recently deleted recovery option, or check the Files app on your Apple device. The exact steps can vary by device and service interface.
A file that was stored online only may not appear in your computer’s Recycle Bin or Trash. For example, if a OneDrive file had no local copy, check the OneDrive website’s Recycle Bin. If a file was deleted from a shared folder, permissions and the owner’s account may also affect whether you can restore it.
Restore an earlier version of a file
If the file is still there but its contents were replaced, overwritten, or changed unexpectedly, you may not need to recover a deleted copy. Look for version history instead.
- Google Drive and OneDrive: Open the file’s menu in the web interface and look for Version history or a similar option. Depending on the service and file type, you may be able to restore or download an earlier version.
- Windows: Right-click the file or its containing folder, open Properties, and check the Previous Versions tab. Versions appear only if a suitable backup or restore feature was enabled and had a copy available.
If the file was changed because multiple devices edited or synced it, our guide to resolving file sync conflicts and overwritten files can help you investigate duplicate copies and conflicting versions.
Look for a backup
If the file is no longer in the bin or cloud trash, check backups made before it disappeared. These options only help if a backup was already configured and includes the missing file.
- Windows File History: Open Control Panel, choose File History, and select Restore personal files. Browse to the folder and look for a copy from before the deletion.
- Mac Time Machine: Open the folder where the file used to be, open Time Machine, browse backups from an earlier date, select the file, and choose Restore.
- Other copies: Check an external drive, another computer, a phone backup, email attachments, or a shared folder. A separate copy may be easier to restore than the deleted original.
What if you cannot empty Trash or Recycle Bin?
If the file is still visible but the bin will not open, restore, or empty correctly, that is a different problem from ordinary file recovery. The item may be locked, in use, or affected by a file-system issue. Avoid deleting random system files to force it through. Follow our guide to fixing a Trash or Recycle Bin that will not empty for targeted troubleshooting.
Can recovery software bring the file back?
Sometimes, but there is no guarantee. Recovery software may find deleted data that has not yet been overwritten. If you decide to try it, install the software on a different drive and save recovered files to another location—not to the drive you are trying to recover. Continuing to use the affected drive can overwrite recoverable data.
Results also depend on the storage device and how it handles deletion. On many modern SSDs, features such as TRIM can make recovery difficult or impossible after deletion. If the drive is making unusual noises, repeatedly disconnecting, or showing signs of physical failure, stop using it and consider a professional data recovery service. Repeated scans can put additional stress on a failing drive.
Be cautious with recovery tools that promise guaranteed results or demand payment before clearly showing what they can detect. For a work or school account, contact the organization’s administrator before using third-party tools; they may have additional recovery options.
When to contact the cloud provider
Contact the service’s support team or your organization’s administrator if the file was deleted recently but is missing from the trash, or if you suspect someone else deleted it. Provide the file name, its previous folder, the approximate deletion time, and the account type. Avoid sharing your password or recovery codes.
Prevent the same loss next time
- Turn on Windows File History or Mac Time Machine and check that backups are completing successfully.
- Keep a separate backup of important files; syncing alone is not the same as a backup because deletions can sync too.
- Before emptying Recycle Bin or Trash, quickly check for anything you may need.
- For important cloud files, learn where the service’s deleted-files area and version history are located.
Work through recovery in order
Start by searching for the file, then check the local Recycle Bin or Trash, the cloud service’s deleted-files area, version history, and backups. If none of those options works, stop using the affected drive before trying recovery software. Acting quickly and choosing the right recovery method gives you the best chance of getting the file back, although some permanently deleted files cannot be restored.