Align layers in GIMP 3.2: centre, edges and spacing
Make the moving layers, anchor points and reference explicit, then check visible padding and spacing without flattening the composition.

To centre a layer in GIMP 3.2, select it in the Layers dialog, press Q for Align and Distribute and enable Selected layers. Choose the centre square in the nine-point control, set Relative to: Image, then click the horizontal-centre and vertical-centre alignment buttons. I'd set those three things explicitly: the selected layer is what moves, its control point is the point being moved, and the reference supplies the destination.
For several layers, decide whether you want their edges to line up or the spaces between them to match. Those are separate operations. You can do both while keeping each caption, cutout or shape on its own layer.
Centre a layer on the canvas
- Click the required layer in the Layers dialog. Check that only the intended layer is highlighted; clicking its eye icon changes visibility instead of selecting it.
- Press Q, or choose Tools → Transform Tools → Align and Distribute. Double-click the tool's icon if Tool Options isn't visible.
- Under Targets, turn on Selected layers. Turn off Selected paths and leave guide targets unselected when you're moving only the layer.
- Choose the centre square in the nine-point control. For this first placement, leave Use extents of layer contents off so the layer boundary is the thing being centred.
- Set Relative to to Image.
- Click the alignment button whose tooltip describes the reference's horizontal center, then the one for its vertical center. One positions the layer left-to-right; the other positions it top-to-bottom.
The GIMP 3.2 alignment controls use the selected Layers-dialog entries as targets. You don't need to select the moving layer a second time by clicking its artwork on the canvas. That instruction belongs to the older tool workflow, and is an easy way to get lost when following a GIMP 2.10 tutorial.

