WindowsOneDriveFile Sync

OneDrive Not Syncing on Windows 11: Fix It Step by Step

TG By The TechFix Guide Editorial Team  ·  Published  ·  Last reviewed  ·  How we check our guides

OneDrive is quietly load-bearing on most Windows 11 machines: documents, Desktop folders, screenshots, and phone backups all flow through it, and when the sync engine stalls, the failure shows up in confusing ways - files missing on a new laptop, a green checkmark that never arrives, or an error code flashing in the taskbar for half a second. The good news is that nearly every OneDrive sync problem falls into a small set of causes, and Windows 11 gives you direct tools for each one. This guide walks through them in the order you should try them, with the exact menu paths, the real error codes you may see, and what to do when the usual fixes do not work.

What the OneDrive icons are telling you

Before changing anything, read the status OneDrive is already reporting. Click the cloud icon in the system tray (bottom-right corner of the taskbar - you may need to click the chevron to show hidden icons). The icon itself is the first diagnostic, because each shape maps to a specific state:

Icon State What it means
Solid cloud with checkmarkUp to dateEverything is synced; your problem is elsewhere
Cloud with rotating arrowsSyncingUploads or downloads in progress - wait before acting
Cloud with pause symbolPausedSync was paused manually or by Battery Saver / metered-network rules
Cloud with exclamation markAttentionA real error exists; open the panel to read it
Cloud with X or gray cloudNot signed inThe app is running but the account session has expired

The panel that opens from that icon also lists the specific files that failed and shows a one-line error per file. Screenshot or copy that message before you start changing settings - it narrows the rest of this guide dramatically. A "file is locked" error points at an open program, an "insufficient space" error points at quota, and any code starting with 0x8004 points at sign-in or connectivity.

Close-up view of a laptop screen showing a cloud synchronization status icon in a notification area
The system-tray OneDrive panel is the fastest diagnostic: icon shape, sync counts, and the exact error line for any failed file.

Step 1: Pause and resume sync

The simplest fix resolves a surprising number of stalls. OneDrive batches changes, and after a network hiccup, a sleep/wake cycle, or a large edit to a shared file, the queue can wedge without showing an obvious error. Click the OneDrive icon, open Settings (the gear at the top of the panel), choose Pause syncing, pick 2 hours, then immediately click the icon again and choose Resume syncing. This forces the engine to rebuild its queue and re-examine every file it had marked as pending.

If the icon starts rotating afterward and eventually shows the checkmark, you are done. If it spins for more than ten minutes on a small library, or immediately returns to the exclamation mark, move on - a persistent loop is a sign of an account or quota problem, not a stuck queue.

Step 2: Check your storage quota and account state

OneDrive stops uploading when the account is full, and the failure is per-file and quiet: files keep opening locally while never appearing in the cloud. Check two things. First, click the OneDrive icon - the panel shows a storage meter with the amount used out of the base quota. Second, sign in at onedrive.com in a browser and look at the same meter; if it reads full, you have found the cause.

Two account states also block sync without looking like errors: a password change on the Microsoft account (all OneDrive sessions stop syncing until you re-authenticate) and an expired or unverified Microsoft account. Sign in at account.microsoft.com, confirm the address is verified and security info is current, then sign out and back in from the OneDrive tray panel. Storage upgrades and quota math vary by plan, so treat the meter you see in your own account as the authoritative number rather than assuming.

Step 3: Decode the error codes

When OneDrive cannot sign in, it surfaces a code starting with 0x8004. Microsoft documents a family of these, and while the full catalog is long, the practical split is simple:

Code pattern Typical cause First action
0x8004de40Trouble connecting to the service - network, TLS, or captive portalConfirm the browser can reach onedrive.com; fix connectivity first
0x8004de85Signed in with the wrong account type or a school/work account conflictUnlink and relink with the correct personal account
Other 0x8004...Almost always an authentication or session problemRe-sign in; if it recurs, run the reset in Step 4

Note what 0x8004de40 does not usually mean: it is rarely a OneDrive bug. It means the machine could not establish a secure connection to Microsoft's sync endpoints. If a browser also fails to load onedrive.com, the problem is your network - date/time skew can cause the same class of failure, because an incorrect system clock breaks TLS certificate validation. Set the clock right (Settings > Time & language > Date & time, enable "Set time automatically") before anything else. Persistent connectivity trouble on Wi-Fi has its own debugging path, covered in our guide to fixing a Wi-Fi connection that shows connected but no internet, and the same steps apply here.

Step 4: Reset OneDrive

The reset clears the local sync database and forces a full re-evaluation - it does not delete files, either locally or in the cloud, so it is safe to run. Close nothing; just open a Run dialog (Windows key + R) and run one of these commands, depending on which path exists on your machine:

  • Newer installations: %ProgramFiles%Microsoft OneDriveonedrive.exe /reset
  • Older or per-user installations: %LocalAppData%MicrosoftOneDriveonedrive.exe /reset

