Layer Groups in GIMP - Organisation & Masking

Layer groups are the foundation of a manageable GIMP workflow. This guide covers creating groups, nesting them, applying group blend modes and masks, and a complete real-world UI design example. Images placed inside groups are often refined with clipping layers for texture and adjustment work.

Intermediate ~25 min read Updated May 2026

What Layer Groups Do

A layer group is a container that holds multiple layers and treats them as a single compositing unit. Groups serve three purposes in a GIMP project:

Organisation

Related layers are collapsed into a single named group in the Layers panel. A design with 80 layers becomes manageable when grouped into Backgrounds, Content, Text, and Effects sections.

Shared Effects

A blend mode, opacity, or mask applied to the group affects every layer inside it simultaneously. Change one setting on the group rather than on every individual layer.

Isolation

By default, layers inside a group are composited within the group before being blended with the rest of the image. This prevents blend modes inside the group from interacting unexpectedly with layers outside it.

Layers by Type in a Typical Complex GIMP Project

Creating a Layer Group

Method 1: Via the Layer Menu

  1. Go to Layer → New Layer Group
  2. A new empty group named "Layer Group" appears in the Layers panel
  3. Double-click the group name to rename it to something descriptive

Method 2: Toolbar Button in the Layers Panel

  1. At the bottom of the Layers panel, click the New Layer Group button (the folder icon)
  2. The group is created above the currently selected layer
  3. Double-click the group name in the panel to rename it

Method 3: Group Selected Layers (GIMP 3.x)

  1. Hold Shift and click multiple layers in the Layers panel to select them
  2. Right-click → Group Layer
  3. All selected layers are moved into a new group in one step
Naming advice: Name groups immediately. In a complex project with dozens of groups you will lose track of unnamed "Layer Group 1", "Layer Group 2" entries quickly. Use descriptive names: "Background", "Hero Image", "Navigation Bar", "Drop Shadows".

Adding Layers to a Group

There are two ways to add existing layers into a group:

Drag and Drop

  1. In the Layers panel, click and drag a layer
  2. Drop it onto the group's folder icon or between layers already inside the group
  3. The layer indents under the group in the panel hierarchy

New Layer Inside a Group

  1. Click on an existing layer inside the group to select it
  2. Create a new layer (Layer → New Layer or the + button)
  3. The new layer is automatically placed inside the group, above the selected layer
Removing a layer from a group: Drag the layer from inside the group to outside it in the Layers panel. You can also right-click the layer and choose Raise Layer to Top Level in GIMP 3.x.

Nested Groups

Groups can contain other groups. This is called nesting. There is no hard limit on nesting depth in GIMP 3.x, though deep nesting (more than 3–4 levels) tends to make the Layers panel hard to read and slows down rendering on large canvases.

// Example nested group structure for a UI design project:
+ UI Design (root group)
+ Navigation Bar
Logo layer
Menu Items layer
Background layer
+ Hero Section
+ Hero Text Group
Headline layer
Subheadline layer
Hero Image layer
+ Footer
Footer text layer
Footer background layer

Each group in the hierarchy can have its own blend mode, opacity, and mask that affects only the content within that group.

Group Visibility Toggle

Clicking the eye icon to the left of a group in the Layers panel toggles the visibility of the entire group and all layers inside it. This is far faster than toggling each layer individually.

  • Click the eye icon on the group row to hide or show all layers inside it simultaneously
  • Individual layers inside a hidden group retain their own visibility state - They will reappear in their previous state when the group is made visible again
  • Use this to compare design variants: duplicate a group, modify it, then toggle each version on and off to compare
  • In GIMP 3.x, right-clicking the eye icon on a group gives the option Show This Layer, Hide Others which is useful for isolating one group

Group Blend Mode

The blend mode set on the group itself controls how the composited result of all layers inside the group blends with the layers below the group. The blend modes of individual layers inside the group still operate normally with respect to each other.

Pass Through vs Normal on groups: By default in GIMP 3.x, groups use Normal blend mode, which composites the group's contents internally before blending the result with the outside stack. Setting a group to Pass Through mode allows the layers inside the group to interact directly with layers outside the group - Their blend modes apply as if the group did not exist. Use Pass Through when you need an adjustment layer inside a group to affect layers outside it.
Group Blend Mode How It Works When to Use
Normal Group is composited internally first, then the result blends with the outside stack using Normal Default. Use when you want the group to be self-contained.
Pass Through Layers inside act as if the group container does not exist - Their blend modes interact with the full stack When an adjustment or blend layer inside the group must affect layers outside it.
Multiply The composited group result is Multiplied with the layers below Darkening a set of layers as a unit - E.g. a shadow group.
Screen The composited group result is Screened with the layers below Adding a set of light effects as a unit.
Overlay The composited group result is applied in Overlay mode Applying a contrast group non-destructively.

Group Opacity

The opacity slider on a group layer controls the overall transparency of the entire composited group. It is applied after the group's internal compositing is complete.

