Fix OneDrive Automatically Moving Files to Trash on Mac
Question details
OneDrive files are being unexpectedly moved to the Mac Trash, triggering repeated deletion reports and raising data loss concerns.

- Product
- Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- Synchronizing and storing files on a Mac computer using the OneDrive desktop client.
- Observed behavior
- Files and folders are automatically moved to the Mac Trash without user action, accompanied by continuous OneDrive deletion notifications.
Immediately pause OneDrive synchronization on your Mac to prevent any further automatic deletions while you investigate the issue.
Pause Sync, Recover Files, and Unlink Devices
Stop OneDrive from continuing the deletion process, restore your important files from the Recycle Bin, and isolate the Mac from other syncing devices.
Automatic deletions often occur due to synchronization conflicts from another connected device or an outdated OneDrive client.
Isolating the Mac will help identify if the deletions are originating locally or being pushed from another source.
Click the OneDrive cloud icon in your Mac menu bar, click the Help & Settings gear icon, and select 'Pause syncing' (choose 2, 8, or 24 hours).
Open the Trash on your Mac, locate the unexpectedly deleted photos and documents, right-click them, and choose 'Put Back'.
Log in to OneDrive on the web, navigate to the Recycle Bin on the left sidebar, and restore any files that were already synchronized as deleted.
Temporarily unlink your OneDrive account from any other computers or mobile devices to ensure a background process elsewhere isn't triggering the deletions.

Inspect the Mac Hard Drive for Errors
Hardware issues, such as failing sectors on an older Mac's hard drive, can corrupt file paths and trigger unexpected file system behaviors.
Need a Reliable Office Suite? Try WPS Office
If syncing issues with Microsoft services are disrupting your document workflow, consider switching to WPS Office. It provides a lightweight, highly compatible, and stable workspace for your essential files.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installer for macOS.
- 2. Install WPS Office: Open the downloaded .dmg file and drag the WPS Office icon into your Applications folder.
- 3. Open and Create: Launch WPS Office from your Launchpad to easily manage, edit, and safely store your documents.

Frequently Asked Questions
Why is OneDrive deleting my files automatically on Mac?
Automatic deletions usually happen due to a sync conflict from another connected device, a corrupted OneDrive cache, or underlying hard drive issues causing file paths to drop and register as deleted.
Can I restore files permanently deleted from the Mac Trash?
If they were previously synced to OneDrive, you can log into OneDrive on the web and check the online Recycle Bin. Files deleted from the local folder often stay in the cloud Recycle Bin for up to 30 days.
How do I unlink OneDrive from my Mac without deleting files?
Click the OneDrive icon in the menu bar, go to Help & Settings > Preferences > Account, and click 'Unlink this Mac'. This stops all background syncing while keeping your existing local files exactly where they are.




