Restore files with version history in OneDrive
Deleted, overwritten or damaged files can sometimes still be recovered. Here is how to use OneDrive's version history, recycle bin and restore.
Beginner · 4 min read
Depending on your account and subscription, OneDrive can offer earlier file versions, the recycle bin and restoring OneDrive to an earlier point in time.
That matters, because files are lost more easily than you think. You accidentally delete a folder, overwrite a document with a wrong version, or a file gets damaged by an error or harmful software. In many cases you can still go back to an earlier state, as long as you react in time.
What recovery options are there?
- Version history: OneDrive keeps earlier versions of many files. That way you can restore a document as it was before you overwrote or changed it.
- Recycle bin: deleted files are kept there for a while, so you can restore them. Exactly how long depends on your account and settings.
- Restoring your OneDrive: for big problems, such as masses of deleted or damaged files, you can restore your entire OneDrive to an earlier point in time. This is not available for all accounts.
How to go about it
Restoring a file or folder
- Sign in to OneDrive on the web via the official website, and not via a link in a message.
- Was the file deleted? Open the recycle bin, select the file and choose Restore.
- Was the file overwritten or damaged? Right-click the file and open the version history.
- Choose the version from before the problem and restore it.
- Is a lot damaged? Go to the settings and choose the option to restore your OneDrive, and pick a point in time before the problem began.
- Then open a few files to check that everything works normally again.
A concrete example
You are working on a report and accidentally save an empty document over the good version. No need to panic: open the file's version history, choose yesterday's version and restore it. But are many files suddenly unreadable or gone, without you knowing why? That could point to harmful software. In that case, first make the device safe before you restore anything. Read our page Restore your OneDrive files after a ransomware attack.
Watch out: Do not restore files on a device that may still be infected: they can be damaged or encrypted again. Clean the device first.
Common mistakes
Avoid this
- Waiting too long, so that older versions or files in the recycle bin disappear.
- Thinking that OneDrive is a full backup.
- Emptying the recycle bin without checking what is in it.
- Restoring from a device that has not been checked yet.
- Not changing your password when your account may have been misused.
Tip: Recovery options are useful, but they do not replace a well-thought-out backup and continuity policy for critical business data.
What if it goes wrong anyway?
Can't restore, or do you suspect someone else has been at your files? Then change your password straight away and read My account has been hacked. You can find more help at I am a victim. Do you share your files with others? Then read Share OneDrive files deliberately.
Frequently asked questions
Can I always restore everything?
No. What is possible depends on your account, your subscription and how long ago the problem happened. See Microsoft's explanation via the link at the bottom.
Is OneDrive a backup?
Not really. OneDrive synchronises files, so mistakes or damaged versions are passed on too. Therefore also keep important files on an external drive that you do not leave permanently connected.
What if I cannot find a file any more?
First look in the recycle bin and use the search function. If it is not there, a file from someone else with whom you shared it may also have been deleted.
Log in to save your reading progress.