OneDrive is supposed to be invisible — files just sync. But when it gets stuck, OneDrive.exe can sit at 20–40% CPU for hours, the fan spins up, and the little cloud icon shows syncing arrows that never stop. On Windows 11, the usual triggers are stuck files, Files On-Demand thrashing on huge libraries, and sync conflicts looping forever.

The diagnostic shortcut: pause syncing first for instant relief, then find what’s stuck. Nine times out of ten it’s one file or one setting. For the Windows 10 variant of this guide, see the companion article linked at the end.

Why this happens

  • Stuck file blocking the queue: One file that can’t upload (bad name, permissions, locked) stalls everything behind it.
  • Initial or re-sync of a huge library: First syncs and post-reinstall syncs hash hundreds of thousands of files.
  • Files On-Demand placeholder churn: Browsing cloud-only folders forces constant metadata fetching.
  • Sync conflicts looping: The same file edited in two places creates a conflict OneDrive can’t resolve.
  • Photo/video auto-upload bursts: Camera roll or screenshot folders dumping gigabytes at once.
  • Antivirus scanning every synced file: Defender real-time scanning each file OneDrive touches doubles the CPU.
  • Corrupted OneDrive cache: Damaged local sync database causes repeated re-hashing.

How to fix it

Work through these in order — diagnose first, then act.

Fix 1: Pause syncing for immediate relief

Stop the bleeding, then investigate calmly.

  1. Click the OneDrive cloud icon in the taskbar (click ^ to show hidden icons if needed).
  2. Click the gear icon > Pause syncing > choose 24 hours.
  3. Watch Task Manager — OneDrive CPU should drop to zero within a minute, confirming OneDrive was the load.
  4. Leave it paused while you work through the fixes below; resume only when you’ve addressed the cause.
  5. Note: pausing is safe — local files stay local, cloud files stay in the cloud; nothing is deleted.

Fix 2: Find and unstick the blocking file

Clear the logjam at the head of the queue.

  1. Click the OneDrive cloud icon and read the sync status list — files stuck “syncing” for hours are suspects.
  2. Look for sync error notifications: click the icon > View sync problems if shown.
  3. Common blockers: filenames with #, %, or leading/trailing spaces; paths exceeding ~400 characters; files open in another app.
  4. Rename or move the offending file out of the OneDrive folder, or close the program locking it.
  5. Resume syncing (Pause syncing > Resume) and watch the icon — it should progress through the queue and settle to the checkmark.

Fix 3: Tame Files On-Demand

Stop placeholder churn on large libraries.

  1. Click the OneDrive icon > gear > Settings > Sync and backup > Advanced settings.
  2. If Files On-Demand issues correlate with File Explorer browsing spikes, try turning it off temporarily as a test — everything downloads locally, ending placeholder fetches.
  3. For huge archival folders you rarely touch: right-click the folder in File Explorer > Choose OneDrive folders to sync (via Settings > Account) and uncheck them.
  4. Right-click frequently-used folders > Always keep on this device so they never trigger on-demand fetches.
  5. Re-enable Files On-Demand afterward if you rely on it — with the giant folders excluded, CPU should stay calm.

Fix 4: Resolve sync conflicts

Break the conflict loop.

  1. In File Explorer, look inside synced folders for files with conflict in the name (e.g., Document-Conflicted-Copy).
  2. Open each conflicted copy, decide which version wins, merge manually if needed, then delete the loser.
  3. Check the OneDrive Recycle Bin online (onedrive.live.com) for deleted-but-still-syncing ghosts.
  4. If conflicts regenerate, check whether two devices are editing the same file simultaneously — stagger the workflows.
  5. Resume syncing and confirm the icon reaches the steady checkmark state.

Fix 5: Reset OneDrive’s local cache

