> 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="/files/ZhhlM2wkUOdiLNqTqvcO" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/05E98GasDZjd9LNVwMSk" 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.
