How to Recover Deleted Documents in Windows
In this article
You can recover deleted documents in Windows in most cases, provided you act quickly and avoid writing new data to the drive. The simplest method is to check the Recycle Bin, where most deleted files land by default. If the file is not there, use File History or a backup, then try a reputable file recovery tool that scans the drive for traces of the deleted file. Stop using the drive immediately after deletion to maximise your chances.
What You'll Need
- A Windows PC with the drive containing the deleted document connected and powered on.
- Administrator rights to install recovery software or access backup settings.
- A separate drive (external USB or another internal drive) to save recovered files, so you do not overwrite the deleted data.
- Optional: a recent backup on an external drive or cloud service, or File History enabled beforehand.
Step-by-Step
- Check the Recycle Bin first. Open the Recycle Bin from the desktop or File Explorer. Locate your document by name or date deleted, right-click it and choose Restore. The file returns to its original folder. If the Recycle Bin was emptied or the file was deleted with Shift+Delete, it will not be there.
- Search your entire PC. Sometimes a file is moved rather than deleted. Use the search box in File Explorer (or press Windows key + S and type the filename) to look across all drives. Check the Documents, Desktop and Downloads folders manually as well.
- Look in File History or a backup. If you had File History turned on, go to Settings > Update & Security > Backup (labels vary by Windows version) and click "More options" to see restore options. Alternatively, open Control Panel > System and Security > File History and choose "Restore personal files". If you use a third-party backup service (OneDrive, Google Drive, etc.), check its version history or trash online.
- Use Previous Versions (if available). Right-click the folder where the document was saved, choose Properties, then the Previous Versions tab. If System Protection created restore points, you may see earlier copies of the folder. Select a version and click Restore or Open to copy the file out. This only works if System Protection was enabled for that drive.
- Try a file recovery tool. Download a reputable recovery program from the official vendor website (avoid third-party download sites). Install it on a different drive than the one you are recovering from, if possible. Launch the tool, select the drive that held the document, and run a scan. Preview found files, then recover the document to a separate drive. Free versions often limit how much you can recover; paid versions unlock more.
- Check cloud sync trash. If the document was stored in OneDrive, Dropbox or Google Drive, open the service's website and look for a "Deleted files" or "Trash" section. Restore the file from there. Note that sync clients may remove local copies when a file is deleted online, so act before the trash is emptied.
- Use the Command Prompt for hidden files (advanced). Sometimes a file is marked hidden. Open Command Prompt as administrator, navigate to the folder (e.g.,
cd C:\Users\YourName\Documents) and rundir /ato list hidden files. If you find the document, useattrib -h -s "filename.docx"to unhide it. This only helps if the file still exists but is hidden, not if it was deleted.
Common Mistakes
- Continuing to use the drive after deletion. New files, downloads or even temporary files can overwrite the space where your deleted document sits, making recovery impossible. Stop saving anything to that drive until you have tried recovery.
- Installing recovery software on the same drive. The installer writes data to the drive, potentially overwriting the very file you want back. Always install to a different drive or use a portable version on a USB stick.
- Emptying the Recycle Bin too quickly. If you realise a file was deleted by mistake, check the Recycle Bin before doing anything else. Emptying it removes the easy recovery path.
- Ignoring cloud trash. Many people forget that cloud services keep deleted files for a limited time. Check the online trash before assuming the file is gone forever.
- Using untrusted recovery tools. Some free tools bundle adware or are outright scams. Stick to well-known vendors with official download pages.
Tips
- Act fast. The sooner you attempt recovery, the better the odds. Deleted file data remains on disk until overwritten, but that can happen within minutes on a busy system.
- Enable File History or a backup now. Set up automatic backups to an external drive or cloud service so future deletions are easy to undo.
- Use a write-blocker for critical drives. If the document is extremely important, consider connecting the drive to another PC via a write-blocker to prevent any writes during recovery.
- Check Recycle Bin settings. By default, files are moved to the Recycle Bin, but you can adjust the size limit or disable it per drive. Make sure it is enabled for the drive where you save documents.
- Keep recovery software handy. Having a trusted recovery tool already downloaded (on a USB stick) saves time when you need it most.
Troubleshooting
- Recovery tool finds nothing. The file may have been overwritten, or the scan may need a deeper mode (often called "deep scan" or "raw recovery"). Try a different tool or scan the entire drive rather than a specific folder.
- Recovered file is corrupted. This can happen if parts of the file were overwritten. Try recovering again to a different location, or use a file repair tool if available. For Office documents, the built-in "Open and Repair" feature (File > Open > select file > arrow next to Open > Open and Repair) may help.
- Previous Versions tab is missing. System Protection may be turned off for that drive. You can enable it via Control Panel > System > System Protection, but this only creates future restore points, not past ones.
- File History shows no backups. File History must be turned on before the deletion. If it was off, you cannot use it to recover older files. Check if another backup solution was in use.
- Cloud trash is empty. Some services permanently delete files after a set period (e.g., 30 days). If the trash is empty, the file may be gone from the cloud. Contact the service's support for further options.
Frequently Asked Questions
Can I recover a file deleted with Shift+Delete?
Yes, but it bypasses the Recycle Bin. You will need a file recovery tool or a backup. Act quickly and avoid writing to the drive.
How long do deleted files stay recoverable?
Until the disk space is overwritten. This can be minutes or months depending on drive usage. There is no fixed time limit, so attempt recovery as soon as possible.
Does Windows have a built-in recovery tool?
Windows offers File History and Previous Versions, but these require prior setup. There is no built-in undelete tool for files deleted without a backup.
Can I recover files from a formatted drive?
Yes, recovery tools can often scan formatted drives, but success depends on whether new data was written after formatting. Avoid using the drive until you try.
Is it safe to use free recovery software?
Only if it comes from a reputable vendor's official website. Some free tools have limits or bundle unwanted software. Read reviews and avoid unknown sources.
What if the document was on a network drive?
Check with your network administrator; they may have backups or shadow copies. Local recovery tools typically cannot scan network drives directly.