If OneDrive shows “We can’t connect to OneDrive” or stays stuck on “Signing in,” the problem is almost always a local setting, a blocked network port, or a corrupted cache—not your Microsoft account. This guide walks through the most common causes and the step-by-step fixes that resolve them on Windows 10 and 11, plus what to do on Mac and mobile.
Why OneDrive Fails to Connect
OneDrive is a cloud storage service built into Windows. The desktop app syncs files between your PC and Microsoft’s servers. When it cannot connect, the icon in the system tray shows a red circle with a white cross or a gray cloud. The underlying causes usually fall into one of these categories:
- Network issues: Your firewall or VPN is blocking OneDrive’s traffic, or your DNS is not resolving Microsoft’s servers.
- Corrupted cache: The app’s local cache files have become damaged, preventing it from starting properly.
- Stale credentials: Your sign-in token has expired or is out of sync with Microsoft’s servers.
- Outdated app: An old version of OneDrive may no longer be compatible with the current server configuration.
- Group Policy or registry settings: On managed devices, an administrator may have disabled OneDrive or restricted its network access.
Quick Fixes to Try First
Start with these low-risk steps. They resolve a large percentage of connection errors without touching your files.
- Restart OneDrive: Right-click the cloud icon in the system tray (near the clock) and select Exit. Then reopen OneDrive from the Start menu. This clears temporary glitches.
- Check your internet connection: Open a browser and go to onedrive.com. If that page loads, your internet works; the issue is with the app.
- Disable your VPN temporarily: Some VPNs block the ports OneDrive uses. Turn the VPN off, try to sync, then turn it back on.
- Set the correct time and date: Right-click the clock, choose Adjust date and time, and enable Set time automatically. Incorrect system time breaks the secure connection to Microsoft’s servers.
- Run the OneDrive sync troubleshooter: In Windows, open Settings > System > Troubleshoot > Other troubleshooters and run the OneDrive troubleshooter. It will detect and fix common issues automatically.
Reset the OneDrive App
If the quick fixes don’t work, the cache is likely corrupted. Resetting the app forces it to rebuild its local database. This does not delete your files—it only clears the app’s internal records.
To reset on Windows:
- Press Windows + R to open the Run dialog.
- Type
%localappdata%\Microsoft\OneDrive\onedrive.exe /resetand press Enter. - A command prompt window may flash. Wait a few minutes. OneDrive should restart automatically.
- If it doesn’t restart, launch it manually from the Start menu.
On Mac, quit OneDrive (right-click the menu bar icon and choose Quit), then open Terminal and run:
killall OneDrive (this stops the process). Then relaunch OneDrive from Applications.
After a reset, you’ll need to sign in again. Your files will re-sync from the cloud, which can take time depending on how many files you have.
Check Firewall and Proxy Settings
Windows Defender Firewall or third-party security software can block OneDrive. The app needs outbound access to Microsoft’s servers on ports 80 (HTTP) and 443 (HTTPS).
To allow OneDrive through Windows Defender Firewall:
- Open Control Panel > System and Security > Windows Defender Firewall.
- Click Allow an app or feature through Windows Defender Firewall.
- Click Change settings, then Allow another app.
- Browse to
C:\Users\[YourUsername]\AppData\Local\Microsoft\OneDrive\OneDrive.exeand add it. - Ensure both Private and Public checkboxes are ticked for OneDrive.
If you use a proxy, OneDrive may not pick it up automatically. In Windows, go to Settings > Network & Internet > Proxy. If Use a proxy server is on, try turning it off temporarily. If you need the proxy, add *.onedrive.com and *.sharepoint.com to the proxy’s bypass list.
Reinstall OneDrive
If the app is still broken, a clean reinstall often fixes deep corruption. Uninstalling OneDrive does not delete your local files—it only removes the app.
On Windows:
- Open Settings > Apps > Installed apps.
- Find Microsoft OneDrive, click the three dots, and choose Uninstall.
- Restart your PC.
- Download the latest OneDrive from onedrive.com/download and install it.
- Sign in with your Microsoft account.
On Mac, drag OneDrive from the Applications folder to Trash, then reinstall from the same link.
When It’s a Server Problem
Sometimes the issue is on Microsoft’s side. If you’ve tried everything and OneDrive still won’t connect, check the service status. Microsoft maintains a status page at status.office.com. Look for any incident under “OneDrive for Business” or “OneDrive.com.” If there’s an outage, you can’t fix it locally—wait it out.
Also check if the problem is specific to your account. Try signing in to onedrive.com in a browser. If that fails with a password error, your account may be locked or your password may have changed. Reset your password and try again.
Frequently Asked Questions
Why does OneDrive keep asking me to sign in?
This usually means your authentication token has expired or become invalid. Sign out completely (right-click the cloud icon > Settings > Account > Sign out), then sign back in. If it persists, reset the app as described above.
Will resetting OneDrive delete my files?
No. The reset command only clears the app’s cache and local database. Your files remain on your hard drive and in the cloud. After reset, OneDrive re-syncs, which may take time but does not remove data.
Can I use OneDrive without the desktop app?
Yes. You can access your files via the OneDrive website (onedrive.com) or the mobile app. The desktop app is only needed for automatic syncing. If the desktop app won’t connect, you can still upload and download files through the web interface.
Why is OneDrive not syncing on my Mac?
Mac-specific issues include missing permissions (grant OneDrive access to your folders in System Settings > Privacy & Security) and the app being blocked by Gatekeeper. Reinstall the latest version from the Mac App Store or Microsoft’s site, and ensure your macOS is up to date.
What does the gray cloud icon mean?
A gray cloud icon means OneDrive is not running or is paused. Right-click the icon and select Resume or Open. If it doesn’t appear, launch OneDrive from the Start menu. If it still won’t start, use the reset command.
Can a VPN cause OneDrive connection errors?
Yes. Some VPNs route traffic through servers that Microsoft blocks or that have poor latency. Disable the VPN and test. If OneDrive works without it, add OneDrive domains to the VPN’s split-tunnel or whitelist.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Campus Tech Innovation Hubs: What They Are
- Poco C51 Airtel Prepaid Locked Variant India?
- Jenkins vs GitHub Actions: Which CI/CD Fits Your Team?
- Turn Off Backup Encryption in iTunes?
- Shared VPS Hosting: Is It Better?
- Disk Defrag Pro: What It Does and Whether You Need It