Choose which OneDrive folders to sync to your computer
If you don't want to sync all of your folders in OneDrive to your computer, you can use the OneDrive app for Windows and macOS to select which folders you'd like to have visible in File Explorer or Finder.
When viewing via a web browser or mobile app on either Windows or Mac, you will always see all your folders.
- Open OneDrive settings (select the OneDrive cloud icon in your notification area, and then select the OneDrive Help and Settings icon
then Settings.)
- Go to the Account tab.
- Select Choose folders.
- In the Choose Folders dialog box, uncheck any folders you don't want to sync to your computer and select OK.

Notes:
You can only check or uncheck folders which are already included your OneDrive. Folders not in your OneDrive (such as external USB drive) cannot be included for sync. Learn more.
You cannot uncheck certain folders which are important to the PC, including Documents, Desktop, Pictures and your Personal Vault folder.
If you uncheck a folder you are syncing to your computer, the folder will be removed from your computer, but the folder and its contents will still be available online.
Any custom sync settings you choose are unique to each computer, and each account.