Run the first; if Windows reports it cannot find the file, run the second. Nothing visible happens for about a minute - that is normal. OneDrive should restart on its own within two minutes. If it does not, start it manually: open Run again and type onedrive, or find OneDrive in the Start menu and launch it. The first sync after a reset rebuilds everything, so on a large library (tens of thousands of files) expect the cloud icon to rotate for a long stretch; leave the machine on and let it finish.

A reset fixes corrupted sync state, files stuck in "pending" forever, and duplicate "Conflict" files that regenerate endlessly. It does not fix a full quota or a wrong account, which is why it is Step 4 and not Step 1.

Step 5: Unlink and relink the account

If the reset did not clear a sign-in loop, unlink the account entirely: click the OneDrive icon, open Settings, go to the Account tab, click Unlink this PC, and confirm. Your files stay on disk. Then sign in again through the same panel. This produces a fresh authentication token and, in the process, lets you catch the silent failure mode where OneDrive has been logged into an old address (a work tenant, a retired email) while you have been saving into a folder that syncs to nothing.

While you are in the Account tab, check which folders are actually selected: Settings > Account > Choose folders. If the missing files live in a folder that was deselected at some point - often after a shared-library cleanup - OneDrive is not failing to sync them; it has been told not to.

Edge cases: stuck "Processing changes" and phantom conflicts

Two failures deserve their own handling because the standard steps do not touch them:

  • "Processing changes" for days. This status can legitimately run for hours after a reset or a huge upload, but if it has been stuck for two days on a small library, the usual culprit is a file the engine cannot handle: an Outlook PST with the app open, a database file, a disk image, or a file with characters the sync layer rejects. Check the tray panel's list of failed files; if nothing is listed, temporarily exclude the heavyweight files (move the PST out of the synced folder with Outlook closed) and watch the status clear.
  • Endless "file name is too long" or invalid-character errors. OneDrive enforces Windows path limits and rejects certain characters. Files nested many folders deep are the classic case. Shorten the folder chain or move those files up a level, and the errors disappear - no reset needed.
  • Duplicate files named "ComputerName-Conflict". These appear when the same file changed in two places before sync could reconcile. They are copies, not corruption: open both, keep the newer content, delete the other, and stop editing the same file on two machines at once, since that habit is what manufactures them.

If nothing above works: a 6-point failure checklist

Symptom Most likely cause Try
Icon never appears at allOneDrive not running or disabled at startupLaunch OneDrive from Start; check Task Manager > Startup apps
Syncs only when plugged inBattery Saver pausing background syncSettings > System > Power & battery, review Battery Saver thresholds
Syncs only on some networksConnection marked as meteredSettings > Network & internet > Wi-Fi > network properties
Files upload but new devices miss themFiles on This PC only, outside the synced rootConfirm files live under OneDrive..., not C:Users...Documents
Reset command errors immediatelyWrong installation path for your versionTry the other path from Step 4
Everything syncs except shared librariesLibrary permission or stale tenant sign-inRe-add the library from the browser "Sync" button

One last orientation note: OneDrive's version history is a safety net while you troubleshoot. Right-click any affected file and choose Version history (or restore a whole folder from the web interface at onedrive.com > Recycle bin). Nothing in this guide overwrites content, but knowing that both local copies and cloud history exist removes the fear that makes people skip the reset step entirely. For a belt-and-braces setup that does not depend on any single cloud service, pair OneDrive with a scheduled local backup to an external drive - the two cover failure modes the other cannot.

Where to go next

Sync errors are one member of a broader family of Windows 11 connectivity and storage problems. If your issue turned out to be network-related rather than OneDrive-related, our walkthrough of fixing Wi-Fi that shows connected but no internet covers the diagnostic order that applies here too. And if the root cause was storage pressure - full quota, failing uploads, or files that silently never copied - the guide to backing up your computer to an external drive shows how to build redundancy that survives even a total sync failure. For the other side of the Microsoft account that OneDrive signs into, our guide to setting up two-factor authentication explains the account states that occasionally lock sync out entirely.

Editorial review

First published
Last reviewed
Applies to
OneDrive desktop client on Windows 11 (current release)
Reviewed by
The TechFix Guide editorial team

New guide. Verified the system-tray icon states, the Pause/Resume syncing path in the OneDrive settings panel, the account-unlink flow under Settings > Account, the Choose folders selector, both onedrive.exe /reset command paths (Program Files and LocalAppData variants), and the storage meter shown in the tray panel and on onedrive.com.

Menu paths, option names and file paths in this guide were checked against the version named above. We do not claim to have tested every brand of hardware, so if your build shows something different, tell us and we will correct the page. How we check our guides  ·  Report an error