Overview
When you delete a file or folder in SharePoint Online, Microsoft Teams, or OneDrive, it goes to a Recycle bin first. You can restore it from there for 93 days from the time it was deleted from its original location. If a file was changed instead of deleted, you can restore an earlier version of it.
SharePoint has two stages of recycle bin:
- First-stage recycle bin (the site's Recycle bin): anyone who can edit files on the site can restore items here.
- Second-stage recycle bin (the site collection recycle bin): items move here when they are deleted from the first-stage recycle bin or it is emptied. Only site owners (site collection administrators) can restore items here.
The 93 days count both stages together. After 93 days, the item is permanently deleted.
In this article:
- Internet access
- Web browser
- Be a SharePoint site, or Teams owner
Microsoft: Restore items in the recycle bin that were deleted from SharePoint or Teams
This page shows how to open a site's Recycle bin, select deleted items, and restore them to their original location. For a Teams channel, it shows how to open the channel's files in SharePoint first.
UA note: Sign in to Microsoft 365 with your UA email address and password. Every Microsoft Team at UA has a SharePoint site, so files deleted from a Teams channel are restored from that site's Recycle bin.
Microsoft: Restore deleted items from the site collection recycle bin
This page shows how to open the Second-stage recycle bin link at the bottom of a site's Recycle bin page and restore items from it.
UA note: If the file is not in the site's Recycle bin, ask a site or team owner to check the second-stage recycle bin.
Microsoft: Restore deleted files or folders in OneDrive
This page shows how to open the Recycle bin in OneDrive on the web and restore deleted files or folders. Work or school accounts can restore items deleted in the last 93 days.
UA note: Files shared in a Teams chat are saved in the OneDrive of the person who shared them. That person restores them from their own OneDrive Recycle bin.
Microsoft: Restore your OneDrive
This page shows how to return your whole OneDrive to an earlier date in the last 30 days. Use it after many files were deleted or changed at once, such as by malware.
Use version history when a file was changed or overwritten, not deleted. Every change to a file saved in SharePoint, Teams, or OneDrive is kept as a version.
Microsoft: Restore a previous version of an item or file in SharePoint
This page shows how to open Version history for a file in a SharePoint library and restore an earlier version. The earlier version becomes the current one, and the newer versions are kept.
Microsoft: Restore a previous version of a file stored in OneDrive
This page shows the same steps for a file in your OneDrive, on the web or in File Explorer.
UA note: For a file in a Teams channel, open the channel's files in SharePoint first, then use Version history there.
Microsoft: Restore a shared library
This page shows how a site owner can use Restore this library to roll back a whole document library to a date in the last 30 days. It is meant for large problems, such as many files deleted at once, damaged files, or malware.
Important
Currently SharePoint only allows restoration of a site's document library for the previous 30 days, so it is imperative to act promptly once an issue has been identified. As mentioned, it is possible to restore deleted files individually for up to 93 after date of first deletion.
Warning
Only use this option in an emergency. Before you start:
- Try the Recycle bin or version history first.
- The restore covers the whole library. You cannot limit it to one folder.
- Files created or changed after the date you pick are removed or rolled back. When you pick a change, every change after it is undone too.
- Save copies of any newer files you need to a place outside OneDrive or SharePoint synced folders. Add them back after the restore.
- Restores can only go back 30 days, so act quickly.
- A large library can take a long time to restore.
UA note: For a Teams channel, open the channel's files in SharePoint first. Each standard channel in a team is a folder in the same library, so a restore affects every standard channel. Private and shared channels have their own sites. Only team owners and site owners see Restore this library.
For quick answers about restoring files, ask Spirit, the AI chat assistant in the bottom corner of this page.
Restore files as soon as you can. Once an item is deleted from the second-stage recycle bin, or 93 days have passed, it cannot be restored.
When you restore a file from a folder that was deleted, the folder is created again in its original location. The other files in that folder are not restored unless you restore them too.
Files in a site's first-stage Recycle bin count against the site's storage. Files in your OneDrive Recycle bin count against your Microsoft 365 storage limit.
To learn more, see these articles:
For support, requests may be submitted anytime using the appropriate Support For Office 365 @ UA form. Requests generate a Ticket which will be worked in order received and urgency by UAA Employees with the knowledge and permissions to assist with the request.
For immediate assistance please review the Contact Us page for the appropriate support group.