What merging shapes does and when you need it
Merging shapes in Illustrator combines two or more separate objects into a single shape. Instead of having a circle and a rectangle that sit on top of each other, you end up with one unified object whose outline follows the edges of both. This matters because a merged shape behaves as one unit — you can move it, color it, or transform it all at once, and the result looks cleaner when you export it.
You use merging when you want to create a new silhouette from overlapping pieces. A crescent moon made from a circle with another circle cut out of it. A star with a hole punched through the center. A logo where two shapes lock together into a single outline. Without merging, you would have separate objects that could shift apart or require you to select and move them as a group every time.
Illustrator offers several ways to merge shapes, and which one you use depends on what you want the final result to look like. The most common are the Pathfinder operations, which live in a single panel and let you combine, subtract, or intersect shapes in different ways.
Key Takeaways
- The Pathfinder panel (Window > Pathfinder) holds the main merge operations and appears as a set of icon buttons that show what each operation does visually.
- Unite combines all selected shapes into one outline; Subtract removes the top shape from the bottom one; Intersect keeps only the area where shapes overlap.
- You must select at least two shapes before any Pathfinder button will work, and the order matters for Subtract and Intersect operations.
- After using Pathfinder, the result is a single path that you can no longer edit as separate shapes — undo if you need to go back and adjust individual pieces.
Opening the Pathfinder panel and selecting your shapes
Start by drawing or placing the shapes you want to merge on your canvas. You can use the rectangle tool, ellipse tool, or any other shape tool. You can also draw custom shapes with the pen tool. The shapes can overlap, sit side by side, or be completely separate — Pathfinder will work on all of them at once.
Next, select all the shapes you want to merge. Click the first shape, then hold Shift and click each additional shape. You will see all of them highlighted with selection handles. If you want to select everything on the artboard, press Ctrl+A (Windows) or Cmd+A (Mac).
Now open the Pathfinder panel. Go to Window in the menu bar, then choose Pathfinder. A panel will appear showing eight icon buttons in the top row. Each icon is a small diagram showing what that operation does — Unite shows two shapes becoming one, Subtract shows one shape removing part of another, and so on. This visual language makes it easier to pick the right one without memorizing names.
Using Unite to combine shapes into one outline
Unite is the most straightforward merge operation. It takes all selected shapes and combines them into a single outline that includes every edge from every shape. If two shapes overlap, the overlapping area becomes part of the merged result. If they sit side by side, the outline traces around both of them.
To use Unite, select your shapes, open the Pathfinder panel, and click the first icon in the top row (the one that looks like two overlapping squares becoming one). Illustrator will when ready merge them. The result is a single path with a single fill color — it takes the color from the topmost shape in your selection.
Unite is useful for logos, icons, and any shape where you want a clean, unified outline. If you drew a shape in pieces and want to treat it as one object, Unite is the fastest way. The downside is that you lose the ability to edit the individual shapes afterward — the merge is permanent unless you undo.
Using Subtract to cut one shape away from another
Subtract removes the top shape from the bottom one, creating a hole or cutout. The order of your selection matters here. The shape you select last (the one on top in the stacking order) is what gets subtracted. Everything else stays.
To use Subtract correctly, select the base shape first, then hold Shift and select the shape you want to remove. Open Pathfinder and click the second icon in the top row (it looks like one square with another square cut out of it). The top shape will disappear, and the bottom shape will now have a hole where the top shape was.
Subtract is how you create crescents, donuts, and other shapes with cutouts. If you want a circle with a smaller circle removed from the center, select the large circle first, then the small circle, then click Subtract. The result is a single path shaped like a ring.
Using Intersect to keep only the overlapping area
Intersect does the opposite of Subtract. Instead of removing one shape from another, it keeps only the area where the shapes overlap and discards everything else. If you have a circle and a square that partially overlap, Intersect will leave you with just the lens-shaped area where they meet.
Select all the shapes you want to intersect, open Pathfinder, and click the third icon in the top row (it looks like two overlapping squares with only the middle part remaining). Illustrator will create a single path from the overlapping region. If the shapes do not overlap at all, Intersect will produce an empty result — nothing visible on the canvas.
Intersect is less common than Unite or Subtract, but it is useful when you need to find or isolate the overlap between shapes. It is also a way to create complex shapes by layering straightforward ones and keeping only the intersection.
Understanding what happens after you merge
Once you click a Pathfinder button, the merge happens when ready and the shapes become a single path. You can still undo with Ctrl+Z (Windows) or Cmd+Z (Mac) if the result is not what you wanted. But if you proceed, the individual shapes are gone — you cannot click on one part of the merged shape and move it separately.
The merged shape inherits a fill color from one of the original shapes (usually the topmost one) and keeps any stroke you had applied. If you want to change the color, select the merged shape and adjust the fill or stroke in the color panel or toolbar.
If you realize you need to edit the shapes again after merging, undo back to before the merge. There is no way to unmerge a path once it is created. Some designers keep a copy of the original shapes on a hidden layer before merging, just in case they need to go back and adjust.
Other merge options: Exclude and Divide
The Pathfinder panel has more buttons beyond the basic four. Exclude works like Subtract but affects all selected shapes at once — any overlapping areas become transparent holes. Divide cuts shapes where they overlap, creating separate paths along the intersection lines. These are less common but useful for specific tasks.
Exclude is helpful when you have multiple shapes and want to punch holes through all of them at once. Divide is useful when you need to separate a shape into distinct regions based on where other shapes cross it — for example, dividing a rectangle into sections by drawing lines across it.
For most basic merging work, Unite, Subtract, and Intersect cover what you need. Explore the other buttons once you are comfortable with those three.
Frequently Asked Questions
Can I merge shapes that are not overlapping?
Yes. Unite will combine any shapes, overlapping or not, into a single outline that traces around all of them. Subtract and Intersect work best with overlapping shapes, but you can use them on separate shapes too — Subtract on non-overlapping shapes will just remove the entire top shape, and Intersect on non-overlapping shapes will produce nothing visible.
What if I want to undo a merge?
Press Ctrl+Z (Windows) or Cmd+Z (Mac) when ready after merging to undo. If you have done other work since the merge, you can step back through your undo history by pressing Ctrl+Z or Cmd+Z multiple times. Once you save and close the file, undo is no longer available.
Does the merge change the size or position of my shapes?
No. The merged shape occupies the same space as the original shapes did. If you had a circle at coordinates (100, 100) and a square at (150, 150), the merged result will still occupy that same area on the canvas. The position and size only change if you move or resize the merged shape afterward.
Can I merge more than two shapes at once?
Yes. Select as many shapes as you want, then click any Pathfinder button. All selected shapes will be merged according to that operation. For Unite, the order does not matter — all shapes combine into one. For Subtract and Intersect, the topmost shape in the stacking order is treated as the one being subtracted or intersected with the rest.
What is the difference between merging and grouping shapes?
Grouping (Ctrl+G or Cmd+G) keeps shapes separate but lets you move and select them together. Merging combines them into a single path that cannot be edited as individual shapes. Use grouping when you want to keep shapes editable; use merging when you want a unified outline.