sodcalculator

10 Tech How-To

Fix OneDrive High CPU Usage on Windows 11

Guide 10-52775 · Updated · Step by step

OneDrive on Windows 11 can sometimes spike CPU usage to near 100%, slowing down your entire PC. This usually happens because of sync loops, corrupted cache files, or a stuck process, and the fix involves stopping the app, clearing its cache, and resetting the sync engine. Below are the exact steps to resolve it, along with background on why it occurs and how to prevent it from coming back.

Why OneDrive Uses High CPU

OneDrive is a cloud storage client that continuously monitors your files for changes and uploads or downloads them. Under normal operation, this uses little CPU. However, high CPU usage typically stems from one of these causes:

  • Sync loops: A file that keeps changing (like a constantly-updated database or Outlook PST) triggers endless re-uploads.
  • Corrupted cache: The local database that tracks file states can get out of sync, forcing OneDrive to re-scan everything.
  • Too many files: OneDrive struggles with folders containing hundreds of thousands of small files, causing repeated indexing.
  • Stuck processes: A hung background process (e.g., OneDriveUpdater) can consume CPU indefinitely.
  • Conflicts with antivirus: Real-time scanning of every file OneDrive touches can amplify CPU usage.

Quick Fix: Restart OneDrive

Before diving into deeper fixes, try restarting the app. This clears temporary glitches and often resolves the issue immediately.

  1. Right-click the OneDrive cloud icon in the system tray (bottom-right).
  2. Select Settings (gear icon) → Exit.
  3. Wait 10 seconds, then press Start, type OneDrive, and open the app.
  4. Check Task Manager (Ctrl+Shift+Esc) to see if CPU usage has dropped.

If it hasn’t, proceed to the next steps.

Reset OneDrive Cache

A corrupted cache is the most common cause of persistent high CPU. Resetting it forces OneDrive to rebuild its local database, which usually fixes sync loops.

  1. Exit OneDrive as described above.
  2. Press Win + R, type %localappdata%\Microsoft\OneDrive\, and press Enter.
  3. Delete the cache folder (you can rename it to cache_old instead of deleting to be safe).
  4. Also delete the settings folder (or rename it).
  5. Restart OneDrive. It will re-sync your files, which may take a while, but CPU usage should normalize.

Note: This does not delete your cloud files; it only removes local metadata.

Use the Official Reset Command

Windows 11 includes a built-in reset command that does the same as the manual cache deletion but also re-registers the app.

  1. Exit OneDrive completely.
  2. Press Win + R, type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter.
  3. A command prompt window may flash briefly. Wait a few minutes.
  4. OneDrive should restart automatically. If not, launch it from Start.

This is the most reliable fix for high CPU caused by a corrupted database. If it doesn’t work, try the next step.

Check for Sync Loops and Problematic Files

If resetting doesn’t help, the issue might be a specific file or folder causing endless sync attempts. Look for files with a red or green circular arrow icon in File Explorer.

  • Files with a red X: Right-click and choose “Free up space” or “Always keep on this device” to force a re-sync.
  • Files that change frequently: Move them out of OneDrive or exclude the folder from sync (Settings → Account → Choose folders).
  • Large PST files (Outlook): These are notorious for sync loops. Exclude them or use OneDrive’s “Files On-Demand” to keep them online-only.
  • Check for empty folder names: OneDrive sometimes struggles with folders that have trailing spaces or invalid characters.

To see which file is causing the issue, open OneDrive’s activity center (cloud icon → “View sync activity”). It will show errors or “Processing changes” for a stuck file.

Adjust OneDrive Settings

Some settings can reduce CPU load significantly, especially on machines with limited resources.

  • Pause syncing temporarily: Right-click the cloud icon → “Pause syncing” → choose 2 or 24 hours. This gives your CPU a break.
  • Enable Files On-Demand: Go to Settings → Sync and backup → Advanced settings → turn on “Files On-Demand”. This downloads files only when you open them, reducing constant background I/O.
  • Limit upload/download rate: In Advanced settings, set a rate limit (e.g., 50% of your bandwidth) to reduce CPU spikes during large transfers.
  • Disable Office integration: In Settings → Office, turn off “Use Office apps to sync Office files”. This prevents Office from constantly checking for co-authoring updates.

When to Unlink and Re-link Your Account

If all else fails, unlinking and re-linking your account forces a full re-initialization of the sync engine. This is more drastic but often fixes deep corruption.

  1. Right-click the OneDrive cloud icon → Settings → Account → Unlink this PC.
  2. Follow the prompts. Your files remain in the cloud and on disk (if you choose “Keep files”).
  3. After unlinking, restart your PC.
  4. Open OneDrive, sign in again, and let it re-sync.

This resets all local state and usually eliminates any lingering CPU spikes. If the problem persists after this, consider reinstalling OneDrive from the Microsoft Store or the official website.

Frequently Asked Questions

Why does OneDrive use 100% CPU even when idle?

This usually indicates a sync loop or a corrupted cache. Even when you’re not actively using files, OneDrive may be re-scanning for changes or retrying a failed upload. Resetting the cache (as above) is the first thing to try.

Will resetting OneDrive delete my files?

No. Resetting only clears the local cache and metadata. Your actual files remain on your hard drive and in the cloud. After reset, OneDrive will re-download the metadata and re-sync, but your data is safe.

Can I disable OneDrive to stop high CPU?

Yes, but you’ll lose automatic syncing. To disable it, right-click the cloud icon → Settings → Account → Unlink this PC, or use Task Manager to end the OneDrive process. If you don’t need OneDrive, you can uninstall it via Settings → Apps → Installed apps.

Does OneDrive high CPU damage my computer?

No, high CPU usage won’t physically damage your hardware, but it can cause overheating, fan noise, and reduced battery life on laptops. It can also make other programs sluggish. Fixing it is about performance, not safety.

Why does OneDrive use CPU after I close it?

OneDrive may have background processes that continue running, such as the updater or sync engine. To fully stop it, right-click the tray icon and choose Exit, then check Task Manager for any OneDrive processes. If they remain, you can disable it from starting up via Task Manager → Startup.

Is there a way to prevent high CPU in the future?

Yes. Keep your OneDrive folder clean by moving large or frequently-changing files out of it, use Files On-Demand, and periodically reset the cache after major updates. Also, ensure your Windows and OneDrive are up to date, as Microsoft regularly fixes sync bugs.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →