What happens when you delete a file
When you delete a file from your computer or phone, the file itself usually stays on the storage device. Deleting moves the file to trash or recycle bin, and emptying that bin tells the operating system the space is available for new data — but the old file remains until something else writes over it. This window is your recovery opportunity, and it can last anywhere from hours to months depending on how much you use the device.
The longer you wait after deletion, the smaller your chances of recovery. Every time you save a document, install a program, or download a photo, you risk overwriting the deleted file's data. The moment new data occupies that space, recovery becomes impossible.
Key Takeaways
- Deleted files remain on your storage device until new data overwrites them, so stop using the device immediately after noticing the loss.
- Windows users can check the Recycle Bin first; Mac users should check Trash — both hold deleted files for a period before permanent removal.
- Recovery software like EaseUS Data Recovery Wizard, Recuva, or PhotoRec can scan your drive for deleted file fragments and restore them in many cases.
- Cloud backup services like OneDrive, Google Drive, or iCloud often keep deleted files in a trash folder for 30 days or longer, making recovery simpler than using recovery software.
- If recovery software fails or the drive is damaged, a professional data recovery service can physically access the storage device, but costs range from several hundred to over a thousand dollars.
Check your trash or recycle bin first
On Windows, open File Explorer and look for the Recycle Bin icon on your desktop or in the sidebar. Double-click it to see what's inside. If your file is there, right-click it and select "Restore" — it returns to its original location. The Recycle Bin holds deleted files until you empty it manually or until it reaches its storage limit, which varies by drive size.
On Mac, click the Trash icon in the Dock (usually at the far right). Look for your file, right-click it, and select "Put Back" to restore it. Mac Trash works the same way as Windows Recycle Bin — files stay there until you empty it or the space fills up.
If your file is in trash or Recycle Bin, recovery is instant. If it's not there, someone may have already emptied the bin, or the file was deleted using a method that bypassed it — like using Shift+Delete on Windows or Command+Option+Delete on Mac, both of which skip the trash entirely.
Check cloud backup if you use one
If you store files in OneDrive, Google Drive, iCloud, Dropbox, or similar services, check the trash or bin folder within that service. Open the web version of your cloud service, look for a trash or deleted items folder, and see if your file is there. Most cloud services keep deleted files for 30 days before removing them permanently.
This route is often faster and more reliable than recovery software because the file is still intact on the cloud provider's servers. Simply select the file and choose "Restore" or "Recover" — the file returns to your main folder within seconds.
If you don't remember which cloud service you used, check your computer's file sync folders. On Windows, look in your user folder for OneDrive, Google Drive, or Dropbox folders. On Mac, check your home folder. These folders sync with the cloud version, so if the file was there, it's likely in the cloud trash too.
Use recovery software on Windows
Recuva (free, made by Piriform) is the most straightforward option for Windows. Download it from the official Piriform website, install it, and run the program. Click "Scan" and let it search your drive for deleted files. When the scan finishes, look for your file in the results — Recuva shows the file name, size, and likelihood of recovery (green means good chances, yellow means uncertain, red means unlikely). Select your file and click "Recover" to save it to a safe location.
EaseUS Data Recovery Wizard (free version available, paid version $50–$100) works similarly. Download from the official EaseUS website, run the program, select the drive you want to scan, and let it search. The free version recovers up to 2 GB of data. When recovery finishes, preview the files to confirm they're intact before saving them.
PhotoRec (free, open-source) is more technical but powerful. It works on Windows, Mac, and Linux. Download it, select your drive, and let it scan. PhotoRec recovers files by type rather than by name, so it's useful when you remember what kind of file you lost (photo, document, video) but not the name. Save recovered files to an external drive or different partition than the one you're scanning from.
Before running any recovery software, stop using your computer. Every file you open, every program you launch, and every download you make risks overwriting the deleted file. If you're recovering from your main drive, consider booting from a USB drive with recovery software instead, which uses almost no space on your main drive.
Use recovery software on Mac
EaseUS Data Recovery Wizard for Mac (free version available, paid version $50–$100) is the most common choice. Download from the official EaseUS website, open the app, select the drive you want to scan, and click "Scan Now". When the scan finishes, look for your file in the results. The free version recovers up to 2 GB. Preview files before recovery to make sure they're intact.
Disk Drill (free version available, paid version $90) is another option. Download from the official Disk Drill website, select your drive, and start the scan. Disk Drill shows a preview of recoverable files and lets you choose which ones to restore. The free version has limited recovery capacity.
PhotoRec works on Mac as well. Download it, run it from Terminal or use a graphical wrapper, select your drive, and let it scan. Like the Windows version, it recovers files by type and saves them to a safe location.
On Mac, stop using your computer immediately after noticing the deletion. Shut down the computer if possible rather than just closing the file. If you're recovering from your main drive, boot from an external drive with recovery software to minimize the risk of overwriting the deleted file.
When to use professional data recovery
If recovery software finds nothing, or if your drive is making clicking sounds, won't spin up, or isn't recognized by your computer, the storage device itself may be damaged. In these cases, professional data recovery is your only option. Services like DriveSavers, Secure Data Recovery, and IRecovery physically open the drive in a clean room and replace damaged components or extract data directly from the storage chips.
Professional recovery costs between $300 and $3,000 depending on the damage and the amount of data. Most services offer free diagnostics — they'll tell you whether recovery is possible and what it will cost before you commit. Turnaround is typically one to two weeks.
Before sending a drive to a professional service, stop using it entirely. Don't try to force it to work, don't open it yourself, and don't run recovery software on it — each attempt can make physical damage worse. Contact a few services, ask about their diagnostics process, and choose one with good reviews for your type of device.
How to prevent permanent deletion in the future
The best protection is a backup system that runs automatically. Cloud services like OneDrive, Google Drive, and iCloud back up files as you create them, so deletion is reversible for 30 days or longer. External hard drives with backup software like Windows Backup, Mac Time Machine, or third-party tools like Backblaze create snapshots of your entire system, letting you restore any file from any point in time.
A combination approach works best: use cloud backup for daily protection and an external drive for deeper backups. This way, if you delete a file by mistake, you have multiple recovery routes before you ever need recovery software.
Frequently Asked Questions
Can I recover a file if I've already emptied the recycle bin or trash?
Yes, in most cases. Emptying the bin tells your operating system the space is available, but the file data usually remains until something else writes over it. Recovery software can still find and restore it if the space hasn't been overwritten. The sooner you run recovery software after emptying the bin, the better your chances.
How long do I have to recover a deleted file?
It depends on how much you use your device. If you stop using it immediately, you may have weeks or months. If you continue saving files, installing programs, or downloading data, the window shrinks to days or hours. The more active your device is, the faster deleted files get overwritten.
Will recovery software work if my drive is making strange noises?
No. Clicking, beeping, or grinding sounds indicate physical damage to the drive. Running recovery software on a damaged drive can make the damage worse. Stop using the drive and contact a professional data recovery service instead.
Is it safe to use free recovery software?
Yes, as long as you download from the official website. Recuva, PhotoRec, and the free versions of EaseUS and Disk Drill are legitimate tools. Avoid downloading recovery software from third-party sites or app stores, as these may contain malware. Stick to the official websites of the software makers.
Can I recover files from a phone or tablet?
It's much harder than recovering from a computer. Phones use different storage technology and operating systems that don't work with standard recovery software. If you use cloud backup on your phone, check the cloud service's trash folder first. Otherwise, contact the phone manufacturer or a professional data recovery service that specializes in mobile devices.