How to Upload Files to a Folder in a SharePoint Document Library
To put files into a folder of a SharePoint document library, open the folder first, then use Create or upload → Files upload. The files land in whichever folder is open, so the folder you see is the folder you get.
The example uploads two small text files, hello.txt and notes.txt, into a folder called Examples in a communication site's Documents library. The folder was made with How to Create a Folder in a SharePoint Document Library.
Prerequisites
- Permission to add files to the library, such as the Edit permission a site's members have.
Step 1: Open the Folder
Open the library, then select the folder's name. The breadcrumb at the top shows where you are, here Documents › Examples, and an empty folder says This folder is empty:

Check the breadcrumb before uploading: files go into the folder it ends with.
Step 2: Select Files Upload
Select Create or upload at the right of the command bar. Its menu starts with Folder, Files upload and Folder upload, followed by new Office documents. Select Files upload:

Folder upload is for a whole folder from your computer. To upload single files, use Files upload.
Step 3: Choose the Files
Your browser opens its window for choosing files. Select the files and select Open. Microsoft's article on uploading says you can pick more than one by holding down Ctrl or Shift while you select them. I chose both text files.
Step 4: Check the Upload
A message said Uploaded 2 items to Examples, and both files appeared in the folder, modified a few seconds ago by me:

Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
| Uploading from the library's top level | The files land outside the folder | Open the folder first and check the breadcrumb |
| Choosing Folder upload for a few files | It's for uploading a whole folder from your computer | Use Files upload |
| Uploading into a library that needs approval | Other people don't see the files yet | Approve them, or ask whoever approves content in that library |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| You can't add files to the library | Your access is read-only | Ask the site's owner for Edit access |
| A file won't upload because of its name | The path is too long: SharePoint allows up to 400 characters for the whole path, file name included | Use a shorter name or a folder nearer the top |
| Large uploads fail or time out | Microsoft's article warns of size limit and timeout errors for large files, or many files that add up to a large size | Upload fewer files at a time |
FAQ
Can I drag files in instead?
The empty folder itself says Drag and drop files here to access them from any device. This guide uses the menu instead.
What happens if the library requires check-out?
Microsoft's article says a file you upload to such a library is checked out to you first, and you have to check it in before other people can edit it.
How do I get the files back out?
Select them and use Download: How to Download Files from a SharePoint Document Library.
Conclusion
Open the folder, select Create or upload → Files upload, choose the files and select Open. They appear in the folder within seconds, and the breadcrumb tells you which folder that is.
Additional Resources
- Upload files and folders to a library: choosing several files, long paths, check-out and approval.
