# How to create a document library in SharePoint Last updated on: 10th March, 2026 ## In this page - [Method 1: How to create a document library in SharePoint Online (browser UI)](https://www.manageengine.com/sharepoint-management-reporting/kb/how-to-create-document-library-in-sharepoint.html#topic1) - [Method 2: How to create a document library using PowerShell](https://www.manageengine.com/sharepoint-management-reporting/kb/how-to-create-document-library-in-sharepoint.html#topic2) - [How SharePoint Manager Plus simplifies document library management](https://www.manageengine.com/sharepoint-management-reporting/kb/how-to-create-document-library-in-sharepoint.html#topic3) - [SharePoint document library best practices](https://www.manageengine.com/sharepoint-management-reporting/kb/how-to-create-document-library-in-sharepoint.html#topic4) - [Frequently asked questions](https://www.manageengine.com/sharepoint-management-reporting/kb/how-to-create-document-library-in-sharepoint.html#topic5) A SharePoint document library acts as a secure location where users can store, organize, share, and manage files. Unlike a regular folder, a document library supports advanced features such as versioning, metadata, permissions, auditing, and workflow integration. Creating a document library in SharePoint can be done using the browser UI or PowerShell for both single and bulk creation. ## Method 1: How to create a document library in SharePoint Online ### Prerequisites - You must be a *Site Owner* or have *Full Control* permissions on the SharePoint site. ### Steps 1. Sign in to SharePoint Online. 2. Navigate to the site where you want to create the document library. 3. Click the **Settings icon ⚙** in the top-right corner and select **Site contents**. You can also access the *Site contents* page from the left-hand navigation menu. ![Navigating to the Site contents page in SharePoint Online to create a document library](https://www.manageengine.com/sharepoint-management-reporting/kb/images/site-contents-page-26.png) 4. Click **+ New > Document library**. ![Creating a new document library from the Site contents page in SharePoint Online](https://www.manageengine.com/sharepoint-management-reporting/kb/images/creating-sharepoint-document-library-26.png) 5. Choose a SharePoint document library template from the available options: ![Choosing a document library template in SharePoint Online](https://www.manageengine.com/sharepoint-management-reporting/kb/images/choosing-document-library-template-26.png) - **Blank library:** Creates a new document library with default settings. - **From existing library:** Uses the configuration (such as columns, views, and settings) of another library as a template. - **Templates:** Choose from available templates, such as *Media library, Invoices,* or *Learning*. 6. Enter a **Name** and optional **Description**. 7. Click **Create**. ### Limitations to consider - Library creation must be done site by site. - There is no bulk creation across multiple sites. - There is no native reporting on document library permissions or usage. ## Method 2: How to create a document library using PowerShell PowerShell is ideal when you need to create document libraries in bulk or automate SharePoint administration. ### Prerequisites 1. Before using PowerShell, ensure that: - You have *SharePoint Administrator* or *Global Administrator* rights. - The PnP.PowerShell module is installed. 2. Install and connect to SharePoint Online using the script below. ```powershell Install-Module PnP.PowerShell -Scope CurrentUser Connect-PnPOnline -Url https://tenant.sharepoint.com/sites/ProjectSite -Interactive ``` ### Creating a new document library Use this command to create a single new document library in the connected SharePoint site by specifying the library name and using the document library template. ```powershell New-PnPList -Title "Project Documents" -Template DocumentLibrary ``` ### Creating multiple document libraries Use this script to create multiple document libraries at once by looping through a list of library names, which is useful for bulk or automated site setup. ```powershell $libraries = @("HR Documents", "Finance Documents", "Legal Documents") foreach ($lib in $libraries) { New-PnPList -Title $lib -Template DocumentLibrary } ``` ## Supported parameters The following parameters can be used while creating document libraries in SharePoint. | Parameter | Description | |---|---| | -Title | Name of the document library | | -Template | Defines the list template type | | -Url | Custom library URL | | -EnableVersioning | Enables version history | | -EnableContentTypes | Allows content types | ## How SharePoint Manager Plus simplifies document library management After you've created a document library, it's important to manage access and audit changes so you can ensure collaboration is secure, controlled, and aligned with organizational policies. [SharePoint Manager Plus](https://www.manageengine.com/sharepoint-management-reporting/?utm_source=spmp-kb&utm_medium=how-to-create-document-library-in-sharepoint) simplifies document library management and reporting with a script-free, intuitive GUI. ### [Document library permissions reporting](https://www.manageengine.com/sharepoint-management-reporting/sharepoint-permission-reporting-tool.html?utm_source=spmp-kb&utm_medium=how-to-create-document-library-in-sharepoint) Schedule detailed reports to view who has access to which document libraries; identify users with excessive or unique permissions; and export reports in CSV, PDF, XLSX, or HTML formats. ### [Auditing document library activities](https://www.manageengine.com/sharepoint-management-reporting/sharepoint-file-auditing-monitoring-tool.html?utm_source=spmp-kb&utm_medium=how-to-create-document-library-in-sharepoint) Track changes in your libraries, such as downloads, edits, deletions, or permission changes, with the exact time and location. Maintain audit trails for compliance and investigations. ### [Manage SharePoint document access](https://www.manageengine.com/sharepoint-management-reporting/sharepoint-permission-management-tool.html?utm_source=spmp-kb&utm_medium=how-to-create-document-library-in-sharepoint) Manage permissions to document libraries and folders to ensure least-privilege access. Quickly add or remove permissions in bulk with CSV imports to save time and eliminate repetitive effort. ### [Migrate document libraries and files](https://www.manageengine.com/sharepoint-management-reporting/sharepoint-migration-tool.html?utm_source=spmp-kb&utm_medium=how-to-create-document-library-in-sharepoint) Easily import files to SharePoint document libraries, copy document libraries from one SharePoint environment to another, and more, without complex PowerShell scripts. ## SharePoint document library best practices Follow these best practices to ensure consistent structure, improved usability, and long-term scalability across your SharePoint environment: ### Standardize library templates Use SharePoint document library library templates to maintain consistency across sites and standardize metadata and structure. ### Configure metadata columns early Define required metadata columns at the time of creation to avoid rework later and maintain structured document organization. ### Enable versioning appropriately Turn on document library version history where collaboration is frequent, and configure version limits to balance traceability and storage usage. ### Optimize library navigation Configure views and navigation settings to ensure users can quickly locate relevant documents without clutter. ### Library naming conventions Give libraries and folders clear, concise names, like *HR Policies* instead of *Documents2*. Avoid changing library names later as it affects the URL. Common SharePoint document library examples include *HR Policies, Project Documents, Finance Reports, Training Materials*, and *Legal Contracts*—each created to organize files by department or purpose. ## Frequently asked questions ### How do I get to the SharePoint document library? Sign in to SharePoint Online, navigate to the relevant site, click **Site contents**, and select the document library from the list. You can identify it by the SharePoint document library icon, which distinguishes libraries from lists and other site components. ### How can you add a document to a SharePoint library? Open the document library, click **Upload**, and select a file from your device. You can also drag and drop files directly into the library or create a **new** file using the New button within the library. ### How do I rename a document library? To edit a document library name, click the **Settings icon ⚙**, select **Library settings**, then choose **List name, description and navigation**. Update the library name and click **Save**. ### How do I delete a document library in SharePoint? Go to the document library you want to delete, click the **Settings icon ⚙**, select **Library settings**, then click **Delete this document library** under Permissions and Management. Confirm the deletion when prompted. ### What is the difference between a document center and document library in SharePoint? A document library is a container within a SharePoint site used to store and manage files. A document center is a specialized SharePoint site template designed for large-scale document management, offering features like content organization, routing, and optimized search for high document volumes. ### How do I create a new library folder? Go to the document library, click **New**, and select **Folder**. Enter a name and click **Create**. The folder will be added inside the library to help organize files. ### What is the difference between a SharePoint list and a document library? A SharePoint list stores structured data such as tasks, contacts, or records in rows and columns. A document library is designed specifically to store files and documents, with additional capabilities like versioning and document preview. ### What is the limit of a document library in SharePoint? A SharePoint document library can store up to 30 million items, including files and folders. However, the list view threshold limits visible items in a single view to 5,000 items unless properly indexed or filtered.