You aren’t able to change the username within WordPress and this is for security and identification integrity purposes.

You can change the WordPress username in the database though:

Open your WordPress database.

Open the *_users table

Change user_login

Change the user_nicename as well, if applicable

You have now changed the WordPress username.