OneDrive not syncing on Windows: how to fix it
Files stuck on 'Sync pending', red X icons or OneDrive not uploading? Step-by-step fixes for Windows 11 and 10, with path limits, error codes and a safe reset.
Applies to: OneDrive sync app on Windows 11 and Windows 10, personal and Microsoft 365 work or school accounts · Published October 17, 2026 · Updated November 30, 2026
Also available in: العربية
Short answer: to fix OneDrive not syncing, check that OneDrive is running and not paused (click the cloud icon by the clock), make sure you have free storage, fix any file with a red X (usually a path that is too long or a blocked name), then restart OneDrive. If it still won’t sync, reset it with onedrive.exe /reset: your files stay.
When OneDrive stops syncing, the cause is nearly always one of five things: OneDrive isn’t running or is paused, you’re out of storage, a file breaks OneDrive’s naming or path rules, your sign-in has a problem, or the sync app’s settings are damaged. The steps below go from the 30-second checks to a full reset. After each step, watch the OneDrive cloud icon next to the clock to see whether it starts syncing again.
Updated November 2026: the long-path fix is delayed again. Microsoft is changing how the Windows sync app handles paths that are too long (message center MC1422063). Today, a path over the limit can stop syncing with an error that only says how many characters too long it is. The update keeps sync running and adds a guided rename and move. On 27 October 2026 Microsoft moved the rollout again: it now begins in January 2027 and should finish by the end of January 2027 (previously late October to end of November 2026). It arrives automatically, with nothing for you or IT to do. Until then, shorten long paths yourself using step 5. Source: Microsoft 365 message center MC1422063 (last updated 27 October 2026).
Quick reference: symptom → fix
| What you see | Most likely cause | Go to |
|---|---|---|
| No OneDrive cloud icon near the clock | OneDrive isn’t running | Step 1 |
| Icon shows a pause symbol | Sync paused (manually, battery saver or metered network) | Step 2 |
| Grey cloud icon | Not signed in, or setup not finished | Step 3 |
| “Storage full” message, or new files won’t upload | Out of OneDrive storage | Step 4 |
| Red circle with a white X on a file or folder | That item can’t sync: name, path, size or permissions | Step 5 |
| Stuck on “Processing changes” or “Sync pending” | Very large number of files, or a stuck item | Steps 5–6 |
| Sign-in error with a code like 0x8004de40 | Connection or account problem | Step 8 |
| Nothing above helps | Damaged sync settings | Step 9 |
What the OneDrive icons mean
| Icon | Meaning |
|---|---|
| Blue cloud | Online-only file: it’s in OneDrive but not downloaded to this PC |
| Green tick (outline) | Downloaded to this PC; can be freed up again |
| Solid green circle with white tick | Set to Always keep on this device |
| Two circular arrows | Syncing (“Processing changes” or “Sync pending”) |
| Red circle with white X | This file or folder can’t sync |
| Grey cloud (on the taskbar) | OneDrive isn’t signed in, or setup isn’t finished |
1. Make sure OneDrive is running
Look for the OneDrive cloud icon in the notification area at the bottom right of the screen. If you can’t see it, select the small ^ arrow to show hidden icons.
If it isn’t there, OneDrive isn’t running. Select Start, type OneDrive and open the app. Sign in if it asks. Syncing usually starts within a minute.
2. Check that sync isn’t paused
OneDrive can be paused by hand for 2, 8 or 24 hours, and it pauses itself when Windows is in battery saver mode or when you’re on a metered connection (common with phone hotspots).
- Select the OneDrive icon. If it says sync is paused, select the pause/resume button in the window that opens to resume.
- On a laptop, plug in or turn off battery saver.
- If you’re on a hotspot that Windows treats as metered, sync will resume when you’re back on normal Wi-Fi. (You can turn off Metered connection for that network in Settings → Network & internet → Wi-Fi → [network] properties, but mind your data plan.)
3. Check you’re signed in to the right account
Select the OneDrive icon, then the gear icon (Help & Settings) → Settings → Account. Check that the email address is the one where your files actually are. A work PC often has a work account and a personal account side by side, each with its own folder in File Explorer (for example OneDrive - Contoso and OneDrive - Personal).
If the icon is grey or OneDrive asks for a password, sign in again. If you changed your password recently, OneDrive needs the new one.
4. Check your storage
When you go over your OneDrive storage, you can’t upload, edit or sync new files, and your existing files become read-only. The free plan includes 5 GB; Microsoft 365 plans include more. Personal accounts that stay over the limit for months can be frozen and, after six months, the files may be deleted, so act on this warning (as of October 2026, per Microsoft’s storage quota page).
- Check: OneDrive icon → gear → Settings → Account shows how much you’ve used.
- Fix: empty the OneDrive Recycle bin on the web, delete or move large videos and old backups, or buy more storage.
Also check the PC’s own disk. If drive C: is almost full, OneDrive can’t download files. Step 7 helps with that.
5. Fix files that can’t sync (red X)
Select the OneDrive icon. Items with problems are listed at the top of the window that opens; select an item to see why it failed. These are the usual reasons, from Microsoft’s OneDrive restrictions and limitations (as of October 2026):
| Rule | Limit | What to do |
|---|---|---|
| File size | Up to 250 GB per file | Split or compress bigger files, or keep them outside OneDrive (big Word or PDF files often shrink a lot: see how to make a PDF smaller with built-in tools) |
| Full path in OneDrive | Up to 400 characters, including folder and file names | Shorten folder and file names, or move the file to a shallower folder |
| Path on your PC | Each folder or file name up to 255 characters, and the OneDrive folder path plus the path inside it up to 520 characters | Same as above; see the October 2026 update note at the top |
| Characters not allowed | " * : < > ? / \ | and spaces at the start or end of a name |
Rename the file |
| Names not allowed | .lock, CON, PRN, AUX, NUL, COM0–COM9, LPT0–LPT9, desktop.ini; any name starting with ~$; any name containing _vti_ |
Rename the file or folder |
| Number of files | Best performance up to about 300,000 items synced | Sync fewer folders (step 7) |
Tips:
- Files named
~$something.docxare temporary files created while a Word, Excel or PowerPoint file is open. Close the file and they disappear. If one is left behind after a crash and Excel then says the workbook is in use, the steps to unlock an Excel file that is locked for editing show how to remove it safely. - If renaming on the PC is blocked because the path is too long, rename the folder on OneDrive on the web (onedrive.com, or your organisation’s OneDrive/SharePoint site) and let the change sync down.
- A file that’s open in another program can sit in “Sync pending” until you close it.
- On work accounts, some organisations also block
#and%, or specific file types. Ask IT if a file type never syncs.
6. Restart OneDrive and the PC
It sounds basic, but it clears many stuck syncs.
- Select the OneDrive icon → gear → Quit OneDrive, and confirm.
- Open OneDrive again from Start.
- If that doesn’t help, restart Windows (use Restart, not Shut down, so Windows fully reloads).
Also install pending updates: Settings → Windows Update → Check for updates. OneDrive updates itself, but a pending Windows restart can block it.
7. Free up space and choose what syncs
Files On-Demand keeps files in the cloud until you open them, so a small SSD doesn’t fill up. It’s on by default in current versions.
- OneDrive icon → gear → Settings → Sync and back up → Advanced settings. Under Files On-Demand, Free up disk space keeps most files online-only; Download all files downloads everything.
- To stop syncing big folders you don’t need on this PC: Settings → Account → Choose folders, and untick them. They stay safe in OneDrive.
- To free space now, right-click a folder in File Explorer and choose Free up space.
8. Sign-in error codes
If OneDrive shows a code when you sign in, these are the ones Microsoft documents most often:
| Code | What it means | What to try |
|---|---|---|
| 0x8004de40 or 0x8004de88 | OneDrive can’t connect to the cloud | Check the internet connection and any proxy or VPN. Make sure TLS 1.2 is ticked in Internet Options (inetcpl.cpl → Advanced). Then reset OneDrive (step 9) |
| 0x8004de80 or 0x8004de86 | Account or configuration problem | Unlink the PC (Settings → Account → Unlink this PC), sign in again; reinstall OneDrive if it repeats |
| 0x8004def4 | A folder conflict or a OneNote notebook synced through the OneDrive app | Reset OneDrive (step 9); reinstall it if the error comes back |
For any other code, search for it on Microsoft’s “What do the OneDrive error codes mean?” page. On a work PC, send the code to IT.
9. Reset OneDrive (safe: your files stay)
Resetting clears OneDrive’s settings and disconnects all your sync connections, personal and work, then syncs everything again. Microsoft says you won’t lose files or data. If you’d chosen to sync only some folders, you’ll need to choose them again afterwards.
- Press Win + R, type the first command below and press Enter.
- If Windows says it can’t find the file, try the next one. Only one of them will work on your PC.
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset
C:\Program Files\Microsoft OneDrive\onedrive.exe /reset
C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset
- The OneDrive icon disappears and comes back within a few minutes. If it doesn’t, open OneDrive from Start.
- Sign in if needed, and pick your folders again.
If none of the three commands works, the OneDrive sync app isn’t installed in the usual place. Download it again from Microsoft’s OneDrive download page and install it.
Large libraries: after a reset OneDrive re-checks every file, which can take hours with tens of thousands of files. Leave the PC on and plugged in.
Personal account still stuck after a reset? Unlink and sign in again
For a personal (home) OneDrive account, Microsoft’s current sync-fix page adds one more step that clears saved sign-in data. Microsoft says no data is lost by unlinking and re-linking.
- Select the OneDrive icon > Settings (gear) > Account > Unlink this PC, and confirm.
- Press Win + R, type
%localappdata%\Microsoft\OneDrive\settingsand press Enter. - Delete the file PreSignInSettingsConfig.json.
- Open OneDrive from Start, sign in again and, when it says the folder already exists, choose Use this folder.
Work or school accounts: leave this to IT, because organisations often manage sign-in with policies.
Still not syncing?
- Try OneDrive on the web. If your files are there, they’re safe; the problem is only the sync app on this PC.
- Check status.cloud.microsoft (Microsoft 365) for outages if colleagues have the same problem.
- On a work PC, tell IT the exact message, any error code, roughly how many files you sync and when it started. Group policies can block some file types or folders, and only IT can change those.
Related guides: Excel file locked for editing · Outlook not syncing or receiving email · Wi-Fi connected but no internet · Windows Update stuck or failing · Teams microphone or camera not working
Frequently asked questions
Why is my OneDrive not syncing?
The usual causes are OneDrive not running or paused, full storage, a file that breaks OneDrive’s name or path rules, a sign-in problem, or damaged sync settings. Click the OneDrive cloud icon: the problem item and its reason appear at the top of the window.
How long can a file path be in OneDrive?
Up to 400 characters for the full path inside OneDrive, and up to 520 characters for the OneDrive folder path plus the path inside it on your PC. Each folder or file name can be up to 255 characters.
Is it safe to unlink OneDrive?
Yes. Unlinking disconnects this PC from your OneDrive account but leaves the files on the PC and in the cloud; Microsoft says no data is lost by unlinking and re-linking. After you sign in again, choose Use this folder so OneDrive reconnects to the same folder instead of making a new one.
Does resetting OneDrive delete my files?
No. Microsoft says you won’t lose files or data. A reset disconnects all sync connections and syncs everything again, so if you synced only some folders, choose them again afterwards.
Why does OneDrive say “Sync pending”?
The file is waiting to upload or download. Give it a few minutes; if it stays pending, check that sync isn’t paused, that the file isn’t open in another app (for an Excel workbook that a colleague or a stuck process still holds, see why Excel says a file is locked for editing), and that you have free storage, then restart OneDrive.
Sources checked October 2026 (MC1422063 re-checked 9 November 2026; reset steps, limits and the personal-account fix re-checked 23 November 2026): Microsoft Support, “Fix OneDrive sync problems” (unlink, PreSignInSettingsConfig.json, ‘Use this folder’), “Restrictions and limitations in OneDrive and SharePoint” (250 GB per file, invalid characters and names, 300,000 items), “Reset OneDrive” (the three /reset commands; ‘You won’t lose files or data’), “How to pause and resume sync in OneDrive”, “What do the OneDrive icons mean?”, “Save disk space with OneDrive Files On-Demand”, “Microsoft storage quotas”; Microsoft Learn sync troubleshooting articles for errors 0x8004de40, 0x8004de80 and 0x8004def4; Microsoft 365 message center MC1422063.
Related guides
Outlook not syncing or receiving email: how to fix it
Emails not arriving, inbox not updating or messages stuck in the Outbox? Fixes for classic and new Outlook (Microsoft 365) on Windows, step by step.
Blue screen (or black screen) error on Windows 11: what to do
Windows 11 crashed with a blue or black stop code screen? Read the stop code, then follow Microsoft's fix order: hardware, safe mode, drivers, disk space, updates.
Bluetooth not working on Windows 11: step-by-step fixes
Bluetooth toggle missing, device won't pair, keeps disconnecting or sounds bad on calls? Verified Windows 11 fixes in order, plus the October 2026 update notes.
How to type in Arabic or Urdu on an Android phone or iPhone
Add an Arabic or Urdu keyboard on Android (Gboard or Samsung Keyboard) or iPhone in 2 minutes, switch languages while typing and type Urdu in English letters.
All calculators
Currency converter & remittance calculator
Daily rates, what your family receives, and a monthly budget.
Percentage calculator
X% of a number, percent of a total, and percentage change.
Discount calculator
Sale price, savings and the real percentage off.
Loan EMI calculator
Monthly instalment, total interest and total repayment for a loan.
Compound interest calculator with monthly contributions
How savings grow with monthly deposits and compound interest.
Salary converter: hourly to monthly and yearly pay
Hourly, daily, weekly, monthly and yearly pay in one step.
Fuel cost calculator: petrol cost for a trip or commute
Petrol cost of a trip or monthly commute, split per person.
VAT calculator: UAE & KSA
Add or remove VAT, with Gulf and other country rates built in.
UAE gratuity calculator
Estimate your end-of-service gratuity under the UAE Labour Law.
UAE leave salary calculator: unused annual leave pay
Your annual leave balance and unused leave pay under UAE Labour Law.
Overtime calculator UAE & Saudi Arabia: pay by labour law
Overtime pay under UAE and Saudi labour law: night, rest day and holiday rates.
Saudi end of service calculator (Articles 84 & 85)
Estimate your end-of-service award under the Saudi Labor Law.
Salary tax calculator Pakistan 2026-27 (tax year 2027)
Income tax on your salary under the 2026-27 slabs, per month and per year.
Age calculator: Gregorian and Hijri (Islamic) age
Exact age in years, months and days, Gregorian and Hijri.
Days between dates calculator (with working days)
Days, weeks, months and working days between two dates.
Gold price calculator UAE: making charges & VAT
Price of gold jewellery or bars from today’s rate, with making charges and VAT.
Zakat calculator: how much zakat do I owe on money and gold?
Zakat on cash, gold, silver and savings, with gold or silver nisab.