# DROP ROLE
`DROP ROLE` removes a role from Materialize.

> For the complete documentation index, see [llms.txt](https://preview.materialize.com/materialize/40269/llms.txt).


`DROP ROLE` removes a role from Materialize.

## Syntax

```mzsql
DROP ROLE [IF EXISTS] <role_name>;
```

Syntax element | Description
---------------|------------
**IF EXISTS** | Optional. If specified, do not return an error if the specified role does not exist.
`<role_name>` | The role you want to drop. For available roles, see [`mz_roles`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/system-catalog/mz_catalog/index.md#mz_roles).

## Details

You cannot drop the current role.

## Privileges

The privileges required to execute this statement are:

- `CREATEROLE` privileges on the system.

## Related pages

- [`ALTER ROLE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/alter-role/index.md)
- [`CREATE ROLE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/create-role/index.md)
- [`DROP USER`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/drop-user/index.md)
- [`GRANT ROLE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/grant-role/index.md)
- [`REVOKE ROLE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/revoke-role/index.md)
- [`ALTER OWNER`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/index.md#rbac)
- [`GRANT PRIVILEGE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/grant-privilege/index.md)
- [`REVOKE PRIVILEGE`](https://preview.materialize.com/materialize/40269/markdown-docs/sql/revoke-privilege/index.md)
