SharePoint Document Issues

How to Fix SharePoint File Copy Limits and Maximum Path Length Errors

Olivia MillerOlivia Miller Oct 28, 2026 868 views

Question details

The user encounters an error when trying to copy an entire folder in SharePoint and needs to know the limits on file count and path length.

How to Fix SharePoint File Copy Limits and Maximum Path Length Errors
Product
SharePoint
Device & OS
not provided
Scenario
Copying a large folder or multiple files from one location to another within SharePoint Online.
Observed behavior
The copy operation fails or aborts, potentially due to exceeding the maximum path length limit, file count restrictions, or restrictive destination permissions.
Before you start

Before troubleshooting, capture the exact error message provided by SharePoint and ensure you have full edit permissions for both the source and destination directories.

Solution 1Recommended

Reduce Path Length and Copy in Smaller Batches

Resolve the error by ensuring your file paths do not exceed SharePoint's 400-character limit and breaking down the bulk copy operation into smaller sets of files.

SharePoint Online enforces a strict maximum total path length of 400 characters. This length includes the entire site URL, all folder names, and the file name itself. Exceeding this limit will immediately trigger a copy or move failure.

Additionally, while there is no single file-count limit for copying, large batch operations exceeding 100 GB or 30,000 files often time out due to server thresholds.

1
Check and shorten path lengths

Review the names of your folders and files. If they are deeply nested or have exceptionally long names, right-click and rename them to be shorter.

2
Move destination closer to root

Select a target destination closer to the main Document Library root rather than copying into a deeply nested folder hierarchy to save character space.

3
Select smaller file batches

Instead of selecting the main parent folder, open it, select fewer files or smaller subfolders at a time, click 'Copy to' from the top command bar, and move them in stages.

Reduce Path Length and Copy in Smaller Batches
Service Limitations: To prevent browser timeouts during the copy operation, it is recommended to keep batch sizes well below the 100 GB threshold and leave your browser tab open until the transfer completes.
Free Microsoft Office alternative

Manage Documents Efficiently with WPS Office

If cloud limitations like SharePoint's path lengths and file copy errors are disrupting your workflow, consider handling large documents locally. WPS Office is a highly compatible, free, and lightweight alternative to Microsoft Office that allows for seamless local document editing without complex online restrictions.

  1. 1. Download the software: Visit the official WPS Office website to download and install the free suite on your PC or Mac.
  2. 2. Open Office files directly: Launch WPS Office and open your Word, Excel, or PowerPoint files with perfect formatting retention.
  3. 3. Save locally or to WPS Cloud: Edit and save your documents directly to your local drive to avoid restrictive cloud path limits.
Fully compatible with Microsoft Office formats, including .docx, .xlsx, and .pptx.Lightweight and fast, utilizing minimal system resources and local storage.Familiar tabbed interface ensures a quick and seamless migration from MS Office.Work locally to bypass cloud server timeouts, path length limits, and sync issues.
microsoft office alternative - wps office

Frequently Asked Questions

What is the exact maximum path length limit in SharePoint Online?

SharePoint Online has a strict maximum total file path length of 400 characters. This includes the entire domain URL, all folder names, the file name, and the file extension.

Is there a maximum number of files I can copy at once in SharePoint?

While SharePoint does not list a strict universal limit for every copy scenario, Microsoft strongly recommends keeping bulk copy operations under 100 GB in total size and no more than 30,000 files per operation to avoid timeouts and service throttling.

Why does my SharePoint file copy fail with no clear error message?

Silent failures during large copy operations are usually caused by browser timeouts, temporary server throttling, or hidden locked files that another user is currently editing. Breaking the copy into smaller batches often resolves the issue.