logo
search
OneDrive File Issues

Why OneDrive Appears to Store Duplicate Files on macOS

Emma BrownEmma Brown Sep 27, 2026 869 views

Question details

Users notice that OneDrive on macOS appears to keep files in both the CloudStorage directory and the OneDrive group-container directory, raising concerns about duplicate disk space usage.

Why OneDrive Appears to Store Duplicate Files on macOS
Product
Microsoft OneDrive
Device & OS
macOS
Scenario
Checking local disk usage and managing synchronized cloud files on a Mac computer.
Observed behavior
Files appear to be duplicated across two different system directories (CloudStorage and group-container), seemingly occupying twice the expected disk space.
Before you start

Before attempting to fix this issue, ensure your macOS and OneDrive app are fully updated. Do not manually delete either the CloudStorage or group-container directories, as this can severely damage your synchronization state and lead to data loss.

Solution 1Recommended

Verify Actual Disk Usage and APFS Behavior

Determine if the files are taking up physical space or if macOS is simply displaying APFS clones/symlinks incorrectly in Finder.

Due to Apple's File Provider framework on macOS, OneDrive places files in a hidden group-container location while projecting them into the visible CloudStorage directory. In many cases, macOS uses APFS clones to link these files, meaning no actual duplicate disk space is consumed, even though Finder reports the file sizes twice.

1
Open Terminal

Navigate to Applications > Utilities and launch the Terminal app on your Mac.

2
Check physical disk space

Use the 'df -h' command to check your total available disk space. Note the available storage before and after adding a large file to OneDrive.

3
Enable Files On-Demand

Click the OneDrive cloud icon in your Mac menu bar, click the gear icon for Settings, navigate to Preferences, and ensure 'Files On-Demand' is enabled. This forces files to remain in the cloud until opened, reducing local footprint.

Verify Actual Disk Usage and APFS Behavior
Finder Display Quirk: macOS Finder often calculates the size of APFS linked files as if they were completely separate physical files. Rely on your overall disk space availability rather than folder properties.
Free Microsoft Office alternative

Switch to WPS Office for a Streamlined Experience

If complicated cloud sync issues with Microsoft OneDrive and macOS are slowing down your productivity, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own streamlined cloud storage solution.

  1. 1. Download WPS Office for Mac: Visit the official WPS website and download the macOS version of WPS Office.
  2. 2. Sign in to WPS Cloud: Create a free account or log in to instantly access 1GB of free, hassle-free cloud storage.
  3. 3. Edit your files: Open your existing .docx, .xlsx, and .pptx files directly from the cloud without worrying about complex local sync folders.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight app architecture that runs fast on macOS without heavy background sync processesBuilt-in WPS Cloud prevents confusing local directory duplicationFamiliar user interface for a completely seamless migration
microsoft office alternative - wps office

Frequently Asked Questions

Can I manually delete the OneDrive group-container directory on macOS?

No. Manually deleting files from either the CloudStorage or the group-container directory can severely damage OneDrive's synchronization process and may lead to permanent data loss.

Why does macOS Finder show both folders taking up full space?

macOS Finder often calculates the size of APFS clones or linked files as if they were completely separate physical files. This can make it appear as though double the disk space is being used, even if it is simply a virtual representation.

Does Files On-Demand fix this duplicate folder issue?

Files On-Demand keeps files securely in the cloud until you open them, reducing your overall local disk usage. While it doesn't change how the File Provider framework maps directories, ensuring this feature is turned on drastically minimizes the storage footprint in both folders.

Will reinstalling OneDrive fix the duplicated storage?

Reinstalling or resetting OneDrive can resolve temporary sync glitches and clear cache files, but it will not change the fundamental way OneDrive integrates with the macOS File Provider framework via the CloudStorage and group-container directories.