Skip to content

Recover Deleted or Overwritten Files in SharePoint Online

Admin
November 20, 2026
5 min read
Intermediate
💻 Target OS: SharePoint Online (Microsoft 365)

Before you begin

  • Applies to:SharePoint Online sites with deleted files or overwritten versions.
  • Where to start:Open the affected SharePoint site and go to the library where the file was stored.
  • What you need:Have the exact site, library, and file names. Confirm who can approve and perform the restore. If malicious changes are suspected, coordinate incident response and containment before recovery.
Guide tools
Guide tools
0/0 Steps (0%)

Troubleshooting Steps

01

Determine whether the file is missing or changed

Start here

Use the browser and exact site, library, and path. Check whether the file was renamed, moved, overwritten, or deleted. Record the last known good date, change time, and affected file count. If only a synchronized copy looks wrong, compare it with SharePoint in the browser before restoring.

02

Recover one overwritten file with version history

Where to click

  1. In the document library, open the file’s More options menu → Version history.
  2. Open or review the candidate version when supported. Use its Restore action only after the version is confirmed.

Review authors, dates, and available content. Confirm the version with the owner. If the current version contains edits worth keeping, preserve an approved copy first. Restoring an earlier version makes it current and retains version history, subject to the library’s version limits.

03

Recover a deleted item in the site Recycle Bin

Where to click

  1. On the affected site, open Recycle Bin, or use Site contents → Recycle bin if the site menu differs.
  2. Select the specific item and choose Restore.

Confirm original location, deletion time, and name before restoring. If the parent library was also deleted, recover the parent first. When a file already exists at that path, check the restored name and contents before replacing or renaming anything.

04

Check the second-stage Recycle Bin

Ask a site collection administrator to check the second-stage bin if the item is absent from the first. Both stages share the 93-day period from original deletion in SharePoint Online. Moving to the second stage does not restart that period. If the item is absent, check your approved backup or escalation path and record which sources remain.

05

Scope a library-wide recovery for mass changes

Where to click

  1. As a site administrator, open the affected library and select Settings → Restore this library.
  2. Review the activity chart and the exact activities selected. Have the library owner approve the scope before selecting Restore.

Use the modern library’s restore feature when a large set of changes must be rolled back within the supported 30-day window. The feature relies on version history and recycle-bin data. In the activity list, choosing the first activity to undo also selects later activity. Review affected files and retain legitimate newer work through the approved location before continuing.

06

Validate recovery as an ordinary user

Open representative files in the original paths using an authorized non-admin identity and check content, version, and expected access. For a library restore, review any RestoreLog file and reconcile skipped or failed items. Check that documented legitimate edits are present or recoverable. Keep a record of every exception.

07

Record the recovery and hand off remaining gaps

Verify

Capture object paths, recovery method, selected versions or time, and who verified the result. If the restore itself must be reversed, assess the impact of undoing it before using Microsoft’s restore-the-restore option. If built-in recovery is exhausted, involve the approved backup or support owner with the scope and timestamps.

Decide What to Do Next

FindingNext action
One file exists but content is wrongInspect version history and restore the known-good version.
A file or library was deletedCheck both recycle-bin stages. Restore the required parent first.
Many files changed togetherAssess a library restore and account for legitimate changes after the cutoff.
Requested point is outside built-in retentionEscalate to the authorized backup or support owner.

References

Comments