If you accidentally delete a file or folder in OneDrive, you may be able to recover it later from the OneDrive recycle bin. If you need to restore a SharePoint file or folder, see how to restore items from the SharePoint recycle bin.
Go to the OneDrive website.
You might need to sign in with your Microsoft account, or your work or school account.
In the navigation pane, select Recycle bin.
Select the files or folders you want to restore by pointing to each item and clicking the circle check box that appears, and then click Restore.
Tip: If you're using OneDrive with your personal account, you can select Restore all items to restore everything in your recycle bin. This option isn't available in your work or school OneDrive.
Note: If you're signed into OneDrive with a Microsoft account, items in the recycle bin are automatically deleted 30 days after they're put there. If your recycle bin is full, the oldest items will be automatically deleted after three days. If you're signed in with a work or school account, items in the recycle bin are automatically deleted after 93 days, unless the administrator has changed the setting. See more information about how long deleted items are kept for work or school accounts.
Need more help?
Get help by emailing the OneDrive support team. In a OneDrive mobile app, shake the device to get help or share feedback on OneDrive.
Check the OneDrive help center.