The fastest way to combine shapes in Illustrator

To merge shapes in Illustrator, you use the Pathfinder panel, which combines two or more selected shapes into a single object. The most common merge is Unite, which fuses all selected shapes into one solid shape. You can also use Minus Front to cut one shape away from another, Intersect to keep only the overlapping area, or Exclude to remove the overlap and keep the outer edges. All of these operations happen instantly once you select your shapes and click the button.

The shapes you want to merge must be selected at the same time. Click the first shape, then hold Shift and click each additional shape you want to include. Once all shapes are highlighted, open the Pathfinder panel (Window menu, then Pathfinder) and click the operation you need. The shapes will immediately combine into a single object that you can move, color, or edit as one unit.

Key Takeaways

  • Select all the shapes you want to merge by clicking the first one, then Shift-clicking the others.
  • Open the Pathfinder panel from the Window menu to see all merge options in one place.
  • Unite combines shapes into one solid object; Minus Front cuts one shape away from another.
  • After merging, the result is a single shape you can edit, move, or recolor without affecting the original shapes.
  • You can undo a merge operation immediately with Ctrl+Z (Windows) or Command+Z (Mac) if the result is not what you expected.

Opening the Pathfinder panel

The Pathfinder panel is where all the merge tools live. Go to the Window menu at the top of Illustrator, scroll down, and click Pathfinder. A panel will appear, usually on the right side of your screen, showing six large buttons in the top row. These are your merge operations. If the panel is very small or collapsed, click the double arrow at the top right of the panel to expand it to full size.

If you cannot find Pathfinder in the Window menu, your version of Illustrator may have it under a different name or location. In older versions, it is sometimes called Combine or Compound Paths. The newest versions of Illustrator (2023 and later) place Pathfinder prominently in the Window menu. If you are using a much older version, search "Pathfinder" in the Help menu to locate it.

Selecting multiple shapes before merging

You cannot merge shapes unless they are all selected at the same time. Click once on the first shape to select it — you will see a blue outline around it. Now hold down the Shift key and click on each additional shape you want to merge. Each one will highlight with a blue outline as you click. If you accidentally click the wrong shape, Shift-click it again to deselect it without losing your other selections.

If you have many shapes close together, use the selection tool (the arrow at the top left of the toolbar) and drag a box around all the shapes you want to merge. This selects everything inside the box at once. You can then Shift-click to remove any shapes you do not want included. Once all the shapes you need are highlighted, you are ready to open Pathfinder and choose your merge operation.

Understanding the six merge operations

Unite is the most common choice. It combines all selected shapes into one solid shape, removing any lines where the shapes overlap. Use this when you want to turn multiple shapes into a single object.

Minus Front takes the topmost shape and cuts it away from all the shapes below it. If you have a circle on top of a rectangle, Minus Front removes the circle-shaped area from the rectangle. The circle itself disappears, and you are left with a rectangle with a hole in it.

Intersect keeps only the area where all selected shapes overlap. If you have a circle and a rectangle that partially overlap, Intersect removes everything except the lens-shaped area where they cross. All other parts of both shapes disappear.

Exclude removes the overlapping area and keeps everything else. If a circle and rectangle overlap, Exclude removes the lens-shaped middle and leaves you with two separate pieces — the parts of each shape that do not touch. This is the opposite of Intersect.

What happens to color and stroke after merging

When you merge shapes, the result takes the color and stroke of the topmost shape in your selection. If you have a red circle on top of a blue rectangle and you click Unite, the merged shape will be red. If you want a different color, simply click the merged shape and change its fill or stroke in the color panel.

If your original shapes had different stroke widths or stroke styles (dashed, dotted, etc.), the merged shape uses the stroke of whichever shape was on top. You can always adjust the stroke after merging by selecting the shape and using the Stroke panel. This gives you full control over the final appearance without having to redo the merge.

Undoing a merge and trying again

If you merge shapes and the result is not what you expected, undo immediately by pressing Ctrl+Z (Windows) or Command+Z (Mac). This returns your shapes to their original separate state. You can then select them again and try a different merge operation. Undo works even if you have done other work after the merge, though going back multiple steps may undo more than you intended.

If you want to keep both the original shapes and a merged version, duplicate your shapes before merging. Select all your shapes, press Ctrl+D (Windows) or Command+D (Mac) to duplicate them, then move the duplicates to the side. Merge one set and keep the other unchanged. This way you have a backup if you need to try a different approach.

Common mistakes and how to avoid them

The most common mistake is forgetting to select all the shapes you want to merge. You click one shape, open Pathfinder, and click Unite — but only that one shape was selected, so nothing happens. Always check that all your shapes have blue outlines before you click a merge button. If only one shape is highlighted, go back and Shift-click the others.

Another frequent error is using the wrong merge operation. Minus Front and Intersect both remove parts of your shapes, which surprises people who expected Unite. If you are not sure which button to use, try it on a copy of your shapes first. Undo if it is wrong, and try the next option. After a few tries, you will remember which operation does what.

A third mistake is merging shapes that are locked or on different layers. If a shape is locked, you cannot select it, so it will not merge. Unlock it first by right-clicking and choosing Unlock, or by using the Layers panel. If shapes are on different layers, you can still merge them as long as they are both selected — the result will appear on the layer of the topmost shape.

Frequently Asked Questions

Can I merge more than two shapes at once?

Yes. Select as many shapes as you need by Shift-clicking each one, then click your merge operation. All selected shapes will combine according to the operation you chose. There is no limit to how many shapes you can merge in a single operation.

What is the difference between Unite and Combine?

Unite (in Pathfinder) merges shapes into a single object and removes overlapping lines. Combine (in the Object menu) groups shapes together but keeps them separate underneath — you can still edit individual shapes inside the group. For most work, Unite is what you want.

How do I merge text with shapes?

Convert the text to outlines first. Select the text, go to Type menu, and click Create Outlines. The text becomes a shape. Now you can select it along with other shapes and use Pathfinder to merge them.

Can I merge shapes that have different fills or strokes?

Yes, but the merged shape takes the fill and stroke of the topmost shape. You can change the color afterward by selecting the merged shape and adjusting its fill in the color panel.

What if the Pathfinder buttons are grayed out?

You either have no shapes selected, or you have selected something that is not a shape (like text or an image). Make sure you have at least two shapes selected with blue outlines, then try again. If you selected text, convert it to outlines first.