Files saved to OneDrive or SharePoint are protected by automatic version history and a two-stage recycle bin. This means accidentally saving over a file, making unwanted edits, or even permanently deleting something is often completely reversible... if you act quickly and know where to look.
|
✅ The good news: If your file is in OneDrive or SharePoint, there is a very good chance you can get it back. Work through this article from the top - most recoveries take under 2 minutes. |
Find Your Scenario
Start here - find what happened and jump straight to the right section:
|
What happened? |
Where to go |
|
I accidentally saved over my file / made unwanted edits |
→ Version History (Part 1) |
|
I deleted a file and need it back |
→ Recycle Bin - First Stage (Part 2) |
|
The file isn't in my Recycle Bin - it was deleted a while ago |
→ Recycle Bin - Second Stage (Part 3) |
|
Someone else deleted a shared file from SharePoint |
→ SharePoint Recycle Bin (Part 4) |
|
The file has been gone for more than 93 days |
→ Contact IT - may still be recoverable (Part 5) |
|
I need to see what the file looked like 2 weeks ago |
→ Version History (Part 1) |
|
I want to compare two versions of a file |
→ Version History (Part 1) |
Part 1: Version History - Undo Unwanted Changes
Every time a file saved to OneDrive or SharePoint is edited, Microsoft automatically saves a version. You can browse these versions, preview any of them, and restore one - without losing the current version permanently.
|
🧠 Think of it like this: Version history is an unlimited undo button that goes back days, weeks, or even months - not just your last few keystrokes. |
How to access version history in the browser (office.com)
- Open the file in your browser from OneDrive or SharePoint.
- Click the file name at the top of the browser window. A dropdown will appear - select Version history.
- A panel will open on the right showing a list of saved versions, each with a date, time, and the name of who made the change.
- Click any version to preview it - the document will display that version without changing the current file.
- To restore it: click Restore at the top of the preview. The selected version becomes the current version. The version you just replaced is not deleted - it stays in the list so you can always go back.
|
📷 Video cue: Show a Word document open in the browser, clicking the file name at the top, selecting Version history, the panel opening with a list of versions, clicking an older version to preview it, and clicking Restore. |
How to access version history from the OneDrive or SharePoint file browser
- Go to onedrive.com or your SharePoint site and find the file - do not open it.
- Hover over the file name and click the three dots (...) that appear.
- Select Version history from the menu.
- Follow the same preview and restore steps as above.
How to access version history on mobile
- Open the OneDrive app on your phone.
- Navigate to the file - do not open it.
- Tap the three dots (...) next to the file name.
- Tap Version history. Browse, preview, and restore the same way.
|
💡 Pro tip - Name Important Versions: In version history, click the three dots next to any version and select Name this version. Give it a meaningful label like "Approved by manager" or "Before Q2 changes." Named versions are easy to find later and are never automatically pruned. |
|
⚠️ Version history only works for cloud files. If the file is saved on your local hard drive, Desktop, or Downloads folder and not synced to OneDrive, there is no version history. This is the most important reason to save everything to OneDrive or SharePoint. |
Part 2: Recovering a Deleted File - OneDrive Recycle Bin
When you delete a file from OneDrive, whether from File Explorer, the browser, or a mobile app, it goes to the OneDrive Recycle Bin, not the Windows Recycle Bin. It stays there for 93 days before being permanently deleted.
Restore a deleted file from OneDrive (browser)
- Go to onedrive.com and sign in with your work account.
- In the left navigation panel, click Recycle bin.
- Browse the list - files are sorted by date deleted, most recent first.
- Click the checkbox next to the file or folder you want to restore.
- Click Restore in the toolbar at the top. The file returns to its original location.
|
💡 Tip: Use the search box at the top of the Recycle Bin page to find a file by name if the list is long. You can also sort by Date deleted to find recently removed files quickly. |
Part 3: Second Stage Recycle Bin - Files Deleted from the Recycle Bin
If a file has been deleted from the Recycle Bin - either manually or because the 93-day window passed - it moves to the Second Stage Recycle Bin. This is a safety net that keeps the file for up to another 93 days.
Accessing the second stage recycle bin
- Go to onedrive.com and click Recycle bin in the left panel.
- At the bottom of the Recycle Bin page, look for a link that says Second stage recycle bin. Click it.
- Find the file and click the checkbox next to it.
- Click Restore - the file will return to its original location.
|
⚠️ If you don't see the second stage link: It only appears when there are files in the second stage. If the link is missing, there is nothing there - move on to Part 5 and contact IT. |
Part 4: Recovering Files Deleted from SharePoint
Files deleted from a SharePoint library, including files in Teams channels, go to the SharePoint site's Recycle Bin, not your OneDrive. Any member of the site can restore files from the first stage. The second stage requires a site owner or IT admin.
Restore a deleted file from SharePoint (first stage)
- Go to the SharePoint site where the file was stored.
- In the left navigation, click Recycle bin. If you don't see it, click the Settings gear icon → Site contents → Recycle Bin.
- Find the file, check the box next to it, and click Restore.
- The file returns to the library it was deleted from.
SharePoint second stage (site owner or IT)
If the file is not in the first stage recycle bin, a site owner or IT admin can check the second stage:
- In the SharePoint site Recycle Bin, scroll to the bottom and click Second stage recycle bin.
- Find the file and restore it.
- If you are not a site owner and the file is gone from the first stage, contact IT or the site owner and ask them to check the second stage.
|
💡 Files deleted from Teams channels: Files shared in a Teams channel live in SharePoint. If someone deletes a file from the Files tab in a Teams channel, recover it from the SharePoint site recycle bin - not from OneDrive. Go to the SharePoint site linked to that team and follow the steps above. |
Part 5: Retention Limits - How Long Files Are Kept
Files do not stay recoverable forever. Here is how long Microsoft keeps deleted files and version history at each stage:
|
Where it was deleted from |
How long it's kept |
Notes |
|
OneDrive Recycle Bin (first stage) |
93 days |
Accessible by the user directly at onedrive.com |
|
OneDrive Recycle Bin (second stage) |
93 days additional |
Accessible by the user at onedrive.com → Recycle Bin → Second stage recycle bin |
|
SharePoint Recycle Bin (first stage) |
93 days |
Accessible by any site member with the right permissions |
|
SharePoint Recycle Bin (second stage) |
93 days additional |
Accessible by SharePoint site owners or IT admins |
|
Version history |
500 versions or 180 days |
Whichever limit is hit first - older versions are pruned automatically |
|
Beyond all recycle bins |
IT may have backup |
Not guaranteed - contact IT immediately for best chance of recovery |
|
⚠️ Act quickly. The sooner you try to recover a file, the more options you have. Files beyond the recycle bin windows may still be recoverable by IT from backups - but this is not guaranteed and is much harder the longer you wait. |
When to contact IT for file recovery
- The file is not in either stage of the Recycle Bin
- The file has been gone for more than 93 days
- An entire SharePoint library or large number of files were deleted at once
- You believe a file was deleted by someone else without authorization
- You need a version older than what version history shows
|
🔴 Large-scale deletion - contact IT immediately. If a large number of files or an entire library has been deleted - whether accidentally or otherwise - do not attempt to restore them yourself. Contact IT right away. Mass restorations can sometimes cause conflicts if done incorrectly. IT can perform a coordinated recovery. |
Part 6: Preventing Accidental Loss
- Always save to OneDrive or SharePoint - never to your local C: drive, Desktop, or Downloads folder. Files not in the cloud have no version history and no recycle bin safety net.
- Name important versions. After finishing a significant milestone (completed report, approved draft), open version history and name that version. It will never be pruned.
- Don't delete files you're unsure about. Move them to a subfolder called Archive instead. Deletion is permanent once both recycle bin stages are exhausted.
- Before overwriting a shared file, check who else uses it. If multiple people rely on a file, coordinate changes rather than replacing it entirely - version history protects you, but it is better not to need it.
- Check the Recycle Bin before asking IT. Nine times out of ten, the file is there. It takes 30 seconds to check and saves a help desk ticket.
|
✅ Cloud files are protected. Local files are not. If it is in OneDrive or SharePoint, it has version history, a two-stage recycle bin, and 186 days of safety net. If it is on your hard drive, none of that applies. Save everything to the cloud. |
|
🛟 Still stuck? Contact the IT Help Desk. For file recovery emergencies, call PFM rather than submit a ticket - the sooner IT knows, the better the chances of recovery. |

