Skip to content

How to Recover Deleted Files in OneDrive and SharePoint Online (Step-by-Step Guide)

By · October 17, 2026 · Updated October 17, 2026

Accidentally deleted an important document in Microsoft 365? Before recreating it, check the correct recycle bin. OneDrive, SharePoint Online and Microsoft Teams files have several recovery options, but the right one depends on where the document was stored and how long ago it was deleted.

Quick answer: For your own OneDrive, open OneDrive on the web → Recycle bin → select files → Restore. For a SharePoint document or Teams channel file, open its SharePoint site → Recycle bin → Restore. If a SharePoint file is no longer in the first-stage bin, an authorized site administrator may find it in the second-stage recycle bin.

Before you start: find out where the file was stored

Microsoft Teams channel files are ordinarily stored in a SharePoint site, while files shared through some chats may be stored in the sender’s OneDrive. Always check the actual storage location. If someone shared a file with you, the owner’s recycle bin or SharePoint site may be the correct recovery location, not yours.

Instructional diagram (not a screenshot): Choose the correct recovery location

My files in OneDrive OneDrive on the web → Recycle bin
SharePoint site / Teams channel Site documents → Recycle bin
Missing from SharePoint first-stage bin Ask site administrator to review second-stage bin
File exists but contents changed Version history
Many files changed or encrypted Evaluate Restore your OneDrive (eligible Microsoft 365 accounts)
Illustrative navigation guide. Actual Microsoft 365 menus may differ by account and tenant.

Method 1: Recover a deleted file in OneDrive

Step 1. Sign in to the correct OneDrive account

Visit onedrive.com. Use the personal, work, or school account that actually owns the deleted files. If you have multiple accounts, look for the organization name and verify you’re in the correct library.

Step 2. Open the Recycle bin

In the left navigation pane, select Recycle bin. Review file names, their original locations and deletion dates. For a missing folder, remember that its contents may be grouped under the original folder name.

Step 3. Select and restore the files

Tick the check box beside the desired items, then choose Restore. OneDrive normally returns restored files to their original location. Navigate there and open the recovered file to verify it is the right copy.

Instructional diagram (not a screenshot): OneDrive recovery controls

Navigation OneDrive → Recycle bin
Select Checkbox next to the deleted document or folder
Action Restore
Verify Find the restored item in its original folder and open it
Illustrative navigation guide. Actual Microsoft 365 menus may differ by account and tenant.

Retention: Deleted OneDrive personal-account items generally remain available for up to 30 days; work or school accounts generally have up to 93 days, unless the administrator has changed the policy. Permanently deleted content cannot be recovered through the ordinary OneDrive recycle bin. See Microsoft’s OneDrive recovery guidance.

Method 2: Restore a deleted file from SharePoint Online

Step 4. Open the SharePoint site

Open the SharePoint team or communication site that originally contained the file. If you found the document through Microsoft Teams, open the channel’s Files or Shared area and choose Open in SharePoint, if displayed.

Step 5. Find the site’s Recycle bin

On the SharePoint site, choose Recycle bin from the left navigation, or use the site’s settings/navigation options if it is hidden. Your visibility and restore permissions depend on the site’s configuration.

Step 6. Restore and verify the SharePoint item

Choose the file or folder and select Restore. Verify the library and folder where it reappears. Check access permissions and document links if you are restoring content used by a team.

Instructional diagram (not a screenshot): SharePoint first-stage recovery

Site The original SharePoint site
Location Recycle bin (first-stage)
Action Select item → Restore
Result Item returns to original site/library location
Illustrative navigation guide. Actual Microsoft 365 menus may differ by account and tenant.

Method 3: Recover from SharePoint’s second-stage Recycle Bin

Step 7. Ask a site administrator to check the second stage

If the item is absent from the visible SharePoint recycle bin, it may have been removed from the first stage and moved into the second-stage (site collection) recycle bin. An appropriately authorized site administrator can review this location, select the item and restore it.

Step 8. Check the original deletion date

