Delete A Previous Version Of An Item Or File In SharePoint

Related topics × Documents & Library Checkout & Sync
  • Check out, check in, or discard changes to files in a library
  • Set up a library to require check out of files
  • Enable and configure versioning for a list or library
  • Top questions about check out, check in, and versions​
  • How does versioning work in a list or library?​
  • Restore a previous version of an item or file in SharePoint
  • Delete a previous version of an item or file in SharePoint
Automate workflow
  • Create a flow for a list or library
  • Set a reminder flow​
  • Edit a flow
  • Create a Power App
  • Delete a flow
  • Create a business application from a list template
  • Manage a flow that was created from a list template
Manage
  • What is a document library?
  • Create a document library in SharePoint​
  • Open files and folders in Explorer
  • Upload files and folders to a document library
  • Create a folder in a document library
  • Set a custom template for a SharePoint library
  • Delete a file, folder, or link from a SharePoint document library
  • Add a link in a document library
  • Delete a document library in SharePoint
  • Restore a document library
  • See file insights before you open a file
  • Require approval of items in a site list or library
Content types
  • Add a content type to a list or library
  • Create or customize a site content type​
  • Create content organizer rules to route documents
Notifications
  • Create a rule to automate a task in a library
  • Create an alert to get notified when a file or folder changes in SharePoint​
  • Manage, view, or delete SharePoint alerts
Skip to main content Sign in with Microsoft Sign in or create an account. Hello, Select a different account. You have multiple accounts Choose the account you want to sign in with. Related topics Documents & Library Checkout & Sync
  • Check out, check in, or discard changes to files in a library
  • Set up a library to require check out of files
  • Enable and configure versioning for a list or library
  • Top questions about check out, check in, and versions​
  • How does versioning work in a list or library?​
  • Restore a previous version of an item or file in SharePoint
  • Delete a previous version of an item or file in SharePoint
Automate workflow
  • Create a flow for a list or library
  • Set a reminder flow​
  • Edit a flow
  • Create a Power App
  • Delete a flow
  • Create a business application from a list template
  • Manage a flow that was created from a list template
Manage
  • What is a document library?
  • Create a document library in SharePoint​
  • Open files and folders in Explorer
  • Upload files and folders to a document library
  • Create a folder in a document library
  • Set a custom template for a SharePoint library
  • Delete a file, folder, or link from a SharePoint document library
  • Add a link in a document library
  • Delete a document library in SharePoint
  • Restore a document library
  • See file insights before you open a file
  • Require approval of items in a site list or library
Content types
  • Add a content type to a list or library
  • Create or customize a site content type​
  • Create content organizer rules to route documents
Notifications
  • Create a rule to automate a task in a library
  • Create an alert to get notified when a file or folder changes in SharePoint​
  • Manage, view, or delete SharePoint alerts
Applies ToSharePoint Server 2016 SharePoint Server 2013 SharePoint Server 2013 Enterprise SharePoint in Microsoft 365 SharePoint Foundation 2010 SharePoint Server 2010 SharePoint in Microsoft 365 Small Business

If your SharePoint lists or libraries are set to track versions, you can delete a previous version, all versions, or just minor versions of an item or file. To learn how you can restore a version, see Restore a previous version of an item or file. To turn on versioning, see Turn on version history in SharePoint. 

Updated February 7, 2020 thanks to customer feedback.

Delete previous versions of items or files in SharePoint

  1. Go to the list or library for which you want to delete a previous version.

    If the name of your list or library does not appear, in the left nav, select Site contents, and then select the name of your list or library.

  2. Right click on the space between the item or document name and date, and from the menu, select Version History. To see Version History, you may need to scroll the menu.

    If you don't see Version History, in the dialog, select the ... (ellipsis), and then select Version History.

    A list of versions of the file appears.

    Version History dialog box with 3 versions.
  3. In the Version History dialog, hover next to the version you want, and to get a list of options, on the right side, select the down arrow. Select Delete.

    screenshot deleting a version

    ​​​​​​​

  4. To delete the version, select OK.

    Delete file version confirmation dialog

    Note:  SharePoint moves versions you delete to the recycle bin. For more info, see How can I recover deleted versions of items or files in SharePoint?

