---
title: "Deleting a User From a Database or Account in cPanel"
source: "https://docs.nexcess.com/hosting/control-panel/whm/cpanel/database-management/deleting-a-user-from-a-database-or-account-in-cpanel/"
description: "In cPanel, each MySQL database can have multiple users. If needed, you can delete a user from a specific database or remove the MySQL user entirely from your ac…"
vertical: "Hosting"
date: "2024-03-04"
last_modified: "2026-07-02"
---

# Deleting a User From a Database or Account in cPanel

Each MySQL database you create in cPanel can have multiple users assigned to it for different purposes. At some point, you may want to delete a user. You can delete a user from a specific MySQL database or delete the MySQL User completely from the account.

You can delete a user from your:

- [Database](#database)
- [cPanel Account](#account)

## Delete from Database

1. Log into cPanel.
2. Click the link for **MySQL Databases**.  
     ![mysql databases link highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_QE2eUE.png)
3. To delete a user from a database, navigate to the **Current Databases** section under **MySQL Databases**.  
     ![current databases list](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_q4OCcV.png)
4. The users assigned to each database will show under the **Privileged Users** section.  
     ![privileged users highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_CHcg7f.png)
5. Click the trash can icon to delete the user from the database.  
     ![trash can icon highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_1XtX6P.png)
6. A green success message will appear to confirm the user has been deleted from the database.  
     ![revoke access success message](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_0oTfp2.png)
7. When you return to the **Current Databases** section, you will see the user is no longer listed in the database.  
     ![user no longer showing in section](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_ABe7jd.png)

## Delete from cPanel Account

1. Scroll to the **Current Users** section at the bottom of the **MySQL Databases** page.  
     ![current user section](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_ZO7E8E.png)
2. Click the **Delete** icon on the line for the user you want to delete.  
     ![delete button highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_B9SxVv.png)
3. You will be asked to confirm that you want to permanently remove the user. Click **Delete User**.  
     ![delete user button highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_a5QA9I.png)
4. A green success bar will appear notifying that the user has been permanently deleted.  
     ![delete user success message](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_AF49eQ.png)
5. When you go back to the MySQL Databases page, the user will no longer show in Current Users.  
     ![user no longer showing in section](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_wFD1BV.png)
