Search Google Appliance

Information Technology

Article Details

  • Topic(s):

  • Last Updated:

    Jul 2nd, 2021

Create & Modify Groups in Moodle

We're taking you to an updated version of this article.

UMass Amherst Information Technology support articles are now updated in the new IT Knowledge Base. We found an updated version of this article, so we're sending you there.

Taking you to:
Redirecting in

Stay here to view this page in the legacy Support Center.
Information may be outdated as these articles are no longer maintained.

Find answers to your tech questions in the new IT Knowledge Base.

UMass Amherst Information Technology support articles are now updated in the new IT Knowledge Base.

This article is part of our archived legacy Support Center and may be outdated or inaccurate.
We did not find an updated version of this article. That means this archived content is more likely to be outdated or no longer relevant.
Check the new IT Knowledge Base for updated information:

More tech help options

On the Groups page, instructors and TAs can create and edit groups of students manually, or use Moodle's automated tools to create groups and assign course members to groups.

To import groups already populated with students, see Upload or Download Groups from Moodle.

Note: To get the most out of Groups in Moodle, we recommend adding Groups to Groupings. For more information about Groupings, refer to Create Groupings in Moodle.

Open the Groups Page

To access the Groups page:

  1. In the menu bar at the top of your course page, select the Course Management button (gear icon Course Management button looks like 3 gears), and under User Links, click Groups.  The Groups page will open.
  2. To create groups, you have three options:
    • Create group creates a single group. See Create a single Group (below).
    • Auto-create groups lets you set parameters to automatically create multiple groups, and have Moodle assign your students to the groups. See Auto-Create Groups (below).
    • Import groups lets you upload a spreadsheet to create multiple empty groups. See Import Empty Groups (below).
      Note: SPIRE section groups are automatically created for each SPIRE section in your Moodle course and will be noted with a tilde (~) in front of the group name. Do not alter these SPIRE section groups. The groups are updated from SPIRE and any changes you make will be lost.
  3. With the exception of Auto-created and SPIRE section groups, instructors must manually add students to the empty groups. See Add & Modify Group Members (below).

Create a Single Group

  1. On the Groups page, click Create group. The Create group page will open.
  2. For Group name, enter a name (required), and for Group description, enter a description (optional).
  3. Click Save changes to create the group. You will be returned to the Groups page where your new Group will be listed in the left column, with (0) indicating the number of students in the group.
  4. To add group members, see Add & Modify Group Members (below).

Add & Modify Group Members

  1. On the Groups page, under Groups (left column), click the group name. The group name will be highlighted, and the Members of... column (at right), will list any course members who have already been added to the group.
  2. Below the Members of... column (at right), click Add/remove users. The Add/remove users page will open.
    Edit groups from the Groups tab (click to enlarge)
  3. On the Add/remove users page, the left column lists current group members and the right column lists potential group members.
    Manually add and remove group members (click to enlarge)
  4. To Add students to a group:
    In the Potential members column (at right), click a Student name to highlight it.
    •  To select multiple members, hold down the CTRL (Win) or Command (Mac) key while you click.
    •  If you don't see the student names you're looking for, use the search bar at the bottom of the column.
    Once you've selected the names you want to add, click Add to move the selected students into the group. The students' names will be added to the Group members list (at left) and will no longer appear on the Potential members list.
  5. To remove students from a group:
    In the Group members column (at left), click student names, or to select multiple names, hold down the CTRL (Win) or Command (Mac) key while you click, then click Remove. The selected names will be removed from the group and returned to the Potential members column.
  6. When you are finished modifying the group members, click Back to groups.

Auto-Create Groups

The Auto-create groups function quickly assigns your students to multiple groups and includes the option to randomize group membership.

To use Auto-create groups:

  1. On the groups page, click Auto-create groups. The Auto-create groups page will open.
  2. For Naming scheme, enter the group name you would like to use for your groups. Moodle will automatically generate names based on what you enter.
    • An "@" sign will generate a letter (e.g., "Group @" will generate Group A, Group B, Group C)
    • A "#" sign will generate a number (e.g., "Group #" will generate Group 1, Group 2, Group 3)
  3. From the Auto create based on drop-down menu, choose how you want to divide your students: For Group/member count (required), enter the number of members you would like in each group (If creating a group based on Course member names, enter 1).
  4. Under the Group members settings, from the Select members with role drop-down menu, choose whether to include only students or course members with other roles.
  5. From the Allocate members drop-down menu, select how you want group members to be assigned to groups. The default setting is Randomly. You can also sort alphabetically by First name, Last name, or ID number.
  6. (Optional) To create new groups within a Grouping (a group of groups, useful for assigning the same activity to multiple groups), under the Grouping settings, use the Grouping of auto-created groups drop-down menu. To create your groups within an existing grouping, select the name of that grouping, otherwise, select New grouping. If you do not want to put the new groups in a grouping, select No grouping the Grouping of auto-created groups drop-down menu. For more information about Groupings, refer to Create Groupings in Moodle.
    Note: If you select Members per group, under the Group members settings, check Prevent last small group. If a remaining group is less than the size you set, Moodle will place these members into other groups (preventing a group of 1 student).
  7. Click Preview to see a preview of the groups at the bottom of the page. If you are satisfied, click Submit.

Import Empty Groups

Import groups allows you to create multiple groups at once by uploading a spreadsheet containing the names of the groups. While this can create multiple groups at once, all groups will be empty and you will need to manually add users. Alternatives:

Prepare a list of groups for import

Before you can import groups, you must first prepare a text file containing a list of groups that you want to create. The group list must include the required fields for the import to be successful. The file must include "groupname" as a field, and can optionally include "description". The following steps explain this process using Microsoft Excel.

  1. Open Excel and create a new worksheet by clicking File > New Workbook.
  2. In cell A1 enter "groupname" (withou quotes, case sensitive).
  3. (Optional) In cell B1 enter "description" (without quotes, case sensitive).
  4. In the rows that follow, enter names (column A) and descriptions (column B) for each of the groups. Descriptions should be short with no commas.
  5. To save your file, click File > Save As. In the Format drop-down menu, change the file format to Comma Separated Values (.csv). Enter a name for your file, then click Save

Create groups through import

  1. On the Groups page, click Import groups. The Import groups page will open.
  2. Click Choose a file. The File Picker pop-up window will open.
  3. In the File Picker pop-up window, click Upload a file. Then, click Choose File or Browse to select the CSV file from your computer. Once you select the file, the name will appear next to the Attachment box. Click Upload this file. The File Picker pop-up window will close and you will see the file listed on the Import groups page.
  4. Select the appropriate CSV delimiter from the drop-down menu. Comma (,) is the default.
  5. Select the appropriate Encoding option from the drop-down menu. UTF-8 is the default.
  6. Click Import groups. The import process will begin and a confirmation page will open.
  7. If your import is not successful, check your CSV file and ensure that the column headings are correct. Also, if you included group descriptions, considering shortening them and removing any commas.