logo
search
OneDrive File Issues

Where Does OneDrive Store Local Files on Windows?

Maira MehtabMaira Mehtab Sep 22, 2026 870 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Open the local OneDrive folder

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.

2
Select files or folders for offline use

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.

3
Enable 'Always keep on this device'

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.

Understanding OneDrive Status Icons: A blue cloud icon means the file is online-only. A green outline with a checkmark means it is available locally, and a solid green circle with a checkmark means it is pinned to be kept on your device permanently.
Free Microsoft Office alternative

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. 1. Download and Install: Download WPS Office for free from the official website and install it on your Windows PC.
  2. 2. Open Your Local Files: Launch WPS Office, click 'Open', and navigate to your C:\Users\[YourUsername]\OneDrive folder.
  3. 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.
Easily edit and save files directly to your local OneDrive sync folderFully compatible with Microsoft Office formats including .docx, .xlsx, and .pptxLightweight installation that runs fast on WindowsFamiliar tabbed interface with no learning curve required
microsoft office alternative - wps office

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.