---
title: "Delete a Branch"
description: "Learn how to delete a branch in Contentstack's developer documentation. Explore step-by-step instructions for removing branches from your version control system."
url: "https://www.contentstack.com/docs/headless-cms/delete-a-branch"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-07-23"
---

# Delete a Branch

Contentstack allows you to delete a [branch](/docs/headless-cms/about-branches) that you created in your [stack](/docs/headless-cms/about-stack).

**Note:** Unless you are the Owner or Admin of the stack, you cannot delete branches created by other stakeholders.

**Warning:** These steps permanently delete the branch along with all the content within it. The branch and its content are **not moved to Trash** and cannot be recovered.

To delete a branch, log in to your [Contentstack account](https://www.contentstack.com/login/), go to your stack, and perform the following steps:

1.  Click the “Settings” icon, and select **Branches,** to view the list of available branches.
2.  Hover over the branch you want to delete, click the “Delete” icon (trash can) that appears at the extreme right end. ![image.png](https://images.contentstack.io/v3/assets/blt23180bf2502c7444/blta93835954cb7a0dc/615a7f3d7ab23a526f225173/image.png)
3.  Type in your branch ID and confirm the **Delete** action.  
    ![Delete\_Branch.png](https://images.contentstack.io/v3/assets/blt23180bf2502c7444/blt97e38c2305ea7e51/62192f310e638750b44cd638/Delete_Branch.png)

**Note:**

*   At a time only **one** branch can be deleted across an organization.
*   You can only delete child branches but not the parent (source) branches.
*   The deletion actions triggered for any other branches will remain in the “in-queue” state until the ongoing branch deletion action is completed. You can view the status of these actions within the [organization's bulk task queue](/docs/administration/organization-bulk-task-queue).