---
title: "How to change your cPanel username for VPS/Dedicated accounts"
description: "A fairly common request we see is how to change the cPanel username for an account. This is not allowed on a shared server and requires root access even on the VPS and Dedicated accounts. The..."
url: https://www.inmotionhosting.com/support/edu/cpanel/change-cpanel-username/
date: 2013-10-02
modified: 2021-08-16
author: "Scott Mitchell"
categories: ["cPanel"]
type: post
lang: en
---

# How to change your cPanel username for VPS/Dedicated accounts

A fairly common request we see is how to change the cPanel username for an account. This is not allowed on a shared server and requires [root access](/support/server/ssh/root-access-faq/) even on the [VPS](https://www.inmotionhosting.com/vps-hosting) and Dedicated accounts. The instructions below demonstrate how to change the cPanel username of an account within the Web Host manager (WHM).

## Changing the cPanel username in WHM

1. [Log into your WHM](/support/edu/whm/log-into-whm/)
2. Locate **Modify Account** in the left hand sidebar and click on that option.
3. [![Select account to work with](https://www.inmotionhosting.com/support/wp-content/uploads/2013/10/edu__whm_change-cpanel-username_1-select-account.png)](/support/wp-content/uploads/2013/10/edu__whm_change-cpanel-username_1-select-account.png) This leads you to the list of accounts on the server. Locate the account you want to work with. Click it to highlight it and then click on the **Modify** button.
4. [![Edit the Username field](https://www.inmotionhosting.com/support/wp-content/uploads/2013/10/edu_whm_change-cpanel-username_2-change-username-field.png)](/support/wp-content/uploads/2013/10/edu_whm_change-cpanel-username_2-change-username-field.png) You will now see a list of attributes you can change. Located at the top of the page is the **Username** field. Erase the current username and enter your new one there.
5. [![View new username in list](https://www.inmotionhosting.com/support/wp-content/uploads/2013/10/edu_whm_change-cpanel-username_3-new-username-list.png)](/support/wp-content/uploads/2013/10/edu_whm_change-cpanel-username_3-new-username-list.png) Once you have changed the cPanel username, click on the **Save** button. You should get a success message indicating that the name has been changed. The image below displays a new cPanel username as it will appear in the account list.

Once the cPanel username is changed, you can use it to log into the cPanel. Be aware that you may need to alter the code for any program that uses thecPanel username to connect to the site or server.
