OneDrive shows a red X on a SharePoint folder and will not sync
Microsoft says a red circle with a white cross means a file or folder can't be synced, and users report the red X on a folder usually marks one file inside it. Find that file, check it against Microsoft's sync limits, then re-sync the folder if the problem stays.
What does it look like?
A 2026 Microsoft Q&A post says: "for some reason the folder has a red cross next to it." An older Q&A thread from 2019 on red X files has community answers, so use them as ideas and check Microsoft's current pages.
Which file is blocking the sync?
A community answer says the red X usually marks the one file causing trouble, and gives a quick test: open the folder, find the file with the red X, move it out to the Desktop and see whether everything else syncs. The same answer gives a re-sync order for when the trouble began after you changed a file in the local sync folder.
What does Microsoft say can stop a file from syncing?
Microsoft's OneDrive icons page says a red circle with a white cross means a file or folder can't be synced, and to select the OneDrive icon in the notification area to learn more about the problem. Users may call that icon a red X. As of November 2026, Microsoft's page on OneDrive and SharePoint restrictions lists the limits below. It also names a different red marker: infected files are marked with a red symbol beside the file name, and a flagged file cannot be opened from the synced copy. So check the file for malware warnings as well as for the limits.
| Limit | What Microsoft says |
|---|---|
| File size | 250 GB for sync and for individual files, for upload and download |
| Reserved characters | " * : < > ? / \ | might prevent files and folders from syncing |
| Spaces | No leading or trailing spaces in a name |
| Reserved names | Include .lock, CON, PRN, AUX, NUL, COM0 to COM9, LPT0 to LPT9, _vti_, desktop.ini and names starting with ~$ |
| Hash (#) and percent (%) | Some organizations do not support these yet |
| Items to sync | No more than 300,000 items across your cloud storage is the recommendation outside the preview |
| Copy on the website | Up to 2,500 files at one time |
| Shared folder | Up to 50,000 sub-items when you share a folder |
An older Microsoft page on sync restrictions, with the file limits of 2 GB and 128 or 400 character names, says at the top that it applies to on-premises SharePoint Server 2013, 2016 and 2019 with the older OneDrive for Business client, and not to Microsoft 365 work or school accounts. Do not use those older numbers for a Microsoft 365 library.
How do you re-sync a folder?
The 2019 community answer gives this order. Right-click the OneDrive icon in the taskbar and choose Settings, then Account. Find the document library and click Stop Sync. Move the affected folder to another place such as the Desktop. In SharePoint Online, click Sync to sync the library again. When it finishes, move the changed file back into the synced folder.
The same thread mentions resetting the OneDrive sync client, and says to update to the latest client. Menu names may have changed since 2019, so follow Microsoft's current page for the sync app.
Is there a way to avoid syncing at all?
A commenter in that thread suggested mapping SharePoint as a network location so files open and save directly in SharePoint with no local copies. That is one option when only a few people need the library.
A flow that acts on a library only sees files that have reached SharePoint. See the new file in a folder trigger, now deprecated and listing files in a SharePoint folder for how flows read a library.
Want help tidying a messy library?
Al Davies builds tools that cut busywork and missed steps for teams, using SharePoint, Power Automate and Teams automation. The first call is free and takes 45 minutes.
FAQ
What does the red X mean?
Microsoft's icons page says a red circle with a white cross means a file or folder can't be synced. A community answer says the red X usually marks the one file causing the problem. Separately, Microsoft's restrictions page says a red symbol beside a file name marks an infected file.
Which characters can stop a file from syncing?
Microsoft lists " * : < > ? / \ | as reserved. It says these might prevent files and folders from syncing, and that names cannot start or end with a space.
How large can a synced file be?
Microsoft says the limit is 250 GB for a synced or uploaded file in OneDrive and SharePoint. An older page that says 2 GB covers on-premises SharePoint Server with the old client.
Sources
- Restrictions and limitations when you sync SharePoint libraries - Microsoft Support
- Fixing sync issues with SharePoint - Microsoft Q&A
- OneDrive sync issues - Microsoft Q&A
- Restrictions and limitations in OneDrive and SharePoint | Microsoft Support
- What do the OneDrive icons mean? - Microsoft Support