Security · Explainer
What Is WordPress Default Username and Password? Explained

Short answer
WordPress has no default username or password. Whoever installs the site, whether you, your host's installer or a local tool, chooses both on the setup screen. Passwords are stored only as hashes, so a lost password must be reset, not looked up.
Key takeaways
- There is no standard WordPress login like admin and password.
- Old versions before 3.0 created an admin account automatically.
- Hosts often send installer login details by email or show them in the panel.
- Passwords are stored as one-way hashes and cannot be read back.
- Reset a lost password with the Lost your password link.
- Avoid admin as a username and turn on two-factor authentication.
What is the WordPress default username and password?
WordPress has no default username or password: you, your host's installer or your local tool chooses both when the site is set up, and the password is stored only as a hash.
This surprises many people. Routers and some software ship with a standard login such as admin and password, so it seems natural that WordPress would too.
It does not. During installation, WordPress asks for a username and a password and creates the first administrator account with exactly those details.
If someone else installed the site, they chose the details. That might be your developer, your hosting company's one-click installer or a tool on your own computer.
So the real question is usually where were my login details set, not what the default is. The sections below explain each case.
Why do people think the default is admin?
Older WordPress versions created the first account with the username admin automatically, so many tutorials and attackers still assume admin is the default.
Before WordPress 3.0, released in 2010, the installer did not let you pick a username. It created an account called admin and generated a random password.
Since then, the installer has asked for a username. Many people still type admin out of habit, which keeps the myth alive.
Attackers know this. Automated bots try the username admin on login pages across the web, along with common passwords.
That is why WordPress security guides tell you to avoid admin as a username. It removes one easy guess.
Where are the username and password set during installation?
The WordPress installer asks for a site title, username, password and email on its welcome screen, and the account it creates becomes the first administrator.
On a manual install, the setup flow goes like this:
- You upload WordPress and create a database.
- WordPress asks for the database details and writes them to wp-config.
- The welcome screen asks for Site Title, Username, Password and Your Email.
- WordPress suggests a strong random password, which you can keep or replace.
- You click Install WordPress, and the account is created.
The WordPress installation guide shows these screens. Whatever you type becomes your login, and nothing else is set behind the scenes.
Note that the database username and password in wp-config are different. They let WordPress talk to MySQL and are not used to log in to the dashboard.
What if your host installed WordPress for you?
Hosting one-click installers create the admin account for you, so the details are usually shown in the hosting panel or sent in a welcome email.
Hosts such as Bluehost, Hostinger, SiteGround and IONOS often install WordPress automatically when you sign up. Some ask you to choose a username and password, while others generate them.
Check these places:
- Welcome or setup email from your host.
- Hosting dashboard, often in a WordPress or website section.
- Auto-login button, which some hosts offer so you can reach the dashboard without typing a password.
Once inside, go to Users, then Profile to see the username. Our guide on how to get your WordPress username lists more places to look.
What about local tools and WordPress.com?
Local development tools ask for or suggest an admin login when you create a site, and WordPress.com uses your WordPress.com account instead of a separate site login.
Desktop tools such as Local and other local server apps create the first account during site setup. They often prefill a username, which you can accept or change.
If you forgot what you chose, the tool's site settings usually show the admin username, and many offer a one-click admin login button.
WordPress.com is different. You log in with your WordPress.com account, so there is no separate WordPress username and password per site.
How does WordPress store your password?
WordPress never stores your password in plain text; it saves a one-way hash, so nobody can read your original password from the database.
When you log in, WordPress hashes what you type and compares it with the stored hash. If they match, you are in.
This means no one can look up your password, even with database access. That includes your host and anyone with phpMyAdmin.
Modern WordPress versions use strong hashing. Older sites may still have hashes made with older methods, and WordPress upgrades them when users log in.
Because of hashing, the only way to regain access is to reset the password, not to recover it.
How do you find your login details if you forgot them?
You can find your username in the dashboard, emails or database, but a forgotten password must be reset with the lost password link or another reset method.
Start with the easiest options:
- Browser saved passwords or your password manager.
- Lost your password link on the login screen, which emails a reset link.
- Login with your email address, since WordPress accepts email in the username field.
Our full guide on finding your WordPress username and password walks through each method.
If you have database access but no email, you can set a new password in phpMyAdmin. See changing a WordPress password in phpMyAdmin for the steps.
WordPress.org also has an article on how to reset your password that covers several routes.
Where do you log in?
You log in at your site address followed by wp-admin or wp-login.php, unless a security plugin has moved the login page.
For a site at example.com, try these addresses:
| Address | What it does |
|---|---|
| example.com/wp-admin | Sends you to the login page, then the dashboard |
| example.com/wp-login.php | Opens the login form directly |
| example.com/login | Works on many sites through a built-in redirect |
| Custom address | Set by a security plugin, check its settings |
Our explainer on the WordPress admin URL covers custom login addresses and what to do if none of these work.
Can you change the username later?
WordPress does not let you edit a username from the profile screen, so you create a new admin account and delete the old one, or use a plugin or database edit.
The safest method needs no plugin:
- Go to Users, then Add New User.
- Create a new account with a new username and the Administrator role.
- Log out and log in with the new account.
- Delete the old account and attribute its content to the new user when asked.
This is a good way to replace an old admin username with something less obvious.
How should you choose a safe username and password?
Use a username that is not admin or your domain name, a long unique password stored in a password manager, and two-factor authentication on every admin account.
Brute force attacks try many username and password combinations quickly. The OWASP page on brute force attacks explains how they work.
Good habits include:
- Avoid guessable usernames such as admin, administrator or your site name.
- Use a long random password. The password WordPress suggests at install is a good start.
- Never reuse passwords. Check whether a password has appeared in a breach with Have I Been Pwned.
- Turn on two-factor authentication with a security plugin.
- Limit login attempts to slow down bots.
The WordPress hardening guide lists more steps for securing logins.
Some site owners also move the login page. Our article on whether you should change the WordPress login URL weighs the pros and cons.
What is the short answer to remember?
There is no default WordPress login: whoever installed the site chose it, so check your installer, host or developer, and reset the password if it is lost.
If you remember just one thing, make it this. Typing admin and password into a WordPress login page will not work on a normally installed site.
If those details do work on your site, change them right away. A site using admin with a weak password is an easy target for bots.
Frequently asked questions
Is admin the default WordPress username?
Not anymore. Very old versions created an account named admin automatically, but since WordPress 3.0 the installer asks you to choose a username. Many people still pick admin out of habit, which is why bots try it, so avoid it on your own sites.
What is the default WordPress password?
There is none. The installer suggests a strong random password that you can keep or replace. If your host installed WordPress, it either asked you for a password or generated one and shared it in the hosting panel or a welcome email.
Can I see my WordPress password in the database?
No. WordPress stores a one-way hash of your password, not the password itself. Even with phpMyAdmin access you can only replace the hash with a new password, not read the old one. Resetting is the only option.
Are the database login and the WordPress login the same?
No. The database username and password in wp-config let WordPress connect to MySQL. Your dashboard login is a separate account stored in the users table. Changing one does not change the other.
How do I log in if I never set up the site myself?
Ask the person or company that installed it, check your hosting panel and emails for setup details, or use the lost password link with the admin email address. Many hosts also offer a one-click login button to the dashboard.
Sources
- How to install WordPress WordPress Developer Resources
- Reset your password WordPress.org
- Hardening WordPress WordPress Developer Resources
- Brute force attack OWASP
- Pwned Passwords Have I Been Pwned
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.


