You delete a file from your OneDrive folder, but within minutes it reappears as if nothing happened. This frustrating behavior is almost always caused by a restore operation — either from the OneDrive Recycle Bin or from Windows File History — overriding your deletion. The issue is not a sync bug; it is a conflict between your delete action and an automatic restore trigger. This article explains why files return, how to stop the restore, and how to permanently remove unwanted files without them coming back.
Key Takeaways: Stop Files from Reappearing After Deletion in OneDrive for Business
- OneDrive website > Recycle bin > Empty recycle bin: Permanently delete files from the cloud so they cannot be restored automatically.
- Windows File History > Turn off or exclude OneDrive folder: Prevents Windows from restoring a previous version of a deleted file.
- OneDrive Settings > Sync and backup > Advanced settings > Files On-Demand: Ensure files are fully synced before deletion to avoid sync conflicts.
Why Deleted Files Keep Returning in OneDrive for Business
When you delete a file from your local OneDrive folder, OneDrive moves it to the tenant recycle bin on the server. The file is not permanently removed. If any user or automated process restores items from that recycle bin, the files reappear in your sync folder. The same can happen if Windows File History or a backup application restores a previous version of the file after you delete it.
Another common cause is the OneDrive “Files On-Demand” feature. If you delete a file that is still in the “online-only” state, the deletion may fail silently because the local placeholder does not match the server version. OneDrive then re-downloads the file from the cloud, making it seem as if the deletion never happened.
Finally, shared libraries and team sites can have their own separate recycle bins. A colleague restoring a file from the SharePoint site recycle bin will push that file back into your OneDrive sync folder.
Steps to Permanently Delete Files and Stop Them from Returning
Follow these steps in order. Each method addresses a different way files can be restored.
Method 1: Empty the OneDrive Recycle Bin on the Web
- Open OneDrive in your browser
Go to https://onedrive.live.com and sign in with your Microsoft 365 work or school account. - Navigate to the Recycle bin
In the left navigation pane, click Recycle bin. If you do not see it, click the menu icon (three horizontal lines) to expand the sidebar. - Check the second-stage recycle bin
At the top of the Recycle bin page, click Second-stage recycle bin. Files in this bin are hidden from the main view but can still be restored. - Empty both recycle bins
Click Empty recycle bin at the top of the page. Confirm the prompt. Repeat for the second-stage recycle bin. - Delete the local file again
Return to your local OneDrive folder, delete the file, and let sync complete. The file should stay deleted.
Method 2: Turn Off Windows File History (If Enabled)
- Open Windows File History settings
Press Windows + I to open Settings. Go to Update & Security > Backup (Windows 10) or Accounts > Backup (Windows 11). - Check if File History is on
If the toggle under “Automatically back up my files” is On, click More options. - Exclude the OneDrive folder
Under “Exclude these folders,” click Add a folder. Navigate to your OneDrive folder (usuallyC:\Users\YourName\OneDrive - CompanyName) and select it. This prevents File History from restoring deleted OneDrive files. - Delete the file again
After saving the exclusion, delete the file from OneDrive. Windows will no longer restore a previous version.
Method 3: Ensure Files Are Fully Synced Before Deleting
- Check OneDrive sync status
Right-click the OneDrive cloud icon in the system tray. If the icon shows a blue cloud with a check mark, all files are synced. If it shows a syncing animation, wait for it to finish. - Force a file to be available offline
Right-click the file you want to delete and select Always keep on this device. Wait for the green check mark to appear. This ensures the file is fully downloaded before deletion. - Delete the file
Press Delete or right-click and choose Delete. Confirm the deletion if prompted. OneDrive will now remove the file from the cloud.
If OneDrive Still Restores Files After the Main Fix
Another user restores a file from SharePoint site recycle bin
If the file is stored in a shared library (for example, a team site), a colleague with edit permissions can restore it from the SharePoint site recycle bin. To prevent this, ask the site owner to check the site recycle bin and empty it. You can also contact your Microsoft 365 admin to set a shorter retention period for the recycle bin (default is 93 days).
OneDrive sync client shows a conflict copy
Sometimes a deleted file reappears as “filename-CONFLICT-DateTime.ext.” This happens when you delete a file while it is open in another application. OneDrive creates a conflict copy instead of deleting the original. Close all Office documents before deleting, or use the OneDrive website to delete files directly.
File reappears after a sync pause or restart
If you pause sync, delete a file, and then resume sync, OneDrive may download the file again from the cloud. Always delete files while sync is active. To verify, right-click the OneDrive icon and ensure “Pause syncing” is not selected.
OneDrive Recycle Bin vs Second-Stage Recycle Bin: Key Differences
| Item | First-stage Recycle Bin | Second-stage Recycle Bin |
|---|---|---|
| Visibility | Visible in OneDrive web interface by default | Hidden; requires clicking “Second-stage recycle bin” link |
| Retention period | 93 days for Microsoft 365 Business accounts | 93 days total from the original deletion date |
| How files get there | User deletes a file from OneDrive or sync folder | User empties first-stage recycle bin; or file is deleted from a shared library |
| Restore effect on sync | Restored file reappears in all synced devices | Same as first-stage; file reappears in sync folder |
| Empty action | Click “Empty recycle bin” on the main page | Click “Empty recycle bin” inside the second-stage view |
You must empty both recycle bins to permanently remove a file from OneDrive for Business. Files in the second-stage bin are not visible in the main recycle bin view and will be restored if anyone clicks “Restore all items.”
Conclusion
You can now stop deleted files from returning by emptying both stages of the OneDrive recycle bin, disabling Windows File History for your OneDrive folder, and ensuring files are fully synced before deletion. Next, check your SharePoint site recycle bin if the file is stored in a shared library. For ongoing control, ask your Microsoft 365 admin to set the recycle bin retention period to a shorter value, such as 30 days, using the SharePoint admin center.