This is subtly different from reducing the opacity of every individual layer inside the group: group opacity fades the group as a flat merged unit, whereas reducing individual layer opacities changes how layers interact with each other inside the group.

Practical example: A "Colour Grade" group contains a Curves layer, a Hue-Saturation layer, and a Colour Balance layer, all at 100% opacity internally. Setting the group opacity to 60% applies the entire colour grade at 60% intensity - A fast way to dial in adjustment strength without touching each individual layer.

Masks on Groups

A layer mask added to a group affects all layers inside the group simultaneously. The mask applies to the composited result of the group, not to any individual layer within it.

  1. Select the group layer in the Layers panel (the folder row, not a layer inside it)
  2. Right-click → Add Layer Mask…, or go to Layer → Mask → Add Layer Mask…
  3. Choose an initialisation option and click Add
  4. Paint on the mask using black or white - The effect applies to all layers inside the group

Group Mask Use Cases

  • Cut a multi-layer subject (body, hair, shadow, outline) from a background with a single mask on the group
  • Fade an entire effects group (glow, light leak, texture) using a gradient on the group mask
  • Reveal a design gradually using a painted mask on the group for an animation or presentation

Individual Layer Masks Still Work

  • Each layer inside the group can also have its own individual mask
  • The individual mask and the group mask both apply - They multiply together
  • A pixel is visible only if it passes both its own layer mask and the group mask

Layer Groups and Flattening

Several GIMP operations interact with layer groups in ways worth knowing before you commit to a workflow.

Operation Effect on Groups Recoverable?
Image → Flatten Image All groups and layers are merged into a single layer. Group structure is lost. No - Save XCF before flattening
Image → Merge Visible Layers All visible layers (including those in groups) are merged. Groups are destroyed. No - Save XCF before merging
Layer → Merge Layer Group Merges only the selected group into a single flat layer. Other groups are unaffected. No - Undo with Ctrl+Z immediately
Layer → Flatten Layer Group (GIMP 3.x) Merges the group contents into one layer and removes the group container. Undo only - Not recoverable after save
File → Export As (JPEG/PNG) Exports the visible composite. Groups are preserved in the XCF; only the flattened result is exported. Yes - XCF retains all groups

Real-World Project Organisation: UI Design

A UI design project in GIMP benefits enormously from a disciplined layer group structure. Here is a typical organisation used for a landing page design with approximately 60 layers:

01 - Backgrounds Group

Contains all background imagery, gradients, and fills. Set group blend mode to Normal. This group is always at the bottom of the stack.

  • Full-canvas background gradient
  • Background texture overlay (Overlay mode, 20% opacity)
  • Noise layer (Soft Light mode, 10%)
02 - Structural Elements Group

Cards, panels, dividers, and containers. All fill and border layers live here grouped by component.

  • Hero card background
  • Feature card group (nested)
  • Footer background panel
03 - Content Group

Photography, illustrations, and icons. Images are placed here with their own clipping masks or layer masks.

  • Hero photo (with mask)
  • Product photo group
  • Icon set group
04 - Text Group

All typographic elements. Keep separate from other groups so text can be updated without disturbing images.

  • Headlines group
  • Body copy group
  • Buttons and CTAs group
05 - Effects and Overlays Group

Vignettes, colour grades, noise, grain, and light leaks. Set group blend mode to the appropriate mode. Easy to turn off entirely.

  • Vignette layer (Multiply 50%)
  • Colour grade group (Curves + Hue-Sat)
  • Film grain (Overlay 15%)

Keyboard Shortcuts for Layer Management

Action Windows / Linux macOS Notes
New layer Shift+Ctrl+N Shift+Cmd+N Opens New Layer dialogue
Duplicate layer Shift+Ctrl+D Shift+Cmd+D Duplicates the active layer or group
Delete layer No default shortcut No default shortcut Use the bin icon in the Layers panel
Raise layer one step Page Up Page Up Moves layer up one position in the stack
Lower layer one step Page Down Page Down Moves layer down one position in the stack
Raise layer to top Home Home Moves layer above all others in its group
Lower layer to bottom End End Moves layer below all others in its group
Merge visible layers Shift+Ctrl+M Shift+Cmd+M Destructive - Merges all visible layers
Flatten image No default No default Image → Flatten Image from menu
Select layer above Alt+Page Up Option+Page Up Changes active layer to one above
Select layer below Alt+Page Down Option+Page Down Changes active layer to one below
Toggle layer visibility Click eye icon Click eye icon No keyboard shortcut; use the panel
Group selected layers (GIMP 3.x) Right-click → Group Layer Right-click → Group Layer Select multiple layers first with Shift+click
Anchor floating selection Shift+Ctrl+A Shift+Cmd+A Merges floating layer to the layer below
Custom shortcuts in GIMP 3.x: Go to Edit → Keyboard Shortcuts to assign custom keyboard shortcuts to any menu item, including New Layer Group and Merge Layer Group which have no defaults.