How to change the Username and Password in Moodle

The previous tutorial in the Getting Started with Moodle course was what to do when the username or password is lost. For security reasons, the Moodle administrator may want to change the Username and Password. This tutorial will explain how the username and password can be changed through the Moodle dashboard.

Resetting the Moodle Admin Login within the Moodle Dashboard

  1. Log into your Moodle.
  2. moodle-reset-password-username-admin-user

    Navigate to the Admin User link towards the top right side of the Moodle site.

  3. moodle-reset-password-username-edit-profile

    Click Edit profile in the Settings section of the left.

  4. moodle-reset-password-username-password-change

    In the General settings of the Admin User Section, enter the new user name and/or password.

  5. moodle-reset-password-username-update-profile

    After the New Username and Password are entered click Update Profile.

Another way to change the password for Moodle is through the database. Next is on how to change the password through PhpMyAdmin on cPanel Hosting servers.

InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

8 thoughts on “How to change the Username and Password in Moodle

  1. There is no option for our students to change password for when it is reset.  We use a Microsoft Plug-in 365 email service to log into moodle.  Just wondering if there is a way to do it, because I thought I’ve done it before but me and my instructor couldn’t find it anywhere.  Maybe it can only be done though the email service??

    1. Hello,

      If you are able to login to Webmail, then you can change the email password for an account. The typical URL for access to webmail looks like this: Check out this article for a video and web page explaining the steps for making the change in cPanel or in the Webmail interface.

Was this article helpful? Join the conversation!