How to fix OneDrive files stuck on Sync pending or Upload pending
Sync pending usually points to one stuck item: a hidden file, a temporary file or an empty folder. Find that item first, then look at the account and the OneDrive app if it still sits there.
What do users report?
A person on Microsoft Q&A wrote in January 2024: "Problem is my files that I've changed at my end are not syncing and are stuck on Sync pending." OneDrive had shown one 81.1 MB file stuck on downloading for days. The only reply asked for the error code and a screenshot, then listed basic steps: unlink the PC, close OneDrive, clear the Office file cache and account cache, and sign in again.
What does Microsoft say to do?
Microsoft's support page splits the problem by what you see. If a folder says Sync pending but you see no file, the cause may be a hidden file. Turn on Hidden items in File Explorer and look. If there is no hidden file, make a new folder, copy all files from the stuck folder to it, and delete the stuck folder. Microsoft adds that an empty folder may show Sync pending until a file goes in.
For a temporary .TMP file, Microsoft lists four options: upload it by hand on onedrive.com, rename it with a new extension, move it out of OneDrive, or delete it. Microsoft warns not to delete TMP files unless you know they are not in use, because you may lose unsaved work.
If the OneDrive icon in the taskbar or menu bar says Sync pending, Microsoft says you may need to delete the Office Document Cache. Check Microsoft's page for the current steps.
What if files only upload after a restart?
Another Q&A thread from 2025 describes synced SharePoint folders where files sat in upload pending or showed Upload failed until the PC restarted. A moderator's summary listed what had been tried: updates, a OneDrive reset, cache clearing, a reinstall and an unlink and relink. After the relink, some folders showed Upload blocked, which the moderator said can happen when the Office app account does not match the OneDrive account.
For files that still would not upload, the moderator suggested contacting Microsoft Support. The asker's team used SharePoint in the browser in the meantime.
A safe order to try
Advice from us: 1. Check for hidden and TMP files. 2. Move the files to a new folder. 3. Check that Office and OneDrive use the same work account. 4. Save through the browser while you wait. 5. Have your IT admin raise a ticket with Microsoft if it keeps coming back.
Where else do synced files go wrong?
If you cannot find a synced file at all, our guide on Teams channel files that are missing helps. If a flow reads the same folder, see listing a SharePoint folder's files in Power Automate.
Tired of files going missing between steps?
Al Davies builds tools that cut busywork and missed steps for teams, using SharePoint, Power Automate and Teams automation. The first call is free and takes 45 minutes.
FAQ
Is it safe to delete a TMP file that shows Sync pending?
Microsoft says not to delete TMP files unless you are sure they are no longer in use, since you may lose unsaved work. Its safer options are to upload, rename or move the file.
Why does a folder say Sync pending with nothing inside?
Microsoft says the cause may be a hidden file, or an empty folder that waits for a first file. Show hidden items in File Explorer to check.
Sources
- OneDrive is stuck on Sync pending | Microsoft Support
- Sharepoint onedrive issue | Microsoft Q&A
- How to fix OneDrive/SharePoint Upload issues when the only workaround is restarting your PC? | Microsoft Q&A