Setup & site building · Guide
How to Add Users and Set Roles in WordPress

Short answer
Go to Users, then Add New, enter a username and an email address, and pick the lowest role that lets the person do their job. Click Add New User, and WordPress emails the new user their login details. Only administrators can add users, and the role you pick sets everything the new account can do.
Key takeaways
- WordPress has six set roles, and a standard single site uses five: Administrator, Editor, Author, Contributor and Subscriber.
- A Subscriber has only the read capability and can do nothing but manage their own profile.
- Only administrators can add, edit or delete users on a single WordPress site.
- A Contributor cannot publish posts or upload media, so guest writers need review before anything goes live.
- Deleting a user lets you reassign their posts to another user instead of deleting the content.
How do you add a user in WordPress?
Go to Users, then Add New, fill in a username and email address, pick a role, and click Add New User.
Only an administrator can add users, so log in with an admin account first. The form needs just two fields: a username and an email address. Everything else is optional, and WordPress fills in a strong password for you.
- Log in to your WordPress dashboard as an administrator.
- Go to Users, then Add New.
- Enter a username. Pick it with care, since WordPress has no built-in way to rename a user later.
- Enter the person's email address. Each user needs a different address, and password resets go to it.
- Add a first name, last name and website if you want them shown on the profile.
- Leave the generated password as it is, or type a strong one of your own.
- Tick “Send the new user an email about their account” so WordPress emails them their login details.
- Pick a role from the Role drop-down.
- Click Add New User at the bottom. If you leave without clicking it, no user is added.
WordPress then sends the new user a welcome email with their login details, including the generated password, according to the Learn WordPress lesson on user management. The user is asked to log in and change the password to one of their own.
What are the default WordPress roles?
WordPress has six set roles: Super Admin, Administrator, Editor, Author, Contributor and Subscriber.
A role is a set of tasks a user is allowed to do, and each single task is called a capability, according to the WordPress.org Roles and Capabilities documentation. A standard single site uses five of the six roles, and Super Admin exists only on multisite networks.
- Administrator: has access to all the administration features on a single site.
- Editor: can publish and manage posts, including the posts of other users.
- Author: can publish and manage their own posts.
- Contributor: can write and manage their own posts but cannot publish them.
- Subscriber: can only manage their own profile.
- Super Admin: has access to the network administration features and all other features on a multisite network.
The Subscriber role has just the “read” capability, according to the WordPress.org documentation. Roles are not a ranking: they describe what each person is responsible for on the site.
When WordPress is installed, an Administrator account is created at once, according to the same documentation. That first admin is the account you use to add everyone else.
Which role should you pick for each job?
Pick the lowest role that lets the person do their job, and give Administrator to as few people as possible.
| Job | Role | Why it fits |
|---|---|---|
| Site owner or developer | Administrator | Full control of settings, plugins, themes and users |
| Content manager | Editor | Publishes and manages everyone's posts and pages |
| Regular writer | Author | Publishes their own posts and uploads images |
| Guest writer | Contributor | Writes drafts for review but cannot publish |
| Member or reader | Subscriber | Reads the site and manages only their own profile |
An Editor can create, edit, publish and delete posts and pages, including other people's work, and can manage media and comments, according to Learn WordPress. Editors cannot install themes or plugins, approve updates, or change site settings.
An Author can publish and manage their own posts and can upload media files. A Contributor cannot publish and cannot upload media files, so a guest writer at that level cannot add images to a draft.
Give a writer the Author role only when you trust them to publish without review.
Only administrators hold the create_users, edit_users and delete_users capabilities on a single site, according to the WordPress.org capability table.
That is why the role choice matters: a wrong role hands over far more than the job needs. For a deeper look at role design, see our guide on how to add custom user roles in WordPress.
How do you change a user's role?
Open Users, then All Users, click Edit under the person, pick a new role from the drop-down, and save.
- Go to Users, then All Users.
- Find the person in the list and click Edit under their username.
- Open the Role drop-down and pick the new role, or “No role for this site” to remove their access.
- Click Update User to save.
The change is saved at once. The person keeps the same username and password, and their posts stay attached to their account.
If you are not sure what a role can do, check the capability table in the WordPress.org Roles and Capabilities documentation before you change it. A demotion from Editor to Author, for example, takes away the right to edit other people's posts and to manage comments.
How do you change roles for several users at once?
Tick the boxes next to the users on the All Users screen, pick a role in the bulk actions menu, and click Apply.
- Go to Users, then All Users.
- Tick the box next to each user you want to change.
- Open the Bulk Actions drop-down at the top of the list and choose “Change Role to”, then the role.
- Click Apply.
WordPress updates every selected user to the new role in one step. This is the quick way to move a group of guest writers from Contributor to Author, or to strip roles from old accounts.
Double-check the list before you click Apply, since the change hits everyone you ticked.
How do you add users with WP-CLI?
Run wp user create with a username, an email address and a role, from the WordPress folder on your server.
WP-CLI is the command-line tool for WordPress, and it adds a user without opening the dashboard. The WP-CLI reference for wp user create shows the command as wp user create bob [email protected] --role=author, which prints the new user ID and a generated password.
- Connect to your server with SSH and move into the WordPress folder.
- Run
wp user create username [email protected] --role=author, with the real username, email and role. - Note the generated password from the output, or pass
--user_passwith a password of your own. - Add
--send-emailif you want WordPress to email the new account details to the user.
If you leave out --role, the new user gets the site's default role. Use this method when you add many users at once or when you cannot reach the dashboard.
If the dashboard is out of reach because you are locked out, our guide on fixing a WordPress lockout covers the recovery steps.
How do you delete a user without losing their posts?
Open the user on the All Users screen, click Delete, then choose to reassign their posts to another user before you confirm.
- Go to Users, then All Users.
- Hover over the user and click Delete.
- On the confirmation screen, choose “Attribute all content to” and pick another user, or choose “Delete all content”.
- Click Confirm Deletion.
Reassigning keeps the posts live under the new owner's name, which is the right choice for a writer who leaves a team blog.
Deleting all content removes their posts and pages for good, so use it only when the content should go too. WordPress asks you to make this choice before it deletes anything, according to the Learn WordPress lesson.
WP-CLI can do the same in one line with wp user delete username --reassign=otheruser, according to the Kinsta WordPress users documentation.
Before you delete an admin account, make sure another administrator exists. A site with no administrator cannot install plugins, change settings or add users.
If you need to check who did what before a deletion, our guide on how to audit user activity in WordPress shows how to review the record.
What if someone cannot log in after you add them?
First check that the welcome email arrived, then check the email address and the role on their account.
The most common cause is a wrong email address, since password resets and the welcome email both go to the address on the account. Open Users, then All Users, click Edit under the person, and check the address letter by letter.
- Ask the person to check spam and junk folders for the welcome email.
- Confirm the email address on the account is the one they actually use.
- Confirm the role is what you intended, and that the account was saved.
- Send them a password reset link from the login screen if the welcome email never arrived.
If the reset email never arrives either, the site may not be sending mail at all. Our guide on fixing password reset emails that never arrive walks through the mail checks.
Never share one login between several people. Give each person their own account so you can remove one person without locking out the rest.
How do you stop strangers from adding themselves?
Leave “Anyone can register” off in Settings, then General, so only an administrator can add users.
WordPress lets anyone register an account only when you tick that box. With it off, the only way onto the site is an account an administrator adds by hand. The default role for new users is also set in Settings, then General, according to the WordPress.org Settings General documentation.
If your site was hit by fake signups, change the default role to Subscriber right away, since that role can do nothing but manage its own profile.
Then clean up the fake accounts and tighten the signup settings. Our guide on how to stop fake user registrations in WordPress covers the full fix.
What mistakes should you avoid?
Avoid sharing logins, handing out Administrator roles, and deleting users without reassigning their posts.
- Do not give the Administrator role to writers, designers or clients who only need to edit content.
- Do not share one admin login between several people. Each person gets their own account.
- Do not use a weak password on a new account, and do not email passwords in plain text when you can let WordPress send the login link instead.
- Do not leave “Anyone can register” on unless the site is built for public signups.
- Do not delete a user and pick “Delete all content” by accident. Reassign their posts first.
- Do not forget to remove accounts when people leave. Old accounts are an open door, and a hacked admin account is the worst case, covered in our guide on how to recover a hacked WordPress admin account.
Frequently asked questions
What is the best role for a freelance writer?
Author, if you trust them to publish their own posts without review, since authors can publish and upload images. Contributor is better for a writer you want to review first, since contributors can only save drafts. Never give a writer the Administrator role just to let them post.
Can I change a user's role after adding them?
Yes. Open Users, then All Users, click Edit under the person, pick a new role from the drop-down, and save. The change takes effect at once, and their posts stay attached to their account. You can also change several users at once with the bulk actions menu.
Why can I not see the Users menu in my dashboard?
Only administrators see the Users menu, because only they hold the capabilities to add, edit and delete users. If you log in as an Editor, Author, Contributor or Subscriber, the menu is hidden. Ask a site administrator to raise your role or add the user for you.
Can two users share one email address?
No. WordPress requires a different email address for each user, and it will not save a second account with an address that is already in use. Password resets and welcome emails go to that address, so each person needs their own. Use a shared team inbox only for the site admin email, not for logins.
What happens to a user's posts when I delete their account?
WordPress asks you to choose. You can reassign all of their posts to another user, which keeps the content live under the new owner's name, or delete all of their content. WP-CLI offers the same choice with the --reassign flag. Always reassign unless the content itself should go.
Sources
- Roles and Capabilities WordPress.org
- User management Learn WordPress
- wp user create Developer.WordPress.org
- Site Management - WordPress Users Kinsta Docs
- Settings General screen WordPress.org
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.


