Delete a file, folder, or link from a SharePoint document library

You can delete files, folders, or links in your SharePoint document library that you don't need anymore, such as old content or obsolete folders.

Note: Links are only available in SharePoint in Microsoft 365.

Note: These steps are for unmodified versions of SharePoint. If your administrator or company has customized your app, you may not see these options.

Delete a file, folder, or link in SharePoint

Important: When you delete a folder, it deletes the folder and any files or subfolders it contains. Consider moving or archiving the contents of the folder before deleting it. You or your administrator might be able to recover a folder and its contents from the recycle bin.

  1. In SharePoint, open the document library and select the item you want to delete. (Avoid selecting the file name itself, because that would open the file.) A checkmark appears in the far-left column.

    Note: Does your screen look different than this and you're using SharePoint in Microsoft 365 or SharePoint Server 2019? Your administrator might have SharePoint Classic experience set on the document library.

    Document being highlighted with cursor over check box

    To delete multiple items, repeat this step. You can delete as many items as you want.

  2. Select Delete  Select one or more documents, and click Delete on the toolbar above the list.

  3. Select Delete in the message box to confirm your action.

The status box appears in the document library informing you that the item has been deleted.

Delete status line at top of screen

Restore items in the recycle bin that were deleted from SharePoint or Teams

Upload, view, and remove project files or documents

Delete a file, folder, or link in SharePoint Classic experience

Important: When you delete a folder, it deletes the folder and any files or subfolders it contains. Consider moving or archiving the contents of the folder before deleting it. You or your administrator might be able to recover a folder and its contents from the recycle bin.

  1. Open the SharePoint document library where you want to delete items.

  2. To select one or more items that you want to delete, hover over the folder, and then select the checkbox.

  3. Right-click a file, folder, or link icon, and then select Delete.

    Delete menu item on the ellipse menu
  4. In the Delete confirmation dialog, select OK.

    Delete item dialog confirmation with delete highlighted

Restore items in the recycle bin that were deleted from SharePoint or Teams

Upload, view, and remove project files or documents

Delete a file or folder in SharePoint Server 2016

Important: When you delete a folder, it deletes the folder and any files or subfolders it contains. Consider moving or archiving the contents of the folder before deleting it. You or your administrator might be able to recover a folder and its contents from the recycle bin.

  1. Navigate to the SharePoint site containing the library for which you want to delete the item.

  2. Select the name of the library on the Quick Launch bar, or select Settings Office 365 Settings button, select Site contents, and then select the name of the library.

    Note: Designers can modify the appearance or navigation of a site significantly. If you can't locate an option, such as a command, button, or link, contact your administrator.

  3. Select the ellipses (...) on the row you want to delete and select Delete or Delete Item. If you don't see Delete, or Delete Item, select the ellipses (...) on the dialog, and then select Delete.

  4. In the confirmation dialog, select OK or Delete.

    List delete confirmation dialog box with OK highlighted

Other topics of interest

Move or copy files in SharePoint

Create a folder in a document library

Create a folder in a list

Delete a folder from a list

Restore items in the recycle bin that were deleted from SharePoint or Teams

Upload files and folders to a library

Introduction to libraries

Use a mobile device to work with SharePoint sites

Leave us a comment

Was this article helpful? Was it missing content? If so, please let us know at the bottom of this page. Let us know what was confusing or missing. Please include your version of SharePoint, OS, and browser. We'll use your feedback to double-check the facts, add info, and update this article.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.