> ## Documentation Index
> Fetch the complete documentation index at: https://kb.hosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Switching users automatically on WordPress

> Instantly switch users on WordPress with the User Switching plugin—no login required.

Switching between users in [WordPress](https://hosting.com/hosting/platforms/wordpress-hosting/managed-wordpress-hosting/) helps testing new features easier. If you are testing a new feature, you may need to view the results using different user roles. This blog shows you how to install and configure the User Switching Plugin on WordPress, allowing you to switch between user roles instantly.

The User Switching Plugin allows you to quickly swap between user accounts in [WordPress](https://hosting.com/hosting/platforms/wordpress-hosting/managed-wordpress-hosting/) at the click of a button. You will be instantly logged out and logged in as your desired user. Following are some of the features of the User Switching Plugin:

* Switch user:  Instantly switch to any user account from the Users screen.

* Switch back: Instantly switch back to your originating account.

* Switch off: Log out of your account but retain the ability to switch back in again instantly.

## Installing the User Switching Plugin on WordPress

To install and configure the User Switching Plugin, follow these steps:

1. Log in to your WordPress site with an administrator account.

2. On the **Dashboard** in the left sidebar, click **Plugins**, and then click **Add New**:\
   ![](https://static.hosting.com/kb/kb-wp-switchuser-4.png)

3. Search for "*User Switching"*, click **Install**, and then click **Activate** the plugin:\
   ![](https://static.hosting.com/kb/kb-wp-switchuser-5.png)

4. Click on **Users**, then in the user manager, hover over for the "**Switch to**" option:\
   ![](https://static.hosting.com/kb/kb-wp-switchuser-3.png)

5. To switch to another user, click on "**Switch To link"**. The change of user is notified on the **Dashboard**:\
   ![](https://static.hosting.com/kb/kb-wp-switchuser-1.png)

6. Click on the Switch back link again to return to the previous role:\
   ![](https://static.hosting.com/kb/kb-wp-switchuser-6.png)

## Related articles

* [Changing a WordPress account username](/docs/changing-a-wordpress-account-username)

* [Configuring a WordPress testing sandbox](/docs/configuring-a-wordpress-testing-sandbox)
