OneDrive File Issues

How to Limit a SharePoint or OneDrive Sync Folder’s Size

Ayan MasoodAyan Masood Nov 13, 2026 869 views

Question details

The user wants to limit local disk usage when syncing a SharePoint or OneDrive folder.

How to Limit a SharePoint or OneDrive Sync Folder’s Size
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.
Before you start

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.

Solution 1Recommended

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.

1
Open OneDrive settings

Select the OneDrive cloud icon in the notification area or menu bar, then open Settings.

2
Check Files On-Demand

In OneDrive Settings, look under Sync and backup or Advanced settings for Files On-Demand and enable it if the option is available.

3
Free local space

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.

4
Choose folders to sync

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.

Reduce Local Storage with Files On-Demand and Folder Selection
No fixed size cap: Online-only files require an internet connection when opened. Files that are downloaded or kept available offline can still increase local disk usage.
Free Microsoft Office alternative

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.

Open and edit files stored in accessible OneDrive or SharePoint sync foldersCompatible with Microsoft Office formats such as DOCX, XLSX, and PPTXFree, lightweight suite with a familiar interfaceMove existing Office files into WPS without changing your usual file formats
microsoft office alternative - wps office

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.