ThisCalculator

Everyday

OneDrive Not Syncing? 15 Fixes for File and Account Errors

Updated · Standard formula, shown below

OneDrive Not Syncing? 15 Fixes for File and Account Errors

OneDrive not syncing is a common frustration that usually stems from a paused sync, a stalled process, a corrupted cache, or an account sign-in problem. The following 15 fixes address the most frequent file and account errors, from simple restarts to deeper cache resets, and will get your files uploading and downloading again.

Why OneDrive Stops Syncing

Before diving into fixes, it helps to understand the typical causes. OneDrive relies on a background process (OneDrive.exe) that watches your local folder and communicates with Microsoft’s servers. When that process crashes, gets paused, or loses its connection, files queue up and the status icons in File Explorer (or Finder on Mac) show a grey cloud or a red circle. Account errors appear when your authentication token expires or the app can’t verify your login, often after a password change or a long period of inactivity. File-specific errors (like “The file is locked” or “The file name contains invalid characters”) are separate but also common.

Fix 1: Check Sync Status and Pause/Resume

The quickest fix is often the most obvious. Click the OneDrive cloud icon in the system tray (Windows) or menu bar (Mac). If you see “Sync paused,” click it and choose “Resume syncing.” OneDrive can pause automatically during a presentation or when you’re on a metered connection. Also check that the date and time on your device are correct—an incorrect clock can break the authentication handshake with Microsoft servers.

Fix 2: Restart OneDrive Completely

A hung process is a frequent culprit. To restart OneDrive on Windows, right-click the cloud icon and select “Exit.” Then reopen it from the Start menu. On a Mac, right-click the icon and choose “Quit,” then relaunch from Applications. This clears temporary glitches without affecting your files. Wait a couple of minutes after relaunching to see if the sync resumes.

Fix 3: Restart Your Computer or Mac

If a simple restart of the app doesn’t work, a full system reboot is next. This clears any conflicting background processes and resets network stacks. After rebooting, open OneDrive manually if it doesn’t start automatically. Many transient sync errors resolve after a clean boot.

Fix 4: Check Your Internet Connection and Firewall

OneDrive needs a stable internet connection. Run a speed test or try loading a website. If your connection is fine, check that your firewall or VPN isn’t blocking OneDrive. Corporate networks often restrict the endpoints OneDrive uses. Temporarily disable your VPN or firewall to test—if sync works then, you’ll need to add OneDrive to the allowed list. On Windows, you can also reset the network stack by opening Command Prompt as administrator and typing netsh winsock reset, then restarting.

Fix 5: Sign Out and Back In

Account errors often require a fresh authentication. Click the OneDrive icon, go to Settings (gear icon) > Account > “Sign out.” After signing out, sign back in with your Microsoft account. Do not delete your local files during this process—OneDrive will simply re-link to the existing folder. On a Mac, the path is OneDrive Preferences > Account > Sign Out.

Fix 6: Reset OneDrive App (Windows)

If sign-out doesn’t help, reset the app itself. On Windows 10/11, press Win + R, type onedrive.exe /reset, and press Enter. A command prompt window flashes briefly, and the OneDrive icon reappears after a few minutes. This reinitializes the app without deleting your files. If the icon doesn’t return, type onedrive.exe in the same Run box to launch it manually.

Fix 7: Clear the OneDrive Cache

A corrupted cache can cause persistent errors. To clear it, first exit OneDrive (right-click the icon > Exit). Then open File Explorer and navigate to %localappdata%\Microsoft\OneDrive\cache and delete the contents of that folder. On Mac, the path is ~/Library/Application Support/OneDrive—but be careful to only delete the cache subfolder, not the whole directory. After deleting, restart OneDrive; it will rebuild the cache and resync your files. This is safe but may take a while for large libraries.

Fix 8: Check File Names and Paths

