Red X on Files in Windows 11: Causes & Fixes
In this article
The red X overlay on your files or folders in Windows 11 means that OneDrive cannot sync that item, usually because of a conflict, a blocked file name, or a storage limit. This icon is not a sign of file corruption; it indicates that the local copy is out of sync with the cloud, and the file may not be backed up until you resolve the issue.
What the Red X Icon Actually Means
Windows 11 integrates OneDrive directly into File Explorer, and each sync status gets its own overlay icon. A red circle with a white X (or a red X badge) means the file or folder is not being synced. This can happen for several reasons:
- You have exceeded your OneDrive storage quota.
- The file name contains characters that OneDrive does not support (e.g.,
" * : < > ? / \ |). - The file is open in another program that locks it, preventing upload.
- A sync conflict occurred (e.g., the same file was edited on two devices).
- You have paused syncing or you are offline.
- The file is too large for OneDrive (individual files are limited to 250 GB).
Unlike a green checkmark (synced) or a blue circular arrow (syncing), the red X is a warning that your file is not protected in the cloud. If your PC crashes, you could lose changes made since the last successful sync.
How OneDrive Sync Status Works in Windows 11
OneDrive uses a client that runs in the background, watching the folder for changes. When you modify a file, it queues it for upload. The overlay icons are updated by a shell extension that communicates with the sync engine. The red X appears when the upload fails or is blocked. Common triggers include:
- File name issues: Windows allows characters like
"and:in file names, but OneDrive (and most cloud services) do not. Even if the file was created locally, the sync will fail. - File size: Files over 250 GB cannot be uploaded to OneDrive. This is rare but possible with video or virtual machine files.
- Path length: Windows has a 260-character limit for paths (unless long paths are enabled). If the full path exceeds this, OneDrive may not sync.
- Permissions: If the file is encrypted with EFS or has restrictive ACLs, OneDrive may not be able to read it.
How to Fix the Red X on Your Files
Here are steps to resolve the issue, in order of likelihood:
- Check your OneDrive storage: Open OneDrive settings (right-click the cloud icon in the system tray → Settings → Account). If you are over quota, you need to free up space or buy more storage.
- Rename the file: Remove any of these characters:
" * : < > ? / \ |. Also avoid leading or trailing spaces. - Close the file: If the file is open in Word, Excel, or another app, close it and see if the icon changes.
- Resume syncing: Right-click the OneDrive icon and select “Resume syncing” if it is paused.
- Restart OneDrive: Right-click the cloud icon → Settings → “Quit OneDrive,” then relaunch it from the Start menu.
- Reset OneDrive: Press
Win + R, typeonedrive /reset, and press Enter. This re-establishes the sync connection without deleting your files.
If none of these work, check the file’s properties → Security tab to ensure your account has full control.
Common Misconception: Red X Means the File Is Corrupt
Many users panic when they see a red X, thinking their file is damaged. That is almost never the case. The red X only indicates a sync problem. Your local file is intact. To verify, open it directly from File Explorer. If it opens normally, the data is fine. The issue is purely with the cloud copy. You can also right-click the file and select “Check for issues” if you want to be thorough.
When You Might See a Red X on a Folder
A red X on a folder usually means that some files inside are not syncing, or the folder itself has a sync problem. For example, if you have a folder named “Draft: Final” (with a colon), the entire folder may fail to sync, showing a red X. To fix it, rename the folder and remove the unsupported character. If the folder contains a file that is too large, you may see a red X on the folder even though other files inside sync fine.
How to Prevent Red X Icons in the Future
- Keep your OneDrive storage under the limit by regularly cleaning up old files.
- Use legal file names: avoid special characters and keep paths under 260 characters.
- Do not store files that are locked by other processes (like Outlook PST files) in OneDrive.
- Pause syncing when you are on a metered connection to avoid partial uploads.
If you frequently work with large files, consider using a different folder that is not in OneDrive, or move the file to an external drive.
Frequently Asked Questions
Does a red X mean my file is deleted?
No. A red X means the file is not synced to the cloud. It does not delete your local copy. Your file remains on your PC, but it is not backed up until the sync issue is resolved.
How do I get rid of the red X without deleting the file?
Follow the steps above: check storage, rename the file, close it, resume syncing, or restart OneDrive. If the issue is a conflict, you will see a message in the OneDrive activity center. Resolve the conflict by choosing “Keep both” or “Compare.”
Why does the red X appear on files I just created?
New files may show a red X temporarily if OneDrive is paused or if you are offline. It can also happen if the file name has unsupported characters. Wait a few seconds for the sync to start; if it persists, check the sync status.
Can I disable the red X icon?
There is no official way to disable overlay icons in Windows 11. You can turn off OneDrive sync entirely (right-click the cloud icon → Settings → Account → “Unlink this PC”), but then you lose cloud backup. Alternatively, you can move the file out of the OneDrive folder, and the icon will disappear because it is no longer being tracked.
Is a red X the same as a gray X?
No. A gray X usually means the file is not synced because you have chosen to “Free up space” (making it online-only) or because the file is excluded from sync. A red X specifically indicates a sync failure. A gray cloud icon means the file is online-only, and a solid green check means it is fully synced.
When to Contact Support
If you have tried all the steps above and the red X persists, it may be a deeper issue with the OneDrive client or your account. Check the OneDrive activity center (right-click the cloud icon → “View sync problems”) for specific error codes. You can also run the OneDrive diagnostic tool by pressing Win + R and typing onedrive /diagnose. If the error says “The file is locked by another process,” close all apps and try again. If nothing works, visit the Microsoft support website for live chat.