How To Delete Your Default Admin User Name Safely

How to delete your default admin user

If you are still using a default admin or want to delete another user, this step-by-step process will make sure that you don’t lose any of your valuable content and to help increase the security of your site. You can either watch the video or follow the step-by-step screenshots.

This is also the process to use to change your username.

Just follow these simple but important steps.

Before you start, just for peace of mind, be sure you have a latest backup of your database if you are self-hosted.

First, create a new user. Go to your sidebar, find user and click on “add user”. You will see a screen like below. Now you can create a new username for yourself.

1. Use a different email than you used on your default username (no two users can have the same email). You can always change that later if you want.

2. Choose a strong password. None of this pet name, 123456 or other nonsense. All my passwords are 16 characters including upper and lower case letters, numbers and at least 3 special characters.

3. Finally, where the arrow is pointing, don’t forget to assign yourself the role of administrator. This is critical because once you delete your old username, this is the only way you will have full access to your site.

Adding a new user


Once you have created the new user, and have either memorized or noted your new password somewhere, log out of your admin page and log back in with you new username and password. If you succeed in getting back in, you can delete your old “admin” username.

Click on users and you will now see both your old and new usernames.

Under your old “admin,” find delete and click on it.

Once you click on delete, you will get the page below.

Deleting the admin

Now this is the important step.

Before you delete this user, attribute all your posts and links to your new username. This transfers all your content you have created, including pages to the new user name.

What happens if you don’t do this? All of your posts and pages will disappear in the blink of an eye. I’ve seen it happen, and it’s ugly. (Remember, that is why I suggested you have a latest backup of your database, just in case you didn’t listen.)

assigning posts to the new username

Confirm deletion and you are good to go. Bye, bye admin!

Are you still using the default “admin” as your username?

Any more questions?

Online Course: How To Choose Your WordPress Theme

Keep updated on my blog posts


  1. John Wheeler November 25, 2014 at 7:53 pm #

    Hi Bob, how about deleting a previous username? Because I have 2 usernames on one e-mail and I’d like to use the latter one. The first is free wp while the other is an independent website. The problem is when I download plugins I have to use my first account which I don’t want to use anymore. Your advice would be a great help.


    • Bob Dunn November 26, 2014 at 10:06 am #

      Hey John, I’m just a little unclear of what you are trying to do. If you delete one of the usernames and thus, the email related to it, that won’t affect any other use of that email. Or am I not understanding?


  2. Dorthe Lind January 7, 2015 at 12:32 pm #

    Hi, I am trying to delete my admin account, but I haven’t the “delete” option on my admin account line….
    It only appears on the new username. On “admin” is only “edit” visible.
    Can you help my explaning why?
    Thanks in advance


  3. Dorthe Lind January 7, 2015 at 12:42 pm #

    ;O) ;O)
    Sorry, it helps when I login as the new user (of course, smile).

    However a new “problem”:
    Now I see the “delete” choice, but I don’t get the “IMPORTANT TEXT” about to “attribute all posts and links to…..” button
    Thanks again


  4. ale January 21, 2015 at 1:07 am #

    Hei Dorthe Lind,
    Bob’s article works! You can “attribute all posts and links to…..” after clicking on first delete button, when it asks confirmation.

    PS. Bob, maybe it can help to write down that current user has to log off before deleting current account? :)


  5. Christy Kohnle June 3, 2015 at 6:30 am #

    Thank you so much, Bob!! I just launched my website two days ago and yesterday I began getting hacked. Lots of different email addresses–about 60 by this morning, and they just kept coming. I suspected they may be getting in through my Admin user but didn’t know how to remove it safely. Your process was exactly what I needed! THANK YOU!


    • Bob Dunn June 3, 2015 at 7:00 am #

      Hey Christy, that is great to hear. I really wish these people would find something better to do with their time!


  6. Franc Karpo September 12, 2015 at 8:19 am #

    Bob… thanks a bunch. You made it easy-peasy. :-)


Leave a Reply