Merging paths combines two or more separate shapes into a single outline
In Adobe Illustrator, merging paths means joining separate vector shapes so they act as one object. You do this with the Pathfinder panel, which sits in your toolbar or under Window > Pathfinder. Select the shapes you want to merge, click the button for the merge type you need, and Illustrator combines them into a single path.
The reason to merge is practical: one merged shape is easier to move, color, or edit than five separate ones. It also lets you create new shapes by combining existing ones — cutting holes, overlapping sections, or building complex outlines from straightforward pieces.
Illustrator offers several merge options, and which one you use depends on what you want the final shape to look like. The most common is Unite, which fuses all selected shapes into one solid form. Others let you keep only the overlapping area, remove overlaps, or divide shapes where they cross.
Key Takeaways
- Open the Pathfinder panel (Window > Pathfinder), select two or more shapes, and click Unite to merge them into a single path.
- Unite combines all shapes into one solid outline; Intersect keeps only the area where shapes overlap; Exclude removes the overlap and keeps the outer edges.
- Merged paths lose their individual stroke and fill settings — the result takes the color of the topmost shape in your selection.
- You can undo a merge by pressing Ctrl+Z (Windows) or Command+Z (Mac) when ready after, or use Edit > Undo if you catch it later.
- Merging is permanent unless you undo; save a copy of your file first if you might need to go back to separate shapes.
The Pathfinder panel and where to find it
The Pathfinder panel is Illustrator's main tool for combining shapes. If you do not see it on your screen, go to Window in the top menu, scroll down to Pathfinder, and click it. The panel will appear, usually docked on the right side of your workspace.
The panel shows a grid of buttons in two rows. The top row handles merging and combining; the bottom row is for dividing and cutting. You will use the top row most often. Each button has a small icon showing what it does — Unite shows shapes flowing together, Intersect shows only the overlapping middle, and so on.
How to use Unite to merge shapes into one
Unite is the most straightforward merge. It takes all your selected shapes and turns them into a single solid outline, as if you had drawn one shape that covers all of them.
To use it: First, draw or select the shapes you want to merge. You need at least two. Click on the first shape, then hold Shift and click on each additional shape to select them all. You will see all selected shapes highlighted with a blue outline.
Open the Pathfinder panel if it is not already visible. In the top row, click the first button on the left — that is Unite. Illustrator will when ready merge all selected shapes into one. The new shape takes the stroke color and fill color of whichever shape was on top in your layers panel.
After merging, you have one path instead of many. You can move it, resize it, or change its color as a single object. If you need to edit the outline, use the Direct Selection tool (the white arrow) to grab individual anchor points and drag them.
Other merge options: Intersect, Exclude, and Divide
Illustrator offers four main merge types in the top row of Pathfinder. Each produces a different result depending on how your shapes overlap.
Intersect (second button) keeps only the area where all your selected shapes overlap. If you have a circle and a square that partially overlap, Intersect gives you only the lens-shaped area where they cross. Everything else disappears. This is useful when you want to find the common ground between shapes or create a shape that fits inside multiple boundaries.
Exclude (third button) removes the overlapping area and keeps the outer edges. If a circle and square overlap, Exclude removes the lens-shaped middle and leaves you with two separate outlines — the parts of each shape that do not touch the other. This is helpful when you want to cut a hole or remove a section.
Divide (fourth button) cuts your shapes where they overlap but keeps all the pieces. A circle and square that overlap will become four separate paths: the non-overlapping part of the circle, the non-overlapping part of the square, and two pieces in the middle where they crossed. You can then select and delete individual pieces or change their colors separately.
What happens to color and stroke when you merge
When you merge shapes, Illustrator does not average their colors or blend them. Instead, the merged result takes the fill color and stroke of whichever shape was topmost in your layers panel — the one that appears highest in the Layers panel on the right side of your screen.
If you want the merged shape to be a specific color, set that color on the topmost shape before you merge. Alternatively, merge first and then change the color of the result afterward — it is often faster to just recolor the merged shape than to reorganize your layers.
Stroke weight works the same way. The merged shape inherits the stroke width of the topmost shape. If your shapes have different stroke widths and you want to keep a specific one, move that shape to the top of your layer stack before merging.
Undoing a merge and working non-destructively
If you merge shapes and when ready realize you made a mistake, press Ctrl+Z (Windows) or Command+Z (Mac) to undo. Illustrator will restore your original separate shapes.
If you have already done other work since the merge, you can still undo — go to Edit > Undo History and click on the merge step to jump back to that moment. Everything you did after it will be undone too, so use this only if you have not made other important changes.
The safest approach is to save a copy of your file before merging complex shapes. Go to File > Save As, give it a new name with "backup" or a version number, and keep that copy untouched. Work on the original, and if you need to go back to separate shapes, you have the backup to reference or copy from.
When to merge and when to keep shapes separate
Merge shapes when you are done editing them and want to treat them as a single object. Once merged, you cannot easily separate them back into the original shapes — you can undo, but not unmerge after you have saved and closed the file.
Keep shapes separate if you think you might need to move, resize, or recolor them individually later. Separate shapes also let you use different stroke styles on each one, which is impossible once they are merged.
A common workflow is to build your design with separate shapes, then merge only the final pieces that will never change. For example, you might keep the background and text separate but merge several decorative shapes that form a single logo element.
Frequently Asked Questions
Can I merge more than two shapes at once?
Yes. Select as many shapes as you need by clicking the first one, then holding Shift and clicking each additional shape. The Pathfinder buttons work on any number of selected shapes. You can merge ten shapes in one click.
What is the difference between Unite and Merge?
Illustrator uses "Unite" in the Pathfinder panel. There is no separate "Merge" button. Unite combines all selected shapes into one solid path. If you are looking for a different result, check Intersect, Exclude, or Divide instead.
Why does my merged shape have a weird outline after I combine them?
This usually happens when your original shapes had different stroke widths or stroke colors. The merged shape takes the stroke of the topmost shape. Select the merged shape and adjust its stroke in the Stroke panel (Window > Stroke) to fix it.
Can I merge shapes that have different fill colors?
Yes, but the result will be a single color — the fill of the topmost shape. If you need to keep multiple colors, do not merge. Instead, use Divide to cut the shapes where they overlap, then you can color each piece separately.
How do I separate shapes after I have merged them?
If you just merged them, press Ctrl+Z or Command+Z to undo. If you saved the file after merging, you cannot separate them — the merge is permanent. This is why saving a backup before major merges is a good habit.