Delete all previous versions of items or files in SharePoint in Microsoft 365

  1. Go to the list or library for which you want to delete a previous version.

    If the name of your list or library does not appear, select Site contents or View All Site Content, and then select the name of your list or library.

  2. Right click on the space between the item or document name and date, and from the menu, select Version History. To see Version History, you may need to scroll the menu.

    If you don't see Version History, in the dialog, click the ... (ellipsis), and then select Version History.

  3. In the Version History dialog, select Delete All Versions.

    Version dialog, with Delete all versions highlighted
  4. To delete all the versions of the file or item you've selected, select OK.

    Delete file version confirmation dialog

Top of Page

Delete minor versions of files in SharePoint in Microsoft 365

Note:  SharePoint does not support minor versions in Lists.

  1. Go to the list or library for which you want to delete a previous version.

    If the name of your library does not appear, select Site contents or View All Site Content, and then select the name of your library.

  2. Right click on the space between the document name and date, and from the menu, select Version History. To see Version History, you may need to scroll the menu.

    If you don't see Version History, in the dialog, select the ... (ellipsis), and then select Version History.

  3. In the Version History dialog, select Delete Minor Versions.

    Version dialog box with Delete minor versions highlighted
  4. To delete the minor versions of the file you've selected, select OK.

    Delete file version confirmation dialog

Top of Page

What happens when I delete a minor version?

The minor version and its version number are deleted when you delete a version. The other version numbers do not change. For example, if you have a document that has minor versions 3.1 and 3.2, and you decide to delete version 3.1, the resulting version history shows only minor versions 3.0 and 3.2.

Version history with version 3.1 eliminated

How can I recover deleted versions of items or files in SharePoint?

Deleted versions are stored in the SharePoint Recycle bin for up to 90 days. For more info about the SharePoint Recycle bin, see one of the following:

  • For SharePoint in Microsoft 365 2016, or 2013, see Restore deleted content in the Recycle Bin of a SharePoint site.

  • For SharePoint 2010 see Restore a deleted object from a SharePoint Recycle Bin.

  • For SharePoint 2007, see View, restore, or delete items in the Recycle Bin of a SharePoint site.

Local deletions    If you deleted your file on your computer, and not from an online library, to restore it, use the Windows recycle bin. You can get to it from the desktop. If it's not there, press the Windows key and then enter recycle. Select either the Recycle bin, or Recycle bin folder.

Turn on Version History in SharePoint

Version History is turned on by default in SharePoint, but if you don't see the Version History command, version history may be turned off. Depending on how your admin has set up SharePoint, you may be able to turn on document versioning.

For info about SharePoint versioning settings, see Enable and configure versioning for a list or library.

More info about Versioning

To find out if there are is any limit to the number of versions you can use, what minor versions are, how versioning works with file check in and check out, or content approval, see How does versioning work in a list or library?

Top of Page

Leave us a comment

Was this article helpful? If not, give us the details what was confusing or missing, and what you expected. If you got here from a search and it wasn't the information you wanted, let us know what you searched for. Please include the SharePoint, OS, and browser version you have. We'll use your feedback to double-check the steps and update this article.

Facebook LinkedIn Email

Need more help?

Want more options?

DiscoverCommunity

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

Microsoft 365 subscription benefits

Microsoft 365 training

Microsoft security

Accessibility center

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

Ask the Microsoft Community

Microsoft Tech Community

Windows Insiders

Microsoft 365 Insiders

Was this information helpful?

Yes No (Send feedback to Microsoft so we can help.) What affected your experience? Resolved my issue Clear instructions Easy to follow No jargon Pictures helped Other Didn't match my screen Incorrect instructions Too technical Not enough information Not enough pictures Other Any additional feedback? (Optional) Submit feedback By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×

Từ khóa » Xóa F