Fix OneDrive Files Appearing in the Wrong Folder on macOS
Question details
Users report that OneDrive files are stored in an incorrect cache directory instead of the visible OneDrive synchronization folder after reinstalling the app on macOS.

- Product
- Microsoft OneDrive
- Device & OS
- macOS
- Scenario
- Accessing and synchronizing OneDrive files after reinstalling the application or enabling the new Files On-Demand experience.
- Observed behavior
- Only folders and filenames appear in the official OneDrive directory on the Mac, while the actual file contents are managed and stored in separate cache locations by the macOS File Provider.
Ensure your Mac is connected to a stable internet connection and avoid manually moving cached files or changing OneDrive folder aliases, as this may permanently disrupt synchronization.
Allow macOS to Populate Files On-Demand Entries
Let the macOS File Provider automatically create and manage file entries without manual intervention.
With the newer Files On-Demand experience on macOS, the File Provider platform does not create files managed by OneDrive until they are first accessed. The actual files are migrated to a cache folder, and macOS creates visible placeholders on demand to save local disk space.
Navigate to your official OneDrive synchronization folder using Finder on your Mac.
Allow macOS a few moments to automatically populate the folder and file entries natively. Do not manually copy files from the cache location to the visible folder.

Force File Entry Creation via Terminal
Use a Terminal command to force macOS to immediately create file and folder placeholders without downloading the actual content.
Reset or Reinstall OneDrive
Perform a clean reset or reinstall of the OneDrive application if synchronization remains incorrect.
Use WPS Office for Seamless File Management on Mac
While OneDrive's Files On-Demand updates may cause file location confusion natively on macOS, WPS Office provides a robust, standalone Mac experience. It integrates seamlessly with both local directories and cloud storage, allowing you to view, edit, and manage your documents without complex synchronization headaches.
- 1. Download WPS Office: Visit the official WPS website to download the native macOS version of WPS Office.
- 2. Install the Application: Open the downloaded file and drag the WPS Office icon to your Applications folder.
- 3. Manage Documents Locally: Launch WPS Office and open your files directly from your preferred local storage or cloud folder without worrying about background file virtualization.

Frequently Asked Questions
Why are my OneDrive files stored in a cache folder instead of the main directory on Mac?
Recent updates to OneDrive for macOS utilize the native macOS File Provider platform. This architecture moves the actual file data to a hidden cache folder and creates lightweight 'Files On-Demand' placeholders in your visible OneDrive folder to significantly reduce local disk space usage.
Can I move my OneDrive files back from the cache to the visible folder?
No, manually moving or copying files from the cache directory to the visible synchronization folder is not supported and will break the synchronization process. You should let macOS populate the files naturally when you open the folder.
How do I fix OneDrive files not showing up on my Mac?
You can either wait a few moments with the folder open in Finder for macOS to populate the files, or run the command `ls -alR ~/OneDrive` in the Mac Terminal to force macOS to display the file placeholders immediately.




