How To Reset Id In SharePoint List

Are you trying to reset the sharepoint list ID to 1? We got the requirement recently from one of my SharePoint consulting clients.

In this tutorial, I will explain how to reset the ID in a SharePoint list for the SharePoint on-premises version and give you an alternative approach for SharePoint Online.

Every SharePoint list item will have one ID associated with it. If you have five items and you delete all five from the SharePoint list, then next time you try to add one item to the list, the ID will start from 6, not 1.

Reset ID in SharePoint List (SharePoint Online)

In SharePoint Online, you can not reset the ID in a SharePoint list. An alternative approach is to create another list using this existing list. You can check out this tutorial to learn more about how to create a list from an existing list in SharePoint Online.

Reset ID in SharePoint List (SharePoint On-Premises)

In SharePoint on-premises versions, there is also no standard way to reset the ID apart from resetting the value in the SharePoint content database.

But this is not a recommended approach, and Microsoft strictly does not recommend changing anything in the content database. Take special care while doing this kind of modification.

Before opening your database for modification, make sure you have the SharePoint list GUID.

AllListsAux table in the content database maintains information about Item count and ID details for all lists in SharePoint.

Then open the database and run the following command:

SELECT * FROM [ContentDBName].[dbo].[AllListsAux] where ListID='GUID of the List'

Example:

SELECT * FROM [WSS_Content].[dbo].[AllListsAux] where ListID='B13CC473-6187-4478-A0DD-853E83AA6F9D'

It will display like below:

Reset List Item ID in SharePoint 2013 List

Now, if you add an item to the SharePoint list, the next list item ID will be generated like below:

Reset List Item ID in SharePoint 2016 List

Then, run the below command to reset the value:

UPDATE [Content DB].dbo.AllListsAux set NextAvailableId=1 where ListID='GUID of the List'

Example:

UPDATE [WSS_Content].dbo.AllListsAux set NextAvailableId=1 where ListID='B13CC473-6187-4478-A0DD-853E83AA6F9D'

Now, if you add an item to the list, then the item will be reset (Item ID will start from 1) like below:

Reset List Item ID in SharePoint 2019 List

This is how to reset the ID in a SharePoint list in SharePoint on-premises.

If you do not want to modify the database, then you can save the list as a template and then use that template to create a new SharePoint list.

I hope you now understand how to reset the ID in a SharePoint list. Following the above methods, you can reset the sharepoint list ID to 1.

You may also like:

  • >
    SPGUIDES.ACADEMY
    LEARN. BUILD. TRANSFORM.
    â–¶ Live FREE Webinar

    Build an AI-Powered
    Invoice Processing
    App

    Learn how to build an intelligent invoice processing solution using:

    S SharePoint
    â—† Power Apps
    ➤ Power Automate
    ✦ Copilot Studio
    PDF INVOICE
    →
    AI
    →
    ◆ ➤ S
    From Invoice
    to Insights
    Invoice Processing ↑ Upload Invoice
    INVOICE
    TOTAL $1,950.00
    Extracted Information
    Vendor Name Contoso Ltd.
    Invoice Number INV-1001
    Invoice Date 09/05/2026
    Due Date 09/25/2026
    Line Items
    Laptop 2 $1,600.00
    Mouse 5 $150.00
    ✓ Save to SharePoint
    â–£
    DATE 22nd September 2026
    â—·
    TIME 10:00 AM EST 7:30 PM IST
    ⌛
    DURATION 60 Minutes
    🚀 Save Your Free Seat ›

    Live Webinar

    SharePoint Integration Power Apps Form With Repeating Table [Invoice Management System]

    Learn how to build a real-world Invoice Management System using a SharePoint Integration Power Apps Form with a repeating table—supporting multiple invoice line items.

    📅 2nd September 2026 – 10:00 AM EST | 7:30 PM IST

    Build a High-Performance Project Management Site in SharePoint Online

    User registration Power Apps canvas app

    DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

    Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

    Power Platform Tutorial FREE PDF Download

    FREE Power Platform Tutorial PDF

    Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…