Where Does OneDrive Store Local Files on Windows?
Question details
The user wants to find the exact folder path where OneDrive stores synchronized files on a local Windows hard drive and needs to know how to keep those files permanently available offline.
- Product
- Microsoft OneDrive
- Device & OS
- Windows
- Scenario
- Locating locally synced cloud files and managing offline availability settings in File Explorer.
- Observed behavior
- The user needs to navigate to the local OneDrive directory and configure the sync status so that files do not become online-only.
Ensure you are signed into your OneDrive account on your Windows PC and that the OneDrive desktop application is currently running in your system tray.
Locate the OneDrive Folder and Keep Files on Your Device
Find your default OneDrive sync folder using File Explorer and configure your files to remain permanently on your local hard drive.
By default, Windows stores your synchronized OneDrive files in your user profile folder. You can easily access this location through File Explorer and change the file status to ensure they take up local disk space but remain accessible without an internet connection.
Open File Explorer and navigate to your system drive (usually C:). Go to C:\Users\[YourUsername]\OneDrive. Alternatively, you can click the 'OneDrive' shortcut pinned in the left navigation pane of File Explorer.
Highlight the specific files or folders you want to keep locally on your hard drive. You can select multiple files by holding down the Ctrl key while clicking.
Right-click the selected files or folders and choose 'Always keep on this device' from the context menu. The sync icon will change to a solid green circle with a white checkmark, indicating the file is permanently saved to your local drive.
Edit Your Synced Documents with WPS Office
While you are organizing your local OneDrive files, you can use WPS Office to open, edit, and save your documents. It is a highly compatible, lightweight, and completely free alternative to Microsoft Office that works seamlessly with your local storage.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your Windows PC.
- 2. Open Your Local Files: Launch WPS Office, click 'Open', and navigate to your C:\Users\[YourUsername]\OneDrive folder.
- 3. Edit and Sync Automatically: Edit your documents and hit 'Save'. Because the file is in your local OneDrive folder, OneDrive will automatically sync your latest changes to the cloud.

Frequently Asked Questions
Can I change the location where OneDrive stores local files?
Yes. To change the location, click the OneDrive icon in your taskbar, go to Settings, and click 'Unlink this PC'. Sign back in, and during the setup process, you will be prompted with the folder location. Click 'Change location' to select a different hard drive or folder.
Why do my files keep changing back to online-only?
This usually happens because Windows Storage Sense is enabled. Storage Sense automatically frees up local disk space by making older, unused OneDrive files online-only. You can disable this feature in your Windows Settings under System > Storage.
What happens if I delete a file from my local OneDrive folder?
If you delete a file from your local OneDrive folder, it will also be deleted from your cloud storage and any other synced devices. If you just want to remove it from your local drive but keep it in the cloud, right-click the file and select 'Free up space' instead of deleting it.




