A Microsoft file hosting and synchronization service.
If OneDrive shows a warning and files stay in pending sync while the web version has the latest content, the most common causes are hidden or temporary files in the OneDrive folder, Office cache issues, or an incorrect Windows Search index status.
Try this in order:
- In File Explorer, enable Hidden items and check the affected OneDrive folder for hidden files.
- Hidden files can keep a folder in Sync pending even when no normal file is visible.
- Remove hidden files or folders that are not related to files currently being edited.
- Check for temporary Office files.
- Close any open Office files.
- Clear the Office document cache.
- If temporary Office files are still shown as syncing, delete them only if it is safe to do so.
- Warning: deleting temporary Office files can cause data loss if the file is still in use.
- If the pending item is a .TMP file, use one of these options:
- Upload it manually to OneDrive on the web.
- Rename it with a different extension.
- Move it outside the OneDrive folder.
- Delete it if it is no longer needed.
- Caution: TMP files may still be required by the app that created them.
- If no hidden or temporary files are causing the issue, test whether the Windows Search index is showing a cached sync state:
- Open Start > search for Services > open Services.
- Double-click Windows Search.
- Set Startup type to Disabled.
- Under Service status, select Stop.
- Select OK.
- Refresh File Explorer.
- If the syncing icon disappears after refresh, rebuild the search index:
- Go back to Services and set Windows Search back to Automatic (Delayed Start).
- Open Start > search for Indexing > open Indexing Options.
- Select Advanced > Rebuild.
- This can take some time to finish.
- If a folder shows Sync pending but no file is visible, create a new folder, copy the files from the affected folder into the new folder, and then delete the old Sync pending folder.
- Review the OneDrive sync client for the exact file error:
- Open the OneDrive icon from the Windows notification area.
- Review the listed files with sync problems and fix the specific issue shown for each file.
- If the problem continues, stop and reestablish the sync connection for the affected library:
- Right-click the OneDrive icon in the Windows notification area.
- Select Stop syncing a folder...
- Choose the affected folder and stop syncing.
- Then sync the library again.
- Note: stopping sync disconnects the folder from the library, but files remain in the previously synced folder. Syncing again creates a new local folder, and if the same name is used, OneDrive may append a number.