Why OneDrive Moves Files to an .ODContainer Folder on Mac & How to Fix
Question details
The user wants to understand the underlying reason why OneDrive files are being relocated to a hidden .ODContainer folder on macOS and how to handle it properly.

- Product
- Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- Using the OneDrive sync client after a recent macOS update or after changing the Files On-Demand settings.
- Observed behavior
- Local OneDrive files are unexpectedly moved into a hidden cache folder named .ODContainer, leading to confusion about file locations and sync status.
Before attempting to move or modify any folders, log into the OneDrive web portal to confirm that all your important files are fully synchronized and available online.
Verify File Synchronization and APFS Requirement
Ensure your files are safely backed up in the cloud and your Mac's drive meets the system requirements for the new Files On-Demand framework.
The .ODContainer folder is a hidden cache directory created by macOS's new File Provider extension. Apple and Microsoft changed the architecture of Files On-Demand to better integrate with the operating system.
Open your web browser, navigate to the OneDrive website, and sign in. Verify that all your recent documents and folders are visible online.
Open 'Disk Utility' on your Mac (found in Applications > Utilities). Select your Mac's internal drive and confirm that the format is listed as APFS (Apple File System), which is mandatory for the new OneDrive experience.
Do not attempt to manually delete or alter the .ODContainer folder. Deleting this cache prematurely can result in permanent data loss for files that haven't finished uploading to the cloud.

Unlink and Reconnect Your OneDrive Account
If your files appear stuck in the .ODContainer folder and are failing to sync properly to the new CloudStorage location, relinking your account can refresh the setup.
Seamlessly Edit Your Cloud Files with WPS Office on Mac
While troubleshooting OneDrive file structure changes on macOS, consider trying WPS Office. It is a highly compatible, fast, and free alternative to Microsoft Office that perfectly integrates with your local Mac directories and cloud storage folders.
- 1. Download and Install: Get the free WPS Office installation package for macOS from the official website and drag it to your Applications folder.
- 2. Open Your Documents: Launch WPS Office and navigate to your OneDrive CloudStorage folder to open your existing documents.
- 3. Edit and Save: Enjoy editing with premium features and save directly back to your cloud folder without formatting issues.

Frequently Asked Questions
Can I safely delete the .ODContainer folder to free up disk space?
No. Deleting the .ODContainer folder can cause permanent data loss because it contains the local cache of your files. If you need to free up space, right-click the files or folders in your main OneDrive directory and select 'Free Up Space' instead.
Why did Microsoft change how OneDrive works on macOS?
Apple introduced a new File Provider framework in macOS Monterey 12.1. Microsoft updated OneDrive to comply with this new system architecture, which changes how Files On-Demand operates and shifts the default sync location.
Where is my easily accessible OneDrive folder located now?
Under the new architecture, your main OneDrive folder is usually located in '~/Library/CloudStorage/'. You can easily access this by looking for 'OneDrive' under the Locations section in your Mac's Finder sidebar.




