A Microsoft file hosting and synchronization service.
Duplicate folders in OneDrive usually indicate a sync conflict. This commonly happens when files were changed offline, changed from multiple devices at the same time, or when rename conflicts occurred. For non-Office files, OneDrive can keep both versions and append the device name to one copy.
Use this cleanup path to restore a single folder structure:
- Identify the folder version to keep
- Open the duplicate folders and compare their contents.
- Merge unique files into one consolidated folder.
- If there are conflicting versions of the same file, open them in the relevant app, compare changes, and keep the correct version.
- For Office files, conflict resolution may offer Save a Copy or Discard.
- For non-Office files, OneDrive may keep both versions automatically.
- Rename duplicates temporarily while sorting
- Rename folder or file versions so they are easy to distinguish during review.
- After consolidation, keep the final folder and remove the extra copies.
- To reduce future sync conflicts, rename edited files or folders to something unique before saving again.
- Refresh OneDrive credentials if duplicate files include the computer name
- On Windows, select Start, type credentials, and open Credentials Manager.
- Select Windows Credentials.
- Under Generic Credentials, remove entries containing MicrosoftAccount and the username.
- Restart OneDrive.
- Clear cached files
- In the taskbar notification area, find the Microsoft Office Upload Center icon.
- Right-click it and select Settings.
- Select Delete cached files.
- Confirm with Delete cached information.
- Stop and re-establish the sync connection
- Right-click the OneDrive icon in the Windows notification area.
- Select Stop syncing a folder...
- Choose the affected folder and select Stop syncing.
- Confirm with Yes.
- Sync the library again to get a fresh local copy.
- When OneDrive creates the new local folder, it may add a number such as 1 if the old folder name is still present.
- Important precaution
- Do not rename the synced folder after sync is established. That breaks the sync relationship.
- If duplicates continue after reconnecting
- Uninstall and reinstall OneDrive.
- This does not remove files from OneDrive; files remain available online.
If the issue is limited to files showing a constant syncing state in File Explorer, there can also be a Windows policy or search index issue. In that case, separate troubleshooting is needed.