For SharePoint Online, the normal 93-day retention period is a combined period across both stages, counted from the original deletion date—not 93 days in each bin. Tenant policies may impose other outcomes. If it has expired or was permanently removed, ask your Microsoft 365 administrator to investigate supported backup, retention or eDiscovery options rather than assuming the second stage will always help. See Microsoft’s SharePoint recycle bin instructions.

Instructional diagram (not a screenshot): Two-stage SharePoint deletion flow

File deleted First-stage Recycle bin
Item removed from first-stage bin Second-stage Recycle bin (administrator access)
Time limit Generally 93 days in total from original deletion
Past supported retention Investigate organizational retention/backup options; restoration not guaranteed
Illustrative navigation guide. Actual Microsoft 365 menus may differ by account and tenant.

Method 4: Restore a previous version instead of a deleted file

Step 9. Open Version history

If the document is present but someone overwrote its contents, don’t delete it and attempt recycle-bin recovery. In OneDrive or a SharePoint document library, select the existing file, open its menu and choose Version history. Review the timestamps and author information, then preview or restore the version you need. Check with collaborators first because restoring an earlier version changes the current document.

Method 5: Restore your entire OneDrive after major changes

Step 10. Consider Restore your OneDrive

For eligible Microsoft 365 subscribers and supported organizational accounts, Restore your OneDrive can roll back file and folder actions from the previous 30 days. This is useful after widespread accidental changes or malware, but it can affect many files—not just the one you lost. Review the activity timeline and consequences before committing. Newer changes after the chosen restore point may be moved to the recycle bin. Follow Microsoft’s official Restore your OneDrive instructions and involve your IT administrator for work accounts.

Which recovery method should you use?

Problem First place to look
Deleted file in your personal OneDrive OneDrive Recycle bin (usually 30 days)
Deleted file in work/school OneDrive OneDrive Recycle bin (usually up to 93 days)
Deleted SharePoint or Teams channel document SharePoint first-stage Recycle bin
Removed from SharePoint’s first stage Second-stage Recycle bin through site administrator
Accidentally overwritten a document Version history
Many OneDrive files changed or were damaged Restore your OneDrive, where eligible

Troubleshooting: What if the deleted document is missing?

You’re searching the wrong account or site

Confirm whether the file was stored in personal OneDrive, work OneDrive, a SharePoint library or a Teams channel. The Shared list doesn’t mean the item belongs to your recycle bin.

The item was deleted on a computer

For a file deleted from a synchronized folder, check the web recycle bin. A downloaded local copy may also appear in Windows Recycle Bin or macOS Trash; an online-only file normally won’t. Avoid further file movement until you’ve checked cloud sync status.

The item disappeared more than 93 days ago

Standard work/school recycle-bin recovery may no longer be available. Ask administrators about retention policies and separately managed backups. Microsoft 365 retention is not the same thing as a guaranteed user-facing backup.

The restore option is unavailable

You may not have sufficient SharePoint permissions, the item may be subject to special controls, or the file may no longer be recoverable. Record the original file name, library, URL if known, deletion date and user account, then contact the site owner.

How to reduce future data loss

  • Use role-based SharePoint access rather than broad edit permissions everywhere.
  • Teach users the difference between Delete and Free up space in OneDrive.
  • Keep sensible version-history settings for shared document libraries.
  • Consider organizational backup and retention requirements separately from the standard recycle bin.
  • Resolve sync failures before attempting large file moves. Read our guide to fixing OneDrive sync problems in Windows.

Frequently asked questions

Does emptying the SharePoint recycle bin permanently delete a file immediately?

Removing it from the first-stage recycle bin typically moves it to the second stage, where authorized administrators may be able to recover it until the combined retention period ends. Permanently removing it from the second stage is different.

Can I restore a file shared by someone else?

Usually the owner or the SharePoint site responsible for storing the content needs to perform recovery. A file merely visible in your Shared view is not necessarily stored in your own OneDrive.

Does OneDrive Restore your OneDrive recover everything forever?

No. It is a time-limited feature, normally covering actions within the previous 30 days for eligible accounts. It is not a substitute for an independent backup policy.

Official Microsoft documentation

Visual note: instructional diagrams in this tutorial are original simplified navigation guides, not genuine screenshots of a live tenant. Featured artwork is an original conceptual illustration of cloud-file recovery.