---
title: "How to change the Username and Password in Moodle"
description: "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..."
url: https://www.inmotionhosting.com/support/edu/moodle/change-username-password-moodle/
date: 2012-10-12
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Moodle", "Security"]
type: post
lang: en
---

# How to change the Username and Password in Moodle

The previous tutorial in the [Getting Started with Moodle course](/support/edu/software/understanding-software-verisons/) was [what to do when the username or password is los](/support/edu/moodle/forgot-moodle-username-password/)t. 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](https://www.inmotionhosting.com/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-admin-user.gif)](/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-admin-user.gif) Navigate to the **Admin User** link towards the top right side of the Moodle site.
3. [![moodle-reset-password-username-edit-profile](https://www.inmotionhosting.com/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-edit-profile.gif)](/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-edit-profile.gif) Click **Edit profile** in the **Settings** section of the left.
4. [![moodle-reset-password-username-password-change](https://www.inmotionhosting.com/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-password-change.gif)](/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-password-change.gif) In the **General** settings of the **Admin User** Section, enter the new user name and/or password.
5. [![moodle-reset-password-username-update-profile](https://www.inmotionhosting.com/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-update-profile.gif)](/support/wp-content/uploads/2012/10/edu_moodle_password-reset_moodle-reset-password-username-update-profile.gif) 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](/support/edu/moodle/moodle-password-reset-phpmyadmin/) on cPanel Hosting servers.
