How to Stop OneDrive from Syncing Outside Folders on Mac
Question details
The user needs to stop OneDrive for Mac from syncing folders located outside the official OneDrive directory without deleting their online files.

- Product
- OneDrive
- Device & OS
- Mac
- Scenario
- Stopping unwanted synchronization of external folders after changing Microsoft accounts or reinstalling the OneDrive app.
- Observed behavior
- OneDrive continues to sync folders that were copied outside the original directory, causing unwanted file synchronization even under a different account.
Verify which Microsoft account is currently signed in to your OneDrive app and ensure your Mac has a stable internet connection before modifying sync settings.
Unlink and Relink Your Mac
Relinking your account stops the current sync processes and allows you to select exactly which folders should sync.
This is the safest and most common method to refresh your connection settings without affecting your actual files.
Click the OneDrive cloud icon in the Mac menu bar, go to Help & Settings, and then select Preferences.
Navigate to the Account tab and click the 'Unlink This Mac' button.
Restart your Mac, open the OneDrive app, and sign back in with your account. During the setup wizard, ensure you only select the specific folders you want to sync.

Clear Cached Credentials in Keychain Access
Remove old login data that might be forcing OneDrive to sync using a previous account's configuration.
Reset the OneDrive Application Settings
Run a built-in reset command to completely clear OneDrive's background processes and application cache.
Experience Seamless File Management with WPS Office
Tired of complicated sync issues and heavy applications? WPS Office offers a lightweight, free alternative to Microsoft Office. Enjoy built-in cloud storage, robust format compatibility, and an easy-to-use interface that keeps your documents organized without the hassle.
- 1. Download the Mac version: Visit the official WPS Office website and download the installation package designed for Mac.
- 2. Install and create an account: Install the application by dragging it to your Applications folder and sign up for a free account.
- 3. Open files effortlessly: Open your existing Office documents directly in WPS Office without needing to convert any file formats.

Frequently Asked Questions
Will unlinking OneDrive delete my files?
No, unlinking your Mac from OneDrive only stops the synchronization process. Your locally downloaded files and the files securely stored in the cloud will remain completely intact.
Why does OneDrive sync folders I didn't select?
This often happens if there is a cached configuration from a previous account, or if folders were manually moved while the app was still running in the background. Resetting the app usually clears these sync errors.
How do I selectively sync folders on a Mac?
Click the OneDrive icon in the menu bar, go to Preferences > Account, and click 'Choose Folders'. From there, you can check or uncheck the specific folders you want to sync to your local drive.
What happens when I run the ResetOneDriveApp command?
Running this command resets all OneDrive settings, clears its local cache, and forces the application to behave as if it was just installed. This allows you to set up a fresh sync connection without legacy errors.




