How to create a Moodle user and enrol them in a course

Category: Moodle

After creating your first course in Moodle, the next step is to give your learners access. In this guide you will create a manual user account and enrol it as a student in a course, all from the Moodle interface installed on your shared hosting (for example, under a subfolder such as /moodle/). These instructions are verified in Moodle 5.2.

Before you start

  1. Sign in to your Moodle with an administrator account.
  2. Have ready the course where you will enrol the user; if you don’t have one yet, create it first.
  3. Decide the username, email, and an initial password for the person you are adding.

Steps

Create the user

  1. Go to Site administrationUsersAccountsAdd a new user.
  2. Fill in Username and, in New password, define an initial password.
  3. If you want the person to change their password at first login, enable Force password change.
  4. Fill in First name, Last name, and Email address.
  5. Click Create user to create the account.

Enrol the user in the course

  1. Open the Course where you want to enrol the user.
  2. Open Participants from the course menu.
  3. Click Enrol users.
  4. Search for and select the user you just created.
  5. Under Assign role, choose Student and confirm with Enrol users.

These screenshots were taken in the English Moodle 5.2 demo to confirm the user creation and enrolment flow:

Field Username in the Moodle Add a new user form in English

Student role selected in the Moodle Enrol users modal in English

User enrolled with the Student role in the Moodle Participants list in English

Final verification

  1. Confirm the user appears in the course Participants list with the Student role.
  2. Check that the email and name look correct in their profile.
  3. Ask the person to sign in with their username and initial password.

Common errors

  1. The user doesn’t appear when enrolling: confirm the account was saved and that you are in the right course.
  2. The student can’t see the course: check that they have the Student role and that the enrolment is active.
  3. Duplicate email: Moodle does not allow two accounts with the same email address; use a different one.
  4. Password rejected by policy: adjust the initial password so it meets the site’s minimum requirements.

Still need help?

If this guide didn’t solve your issue, our team can help you via ticket.