How to Recover Deleted Files from Any Device
Accidentally deleting an important document, photo, or project folder is stressful, but in most cases, the data is not immediately destroyed. When you delete a file, your device usually removes only the pointer telling the operating system where that file lives, marking the storage space as “available” for new data. Until new data overwrites that exact space, the original file remains intact and recoverable.
Before trying any recovery method, follow one critical rule: stop using the affected device immediately. Downloading apps, taking new photos, or saving new files can permanently overwrite the hidden data you are trying to rescue.
1. Check Built-In Trash Folders and Cloud Sync Bins
Most modern operating systems and apps include a safety net that holds deleted items for 30 to 60 days before permanent removal. Always check these locations first:
- Local Trash / Recycle Bin: Check the Recycle Bin on Windows, Trash on Mac, or the Recently Deleted folder inside your smartphone’s Gallery and File Manager apps.
- Cloud Storage Trash: If you use Google Drive, iCloud Drive, OneDrive, or Dropbox, log in through a web browser and open the Trash or Deleted Files tab. Cloud platforms often retain deleted copies even after you empty your local bin.
- App-Specific Archives: Messaging apps (like WhatsApp or Telegram) and note-taking apps (like Apple Notes or Google Keep) frequently maintain their own internal backups or deleted-item folders.
2. Recovering Deleted Files on Windows and Mac
If you emptied your Recycle Bin or used permanent-delete shortcuts (Shift + Delete on Windows or Option + Command + Delete on Mac), move to system backups and file recovery tools.
Windows 10 and Windows 11
- Restore Previous Versions: Open File Explorer, navigate to the folder that originally held the deleted file, right-click it, and select Properties > Previous Versions. If a restore point or File History snapshot exists, select the version before deletion and click Restore.
- Use Windows File Recovery: Microsoft offers a free command-line utility called Windows File Recovery in the Microsoft Store. It scans local hard drives and SSDs for unallocated file signatures.
- Run Desktop Recovery Software: For a visual interface, install reputable tools like Recuva, Disk Drill, or EaseUS Data Recovery Wizard onto a separate drive or USB stick so you do not overwrite your main drive.
macOS
- Use Time Machine: Connect your Time Machine backup drive, open the folder where the file was located, click the Time Machine icon in the top menu bar, and select Browse Time Machine Backups. Scroll back to the date the file existed and click Restore.
- Check APFS Snapshots: Even without an external drive, macOS creates local snapshots on APFS-formatted drives. You can browse or mount these snapshots through Disk Utility (
View > Show APFS Snapshots). - Third-Party Mac Tools: If backups are disabled, tools like Disk Drill or PhotoRec can scan your internal drive—though modern Macs with Apple Silicon and TRIM enabled on SSDs clear deleted blocks rapidly, making backups essential.
3. Recovering Deleted Data on Android and iPhone
Smartphones use strict file-based encryption, which changes how recovery works compared to traditional computers.
Android Smartphones
- Google Photos & Gallery Trash: Open Google Photos > Collections > Trash. Backed-up items stay here for 60 days (30 days for unbacked-up items). On Samsung Galaxy devices, open Gallery > Menu (three lines) > Trash.
- Google Files App: Open Files by Google > Menu > Trash to restore documents, downloads, and audio deleted within the last 30 days.
- Cloud Device Backups: Check Settings > Google > Backup (or Samsung Cloud on Galaxy devices) to verify if an earlier backup contains your missing app data or contacts.
- A Note on “Deep Scan” Android Apps: Because modern Android encrypts every file individually and destroys the encryption key upon permanent deletion, unrooted Android recovery apps claiming to pull permanently wiped files from internal storage rarely work. Focus on cloud accounts, SD cards, and messaging backups instead.
iPhone and iPad (iOS / iPadOS)
- Recently Deleted Albums: Open Photos > Collections > Utilities > Recently Deleted or Files > Browse > Recently Deleted. Items remain recoverable for 30 days (up to 40 days in some cases) using Face ID or Touch ID.
- iCloud.com Data Recovery: Sign in to iCloud.com on a computer, click the grid icon in the top-right corner, and select Data Recovery. You can restore recently deleted files, contacts, bookmarks, and calendars within a 30-day window.
- Full Backup Restore: If the data existed in an older backup, go to Settings > General > Transfer or Reset iPhone > Erase All Content and Settings. During initial setup, choose Restore from iCloud Backup or connect to a Mac/PC to restore from a local Finder/iTunes backup. Keep in mind this replaces all current data on the phone with the older snapshot.
4. External Hard Drives, USB Drives, and SD Cards
Files deleted from external drives and camera SD cards usually bypass your computer’s Recycle Bin or Trash completely, disappearing immediately. Fortunately, external media rarely uses aggressive TRIM commands, giving you a high chance of success if you act carefully:
- Disconnect the Drive Immediately: Eject the USB drive, external hard drive, or SD card right away so background processes do not write new thumbnails or system indexes to it.
- Connect to a Desktop or Laptop: Plug the drive into a Windows PC or Mac.
- Scan with Recovery Software: Launch a recovery program installed on your computer’s internal drive (such as PhotoRec, TestDisk, Recuva, or Disk Drill), select the external drive as the target, and run a deep scan.
- Save Recovered Files Elsewhere: Always export recovered files to your computer’s internal drive or a different external drive—never back onto the same card or drive you are recovering from.
If an external hard drive makes clicking, grinding, or beeping noises, or does not appear in Windows Disk Management or macOS Disk Utility at all, unplug it immediately. Software cannot fix mechanical or circuit-board failure, and keeping it powered on can scratch the internal platters beyond repair—contact a professional cleanroom data recovery lab instead.
Protecting your data permanently comes down to following the 3-2-1 backup rule: keep three total copies of your important files, stored on two different types of media (such as your device and an external drive), with at least one copy stored off-site in the cloud. Once automated backups are running in the background, an accidental deletion becomes a minor inconvenience rather than a permanent loss.