Restore your OneDrive files

If your OneDrive files get deleted, overwritten, corrupted, or infected by malware, you may be able to restore your files or folders within 30 days by using one of the options listed below.

Notes: These options are available only for: 

  • Files or folders that are or were located in OneDrive.

  • Files that were modified or deleted within the last 30 days and haven't been permanently deleted using the Empty the recycle bin option.

Restore files or folders from the OneDrive recycle bin

If you accidentally delete a file or folder in OneDrive, you can recover it within 30 days from the OneDrive recycle bin. Go to the OneDrive website and select Recycle bin in the navigation pane. Select a file or folder in the recycle bin, and then select Restore. You can select multiple files or folders to restore or use Restore all items to restore all files and folders currently in the recycle bin. 

For more information, see Restore deleted files or folders in OneDrive.

Restore files from OneDrive version history

You can use OneDrive version history to restore older versions of files in your OneDrive. Go to the OneDrive website, right-click the document for which you want to restore an earlier version, and then click Version history. The file opens in a viewer. You can then select the older version that you want to restore, and then click Restore. You'll need to repeat these steps for each file you want to restore.

For more information, see Restore a previous version of a file in OneDrive.

Use OneDrive Files Restore

Microsoft 365 subscribers can use Files Restore to undo all the actions that occurred on both files and folders within the last 30 days.

Screenshot of using the activity chart and activity feed to select activities in Restore your OneDrive

You can subscribe to Office 365 now if you want to use Files Restore to restore your files. 

Restore files and folders from a cloud backup service

If you subscribe to a third-party cloud backup service and you have a backup of your OneDrive files from before the incident occurred, you may be able to restore all your files at once. Refer to the documentation for your service for details.

Learn more

Need more help?


Get online help
See more support pages for OneDrive and OneDrive for work or school.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

OneDrive Admins can also view the OneDrive Tech Community, Help for OneDrive for Admins.

Microsoft virtual support agent icon

Contact Support
If you still need help, contact support through your browser or shake your mobile device while you're in the OneDrive app.

OneDrive Admins can contact Microsoft 365 for business support.

Office 365 community forums

Got feedback?
You can suggest features you’d like to see us add to OneDrive. Go to How do I give feedback on Microsoft Office? for more information.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!