Fix a corrupted sync database causing endless re-hashing.

  1. Make sure syncing is paused, then press Win + R and run: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  2. A Command Prompt window flashes; the OneDrive icon disappears from the taskbar for a few minutes — this is normal.
  3. If the icon doesn’t return within 5 minutes, press Win + R and run %localappdata%\Microsoft\OneDrive\onedrive.exe manually.
  4. Sign back in if prompted — OneDrive re-indexes your files (this takes a while on large libraries but is one-time).
  5. Monitor CPU during re-indexing; it should be busy once, then settle permanently.

Fix 6: Reduce Defender’s interference with sync

Stop the antivirus from doubling the work.

  1. Open Windows Security > Virus & threat protection > Manage settings > Exclusions > Add or remove exclusions.
  2. Add your main OneDrive folder as an exclusion only if you trust everything in it — this stops Defender rescanning every file OneDrive touches.
  3. A safer middle ground: exclude specific high-churn subfolders (build outputs, video renders) rather than the whole OneDrive tree.
  4. See the best way to fix Defender high CPU for the full exclusion strategy.
  5. Retest sync CPU — on systems where Defender was the amplifier, this cuts OneDrive’s effective load dramatically.

Control the sync pressure or start fresh.

  1. In OneDrive Settings > Sync and backup > Advanced settings > set Upload rate and Download rate limits — throttling prevents sync from saturating CPU during big transfers.
  2. Uncheck Start OneDrive automatically when I sign in to Windows if you prefer manual sync sessions.
  3. As a last resort: Settings > Account > Unlink this PC, then relink — this rebuilds the sync relationship from scratch.
  4. If you don’t use OneDrive at all, uninstall it (Settings > Apps > Installed apps > Microsoft OneDrive > Uninstall) — your files remain safe at onedrive.live.com.
  5. Windows 10 users: the same steps apply — see Microsoft’s OneDrive help at Microsoft support for version-specific dialogs.

Closing

OneDrive high CPU is almost always a stuck queue, not a broken app: pause it, find the blocking file or conflict, reset the cache if the database is corrupt, and keep Defender from amplifying the load. Once the queue drains, OneDrive goes back to being the invisible background service it’s supposed to be. If background apps in general are weighing the system down, work through disabling unnecessary startup programs .

Frequently asked questions

Why does OneDrive use so much CPU on Windows 11?
OneDrive burns CPU when it’s actively hashing, uploading, or downloading large numbers of files — initial syncs, big folder moves, and photo/video uploads are the heavy cases. Abnormal sustained CPU usually means a stuck sync: a file that can’t upload (name too long, illegal characters, permissions), a sync conflict looping, or Files On-Demand thrashing on a huge library. The OneDrive cloud icon in the taskbar tells the story — syncing arrows that never stop mean it’s stuck, not working.
Is it safe to pause or disable OneDrive to stop high CPU?
Pausing sync is completely safe — your files stay on your PC and in the cloud; only the syncing stops. Right-click the OneDrive cloud icon > Pause syncing to get immediate relief while you fix the underlying issue. Unlinking the PC or uninstalling OneDrive is also safe for your data (files remain in OneDrive online), but pause first and diagnose — most high-CPU cases are fixable without removing OneDrive.
Does Files On-Demand cause high CPU usage?
It can, in specific situations: with Files On-Demand enabled, opening or searching a folder full of cloud-only placeholders forces OneDrive to fetch metadata and thumbnails, spiking CPU. On very large libraries (hundreds of thousands of files), the initial placeholder enumeration is heavy. If CPU spikes correlate with browsing File Explorer, try disabling Files On-Demand temporarily or excluding huge archival folders from sync.
How do I find which file is stuck in OneDrive sync?
Click the OneDrive cloud icon in the taskbar — it lists files currently syncing and any with problems. Files stuck for hours are your suspects. Common blockers: paths over 400 characters, filenames with characters like # or %, files open in another program, or permission-denied system files accidentally included. Rename, move, or close the offending file and sync resumes.