Accidentally deleting a file from OneDrive is still one of those small digital dramas that shows up at the worst possible moment—right before a deadline or while you’re cleaning up folders a little too enthusiastically. The good news is that, in many cases, you can get it back, but the right method depends on where it was deleted and how it was stored: on the OneDrive website, on a Windows PC, on a Mac, or inside a synced local copy.
That nuance is what really answers what people are searching for: it’s not enough to know OneDrive has a Recycle Bin, because not every deleted file ends up in the same place. If the file was deleted from the web version, you’ll typically find it in the OneDrive Recycle Bin; if it was deleted from your computer, it may land first in the Windows Recycle Bin or the Mac Trash. And if the issue involves lots of files or an entire folder, Microsoft offers a broader restore option in certain cases.
Recover files from the OneDrive Recycle Bin
The most straightforward route is to open OneDrive in your browser using your Microsoft account—or your work or school account if that’s what you use—then open the Recycle Bin from the sidebar. You’ll see items deleted online, and you can select them one by one to restore them to their original location, which is especially handy when you know exactly what’s missing and don’t want to change anything else.
It’s worth paying attention to retention times, because they’re not the same for everyone. On personal accounts, deleted files stay in the Recycle Bin for 30 days, while on work or school accounts the period can be up to 93 days. That difference matters: something that may already be gone on a personal account might still be recoverable in a business environment. If the file was deleted recently, this should always be your first stop—like checking whether a package is still at the depot before assuming it vanished into the multiverse.
The process is simple: select the files and click Restore. OneDrive returns them to their original folder, with no manual moving required. However, if the item has already been permanently deleted from this Recycle Bin, this path won’t help.
What to do on Windows or Mac if you deleted it from your computer
When a OneDrive file is deleted from your device, recovery may need to go through the operating system’s bin first. On Windows, open the Recycle Bin, find the file, and restore it. You can sort by name or deletion date, and even use search if you remember part of the filename. Once restored, it will return to the folder it was in before.
But there’s an important condition: this works for files that were available locally or marked as always available. Files that were online-only can’t be recovered this way because they weren’t actually stored on the disk. It’s one of those details you don’t notice until you have to improvise—like realizing the file “was there,” but it actually lived in the cloud.

On Mac, the logic is similar. Open the Trash, select the file (or files), and use Put Back from the contextual menu. The system returns them to their original location. As with Windows, this only works if the file had a local presence on the Mac.
If it doesn’t show up in either the OneDrive Recycle Bin or the system bin, then it’s time to move on to more specific options. Annoying? Sure—but it still doesn’t mean everything is lost.
Restore all of OneDrive and use File History
When the issue isn’t a single document but a mass deletion, an overwrite, or a broad change across the account, OneDrive includes a full restore feature for users with Microsoft 365. On the web version, go to Settings, then Options, and open Restore your OneDrive. From there, you can pick a restore point between now and the previous 30 days, with quick choices like yesterday, a week ago, or a custom date and time.
Before you confirm, OneDrive shows a daily activity chart so you can verify the deletion actually happened within that window. It’s a very practical aid because it prevents restoring blindly and ending up with more changes than you wanted. Two clear limitations apply: this feature isn’t available on the free version, and it won’t recover files that have already been permanently deleted from the OneDrive Recycle Bin. Also, files created after the restore point are moved to the Recycle Bin.
On Windows, there’s an additional option: File History. It can bring back previous versions of folders, but only if it was set up before the deletion and if you were using local or always-available files. To use it, you must have enabled it beforehand with an external drive or a network location, since it doesn’t work by using only the PC’s internal drive.
If it was already enabled, go to the folder where the file was, right-click, and choose Restore previous versions. From there, you can recover an earlier version of the folder or restore it to a different location to avoid overwriting the current one. That last detail is crucial: replacing a folder with an older version can remove new files added later, and that change can’t be undone.
In short, recovering deleted OneDrive files is possible in plenty of scenarios, but the key is to first identify where the deletion happened and what kind of file it was. If you acted quickly, the OneDrive Recycle Bin often fixes it in minutes; if the deletion happened on your computer, it’s worth checking the system bin; and if the damage was bigger, OneDrive’s full restore or File History can save the day. It’s not magic—though sometimes it comes pretty close.

