The three ways to merge paths in Illustrator
You merge paths in Illustrator using the Pathfinder panel, which combines two or more selected paths into a single shape. The method you choose depends on what you want the final shape to look like: whether you want the overlapping area to be solid, transparent, or cut away.
Open the Pathfinder panel by going to Window > Pathfinder. Select the two or more paths you want to merge, then click one of the shape mode buttons in the top row. Each button produces a different result. The most common choice is Unite, which combines all selected paths into one solid shape and removes any overlapping lines.
If you want to keep the paths separate but grouped together, use Object > Group instead. This does not actually merge the paths — it just treats them as one unit. Use Pathfinder when you need a single unified shape.
Key Takeaways
- The Pathfinder panel (Window > Pathfinder) is where you find all merge options for paths in Illustrator.
- Unite combines all selected paths into one solid shape and is the most common merge method.
- Intersect keeps only the area where paths overlap, and Subtract removes one path from another.
- You must select at least two paths before any Pathfinder button becomes active.
- After merging, the result is a single path with a single fill color — the color of the topmost path in your selection.
Using Unite to combine paths into one shape
Unite is the straightforward merge option. It takes all your selected paths and turns them into a single shape, removing any internal dividing lines where the paths overlap. This is what most people mean when they say "merge paths."
To use Unite: select all the paths you want to combine, open the Pathfinder panel, and click the Unite button (the first button in the top row, which looks like overlapping squares merging into one). Illustrator combines them instantly into a single path with a single fill color.
The resulting shape takes the fill color of whichever path was on top in your layers panel. If you want a different color, change the fill after merging. The stroke (outline) is removed during a Unite operation — if you need a stroke on the final shape, add it after merging.
Using Intersect and Subtract for partial merges
Intersect keeps only the area where your selected paths overlap and removes everything else. If you have a circle and a square overlapping, Intersect leaves only the lens-shaped area where they cross.
Subtract removes the topmost path from all the paths below it. If you have a circle with a smaller square on top, Subtract removes the square-shaped area from the circle, leaving a circle with a square hole. The order matters — the top path in your selection is what gets subtracted from the rest.
Both of these operations are useful for creating complex shapes without drawing them by hand. For example, you can draw two simple shapes, overlap them, and use Subtract to cut a hole or create a crescent moon shape.
What happens to strokes and colors when you merge
When you merge paths using any Pathfinder operation, the stroke (outline) is removed from the result. If the original paths had different stroke colors or widths, they are all lost. The merged shape gets only a fill color — the fill color of the topmost path in your selection.
If you need the merged shape to have a stroke, add it after merging by selecting the shape and setting a stroke color in the Appearance panel or the toolbar. You can also set the stroke width and style at that point.
If your original paths had different fill colors and you want to preserve some of that color information, consider using Object > Group instead of Pathfinder. Grouping keeps the paths separate but treats them as one unit for moving and transforming.
Merging paths with different blend modes and effects
If your paths have blend modes (like Multiply or Screen) or effects (like Drop Shadow), those properties are lost when you merge. The final merged shape has no blend mode and no effects — it is a plain shape with a fill color.
If you need to keep blend modes or effects, do not merge the paths. Instead, select them and use Object > Group to keep them together. You can then apply effects to the group as a whole, which will affect all the paths inside it.
If you have already merged and lost the effects, use Edit > Undo to go back, or keep an unmerged version of your file before merging.
Merging paths that are inside clipping masks or groups
If your paths are inside a clipping mask or a group, you need to ungroup or release the mask before you can merge them. Select the group or mask and go to Object > Ungroup or Object > Clipping Mask > Release.
After ungrouping, select the individual paths you want to merge and use Pathfinder as normal. If you want to put the merged result back into a group or mask afterward, select it and use Object > Group or create a new clipping mask.
Undoing a merge and working non-destructively
If you merge paths and change your mind, use Edit > Undo (or press Ctrl+Z on Windows, Command+Z on Mac) to reverse the merge. You can undo multiple steps if needed.
To work non-destructively, keep a copy of your original unmerged paths on a separate layer before merging. Select all your paths, copy them, create a new layer, and paste them there. Lock that layer so you do not accidentally edit it. Then merge the paths on your working layer. If you need the originals later, you have them.
Another approach is to use Object > Expand Appearance before merging. This converts strokes and effects into outlines, so you have a record of what they were before the merge.
Frequently Asked Questions
Can I merge more than two paths at once?
Yes. Select as many paths as you want using Shift+Click, then click any Pathfinder button. All selected paths will merge according to the operation you choose. Unite works the same way with three paths as it does with two.
Why are the Pathfinder buttons grayed out?
The Pathfinder buttons are inactive when you have fewer than two paths selected, or when you have selected text or other objects that cannot be merged. Make sure you have selected at least two actual paths (not groups or text), then try again.
How do I merge paths and keep the stroke?
Pathfinder removes strokes automatically. After merging, select the result and add a new stroke in the Appearance panel or toolbar. If you need the exact stroke from before, note its color and width before merging, then reapply it afterward.
Can I merge paths that are different colors?
Yes, but the result will be a single color — the fill color of the topmost path. If you want to keep multiple colors, do not merge. Use Group instead to keep the paths separate but linked together.
What is the difference between Unite and Merge?
Illustrator does not have a button called "Merge" in the Pathfinder panel. Unite is the standard merge operation. If you see "Merge" elsewhere, it usually refers to combining layers or objects in a different way, not merging paths.