Restore OneDrive to a previous time

  1. Go to the OneDrive website. (Make sure you're signed in with the correct account.)
  2. When you're signed in with a personal account, at the top of the page, select Settings > Options, and then select Restore your OneDrive from the left navigation. (When you're signed in with a work or school account select Settings > Restore your OneDrive.)

Note: Restore your OneDrive isn't available in the classic experience of OneDrive for Business or without an Office 365 subscription.

  1. On the Restore page, select a date from the drop-down list, such as Yesterday. Or you can choose Custom date and time. If you're restoring your files after automatic ransomware detection, a suggested restore date will be filled in for you.

  2. Use the activity chart and activity feed to review the recent activities that you want to undo. 

The daily activity chart shows the volume of file activities in each day for the last 30 days. It gives you an overview of what has happened to your OneDrive over time and can help you identify any unusual activities, such as when your entire OneDrive is infected by malware.


The activity feed shows individual file and folder operations in reverse chronological order. You can scroll down to see previous days, or move the slider below the daily activity chart to quickly move to a specific day.


Tip: Use the expand and collapse arrow next to each day in the activity feed to show or hide activities for that day. 

  1. If you're selecting a custom date and time, select the earliest activity that you want to undo. When you select an activity, all other activities that occurred after that are selected automatically. 

Note: As you pick a day in the activity chart, you hide more recent activities in the feed, but those more recent activities will still be selected if you select an activity. Before you select the Restore button, scroll to the top of the activity feed to see all the activities you are about to undo. 


  1. When you’re ready to restore your OneDrive, select the Restore button to undo all the activities you selected. 

Your OneDrive will be restored to the state it was in before the first activity you selected. If you change your mind about the restore you just did, you can undo the restore by running Files Restore again and selecting the restore action you just did.