Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Setup & site building · Guide

How to Change Your WordPress Username

How to Change Your WordPress Username

Short answer

WordPress does not let you edit a username on the profile screen, so use one of three routes instead. Create a new administrator account with the name you want, log in as it, then delete the old account and give its content to the new one. A username-change plugin can rename the account in place, and editing the user_login value in the database is the last resort.

Key takeaways

  • The username field is read-only on the profile screen, with the note 'Usernames cannot be changed.'
  • The display name is separate from the username and can change any time.
  • Creating a new admin account and deleting the old one is the safest route.
  • Deleting a user offers to attribute its posts and links to another user.
  • The WP-CLI user update command has no option to change a login name.

Can you change a WordPress username from the profile screen?

No: the username field on the profile screen is read-only, and WordPress shows the note “Usernames cannot be changed.”

WordPress.org's FAQ on working with WordPress states that you cannot change the username from the Administration screen, and that the only direct route is to edit the MySQL database, which it does not recommend.

The username is the login name, stored as user_login in the users table, and WordPress uses it to identify the account at sign-in. Everything else on the profile can change: name, nickname, email, password, and the display name.

That lock is the reason this guide covers workarounds instead of a setting. There is no built-in edit box for the login name, so you need a different route for each case below.

The FAQ notes that the username is not often seen by other users, which is why direct editing is discouraged rather than supported. Most visitors see the display name, not the login name.

MethodWhat it doesSkill neededRisk
Create a new accountNew login name; old posts move to itLowLow; needs a second email address
PluginRenames the login name in placeLowLow; check the plugin is current
Database editChanges user_login directlyHighHigh; a mistake can lock you out
WP-CLIRenames the login name from the command lineMediumLow; needs server access

What is the difference between a username and a display name?

The username is the name you type to log in; the display name is the name visitors see on posts and in the admin area.

Open Users, then Your Profile, to change the display name. The “Display name publicly as” list lets you pick the name shown on your posts, and the change takes effect at once.

If your only goal is a better byline, change the display name and stop there. No plugin or database edit is needed, and the login stays exactly as it is.

The username still shows in the Users table and in author archive URLs, since the author slug, user_nicename, defaults to the username. The WP-CLI user update reference notes that user_nicename is the URL-friendly name for the user, and that it defaults to the username.

Only an administrator can edit other users' profiles. The guide to managing user roles securely in WordPress explains what each role can do, and why the administrator role should stay with as few accounts as possible.

A nickname is a third field, and it feeds the display name list. You can set a nickname on the profile screen, then pick it as the display name, without touching the login name at all.

How do you change a username by creating a new account?

Create a new administrator account with the name you want, log in as it, then delete the old account and give its content to the new one.

Follow these steps:

  1. Go to Users, then Add New.
  2. Type the new username and a different email address from the old account.
  3. Set the role to Administrator and click Add New User.
  4. Log out, then log in as the new account.
  5. Go to Users, hover over the old account, and click Delete.
  6. Choose “Attribute all posts and links to” and pick the new account, then click Confirm Deletion.

WordPress.org's Users screen documentation describes the delete step: you can delete all posts and links, or attribute them to another user. Pick the attribute option to keep the old account's posts and pages.

The same page notes that you cannot delete the account you are logged in as, which is why you must log in as the new account first. If the Delete link is missing under the old account, you are still logged in as that account.

Use a different email address for the new account, since WordPress needs one email per user. You can change the email back after the old account is gone, as Liquid Web's username guide explains.

Back up the site before you start. Deleting a user is permanent, and the content move only works if you pick the attribute option. The guide to the 3-2-1 backup rule for websites explains a backup setup worth having before account changes.

This route is the safest of the three, since it uses only built-in screens, and it leaves the old account's content under the new name.

How do you change a username with a plugin?

Install a username-change plugin from the WordPress.org directory, then use its Users submenu to rename the account in place.

Easy Username Updater is one such plugin. Its WordPress.org page states that it lets administrators change usernames, lists users with email, username and role, and adds a submenu under Users.

The same listing shows a 4.2 out of 5 rating from 38 reviews and an update on 3 April 2026, and it notes that the plugin is not for multisite. Check the last update date and the ratings before you install any plugin of this kind.

Install it from Plugins, then Add New, activate it, and open the new submenu under Users to pick the account and type the new name. The change applies to the same account, so its posts, comments and settings stay attached to it.

Remove the plugin after the change if you do not need it again. A single-purpose plugin should not stay active without a job, and removing it leaves the new username in place.

If you are new to plugins, the guide to what a WordPress plugin is explains how they work. A plugin that edits user accounts needs care, so read its description page fully before you activate it.

A plugin rename keeps the same user ID, so content, comments and settings stay linked to the account. That is the main gain over the new-account route, where the content moves to a different account.

