What merging layers does in Illustrator
Merging layers in Adobe Illustrator combines two or more separate layers into a single layer. When you merge, all the objects on those layers move into one layer, and the individual layer structure disappears. This is useful when you have finished working on separate parts of a design and want to simplify your layers panel, reduce file complexity, or prepare artwork for export.
The key difference from grouping is that grouping keeps layers separate but organizes them visually — you can still edit each layer independently. Merging actually combines them into one layer, so you lose the ability to isolate and edit individual parts later. You should only merge layers when you are certain you will not need to adjust them separately again.
Key Takeaways
- Merging layers combines multiple layers into one, which simplifies your file but removes the ability to edit layers separately afterward.
- You select the layers you want to merge by clicking the first one, then holding Shift and clicking the last one, or Ctrl (Windows) or Command (Mac) and clicking individual layers.
- The merge command is found in the Object menu under Flatten Artwork, or you can right-click selected layers and choose Merge Selected.
- Before merging, save a copy of your file so you can return to the layered version if you need to make changes later.
Selecting the layers you want to merge
Open the Layers panel on the right side of your screen. If you do not see it, go to Window menu and click Layers. Each layer appears as a row in this panel, and you can see thumbnails of what is on each layer.
Click the first layer you want to merge. Then hold Shift and click the last layer in the range you want to merge — this selects all layers between them. If you want to select layers that are not next to each other, hold Ctrl (on Windows) or Command (on Mac) and click each layer individually. The selected layers will highlight in blue.
Make sure you are selecting only the layers you actually want to combine. Once you merge, you cannot undo it by separating them again — you would have to use Edit > Undo when ready after merging, or revert to an earlier saved version of the file.
Using the Flatten Artwork command
With your layers selected, go to the Object menu at the top of the screen. Scroll down and click Flatten Artwork. A dialog box will appear asking you to confirm the flattening settings.
In the dialog, you will see options for how to handle transparency and text. The default settings work for most designs — they preserve the appearance of your artwork while merging the layers. Click OK, and Illustrator will combine all selected layers into a single layer.
The new merged layer will appear in the Layers panel with the name of the topmost layer you selected. All objects from the merged layers are now part of this single layer, though they retain their individual properties like fill color and stroke.
Merging layers through the right-click menu
An alternative method is to right-click directly on one of your selected layers in the Layers panel. A context menu will appear with several options. Look for Merge Selected (the exact wording may vary slightly depending on your Illustrator version).
Click Merge Selected, and the layers will combine when ready. This method is faster if you are already working in the Layers panel and do not want to navigate to the Object menu. The result is identical to using Flatten Artwork — all selected layers become one.
What happens to objects after merging
After merging, all the objects that were on separate layers now sit on the same layer. You can still select and edit them individually by clicking them on the canvas — merging does not lock them together or group them. You can still change their colors, move them, or delete them one at a time.
The stacking order (which object appears in front of which) is preserved from the original layers. If a shape on Layer 2 was in front of a shape on Layer 1, it will remain in front after merging. You can adjust stacking order using Object > Arrange if you need to change what appears on top.
Saving your file before merging
Before you merge any layers, save your current file. Go to File > Save As and give it a new name — for example, if your file is called "Logo Design", save it as "Logo Design - Final" or "Logo Design - Merged". This keeps your original layered version intact.
Then you can work on the new copy and merge layers without worry. If you later realize you need to adjust something that requires separate layers, you still have the original file to go back to. This is standard practice in design work because layered files are much easier to edit than flattened ones.
When to merge versus when to group
Merge layers when you have finished all edits on those layers and want to reduce clutter in your Layers panel. This is common when you are preparing artwork for final export or when a design section is completely done and will not change.
Use grouping instead if you think you might need to edit those layers separately later. Grouping (Object > Group, or Ctrl+G on Windows, Command+G on Mac) keeps layers organized visually without combining them. You can expand or collapse a group in the Layers panel to hide or show its contents, and you can still edit each layer independently.
Frequently Asked Questions
Can I undo a merge if I change my mind right after?
Yes, when ready after merging, go to Edit > Undo (or press Ctrl+Z on Windows, Command+Z on Mac). This will reverse the merge and restore your separate layers. However, if you close the file or perform other actions, you cannot undo the merge — this is why saving a copy beforehand is important.
Does merging layers reduce my file size?
Merging layers simplifies the file structure slightly, but the difference in file size is usually small. The real benefit is a cleaner Layers panel and easier file management, not significant storage savings. If you need to reduce file size, exporting as a flattened PDF or PNG will have a much larger effect.
What happens to layer names when I merge?
The merged layer takes the name of the topmost layer in your selection. If you want a different name, you can rename it after merging by double-clicking the layer name in the Layers panel and typing a new one.
Can I merge layers that have different blend modes or opacity settings?
Yes, but the blend modes and opacity settings are applied to the final merged appearance. The individual layer properties are not preserved as separate settings — they become part of the artwork itself. If you need to adjust blend modes later, you will have to do it on the entire merged layer.
Is there a way to merge all layers at once?
You can select all layers by clicking the top layer, holding Shift, and clicking the bottom layer. Then use Object > Flatten Artwork or right-click and choose Merge Selected. This combines every layer into one, which is useful when you are completely finished with a design and ready to export.