Skip to main content
FixMyTech

Recover a Deleted File From OneDrive or Google Drive

By

Published

8 min read

Share

Short answer

Open the service in a browser, not the desktop folder, and go to the Recycle bin in OneDrive or Trash in Google Drive. Both keep deleted files for roughly 30 days on personal accounts, then purge them permanently. If the bin is empty, check version history on the file's parent folder and any second account the file may have been shared from.

On this page

A file you were sure existed is no longer in the folder. Before assuming it is gone, understand what actually happened: cloud storage almost never deletes anything the moment you press Delete. It moves it somewhere you have not thought to look, and gives you about a month to change your mind.

The complication is that each service has two or three places a file can be hiding, and the one you check first is usually the wrong one. Work through them in order.

Which situation are you in?

What happened Where to look first Odds
You deleted it yourself, recently Recycle bin / Trash in the browser Very high
It vanished and you did not delete it Sync conflict, or another device deleted it High
The file is there but the contents are wrong Version history, not the bin High
Someone else deleted it from a shared folder The owner’s trash, or an admin bin Moderate
More than 30 days have passed Local copies, email, offline devices Low

Note the third row. People routinely spend an hour in a recycle bin looking for a file that was never deleted, only overwritten.

OneDrive — the recycle bin and the one behind it

Use the web interface at onedrive.live.com rather than the OneDrive folder on your PC. The desktop folder shows you what currently exists; the browser shows you the account’s full state, including deleted items.

  1. Sign in and click Recycle bin in the left sidebar.
  2. Sort by Date deleted to find recent items quickly.
  3. Tick the file and choose Restore. It returns to its original folder, not to the root.

Personal OneDrive keeps items here for 30 days. The Windows Recycle Bin on your PC is a separate thing entirely, and a file deleted from a synced folder may appear in both or in only one, depending on how the deletion happened.

The second-stage recycle bin

Work and school accounts have a second bin behind the first. When you empty the recycle bin, or when an item ages out of it, it drops into Second-stage recycle bin, reachable from a link at the bottom of the first bin’s page. Personal accounts do not have this. If you are on a company tenant and the normal bin is empty, this is the next place to look.

Retention on business tenants is set by an administrator and is not always 30 days. Ask whoever manages your Microsoft 365 account before concluding the file is unrecoverable.

Restore your whole OneDrive to an earlier point

If a large number of files vanished or were mangled at once, usually from ransomware or a bad sync, OneDrive can roll the entire account back. Look for Restore your OneDrive under the settings gear or in the account options. It shows a graph of file activity so you can pick the point before the damage.

This is a blunt tool. It reverts every change made after the point you choose, including good work. Use it when a lot went wrong, never to recover a single document.

Google Drive — Trash, and who actually owns the file

In Drive the bin is called Trash or Bin depending on your region, and it sits in the left sidebar.

  1. Open drive.google.com and click Trash.
  2. Right-click the file and choose Restore.
  3. If you cannot see it, use the search box inside Trash — it searches deleted items only when you are in that view.

Google keeps items in Trash for 30 days, then deletes them permanently. Deleting from Trash manually is immediate and final.

Ownership is the thing that trips people up

In Google Drive every file has an owner, and the owner’s trash is the only trash it goes to. If a colleague deletes a file from a folder you shared with them, it lands in your trash if you own it, and in theirs if they do. Checking your own bin and finding nothing does not mean the file is gone, it means you are looking in the wrong account.

For files owned by a Google Workspace account, an administrator can restore deleted items from the admin console for a limited window after the trash purge. That is an admin action, not something you can do yourself.

Google Docs, Sheets and Slides have their own history

Native Google files are never really saved in the way a .docx is, so version history is unusually good. Open the file and go to File → Version history → See version history. Every meaningful edit session is listed with a timestamp and an author, and you can restore any of them.

This is the right tool when the file exists but someone has wrecked it. The same logic applies to desktop Office files, which we cover in getting back an older version of a file you saved over.

When the file was never deleted at all

Three situations look like deletion and are not.

It moved. Drag-and-drop in a file list is easy to do accidentally. In OneDrive, open the file list and check the activity feed; in Google Drive, search for the filename with the search box, which searches the whole account regardless of folder, then use File information → Details to see its location.

It is in a different account. Two Microsoft accounts, or a personal Gmail and a work Workspace account signed in simultaneously, is the most common version of this. The browser picks one and you see that one’s files.

It is a sync conflict. When the same file is edited in two places, the sync client keeps both and renames one, typically appending the device name or a number. Search the folder for the base filename and look for the variant.

If the bin is genuinely empty

In rough order of what pays off:

  • Check every device that syncs the account, especially one that has been offline. A laptop that has not connected since before the deletion may still hold the file locally. Disconnect it from the network before opening the sync client, or it will sync the deletion down and you will lose the copy.
  • Search your email. Attachments, shared links and the “someone shared a file with you” notifications are a surprisingly effective index of your own documents.
  • Check the Windows Recycle Bin or macOS Trash on the PC itself. A file deleted through File Explorer may sit there independently of the cloud bin.
  • Check Office’s own recovery folders if it was an Office document that was never properly saved. The routes are different and covered in recovering an unsaved Word document.

What to expect

If you are inside the 30-day window and you own the file, recovery works almost every time and takes under a minute. The failures are nearly all one of three things: the file belonged to someone else’s account, the window has passed, or the file was never deleted and you have been hunting the wrong problem.

After the purge window, there is no recovery path. Neither Microsoft nor Google retains a copy you can request, and support cannot reverse it. That is worth knowing now rather than after an hour on a chat queue.

The practical lesson is that sync is not backup. A synced folder faithfully reproduces your mistakes everywhere within seconds. If a file genuinely matters, it needs a copy somewhere that does not mirror the original, which can be as simple as a monthly drag onto an external drive. People who do this never read guides like this one.

Frequently asked questions

How long do OneDrive and Google Drive keep deleted files?
Around 30 days on personal accounts for both, after which the file is purged and cannot be retrieved by you. Business and school tenants are configured by an administrator and the window is frequently different, sometimes longer, so check with whoever runs the account rather than assuming 30 days.
Does deleting a file on my PC delete it from the cloud?
Yes, if the folder is synced. Sync means the two locations mirror each other, so a deletion in File Explorer or Finder propagates to the cloud within seconds and then to every other device signed in. That is also why it lands in the cloud recycle bin, which is what saves you.
Can I recover a file someone else deleted from a shared folder?
Often, but not from your own bin. In Google Drive a file deleted from a shared folder goes to the trash of whoever owns it, not whoever deleted it. In OneDrive and SharePoint a site administrator can reach a second-stage recycle bin that ordinary users cannot see.
What is the difference between the recycle bin and version history?
The recycle bin holds files that were deleted entirely. Version history holds earlier states of a file that still exists. If the file is gone, use the bin; if the file is there but its contents are wrong, use version history.
Is there any way back after the 30 days are up?
For a personal account, realistically no. Microsoft and Google both treat the purge as final and support cannot undo it. The only remaining chances are a local copy on a device that has not synced, an email attachment, or a separate backup you set up yourself.

All Office guides