How to change WordPress admin Username?

How to change WordPress admin username (all real methods)

Changing the WordPress admin username is one of those things people want to do for security, then realise WordPress makes it weirdly awkward. You can’t just click and edit it. Of course you can’t. That would be too easy.

Still, there are several ways to do it. Some clean, some clunky, all valid. I’ll go through all the ways people actually do this, step by step.

Method 1: Create a new admin user (safest and simplest)

This is the method I trust most. No messing with databases. No risk.

Steps:

  1. Log into WordPress

  2. Go to Users → Add New

  3. Create a new user with the username you want

  4. Set the role to Administrator

  5. Log out

  6. Log back in using the new username

  7. Go to Users → All Users

  8. Delete the old admin user

  9. When asked, assign content to the new user

Done. Clean switch.

Cost:
€0

Honest take:
This is the least stressful way. Especially if you don’t like poking around in technical stuff.

Method 2: Change username via phpMyAdmin (direct database edit)

This is faster, but you need to pay attention.

Steps:

  1. Log into your hosting panel

  2. Open phpMyAdmin

  3. Select your WordPress database

  4. Open the wp_users table

  5. Find the admin user

  6. Edit the user_login value

  7. Change it to the new username

  8. Save

Log out of WordPress and log back in with the new username.

Cost:
€0

Reality check:
One typo here can lock you out. If that thought makes you sweat, use Method 1 instead.

Method 3: Use a plugin (quick but temporary)

This works, but I don’t love it long-term.

Steps:

  1. Go to Plugins → Add New

  2. Install a plugin that allows username changes

  3. Activate it

  4. Go to Users

  5. Change the username

  6. Save

  7. Deactivate and delete the plugin

Cost:
€0

Why delete it after?
Because you don’t need a permanent plugin just to change one username.

Method 4: Rename admin via database + user meta check

This is for older or messy sites.

Steps:

  1. Open phpMyAdmin

  2. Go to wp_users

  3. Change user_login

  4. Go to wp_usermeta

  5. Confirm the user ID still has admin capabilities

Most of the time you don’t need this step, but on older sites it matters.

Cost:
€0

This is more “fixing something broken” than a normal change.

Method 5: Change display name only (not the same thing)

People confuse this one a lot.

Steps:

  1. Go to Users → Profile

  2. Change Display Name

  3. Save

Important:
This does not change your login username. It only changes what shows on posts.

Cost:
€0

Useful for appearance, useless for security.

Common mistakes people make

• Changing display name and thinking the job’s done
• Editing the database without a backup
• Forgetting which username they changed it to
• Leaving the old admin user active

Before doing anything, take a quick backup. Always.

What I’d actually do on a normal site

Create a new admin user
Log in as it
Delete the old one
Reassign content

No database stress. No plugins hanging around. No drama.

Changing the admin username isn’t hard, it’s just badly designed. Once it’s done, you forget about it. And that’s exactly how it should be.

Facebook
Twitter
LinkedIn
Pinterest

Table of Contents