OneDrive has strict naming rules. Files or folders with invalid characters (like " * : < > ? / \ |) or names that end with a period will not sync. Also, the full path length (including the OneDrive folder) must be under 400 characters. Rename any offending files or move them closer to the root of your OneDrive folder. You can identify problem files by looking for the red circle icon in File Explorer—hovering over it shows the error.

Fix 9: Ensure Files Are Not Locked or Open

OneDrive cannot sync a file that is currently open in another program (like Word or Excel) or locked by a process. Close any applications that might be using the file. On Windows, you can check if a file is locked by trying to rename it—if it fails, something is using it. Also, check that you have the necessary permissions to read/write the file in its location.

Fix 10: Update OneDrive and Windows/macOS

Outdated software can cause sync failures. OneDrive updates automatically, but you can force a check by clicking the cloud icon > Settings > About and looking for a version number. For Windows, run Windows Update. For Mac, check the App Store for updates. Microsoft regularly patches sync bugs, so being current is essential.

Fix 11: Run the OneDrive Diagnostic Tool

Microsoft provides a built-in diagnostic tool. On Windows, right-click the OneDrive icon, select Settings > Help & Feedback > “Diagnose & Fix.” This will scan for common issues (like file name problems, sync conflicts, and account errors) and attempt to fix them automatically. On Mac, the option is under OneDrive Preferences > Help & Feedback > “Diagnose & Fix.”

Fix 12: Check Storage and Quota

If your OneDrive storage is full, sync will stop. Go to onedrive.com, sign in, and check your storage usage in the bottom-left corner. If you’re over the limit, you’ll need to free up space (delete files or empty the recycle bin) or upgrade your plan. Similarly, if you have a work or school account, your IT admin may have set a quota—check with them if you can’t see your usage.

Fix 13: Reinstall OneDrive

If nothing else works, a clean reinstall often resolves deep-seated issues. On Windows, uninstall OneDrive via Settings > Apps > Apps & features. Then download the latest version from the Microsoft website and reinstall. On Mac, quit OneDrive, drag it from Applications to Trash, and reinstall from the Mac App Store or Microsoft’s site. Your files remain in the cloud and will sync again after you sign in.

Fix 14: Check for Sync Conflicts

When the same file is edited on two devices, OneDrive creates a conflict copy with a name like “file (yourname’s conflicted copy).” These conflicts can sometimes confuse the sync engine. Open the conflict files, decide which version to keep, and delete the others. You can find them by searching for “conflicted” in your OneDrive folder.

Fix 15: Contact Support or Check Service Status

If all else fails, the issue might be on Microsoft’s side. Check the Microsoft 365 Service Status page (status.office.com) for any ongoing incidents. If there’s an outage, you’ll just have to wait. If the service is healthy and you still have errors, use the “Contact Support” link in OneDrive settings to open a ticket. Provide the error code you see (if any) and a screenshot of the issue.

Frequently Asked Questions

Why does OneDrive show “We can’t sync this file”?

This error usually appears for files with invalid characters, overly long paths, or files that are open in another program. Rename the file, move it closer to the root of your OneDrive folder, or close any apps that might be using it. The error message often includes a “More info” link that explains the exact reason.

How do I fix OneDrive sync on a Mac?

Most fixes are the same as on Windows: check pause status, restart the app, sign out/in, and clear the cache (in ~/Library/Application Support/OneDrive). Also ensure your macOS is up to date and that OneDrive has permission to access your files (check System Settings > Privacy & Security > Files and Folders).

Why is OneDrive not syncing on my mobile device?

Mobile apps often have a manual sync button—pull down to refresh. Check that background app refresh is enabled for OneDrive in your phone’s settings, and that you’re connected to Wi-Fi (or have cellular data allowed). If you’re on Android, also check that battery optimization isn’t killing the app in the background.

What does the grey cloud icon mean in OneDrive?

A grey cloud means the file is online-only (not stored locally). This is normal if you’ve enabled Files On-Demand. If you want it available offline, right-click the file and select “Always keep on this device.” If the icon is grey with a white arrow, it means the file is queued to download.

Can I recover files that didn’t sync before a crash?

Yes, if the files existed in your OneDrive cloud folder at any point, you can recover them from the OneDrive recycle bin online (up to 30 days for personal accounts). If you had local-only files that were never uploaded, they may be lost if you didn’t back them up elsewhere. Always check the recycle bin first.

Why does OneDrive sync so slowly?

Slow sync is often due to a large number of small files, a throttled internet connection, or OneDrive’s upload limits. Try pausing and resuming, or temporarily moving large folders out of OneDrive and back. Also, ensure you’re not running other bandwidth-heavy applications.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.