How to Limit a SharePoint or OneDrive Sync Folder’s Size
Question details
The user wants to limit local disk usage when syncing a SharePoint or OneDrive folder.

- Product
- SharePoint Online and OneDrive sync client
- Device & OS
- not provided
- Scenario
- A large SharePoint library or OneDrive folder is synchronized to a local device with limited disk space.
- Observed behavior
- Neither SharePoint Online nor the OneDrive sync client provides a setting to automatically stop syncing a folder at a specified total size.
Check your device’s available disk space and identify the OneDrive account or SharePoint library consuming it. Make sure the OneDrive sync client is signed in and check that files have finished syncing before changing their local availability.
Reduce Local Storage with Files On-Demand and Folder Selection
Use these controls to reduce downloaded content when a fixed sync-folder size limit is unavailable.
Files On-Demand can keep files visible without storing all their contents locally. Choosing folders controls which folders appear on the device, but neither option sets a maximum folder size.
Select the OneDrive cloud icon in the notification area or menu bar, then open Settings.
In OneDrive Settings, look under Sync and backup or Advanced settings for Files On-Demand and enable it if the option is available.
In your file manager, right-click synced files or folders you do not need offline and select Free up space. The items remain available online.
In OneDrive Settings, open Account and select Choose folders for the relevant account or library. Clear folders you do not need on this device and confirm.

Pause Sync and Review Administrative Controls
Temporarily stop synchronization while you address low disk space, and ask an administrator to review applicable policies.
Work with Office Files in WPS Office
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files into your workflow. It does not set a OneDrive or SharePoint sync size limit.

Frequently Asked Questions
Can OneDrive stop syncing a folder after it reaches a specific size?
No. The OneDrive sync client does not offer a fixed total-size limit for a synced folder. Use Files On-Demand, folder selection, or Pause syncing to manage local usage instead.
Does Free up space delete files from OneDrive or SharePoint?
Free up space removes the local copy of an eligible synced item while leaving it available online. Right-click the item in your file manager and select Free up space after it has finished syncing.
How do I stop syncing certain folders to my device?
Open OneDrive Settings, go to Account, and select Choose folders for the account or library. Clear the folders you do not need locally and confirm.
Can an administrator enforce a sync-folder size cap with Group Policy?
OneDrive Group Policy does not provide a fixed total-size cap for a synced folder. An administrator can review applicable policies for Files On-Demand, low-disk-space warnings, and automatic download controls on managed Windows devices.




