> For the complete documentation index, see [llms.txt](https://docs.portainer.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.portainer.io/user/kubernetes/namespaces/remove.md).

# Remove a namespace

From the menu select **Namespaces**, tick the checkbox next to the namespace then click **Remove**.

<figure><img src="https://content.gitbook.com/content/MmwXfSb4bP3JyB8BLrAf/blobs/ToFQdDEX7fw3wR7562hL/remove-namespace.gif" alt=""><figcaption></figcaption></figure>

When the confirmation message appears, click **Remove**.

<figure><img src="https://content.gitbook.com/content/MmwXfSb4bP3JyB8BLrAf/blobs/Ye6qt7acgIa7JA35QVSy/2.15-k8s-namespaces-remove-confirm.png" alt=""><figcaption></figcaption></figure>

If a namespace is stuck in a terminating state, Portainer will ask if you want to force deletion of that namespace.
