Restore your OneDrive - Microsoft Support (2024)

OneDrive (work or school) OneDrive (home or personal) OneDrive for Mac OneDrive for Windows More...Less

If many of your OneDrive files were deleted, overwritten, corrupted, or infected by malware, you can restore your entire OneDrive to a previous time. Files Restore helps Microsoft 365 subscribers undo all the actions that occurred on both files and folders within the last 30 days.

Note:If you don't subscribe to Microsoft 365, or if you want to correct issues with individual files one at a time, you can restore deleted files from the OneDrive recycle bin or restore a previous version of a file. For files in SharePoint or Microsoft Teams, you canrestore a document library.

Restore your OneDrive - Microsoft Support (1)

Note:The video shows a OneDrive personal account, but you can also sign in with a work or school account. You'll find the steps in the section below.

Restore OneDrive to a previous time

To restore your OneDrive, you'll need to have Microsoft 365. Otherwise, you'll be redirected to this article when you try to follow the steps below.

  1. Go to the OneDrive website. (Make sure you're signed in with the correct account.)

  2. If you're signed in with:

    • A personal account with a Microsoft 365 subscription, at the top of the page, select Settings Restore your OneDrive - Microsoft Support (2) > Options, and then select Restore your OneDrive from the left navigation.

    • A work or school account, select Settings > Restore your OneDrive.

      Note:The Restore your OneDrive option isn't available in the classic experience of OneDrive for work or school or without aMicrosoft 365 subscription.

  3. On the Restore page, select a date from the dropdown list—such as Yesterday—orselect Custom date and time. If you're restoring your files after automatic ransomware detection, a suggested restore date will be filled in for you.

    Restore your OneDrive - Microsoft Support (3)

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

    Restore your OneDrive - Microsoft Support (4)

    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 it can help you identify any unusual activities. For example, ifyour OneDrive was infected by malware, you can look for when it happened.

    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.

  5. If you selectedCustom 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:Before you selectRestore, scroll to the top of the activity feed to review all the activities you are about to undo. Whenyou pick a day in the activity chart, the more recent activities are hidden in the feed, but they're still selected whenyou select an activity.

  6. When you’re ready to restore your OneDrive, selectRestore. This action will undo all the activities you selected.

    Your OneDrive will be restored to the state it was in before the first activity you selected.

    Note: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.

Limitations and troubleshooting

  • When version history is turned off, Files Restore can't restore files to a previous version. For information about versioning settings, see Enable and configure versioning for a list or library. Files Restore uses version history and the recycle bin to restore OneDrive, so it's subject to the same restrictions as those features.

  • You can't restore deleted filesafter they’ve been removed from the site collection recycle bin—either by manual delete or by emptying the recycle bin. A SharePoint site collection administrator may be able to view and restore those deleted items.

  • Albums are not restored.

  • If you upload a file or folder that you deleted, Files Restore will skip the restore operation for that file or folder.

  • If some files or folders cannot be restored, a log file will be generated at the root folder of your OneDrive to capture the errors. The name of the file will beginwith "RestoreLog" followed by an ID (for example, RestoreLog-e8b977ee-e059-454d-8117-569b380eed67.log). You can share the log file with our support team to troubleshoot any issues that may occur.

Learn more

Office 365 advanced protection

Need more help?

Restore your OneDrive - Microsoft Support (5)

Contact Support
For help with your Microsoft account andsubscriptions, visitAccount & Billing Help.

For technical support, go to Contact Microsoft Support, enter your problem and select Get Help. If you still need help, selectContact Supportto be routed to the best support option.

Restore your OneDrive - Microsoft Support (6)

Admins
Admins should view Help for OneDrive Admins, the OneDrive Tech Community or contactMicrosoft 365 for business support.

Need more help?

Expand your skills

EXPLORE TRAINING >

Get new features first

JOIN MICROSOFT 365 INSIDERS >

Restore your OneDrive - Microsoft Support (2024)
Top Articles
Latest Posts
Article information

Author: Margart Wisoky

Last Updated:

Views: 5806

Rating: 4.8 / 5 (58 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Margart Wisoky

Birthday: 1993-05-13

Address: 2113 Abernathy Knoll, New Tamerafurt, CT 66893-2169

Phone: +25815234346805

Job: Central Developer

Hobby: Machining, Pottery, Rafting, Cosplaying, Jogging, Taekwondo, Scouting

Introduction: My name is Margart Wisoky, I am a gorgeous, shiny, successful, beautiful, adventurous, excited, pleasant person who loves writing and wants to share my knowledge and understanding with you.