Fix OneDrive Sync Stopped Due to 400 Character File Path Limit
Question details
The user needs to resolve an issue where OneDrive completely stops synchronization because a file's path and name exceed the 400-character limit.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 11
- Scenario
- Synchronizing nested folders and files in OneDrive, particularly after switching from full synchronization to using shortcuts.
- Observed behavior
- OneDrive treats the overlong path as a critical error and stops syncing entirely instead of skipping the file or issuing a simple warning.
Check your OneDrive sync status icon in the Windows system tray to identify the exact folder or file path that is causing the synchronization error.
Shorten the File Path or Rename the File
The most effective way to resume synchronization is to reduce the total character count of the file's path so it falls under the 400-character limit.
Because OneDrive cannot currently bypass or ignore this error automatically, manual intervention is required to shorten the path structure.
Open File Explorer and navigate to your local OneDrive folder to find the specific file causing the error.
Right-click the file or its parent folders and select 'Rename' to give them significantly shorter names.
Alternatively, drag and drop the file or folder to a location closer to the root drive (such as directly under C:\) to eliminate deeply nested parent folders.
Wait a few moments for OneDrive to detect the path changes. The synchronization process should resume automatically once the path is under 400 characters.

Submit Feedback for a Sync Warning Feature
Since OneDrive currently lacks the ability to ignore overlong paths, you can submit a formal feature request to Microsoft to change this behavior.
Use WPS Office for Seamless File Management and Cloud Storage
If you are frustrated with OneDrive's strict synchronization interruptions and Microsoft Office limitations, consider switching to WPS Office. It provides a free, lightweight alternative with highly compatible document editing and a seamless built-in cloud experience.
- 1. Download the installer: Visit the official WPS Office website and click the free download button to get the latest version.
- 2. Install the software: Run the downloaded executable file and follow the straightforward on-screen instructions to install WPS Office on your PC.
- 3. Sign in to WPS Cloud: Launch the application and sign in with your account to start editing documents and utilizing WPS Cloud for stress-free file backups.

Frequently Asked Questions
Why does OneDrive stop syncing entirely instead of just skipping the long file?
Currently, the OneDrive client treats a path exceeding 400 characters as a critical error rather than a skippable file. This behavior often surfaces more prominently when users switch their setup from full synchronization to using folder shortcuts.
What exactly counts towards the 400-character limit in OneDrive?
The 400-character limit encompasses the entire absolute file path. This means the drive letter, colon, backslashes, all parent folder names, the specific file name, and the file extension (like .pdf or .docx) are all combined into the final character count.
Can I configure OneDrive to ignore files with long paths?
No, Microsoft OneDrive does not currently offer a setting or built-in feature to ignore overlong file paths or automatically skip them. You must manually shorten the path by moving or renaming the file to resume normal synchronization.




