RecoveryTools
SharePoint

How to Create a Document Library in SharePoint: 3 Ways and Tips

Jamie Kaler
· 7 minute read
Quick Answer

Create a document library in SharePoint Online in 3 ways. Use the New menu, an existing library or PnP PowerShell. Site owners find the New menu easiest. Existing libraries give you a ready layout. PnP PowerShell suits admins who build many libraries. Add columns and a view right after you create it. Check the 5,000 item view limit before you plan.

Your team needs one place for contracts, reports or project files and a plain folder will not sort them. When you create the document library you get columns, views and permissions that a folder cannot give you.

Microsoft sets up one library with every new site and you can add more in a few minutes. You get 3 ways to create document libraries, steps for columns and views and the limits I check before I build one.

Which 3 Ways Add a Library to a SharePoint Site?

Three ways cover almost every case and the table shows who they suit.

WayBest forSkill needed
New menu with a blank libraryOne new library on a siteSite owner with a browser
Existing library or templateA new library that follows a known layoutSite owner with a browser
PnP PowerShellMany libraries with the same setupAdmin with scripting skill

What do You Need Before You Create the Document Library?

You need a site and the right to add libraries to it. Microsoft says site owners can create and manage libraries and other team members can lack that right.

  • Name the purpose. One library for one kind of file makes columns and permissions easy to manage.
  • List the columns. Note the details you will sort by, for example client, status or year.
  • Decide who edits. Libraries follow site groups unless you set separate access later.

How do You Start a Library From the New Menu?

Who it suits. Non technical site owners. Extra application. None, because a browser is enough.

Microsoft lists these steps for a team site in SharePoint in Microsoft 365.

  1. Open the site. Go to the site where the new library belongs.
  2. Select New. Choose Document library on the menu bar.
  3. Choose a start. The Create new document library dialog lists 3 starts. They are blank, existing library and template.
  4. Enter a name. Type a short name that tells people what the library stores.
  5. Add a description. Add one line that guides others to the library.
  6. Select Create. SharePoint opens the empty library.

Pro Tip. Choose a short name without spaces when you can, since the name becomes part of the web address of the library.

Can You Base a Library on an Existing One?

Who it suits. Non technical site owners. Extra application. None, because a browser is enough.

Yes. The same dialog gives you a way to base the new library on one you already trust or on a template. Use this when a new project needs the same layout as a library you already trust.

Microsoft does not list which settings travel with an existing library. Open the new library and check the columns and views before you add files.

How do You Create Document Libraries With PnP PowerShell?

Who it suits. Technical admins who build libraries in bulk. Extra application. PnP.PowerShell and an app registration for sign in.

The New-PnPList cmdlet creates a document library in one command when you set the template to DocumentLibrary. The cmdlet adds the library with the title you give it.

Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/Projects -Interactive -ClientId <your-app-id>
New-PnPList -Title "Contracts" -Template DocumentLibrary -OnQuickLaunch

The -OnQuickLaunch switch adds the library to the navigation of the site. Put the commands in a CSV loop when you need 10 libraries with the same setup.

How do You Add Columns and Views to a New SharePoint Document Library?

Who it suits. Non technical site owners. Extra application. None, because a browser is enough.

Columns store details about every file and views decide how people see them. Do both before the team uploads files.

  1. Add a column. Select + Add column to the right of the last heading and choose a type.
  2. Name the column. Enter a name in the Create a column panel and fill any other fields.
  3. Save it. Select Save and repeat for every detail you listed.
  4. Create a view. Open View options, select All documents and then Create new view.
  5. Set the view. Enter a View name and choose List, Calendar or Gallery under Show as.
  6. Select Create. People now switch views from the same menu.

Microsoft says you can make a personal view that only you see or a public view for everyone.

What Limits Apply to SharePoint Document Libraries?

One library stores up to 30 million files and folders per Microsoft. Slow views start much earlier.

  • View threshold. A view that processes more than about 5,000 items can trigger a list view threshold error.
  • No change in SharePoint Online. Microsoft says the threshold cannot be edited in the cloud service.
  • Indexes and filters. Microsoft advises indexed columns in filtered views to narrow what a view returns.

Heads Up. Plan the folder and filter layout before you reach 5,000 items. A library that already crossed the limit is harder to repair than a new one.

Which Habits Improve a New Document Library?

Every team that creates a document library needs the same few habits.

  • Use one naming rule. Start every file name with the client, project or year so search and sort agree.
  • Prefer columns to deep folders. A column gives you a filter for files from many projects in one view.
  • Add only needed columns. Every extra column adds a step for the person who uploads.
  • Test with one user. Sign in as a member and upload a file before you invite the team.

Which Mistakes Break a New Library?

  • Building one library for everything. Mixed files need mixed rules and the view gets crowded.
  • Adding columns after thousands of uploads. Old files remain empty in the new column until someone fills them.
  • Ignoring the view limit of 5,000 items. Views start to fail before the 30 million item limit matters.
  • Giving everyone Edit access. Start with Visitors for readers and add editors on purpose.

My Verdict on Document Library Setup

The New menu is enough for one library. Use an existing library for a repeat layout and PnP PowerShell for many libraries at once.

Spend your time on columns and views and not on folders. Those two decide how quickly your team finds a file in the SharePoint document library.

Key Takeaways

  • Add columns and a view before the team uploads files.
  • The create dialog lists blank, existing library and template starts.
  • Plan for the view threshold from the first day.

Next Read

Frequently Asked Questions

Can I Add a Library Without Being a Site Owner?

No. Microsoft says site owners create and manage libraries and other team members can lack that right. Ask an owner to add you or to build the library.

Is There a Limit on Items in a SharePoint Document Library?

Yes. Microsoft says one library stores up to 30 million files and folders. Views slow down long before that number.

Can I Change the 5,000 Item View Threshold in SharePoint Online?

No. Microsoft says the threshold cannot be edited in SharePoint Online. Use indexed columns and filtered views instead.

Can I Start a New Library From an Existing Library?

Yes. The dialog lists a blank start, an existing library and a template. Check the columns and views before you upload files.

Can I Add Columns After I Create the Library?

Yes, at any time. Select + Add column to the right of the last heading and save the new column. Old files show an empty value until someone fills it.

Can I Create More Than One View for a Library?

Yes when you have permission. Open View options and select Create new view. Microsoft says you can make a personal view for yourself or a public view for everyone.

Can I Copy a New Library to Another SharePoint Site?

Yes, in two ways. Copy to moves the files and PnP PowerShell can copy the structure inside one tenant. The guide on copying a document library lists every method.

Jamie Kaler
Jamie Kaler Marketing Head and Content Strategist, RecoveryTools

Jamie blends strategic marketing insight with technical writing, turning migration and recovery topics into guidance that works for technical and general readers alike.

Published 2 November 2026. Steps come from Microsoft's page on how to start a document library. Limits come from Microsoft's page on the list view threshold. Microsoft updates menus and limits so check them before you plan.