How to fix OneDrive being disconnected and troubleshoot sync errors

Last update: 10 September 2026
  • Verification of the status of Microsoft servers and the system's date and time settings.
  • Using reset commands (/reset) and cleaning the Credential Manager in Windows.
  • Differentiation between the use of personal accounts and professional or educational accounts.
  • Procedures for reinstalling and cleaning the cache on PC, Mac, Android, and iOS.

Frustrated man in front of his laptop demonstrating OneDrive connection problems

I'm sure it's happened to you: you open your computer and suddenly the OneDrive cloud icon has turned gray, has a red cross, or simply tells you that you're disconnected. It's a frustrating moment, especially if you have work to do, but don't worry, most of the time it's not a serious problem , just a simple sync glitch that can be fixed with a couple of clicks.

To avoid unnecessary worry, the first thing to know is that even if the service seems down, it's almost always a local issue with your computer and not a general Microsoft outage. In this article, we'll walk you through how to get your cloud service back up and running, from the simplest tricks to the most technical solutions, so your files are safe and up-to-date in real time.

secure file storage
Related articles:
Complete guide to secure local and cloud file storage

First steps: rule out external failures

Servers in a data center representing the Microsoft OneDrive cloud infrastructure

Before you start troubleshooting the configuration, it's a good idea to check if the problem is external. Sometimes Microsoft servers undergo maintenance or experience a temporary outage. You can check the official Microsoft 365 services status page to confirm that everything is working correctly in your region.

  Gaming PC Maintenance: A Complete Guide and Key Tips

Another detail that might seem trivial but causes a lot of problems is your system's date and time settings . If your PC's clock is out of sync, Microsoft's security server will reject the connection for authentication reasons, preventing OneDrive from working. Also, make sure your internet connection is stable ; if you're unsure, try connecting your computer to your smartphone's mobile hotspot to rule out your router's firewall blocking access.

Quick solutions for Windows and Mac

Hands typing on a laptop keyboard, illustrating the application of technical solutions and commands

If everything above is working, try the classic method: closing and reopening. Simply closing the window isn't enough; you need to right-click the OneDrive icon in the system tray and select " Close OneDrive," then relaunch it from the Start menu. If this doesn't work, the next step is to unlink the account . Go to the application settings, enter the Account tab, and select the option to unlink this PC. This won't delete your files; it simply forces the system to re-authenticate and refresh the folder structure.

Share files between Mac and Windows
Related articles:
How to easily share files between Mac and Windows

For Mac users, the process is similar, but if you need to perform a deeper reset, you can go to the Applications folder, right-click on OneDrive, and select Show Package Contents . Within the Content Resources path, you'll find a file called ResetOneDriveApp.command . Running this file will completely reset the application.

Advanced tricks: Commands and Credentials

Smartphone on a laptop, representing OneDrive synchronization on mobile devices

If the cloud connection persists, we can use the command prompt to force a clean restart. Open the Command Prompt (CMD) as administrator and execute the path to the executable followed by the command /reset. Depending on your installation, the path is usually %localappdata%\\Microsoft\\OneDrive\\onedrive.exe /reset or, failing that, C:\\Program Files\\Microsoft OneDrive\\onedrive.exe /resetThis process is a lifesaver because clears the local cache and removes temporary files who might be corrupt.

  Differences between DOC and DOCX: which one to use and why

If the problem persists, the culprit might be the Windows Credential Manager . Sometimes it stores an expired password or a corrupted access key, preventing you from logging in. Search for Credential Manager in the Control Panel, locate the entries related to Microsoft OneDrive, and delete them . Restarting the application will prompt you for your email and password from scratch, removing any previous blocks.

Windows 11 diagnostic tool
Related articles:
Diagnostic tool in Windows 11: a complete guide to taking care of your PC

Specific problems: Accounts and Folders

Stressed woman working remotely, reflecting her frustration at finding OneDrive offline

A very common mistake occurs when trying to log in to a work or school environment with a personal Microsoft account . If you see a message about a 'service tenant' or a strange application code, you're probably using the wrong email address for that type of login. In these cases, you should use your work or school login ID provided by your organization.

Regarding folders that don't appear on your computer but do appear on the web, check that you have the correct editing permissions . An effective solution is to log in to the web version of OneDrive, go to the 'Shared' section, and select ' Add to my OneDrive' to force local syncing. Also, keep in mind that there are naming and size limitations ; files larger than 100 GB or containing unsupported characters may block the sync queue.

Reset on mobile devices

If the problem is on Android, the quickest way is to go to Settings, find the OneDrive app, and select Clear data and Clear cache before force-stopping and uninstalling the app, then reinstalling it from the Play Store. On iOS, you can try resetting your account from the profile settings within the app, or if that doesn't work, perform a soft reset (force restart) of your device before downloading the app again from the App Store.

  Common hard drive problems in Windows and how to fix them

When all the previous options fail, the definitive solution is to completely uninstall OneDrive and download the latest version from the official Microsoft website. This ensures there are no version conflicts and that all system components are up to date. Once reinstalled, simply log in and let the system scan your local folders to align them with the cloud until the blue icon confirms that everything is up to date.

secure data backup
Related articles:
Secure data backup: a complete guide and best practices