Enable and configure versioning for a list or library
Applies ToSharePoint Server 2016 SharePoint in Microsoft 365 Microsoft Lists SharePoint in Microsoft 365 Small Business SharePoint operated by 21Vianet

You can track and manage information over time with versioning in lists and libraries, as well as view and recover previous versions from the item's history.

When enabled, new versions are added to an item's history after changes are saved. The number of versions stored and the visibility of draft or minor versions can be modified for each list and library.

Enable and configure versioning in a list or library

  1. Open the list or library that you want to enable versioning.

  2. Select Settings Gear shaped settings button, and then select List Settings or Library Settings.

      Settings menu with List settings highlighted

  3. On the Settings page, select Versioning settings.

    Library settings dialog with Versioning selected.
  4. From the Version settings page, you have the following settings available:

    • For a Document library:

      • Require content approval for submitted items.

      • Create a version each time you edit a file in this document library using either major versions only, or major and minor versions.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items.

      • Require documents to be checked before they can be edited.

        Library Settings options in SharePoint Online, showing versioning enabled
    • For a List:

      • Require content approval for submitted items.

      • Create a version each time you edit an item in the list.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items in the list.

        List Settings options in SharePoint Online, showing versioning enabled
  5. Select OK.

To view, restore, or delete an earlier version in a list or library

  1. Open the list or library with the item or document that you want to view history.

  2. Next to the item for which you want to view history, select the ... (ellipses).

  3. Select Version history.

    Document library right click menu with version history highlighted

    If you don't see Version history, select More, and then select Version history.

  4. In the Version history dialog, hover your mouse over the date link on an earlier version, and to show the menu, select the down arrow.

    Version dropdown dialog button
  5. In the menu, you can do the following.

    Version item menu
    • View the current document. A dialog box appears where you can restore or delete a previous version, as well as see the current approval status. You can also edit the current version from this dialog box.

    • Restore the document. A dialog box appears prompting if you want to make it the currently approved document. It will add it as a new version.

    • Delete the document. A dialog box appears prompting if you're sure you want to send the item to the Recycle Bin.

    • Reject this version. Only appears on approved documents, rather than Delete.

  6. When you're done, in the upper right corner, select X.

Enable and configure versioning in a SharePoint 2016 list or library

  1. Go to the library or list for which you want to enable versioning.

  2. On the ribbon, select Library or List.

    The library and browse tab on the ribbon or List tab selected on ribbon

  3. In the Settings group, select Library Settings or List Settings.

    SharePoint Library Settings buttons on Ribbon or List Settings on ribbon

  4. On the Settings page, select Versioning Settings.

    Library settings dialog with Versioning selected.
  5. In the Version Settings page, the following settings are available:

    • For a Document library

      Versioning choices dialog box
      • Require content approval for submitted items.

      • Create a version each time you edit a file in this document library, either major versions only, or major and minor versions.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items.

      • Require documents to be checked before they can be edited.

    • For a List

      • Require content approval for submitted items.

      • Create a version each time you edit an item in the list.

      • Limit the number of versions and drafts to retain.

      • Set who can see draft items in the list.

  6. Select OK.

To disable versioning in a SharePoint 2016 list or library

Do the same steps for enabling, but on the Version Settings page, select No versioning. For Require content approval, you can also select No.

To view, restore, or delete an earlier version

To restore an earlier version of a document, follow these steps.

  1. Go to the list or library with the item or document for which you want to view history.

  2. On the ribbon, select Files, or select Items. If there isn't a ribbon, next to the item for which you want to view history, select the ... (ellipses).

  3. Select Version History.

    The file tab with Version History highlighted

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

  4. In the Version History dialog, hover your mouse over the date link on an earlier version, and to show the menu, select the down arrow.

    Version dropdown dialog button
  5. In the menu, you can do the following.

    Version item menu
    • View the current document. A dialog appears where you can edit, restore, or delete, as well as see the current approval status.

    • Restore the document. A dialog appears prompting if you want to make it the currently approved document. It will add it as a new version.

    • Delete the document. A dialog appears prompting if you're sure you want to send the item to the Recycle Bin.

    • Reject this version. Only appears on approved documents, rather than Delete.

  6. When you're done, click the X in the upper right corner.

Other settings that affect versioning

You can configure other settings that affect versioning. In lists and libraries, you can require content to be approved. In libraries, you can require files to be checked out.

For info about these settings and more, see How does versioning work in a list or library?

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.