To permanently delete files from OneDrive, delete them, then empty them from the OneDrive recycle bin on the web. Go to onedrive.com, sign in, select Recycle bin in the left-hand menu, select the files and choose Delete (or Empty recycle bin to clear everything). Deleted files otherwise stay restorable for up to 30 days on a personal Microsoft account and up to 93 days on a work or school account. You also need to deal with the copy on your PC, because deleting on one side syncs to the other but leaves recoverable leftovers on the local drive. Here is the full process.
How deleting works in OneDrive
OneDrive keeps your files in sync between Microsoft's servers and every PC or phone signed in to your account. That has some consequences that surprise people:
- Deleting on your PC deletes in the cloud too. If you delete a file from the OneDrive folder in File Explorer, the deletion syncs and the cloud copy goes into the OneDrive recycle bin. Windows may warn you that deleted files are removed everywhere.
- Deleting in the cloud deletes on your PC too. The local copy is removed from every synced device.
- Nothing is gone straight away. The file sits in the OneDrive recycle bin, and on your PC a copy may also go into the Windows Recycle Bin.
- Version history. OneDrive keeps earlier versions of files. When you delete a file, its versions go with it, but if you only overwrote a file's contents, older versions are still available.
Step 1: Delete the files
You can delete from File Explorer or the web. On the web:
- Go to onedrive.com and sign in.
- Tick the files or folders you want to remove.
- Click Delete in the toolbar and confirm.
Step 2: Empty the OneDrive recycle bin
- On onedrive.com, select Recycle bin in the left-hand menu.
- To remove specific items, tick them and choose Delete. To remove everything, choose Empty recycle bin.
- Confirm. Items deleted from here cannot be restored by you from the OneDrive website.
On a personal account, recycle bin items are kept for 30 days and then removed automatically. If the recycle bin grows beyond 10% of your storage, Microsoft may remove the oldest items sooner.
Step 3 (work or school accounts): the second-stage recycle bin
OneDrive for work or school, which runs on SharePoint, has two stages. When you empty the first recycle bin, items move to a second-stage recycle bin. At the bottom of the recycle bin page there is usually a link to it. Open it, select the items and delete them again.
Be aware that your organization's administrators can set retention policies or legal holds that keep copies of files regardless of what you delete, and they can restore files you cannot. If the files are work records, check your company's policy before deleting them at all.
Step 4: Clean up the copy on your PC
This step is often missed. Once the deletion syncs, the file disappears from your OneDrive folder, but on the PC itself:
- The file may be in the Windows Recycle Bin. Empty it, but remember emptying the bin only marks the space as free. See does emptying the Recycle Bin permanently delete files?
- The old file contents are still physically on the drive until overwritten. Wiping the drive's free space overwrites them; see how to wipe free space in Windows.
- Thumbnails, recent-file lists and temporary files may still reveal the file existed.
- Any other PC, phone or tablet signed in to the same OneDrive had its own local copy. Each one has the same leftovers.
Other places your files may still exist
| Where | What to do |
|---|---|
| Shared links and people you shared with | Deleting stops new access through OneDrive, but anyone who already downloaded a copy keeps it. |
| Personal Vault | Unlock the vault and check it separately; its files also go to the recycle bin when deleted. |
| Other cloud services or backups | Dropbox, Google Drive, external backups and Windows backups are separate and need their own clean-up. |
| If you emailed the file as an attachment, it is still in sent and received mail. | |
| Phones with camera upload | The original photo may still be in the phone's own gallery. |
Microsoft also keeps its own service backups for a limited time, which you cannot access or control. Deleting from OneDrive removes your access to the files; it is not a guarantee about Microsoft's internal systems.
Removing files from your PC but keeping them in OneDrive
Sometimes the goal is the opposite: get files off a particular PC (for example, before selling it) without losing them from your OneDrive. In that case, do not delete them. Instead, right-click the OneDrive folder and choose Free up space to make files online-only, or open OneDrive's settings and use Unlink this PC. Unlinking stops syncing; it does not delete cloud files. Then remove or wipe the local folder. Our guide to wiping a computer before selling it covers the rest.
How Evidence Wipe handles cloud folders
Evidence Wipe works on your PC only and does not delete anything from OneDrive or any other cloud service. What it does is flag files that sit in OneDrive, Dropbox, Google Drive or iCloud folders and remind you that shredding the local copy does not remove the cloud copy or the cloud recycle bin, so you can deal with those on the service's website as above. It does not download online-only OneDrive files just to shred them. For the local side, it can securely clean the Windows Recycle Bin, shred leftover files, wipe free space and clear thumbnail and recent-file traces, with a Verification Report at the end. See the feature list.
Frequently asked questions
How long does OneDrive keep deleted files?
On a personal Microsoft account, deleted files stay in the recycle bin for up to 30 days, or less if the bin exceeds 10% of your storage. Work or school accounts typically keep them for up to 93 days across two recycle bins.
If I delete a file from the OneDrive folder on my PC, is it deleted online?
Yes. The deletion syncs and the online copy moves to the OneDrive recycle bin, where it can still be restored until it is emptied or expires.
How do I remove OneDrive files from my PC without deleting them online?
Right-click the files or folder and choose Free up space to make them online-only, or unlink the PC in OneDrive settings. Unlinking stops syncing without deleting cloud files.
