Setup & site building · Guide
How to Get WordPress Username (Step by Step)

Short answer
If you can log in, open Users and then Profile to see your username. If you cannot, log in with your email address instead, use the Lost your password link to get a reset email with your username, or look in your host's installer or the users table in phpMyAdmin.
Key takeaways
- WordPress accepts your email address in place of your username.
- Users > Profile shows your username once you are logged in.
- Password reset emails include your username.
- phpMyAdmin shows usernames in the user_login column.
- Usernames cannot be edited in the dashboard; create a new admin instead.
How do you get your WordPress username?
If you can log in, open Users > Profile to see it; if not, log in with your email, use the Lost your password link, check your host's installer or read the database.
WordPress usernames are easy to forget. You choose one once, during install, and then a browser saves it for years.
The good news is that you rarely need it. WordPress lets you log in with your email address as well as your username.
This guide covers every way to find a username, from the simplest to the most technical, and what to do if none of them work.
Can you log in with your email instead of your username?
Yes, WordPress accepts either your username or the email address on your account in the same login field, so you can often skip the username search entirely.
The login screen label says Username or Email Address. Type your email and your password, and WordPress finds the account for you.
This has worked in WordPress core since version 4.5. Some security or login customisation plugins turn it off, so if your email fails, try the other methods below.
If you forgot the password too, the next section shows how a reset email can help.
Method 1: How do you find your username in the dashboard?
Log in, then open Users > Profile; the Username field near the top shows your login name in grey, because it cannot be edited there.
- Log in to wp-admin with your email address.
- Click Users > Profile, or click your name in the top right corner and choose Edit Profile.
- Look at the Username field.
Admins can also open Users > All Users. The Username column lists every account on the site, with the name, email and role beside it.
The Your Profile screen documentation describes each field on that page.
Remember that the display name shown on posts is not always the same as the username. The username is only used to log in.
Method 2: How do you use the Lost your password link?
Click Lost your password on the login screen, enter your email address, and open the reset email; it includes your username along with a link to set a new password.
- Go to your login page, usually your domain followed by /wp-login.php.
- Click Lost your password?
- Enter the email address on your account.
- Open the email WordPress sends.
- Note the username in the message, then follow the link if you also want a new password.
This only works if your site can send email. Many hosts block or filter WordPress mail, so check your spam folder.
If no email arrives, see our guide on fixing password reset emails that never arrive.
The WordPress handbook page on resetting your password lists other reset methods, including database and file approaches.
Method 3: How do you check your welcome email or host installer?
Search your inbox for the email sent when WordPress was installed, or open your hosting dashboard, where one-click installers usually show the admin username.
When WordPress is installed, it sends a welcome message to the admin email. Search your inbox for New WordPress Site or your site name.
If your host installed WordPress for you, look in the hosting dashboard:
- cPanel hosts often use Softaculous or a similar installer, which lists each install and its admin username. The cPanel documentation explains where installers live in the panel.
- Managed WordPress hosts usually show the admin user in the site overview or offer a one-click login.
- Website builders and agencies may have set up the site under their own username, so ask them.
Some hosts also offer an auto-login button that skips the login screen. Once inside, use Method 1.
If you need help finding your hosting panel, our guide on getting to cPanel from WordPress explains the usual routes.
Method 4: How do you find the username in the database?
Open phpMyAdmin from your hosting panel, select your WordPress database, open the users table, and read the user_login column next to your email address.
- Log in to your hosting control panel.
- Open phpMyAdmin or your host's database tool.
- Select the WordPress database from the left sidebar.
- Click the table ending in _users, usually wp_users.
- Find your row by the user_email column.
- Read the value in user_login.
The table prefix may not be wp_. Check the $table_prefix line in wp-config.php if you see several sets of tables.
Do not edit other columns unless you know what they do. The password column holds a hash, not your password, so you cannot read it.
| Column | What it holds |
|---|---|
| user_login | Your username, used to log in |
| user_email | The email on your account |
| user_nicename | The URL-friendly name used in author links |
| display_name | The name shown on posts and comments |
| user_pass | A hashed password, not readable |
Method 5: How do you list usernames with WP-CLI?
If you have SSH access, run wp user list in the site folder; WP-CLI prints every user's ID, login, display name, email and role.
WP-CLI is a command-line tool for WordPress that many hosts include. Connect over SSH, move to the folder that holds wp-config.php and run:
wp user list
To show just admins:
wp user list --role=administrator
The official wp user list reference shows more filters and output formats.
This is the fastest method for developers or people who manage many sites.
Which method should you use?
Try email login first, then the dashboard, then the reset email; use the host installer, database or WP-CLI only when you cannot get in any other way.
| Method | Needs | Best when |
|---|---|---|
| Log in with email | Your email and password | You know the password |
| Dashboard profile | A working login | You are already logged in |
| Lost password email | Working site email | You forgot both username and password |
| Host installer | Hosting login | Host set up WordPress for you |
| phpMyAdmin | Hosting login | Email does not work |
| WP-CLI | SSH access | You are comfortable with a terminal |
Most people never need to go past the first three rows.
If you manage a site for someone else, ask the owner to add you as a user instead of sharing their login. Each person then has their own username, and you can remove access cleanly later.
Our guide to WordPress user roles explains which role to give each person.
Can you change your WordPress username?
WordPress does not let you change a username from the profile screen, but you can create a new admin user and delete the old one, edit user_login in the database, or use a plugin.
The safest route for most people:
- Create a new administrator with the username you want.
- Log in as the new user.
- Delete the old user and choose to attribute all content to the new account.
Our guide on adding an admin in the WordPress dashboard shows the first step.
Editing user_login in phpMyAdmin also works, but take a database backup first.
Should you keep your username private?
Treat your username as half of your login and avoid obvious ones like admin, but do not rely on hiding it as your main security, since usernames can often be discovered.
Author archive links and some REST API routes can reveal the URL-friendly version of a username. Strong, unique passwords and two-factor login matter far more.
Practical steps that help:
- Use a strong password from a password manager.
- Turn on two-factor authentication.
- Set a display name that differs from your username.
- Remove old accounts you no longer use.
The WordPress hardening guide explains more ways to protect logins.
What if you still cannot get in?
If none of these methods work, you may be locked out by a security plugin, a broken login page or a hacked account, and you need to troubleshoot through your host.
Start with our guide to fixing a lockout from wp-admin, which covers plugins, cookies and file access.
If your username or email was changed without your knowledge, treat it as a security problem. Our guide on recovering a hacked WordPress admin account explains what to do next.
Frequently asked questions
Is my WordPress username the same as my email?
Not usually. The username is chosen during install or account creation, while the email is a separate field. You can, however, log in with either one in the same login field, unless a plugin has disabled email login.
Where is the WordPress username stored?
It is stored in the users table of your WordPress database, in the user_login column. The table is usually called wp_users, but the prefix may differ on your site. You can view it through phpMyAdmin or a similar database tool.
Can I recover my username without email access?
Yes. Check your hosting dashboard, where one-click installers often show the admin username, or open phpMyAdmin and read the user_login column. If you have SSH access, the WP-CLI command for listing users also shows every username.
Why does WordPress say my username is invalid?
The username may be wrong, the account may have been removed, or a security plugin may block certain logins. Try your email address instead, check for typos and caps lock, and confirm the account still exists in the database.
Can two users have the same username?
No. Each WordPress username must be unique on a site, and so must each email address. On a multisite network, usernames are shared across all sites, so one login can access every site where it has a role.
Sources
- Your Profile Screen WordPress.org Documentation
- wp user list WordPress Developer Resources
- Hardening WordPress WordPress Developer Resources
- phpMyAdmin phpMyAdmin
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.
Thanks — we review requests within 3 business days.
Related guides
About the editors
Researched from the primary sources listed above and checked against our editorial rules before publishing.


