If you have just deleted a file in SharePoint or OneDrive, there is a very good chance you can get it back. Microsoft 365 keeps deleted files in a two-stage Recycle Bin for up to 93 days, so unless someone has permanently emptied the bin, your file is almost certainly still recoverable. This guide walks you through every recovery option, from the simplest self-service steps to what to do when you need IT involved.
How Long Does Microsoft 365 Keep Deleted Files?
When you delete a file in SharePoint or OneDrive, it moves to the First Stage Recycle Bin. It stays there for 93 days before being automatically removed. If you or a site admin empties the First Stage bin before that window closes, the file moves to the Second Stage Recycle Bin, which is managed at the site collection level. Only a SharePoint administrator can access and restore files from the Second Stage bin. The 93-day clock runs from the original deletion date across both stages.
How to Recover a File from the SharePoint Recycle Bin
This is the fastest self-service option and works for most deleted files.
- Open the SharePoint site where the file was stored.
- In the left-hand navigation, click Recycle Bin. If you do not see it, click Site contents first, then look for the Recycle Bin link at the top right.
- Find the file you want to restore. You can use the search bar or sort by date deleted.
- Tick the checkbox next to the file name.
- Click Restore in the toolbar at the top.
- The file will be returned to its original location on the site.
If the file is not visible in the First Stage bin, it may have been moved to the Second Stage bin. In that case, contact your IT team or a SharePoint administrator to proceed.
How to Recover from the Second Stage Recycle Bin (Admin Only)
The Second Stage Recycle Bin captures files that were permanently deleted from the First Stage bin. Only a site collection administrator can access this area.
- Go to the SharePoint site and click Recycle Bin in the left navigation.
- At the bottom of the Recycle Bin page, click Second-stage recycle bin.
- Locate the file, tick the checkbox, and click Restore.
If you do not have admin access, reach out to your IT team with the file name, approximate deletion date, and the site it was stored on. They can restore it on your behalf.
How to Recover a Previous Version Using Version History
Version History is useful when the file still exists but has been overwritten or changed in a way you want to undo. SharePoint and OneDrive for Business track versions automatically when version history is enabled on a library.
- Navigate to the document library where the file is stored.
- Click the three dots (…) next to the file name to open the context menu.
- Select Version history.
- A panel will list all saved versions, including who made the change and when.
- Click the three dots next to the version you want and select Restore to make it the current version, or Open to review it first.
Version history does not require admin access. Any user with edit permissions on the file can view and restore previous versions.
How to Recover a Deleted File in OneDrive
The process is similar for both OneDrive Personal (consumer) and OneDrive for Business accounts.
OneDrive for Business
- Go to onedrive.com and sign in with your work account.
- Click Recycle Bin in the left navigation panel.
- Find and select the file, then click Restore.
Deleted files in OneDrive for Business are retained for 93 days. After that period, they are permanently removed.
OneDrive Personal
- Sign in to onedrive.live.com with your Microsoft account.
- Click Recycle Bin in the left navigation.
- Select the file and click Restore.
Personal OneDrive accounts retain deleted files for 30 days (or until the bin reaches its storage limit), so act quickly if you realise something has been deleted.
How Microsoft Copilot Can Help
If you are not sure where a file was saved or which site it belonged to, Microsoft 365 Copilot can help you track it down. You can ask Copilot questions like “Find the proposal document I was working on last Tuesday” or “Where did I save the budget spreadsheet from last month?” Copilot searches across your OneDrive, SharePoint sites, and email attachments to surface relevant files. This is particularly useful when you cannot remember the file name or exact location.
If the file no longer appears in search results at all, it may have been permanently deleted, which is when IT involvement becomes necessary.
What to Do If the File Is Truly Gone
If you have checked both stages of the Recycle Bin and the file is no longer there, contact your IT team as soon as possible. They can check whether:
- A site collection admin can still recover it from backend storage
- A third-party backup solution captured a copy (depending on your organisation’s backup policy)
- Microsoft support can assist with out-of-retention recovery in certain scenarios
Provide your IT team with as much detail as possible, including the file name, the approximate date it was deleted, who may have deleted it, and which SharePoint site or OneDrive it was stored in. The faster you escalate, the better the chances of recovery.
If your organisation does not have a backup solution outside of Microsoft 365 native retention, this is a good time to have a conversation about implementing one. Speak to the team at Otto IT or book a call here to review your current data protection setup.
Prevention Tips
- Enable version history on all document libraries so previous versions are always available.
- Do not permanently delete files until you are certain they are no longer needed. Let the Recycle Bin handle the cleanup automatically.
- Use retention policies in Microsoft 365 compliance settings to preserve content that must be kept for regulatory or business reasons.
- Consider a third-party backup solution if your organisation works with critical files. Native Microsoft 365 retention is not a substitute for a dedicated backup.
- Audit permissions regularly so only the right people can permanently delete files from shared sites.
Frequently Asked Questions
How long do I have to recover a deleted file in SharePoint?
You have up to 93 days from the original deletion date to recover a file from the SharePoint Recycle Bin, assuming it has not been permanently deleted before that window closes.
Can I recover a file deleted by someone else?
Yes. If you have site owner or admin permissions, you can restore files deleted by any user on that site. If you do not have those permissions, a SharePoint administrator can do it for you.
What happens if the Recycle Bin is full?
When the Recycle Bin reaches its storage limit, the oldest items are moved to the Second Stage bin or permanently removed to make space. This is another reason not to rely on the bin as long-term storage.
Does OneDrive keep deleted files from synced folders?
Yes. If you delete a file from a synced OneDrive folder on your computer, it goes to the OneDrive Recycle Bin in the cloud, not just your local Recycle Bin. Check both places if the file is missing.
Can Microsoft recover a file that has been permanently deleted?
In some cases, Microsoft support may be able to assist within a short window after permanent deletion, but this is not guaranteed. Your best option is always to act quickly and contact your IT team before the window closes.
Need help recovering a deleted file or reviewing your data backup setup? The team at Otto IT specialises in Microsoft 365 for professional services businesses. Get in touch or book a call here to talk through your options.
managed it support articles
Related Blog Articles
Discover more insights to optimise your business with the latest IT trends and best practices. Stay ahead of the curve by learning how to leverage cutting-edge technology for success. Explore expert advice and valuable guidance to navigate the evolving world of IT solutions