How do you change a username in the database?

Edit the user_login value in the users table with phpMyAdmin, then update the display name on the profile screen.

Open phpMyAdmin from your hosting control panel, pick the WordPress database, open the wp_users table, and edit the user_login field for the account.

A host guide from Hosting.com walks through the same steps: log in to cPanel, open phpMyAdmin, pick the database, open the wp_users table, and edit the user_login column.

The same host guide notes that the password stays the same, so you log in with the new username and the old password. No password reset is needed for this route.

Your table may not start with wp_. Check the table prefix in wp-config.php before you edit the wrong table, since many hosts use a custom prefix at install time.

Back up the database first, and edit only the one row for the account you mean to rename. A wrong edit in this table can lock every user out of the site.

WordPress.org's FAQ warns that direct database editing is not recommended, so treat this route as a last resort when the dashboard and plugin routes are closed to you. It is the right route when you are locked out of the admin area entirely and the database is your only access.

After the edit, open Users, then Your Profile, and update the first name, last name, nickname and display name to match the new login. That step keeps the public name in line with the new login.

Can WP-CLI change a username?

No: the documented wp user update command has no option to change a login name.

The WP-CLI user update reference lists fields such as user_pass, user_nicename, user_url, user_email and display_name, and user_login is not among them. The command can change a display name, a password or a role, but it will not rename the login.

That gap is deliberate. The login name is set when the account is created, and the update command only touches the profile fields listed in its reference.

WP-CLI can still help with the new-account route. Use wp user create to add the new administrator, then delete the old account from the dashboard and reassign its content. The WP-CLI user command reference covers the create, update and delete subcommands.

If you already manage the server from the command line, a targeted database query can change user_login, but that is the same database edit as the phpMyAdmin route, with the same risks. Back up first, and change only the one row.

Do not try wp user update with a user_login flag and expect it to work. The flag is not documented, and the command will not apply it.

What should you check after the change?

Log in with the new username, confirm the old name fails, and check that posts still show the right author.

Open the Users table and confirm the new name is listed with the Administrator role. If the role shows as Subscriber, the account cannot manage the site, and you need to fix the role before you delete the old account.

Open one post by the account and confirm the byline and author page work. The author page URL uses user_nicename, so update that field too if you want the URL to match the new login name.

If the account owned scheduled posts or comments, confirm they still list the new account as the author. The new-account route moves content by attribution, so a spot check catches a missed post.

Update any password manager entry and any notes that list the old login name. Anyone who signs in with the old name will fail, and a stale note causes confusion later.

If the new name will not log in, the guide to fixing a WordPress lockout covers the recovery steps. Check the spelling of the new name first, since a typo in the database or the plugin form is the most common cause.

What mistakes should you avoid?

Do not delete the old account before creating the new one, do not pick a name that already exists, and do not skip the backup.

Other mistakes to avoid:

  • Deleting the old administrator while still logged in as it, which WordPress blocks; log in as the new account first.
  • Choosing a username that another account already uses, since each username must be unique on the site.
  • Forgetting to move the old account's posts, which deletes them if you pick “Delete all posts and links” by mistake.
  • Renaming the only administrator on a site with no other admin account; create the replacement first.
  • Editing the database without a backup, where one wrong row can lock everyone out.

Changing the admin email is a separate job with its own screen. The guide to changing the admin email in WordPress covers it, including the confirmation email WordPress sends for that change.

Frequently asked questions

Can I change my WordPress username without a plugin?

Yes. Create a new administrator account with the name you want, log in as it, then delete the old account and choose to attribute its posts and links to the new account. This route uses only built-in screens and needs no plugin or database edit.

Will changing my username change my password?

No. The password stays the same when you rename the account in the database, and the new-account route keeps the password you set for the new account. Log in with the new username and the matching password after the change.

What happens to my posts when I change my username?

Nothing is lost if you pick the right option. When you delete the old account, choose to attribute all its posts and links to the new account. If you pick the delete-all option instead, the old account's content is removed.

Can I change my username on a multisite network?

The new-account route works on a single site, but multisite adds extra steps, since super admin rights are stored separately. Easy Username Updater notes that it is not for multisite, so check the network admin settings before you start.

Is it safe to edit the username in the database?

It works, but WordPress.org's FAQ warns that direct database editing is not recommended. Back up the database first, edit only the one user_login row, and use the plugin or new-account route when you have dashboard access.

Sources

  1. FAQ: Working with WordPress WordPress.org
  2. Users screen WordPress.org
  3. wp user update - WP-CLI Command Developer.WordPress.org
  4. Easy Username Updater WordPress.org
  5. How to Change Your WordPress Username Liquid Web

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.