Can't Upload Large Files or Folders to SharePoint? The Size, Path and Storage Limits That Stop Uploads
SharePoint uploads fail when a file is over 250 GB, the full path would be over 400 characters, a name has invalid characters, or the site or tenant has run out of storage. Browser uploads of large folders also stall on unreliable connections; use the OneDrive sync app or Migration Manager for those. Check a folder before you upload with the PowerShell script below, and find what is using a site's storage with the free SharePoint Essentials Toolkit.
Published:
Last updated: 2026-10-29
The limits that stop an upload
From Microsoft's SharePoint limits and Restrictions and limitations in OneDrive and SharePoint:
| Limit | Value | What you see |
|---|---|---|
| Single file upload | 250 GB | Upload fails or never starts |
| Decoded path, including file name | 400 characters | "The file name or path is too long" |
| Invalid characters | " * : < > ? / \ | | Upload skips or rejects the file |
| Reserved names | .lock, CON, PRN, AUX, NUL, COM0-COM9, LPT0-LPT9, _vti_, desktop.ini, names starting ~$ | "This name isn't allowed" |
| List item attachment | 250 MB | Attachment fails |
| Zip download from the browser | 20 GB total | Download of a large folder fails (the reverse problem) |
| Site storage quota | Set by your admin, up to 25 TB | "This site is out of storage space" |
The site quota is the one people miss. Every version of every file counts against it, so a 50 MB drawing with 40 versions can use up to 2 GB. See Version history taking up storage.
Option 1: Upload large files and folders with built-in tools
- Browser upload: select Upload > Files or Folder, or drag files onto the library. It's fine for a few large files. For thousands of files, a dropped connection or a closed tab leaves the upload half done.
- OneDrive sync: sync the library (or add a shortcut to My files), then copy the folder into it in File Explorer. Sync resumes after interruptions and retries failed files. Paths also have to stay under the Windows limits; see File name or path too long.
- Migration Manager: in the SharePoint admin center, Migration > File shares moves large file shares to SharePoint with a scan first. Use it for anything measured in terabytes or hundreds of thousands of files.
To check storage, open Site settings > Storage Metrics on the site, or the Active sites page in the SharePoint admin center for every site's storage used and quota.
Moving content you already have in SharePoint has its own limits. Move to or Copy to another site handles at most 100 GB and 30,000 files in one operation.
Option 2: Check a folder before you upload with PowerShell
This script reads a local folder and reports every file that would fail: over 250 GB, a path over 400 characters at the destination, invalid characters, or a reserved name. It changes nothing and needs no SharePoint connection.
# Check a local folder against SharePoint upload limits before uploading
$Source = "D:\Projects\2026-014 Riverside"
$Destination = "/sites/Projects/Shared Documents/2026-014 Riverside" # where it will land
$MaxPath = 400
$MaxBytes = 250GB
$Reserved = '^(CON|PRN|AUX|NUL|COM[0-9]|LPT[0-9]|desktop\.ini)(\.|$)|^~\$|_vti_|^\.lock