TL;DR To recover deleted files, check the Recycle Bin or Trash first, then your cloud provider’s own trash, which keeps items for 30 days. If both are empty, stop writing to that drive and run a recovery tool from a separate disk. Success depends on how much has already been overwritten.
Deleting a file rarely destroys it. On most systems, deletion only removes the pointer that told the drive where the file lived — the data itself sits there until something else claims that space. That gap is your window, and it is why how to recover deleted files is mostly a question of speed and restraint rather than luck. Work through the checks below in order: the cheapest, most reliable routes come first, and each one takes under two minutes.
<!– IMAGE: /wp-content/uploads/2026/11/recycle-bin-restore-deleted-files.webp | alt: “Restoring files from the Recycle Bin to recover deleted files on Windows” | caption: “The Recycle Bin keeps deleted files for 30 days before removing them for good.” –>
Before anything else: stop using that drive
This one step decides most outcomes. Microsoft’s recovery documentation is blunt about it: the space a deleted file used is marked as free, the file data can still be recovered, but any use of the computer can overwrite that free space at any time.
So, in order:
- Stop saving new files to the affected drive. No downloads, no exports, no screenshots.
- Do not install a recovery tool on it. Install to a USB stick or another drive instead.
- Use a different machine if you can, especially for a system drive.
- Don’t tidy up first. Emptying the Recycle Bin or Trash removes the easiest path back, and “cleaning” apps often write as much as they delete.
⚠️ Warning On a solid-state drive, background maintenance can erase free blocks within minutes, so your odds drop sharply compared with a spinning disk. If the drive is clicking, overheating, or has been dropped, stop and call a data-recovery specialist — every extra spin-up can make it worse.
If the file lives on a phone, the same logic applies with a twist: turn off automatic camera uploads and app updates until you have checked the trash, or a fresh backup cycle may push the deleted item out of reach.
How to recover deleted files on Windows
The Recycle Bin is the first stop, and Microsoft keeps items there for 30 days.
- Open Recycle Bin from the desktop. If the icon is hidden, type “Recycle Bin” into the Start menu search.
- Select the Date Deleted column heading to sort, or use the Search Recycle Bin box with part of the filename.
- Select the file or folder. Use Item type to group similar files if the list is long.
- Choose Restore the selected items. The file returns to its original folder, not to the desktop.
- Empty? Check Settings → Accounts → Windows backup for File History, then the OneDrive recycle bin at onedrive.com.
- Still nothing? Use Windows File Recovery (free, Microsoft Store) as described below.
Using Windows File Recovery
It is a command-line app, which scares people off, but the basic run is one line.
- Install it from the Microsoft Store, then open it and allow the elevation prompt.
- Plug in a destination drive. Source and destination must be different.
- Run a command in this shape:
winfr C: E: /regular /n \Users\YourName\Documents\ - Press Y to confirm. Microsoft creates a folder called
Recovery_on the destination drive.
Swap /regular for /extensive when the file was deleted a while ago, the disk was formatted, the drive is corrupted, or the storage is FAT/exFAT — SD cards and USB sticks, for example. Files recovered by name keep their original name; anything found by signature gets a generated one.
💡 Info Recovery on cloud storage and network shares is not supported by this tool. For those, use the provider’s own version history.
How to recover deleted files on a Mac
- Open Trash from the Dock, find the file, then either drag it out or control-click and choose Put Back to return it to its original folder.
- Empty already? Open Time Machine, use the timeline to step back to a date before deletion, select the file, and click Restore.
- Stored in iCloud Drive? Open the Files app, tap Browse → Recently Deleted, select the files, then tap Recover.
- Older than the trash window? Go to icloud.com/recovery, click Restore Files, and pick what you need.
One caveat from Apple’s own instructions: while a data recovery is running on iCloud.com, editing or deleting iCloud Drive files — even browsing it in another window — can interrupt the process. Close those tabs and let it finish.
A note on tools: Disk Utility’s First Aid repairs file systems, it does not resurrect deleted files. Running it on a drive you are trying to recover from can cost you data.
Recover files from Google Drive, OneDrive, and iCloud
Cloud services run their own trash, separate from the one on your desktop. That is good news: a file deleted from your laptop may still be recoverable online.
| Service | Where deletions go | Retention | Notes |
|---|---|---|---|
| iCloud Drive | Recently Deleted | 30 days | Older items may sit in Data Recovery at icloud.com/recovery |
| OneDrive | Recycle Bin | Varies by account type | Check the bin first, then version history in the file’s context menu |
Google Drive: open drive.google.com, select Trash in the sidebar, right-click the file, then Restore. Sort by trashed date to see how long you have left.
iCloud Drive: on iCloud.com, open iCloud Drive → Recently Deleted, select the files, then Recover or Recover All. If the folder is empty, try Data Recovery instead — it reaches further back than the trash.
OneDrive: sign in at onedrive.com, open Recycle Bin, select the file, then Restore.
Two habits worth keeping: search the cloud trash before you re-upload a replacement, and remember that sync is not backup. Deleting a file in a synced folder deletes it everywhere, and the cloud trash is the only thing standing between you and a very bad afternoon.
When the file is gone: deeper recovery and honest odds
Beyond the built-in routes, you are into file-carving territory — software that scans raw sectors for known file signatures. Free options exist, and paid suites add previews and deeper scans. The honest answer to how to recover deleted files is about timing: act now, write nothing, and expect less on modern hardware.
Set your expectations honestly:
- Overwritten means gone. If the space has been reused, no tool brings the original back.
- Phones are the hardest case. Modern iOS and Android encrypt storage, so recovery usually means a backup, not a scan.
- Formatted is not the same as wiped. A quick format leaves data in place; a full overwrite does not.
When to stop and pay a professional: physical damage, a drive that disappears from the system, or data you cannot afford to lose. Expect a quote before work starts, and never open the drive yourself.
Then close the loop, so the next deletion is a shrug rather than a crisis: keep three copies of anything irreplaceable, on two kinds of media, with one off-site. If you are about to wipe a device, back it up first — the same discipline applies when you reset an iPhone.
Frequently asked questions
Can I recover a file after emptying the Recycle Bin?
Often yes, if little has been written to the drive since. The data usually survives until the space is reused, so run a recovery tool from a separate drive and avoid saving anything to the affected one.
How long do I have to recover a deleted file?
There is no fixed clock on a local drive — it depends on writes, not days. Cloud trash is different: Google Drive and iCloud both clear deleted items after 30 days.
Why didn’t my file go to the Recycle Bin?
Large files, files deleted from network or removable drives, and files removed by some apps skip it entirely. So do items deleted with Shift held down.
Can I recover files from a formatted USB stick or SD card?
Sometimes. In Windows File Recovery, use /extensive mode, which supports FAT and exFAT — the file systems those cards use. Stop using the card immediately and image it first if the data matters.
Is a synced cloud folder a backup?
No. Deletions propagate: remove a file locally and it vanishes from the cloud too. Version history and the cloud trash are your safety net, and neither replaces a separate backup.
- Microsoft Support — Recover a deleted file
- Microsoft Support — Windows File Recovery
- Apple Support — If you’re missing files in iCloud Drive
- Google Drive Help — Restore deleted files
Tags: #data-recovery #file-recovery #backup #windows #troubleshooting
- How to clear cache on Chrome (desktop & mobile)
- Why is my phone storage always full?
- How to speed up a slow laptop
The Tech Troubleshooting Guide covers the rest of the diagnostic order when a device misbehaves.
发表回复