If you imported a full-canvas image with a small object in one corner, centring its layer boundary may leave the object where it was. Before changing tools, check the layer's contents.
Centre the artwork when the layer has transparent padding
Turn on Use extents of layer contents when you want GIMP to align the content bounding box rather than the complete layer boundary. Keep the centre control point and Relative to: Image, then apply both centre buttons again. This is useful for an imported cutout surrounded by uneven transparent space.
I'd try that before cropping the layer or converting text to pixels. The current tool can change which bounds it uses without requiring those changes to the artwork.
Inspect the content as well as the setting. A stray mark far from the main subject can extend the box you're aligning. A rectangular content box also doesn't express visual balance: a word with a long flourish or a face looking towards one edge may need a small, deliberate adjustment after geometric centring. If the object's actual size is wrong, resize that layer before judging its placement again.
Match the target's control point to the result you want
The nine little squares choose a point on every moving target. The six alignment buttons choose an edge or centre line on the reference. A left-edge button won't necessarily match two left edges if you've left the target's centre point selected.
| Result | Target control point | Reference destination |
|---|---|---|
| Centre on the canvas | Centre | Image horizontal centre, then vertical centre |
| Match left edges | Middle-left | Reference left edge |
| Match top edges | Top-middle | Reference top edge |
| Put a layer immediately to the right | Middle-left | Reference right edge |
| Put a layer immediately below | Top-middle | Reference bottom edge |
For adjoining image tiles, use their full rectangular layer boundaries. Content extents can ignore transparent padding that was meant to be part of the tile. For a row of cutouts, content extents may be the more useful choice. Choose the bounds before aligning, so the meaning of “edge” stays consistent.
Keep one layer still and align another beside it
- Select only the layer or layers that should move. Leave the stationary reference layer outside that target selection.
- Set Relative to: Picked reference object.
- Click the intended reference layer in the image. Read its name below the setting and check the corner markers. If the wrong overlapping layer was picked, make the intended reference accessible and pick it again.
- For side-by-side placement, choose the target's middle-left control point and align it with the reference's right edge.
- To match the top edges too, change the target control point to top-middle and use the reference's top edge alignment button.
The horizontal operation leaves the vertical placement alone. That's why the second alignment is needed if the two tiles must share a top edge as well as touch along their sides. Zoom in and inspect the join, especially when the photographs themselves have unwanted transparent borders.
A path or guide can also be a picked reference object. For a page margin, pick a vertical guide, choose the target's middle-left control point and align to that guide. A horizontal guide is useful for a top or bottom edge. Check that you're picking the guide as the stationary reference, rather than adding it to the moving targets.
Centre a layer inside a selected region
Make the image selection that defines your region, select the layer that should move, then set Relative to: Selection. Choose the centre control point and use both centre alignment buttons. This positions the layer relative to the selected region instead of the whole canvas.
Turn Use extents of layer contents off for this combination. The current manual records a known problem with Selection and content extents together. With extents off, inspect the layer boundary you're aligning. If no image selection is active, the Selection reference falls back to the image, so an absent selection can explain an unexpected jump to the canvas centre.
The moving layer selection in the Layers dialog and the image's selection outline have different jobs here. Highlighting several layers doesn't create an image selection, and drawing a rectangle doesn't choose which layers move.
Distribute layers with equal gaps
Select at least three layer targets, then use a horizontal or vertical distribution button. GIMP offers both even spacing between the chosen anchor points and equal gaps between the objects. For differently sized logos or captions, I usually choose equal gaps because the spaces are what the reader sees.
- Place the outermost layers where the row should begin and end. Give the row enough room for the objects and the intended spaces.
- Select the layers belonging to that row in the Layers dialog. Shift adds a range; use the system's add/remove-selection modifier for separate entries and check the highlighted rows.
- Enable Selected layers and choose whether the calculation should use layer boundaries or content extents.
- Use Distribute the targets horizontally, with equal gaps between them. Hover to confirm the button's tooltip. For a column, choose its vertical counterpart.
- If the row also needs a common vertical centre or top edge, apply that alignment separately.
Distribution doesn't stretch the row across whichever reference you selected. GIMP's arrangement implementation keeps the two extreme objects fixed and positions the intervening objects between them; the reference is unused for distribution. Set the end positions first rather than switching Relative to and expecting a new row width.
For equal anchor spacing, choose the intended control point before using the anchor-based distribution button. Equal centre distances can leave unequal visible gaps when the objects have different widths. Equal gaps address that different layout problem; they don't guarantee that the row fills the canvas or leaves a particular outer margin.
Fix disabled buttons, wrong moves and stubborn layers
No alignment buttons are available. Check Selected layers and the highlighted layer targets first. In Picked reference object mode, click a reference and confirm its displayed name. GIMP needs a reference and at least one target for alignment; it needs at least three targets for distribution. Two visible layers alone don't satisfy that distribution requirement.
The wrong objects move. Inspect every target type, including Selected paths and any selected guides. For several layer targets, the highlighted rows matter; visibility alone isn't the interactive tool's target selector. For manual dragging, inspect the Move tool's target controls separately; its picking mode is a different setting.
A group behaves as one object. Check whether the group and one of its children are both selected. The current alignment code excludes a child whose ancestor is already being arranged. Select the intended children without their parent if you want to position the children independently.
A layer won't move. Inspect Lock position and size in the Layers dialog. The layer lock controls protect different properties; unlocking pixels doesn't remove a position lock. Unlock only the property you intend to change, including an applicable parent-group lock.
The box is centred but the object looks wrong. Recheck transparent padding, stray content and the extents setting. For a troublesome cutout, inspect its layer mask and visible edge before moving the entire composition to compensate. Correct the source of the misalignment, then repeat the relevant operation.
Use Align Visible Layers when visibility should define the set
Image → Align Visible Layers… opens a separate dialog. It arranges visible layers using their boundaries and has Collect, Fill and Snap to grid options. I prefer the interactive tool for one caption or a selected row, because its moving targets and stationary reference are easier to keep explicit.
Before using the Align Visible Layers dialog, save the XCF and inspect the eye icons. Check Ignore the bottom layer even if visible and Use the (invisible) bottom layer as the base; those controls change which layer moves and what supplies the base. Set the unused axis to None when you only want a horizontal or vertical arrangement.
The Fill options use layer-stack order and require at least three visible layers. The command's Snap to grid option uses its own Grid setting; it doesn't take its spacing from the displayed image grid. Don't transfer settings between this dialog and the interactive tool as though they were the same operation.
Check the finished layout and keep the layers editable
Inspect the layout at its intended display size, then inspect adjoining edges at 100%. Keep captions editable and save a layered XCF before exporting the finished image. GIMP's save and export workflow separates that working project from the file you deliver.
These tools position boundaries and anchors. They don't automatically register handheld photographs by matching mountains, faces or other scene details. Exposure-stack alignment and panorama registration need a separate workflow; centring both photo layers won't correct camera rotation or perspective.
When the words, cutout or mask changes, revisit the relevant bounds and spacing. A layout based on yesterday's caption width may need a new distribution even though every layer is still present.



