Fix OneDrive Files Reappearing After Deletion on Mac
Question details
A user is trying to permanently delete an installer file from a synced OneDrive folder, but the file keeps reappearing and syncing back to the computer shortly after deletion.

- Product
- Microsoft OneDrive
- Device & OS
- macOS 12.1
- Scenario
- Deleting a mislaid installer file from a local OneDrive folder on macOS.
- Observed behavior
- Every time the file is deleted from the OneDrive folder, it reappears within a few seconds, indicating it is being recreated locally or forcibly synced back from the cloud.
Ensure that the application or installer you are trying to delete is completely closed and not actively running as a background process on your Mac.
Stop Background Processes and Empty OneDrive Recycle Bin
Use this method to ensure the application isn't recreating the file locally, and purge it from the cloud to prevent background syncing.
If an installer or application is still active in the background, it may automatically recreate its files as soon as you delete them. Combined with OneDrive's syncing mechanism, this creates a loop. You must stop the process and delete the file from both local storage and the cloud.
Open the 'Activity Monitor' from your Mac's Applications > Utilities folder. Search for the installer or application name, select it, and click the 'Stop' (X) button at the top to force quit the process.
Go to System Preferences > Users & Groups > Login Items. If the application is listed there, select it and click the minus (-) button to prevent it from starting automatically.
Locate the file in your Mac's local OneDrive folder, move it to the Trash, and then empty your Mac's Trash.
Log into your OneDrive account via a web browser. Click on the 'Recycle bin' in the left menu, find the deleted file, and permanently delete it from the cloud to stop it from syncing back to your Mac.

Pause Syncing Before Deleting the File
If the file syncs back from the cloud too quickly, pausing OneDrive synchronization allows you to safely delete the file from the cloud server first.
Looking for a Reliable and Lightweight Office Suite? Try WPS Office
If you are experiencing continuous sync conflicts or performance issues with Microsoft Office and OneDrive on your Mac, consider switching to WPS Office. It provides a seamless, free alternative with built-in reliable cloud storage, high compatibility with standard Office formats, and a user-friendly interface optimized for macOS.
- 1. Download WPS Office: Visit the official WPS website and download the macOS installation package.
- 2. Install on your Mac: Open the downloaded file and drag the WPS Office icon into your Applications folder.
- 3. Sign in and sync: Launch WPS Office, sign in to claim your free WPS Cloud storage, and easily manage your documents without syncing loops.

Frequently Asked Questions
Why do deleted files keep reappearing in OneDrive on Mac?
Files usually reappear because the OneDrive cloud version syncs back to your local folder before the deletion registers, or a local background process (like an incomplete installer) is continuously recreating the file on your hard drive.
Does emptying the Mac Trash remove the file from OneDrive permanently?
Not always. Emptying the Mac Trash removes the local copy, but if OneDrive is actively syncing, it might pull the file back down from the cloud. You often need to delete the file from the OneDrive Recycle Bin online to ensure permanent removal.
How do I access the OneDrive Recycle bin?
You can access the OneDrive Recycle bin by logging into your OneDrive account via a web browser. The Recycle bin is located in the left navigation pane on the main dashboard.
Can I stop OneDrive from syncing specific files?
You cannot exclude individual files from syncing, but you can exclude entire folders. Click the OneDrive icon in your menu bar, go to Preferences > Account > Choose Folders, and uncheck the folders you no longer want synced to your Mac.




