Graphic Design & Illustration · Guide
How to merge layers in Photoshop
Ctrl+E merges down and it is permanent. Here is every merge command, the stamp shortcut that keeps your originals, and when grouping is the better answer.
The Nextversity teamGraphic Design & Illustration schoolUpdated August 10, 20265 min read

On this page
The short answer
Select the layers you want and press Ctrl+E (Cmd+E on Mac). They become one layer.
Before you do, know that this is permanent once the file is closed. In most cases what you actually want is Ctrl+Alt+Shift+E, which stamps everything visible onto a new layer and leaves the originals untouched.
Every merge command
- Merge Down (Ctrl+E) with one layer selected combines it with the layer directly below.
- Merge Layers (Ctrl+E) with several selected combines just those.
- Merge Visible (Ctrl+Shift+E) combines every layer with its eye icon on, ignoring hidden ones.
- Flatten Image (Layer menu) combines everything into one background layer and discards transparency.
- Stamp Visible (Ctrl+Alt+Shift+E) creates a new layer with the merged result on it and keeps all originals. This is the one to build a habit around.
On Mac, swap Ctrl for Cmd and Alt for Option throughout.
Why stamp visible is the better default
You merge because you want to apply something to the combined result: a filter, a sharpen pass, a transform. Stamp Visible gives you exactly that, plus the ability to change your mind about anything underneath.
The workflow:
- Get the layers looking right.
- Ctrl+Alt+Shift+E to stamp a combined copy on top.
- Apply your filter or effect to the stamp.
- If you need to change something below, hide the stamp, make the change, delete the stamp and re-stamp.
Costs one keystroke more than merging. Saves rebuilding an hour of work.
Every Photoshop user has flattened a file, saved it, closed it, and then discovered they needed one of those layers. It happens once, and then you learn the stamp shortcut permanently.
Alternatives to merging entirely
Group layers (Ctrl+G). Keeps them separate while tidying the panel. You can move, transform, mask and set opacity on a group as if it were one layer, which is what people usually wanted from merging.
Convert to Smart Object. Right-click the selected layers and choose Convert to Smart Object. They behave as one layer, filters applied to it become re-editable Smart Filters, and you can double-click to open the originals and edit them. This is the closest thing to a reversible merge.
Between grouping and Smart Objects, most real merges are unnecessary. Adobe's Photoshop user guide documents both.
When merging genuinely is right
- Before an export where the destination cannot read layers.
- Performance. A file with hundreds of layers and heavy effects can slow to a crawl, and merging finished sections helps.
- Handing off a file to someone who does not need your working structure. Even then, send a flattened copy and keep the layered original.
- Applying a filter across everything, though a stamp does this better.
Keeping files you can reopen
Some habits that make merging almost never necessary:
- Group by section. Background, subject, type, effects.
- Name layers. "Layer 47 copy 3" tells you nothing in two months.
- Color-code groups. Right-click the eye icon area to set a color.
- Use adjustment layers, never Image > Adjustments.
- Keep a layered master and export flattened copies for delivery.
The measure of a good working file is whether someone else can open it and change one thing without asking you how.
Where to learn the rest
Non-destructive editing is the habit that separates hobby files from professional ones, and it is mostly about masks, smart objects and grouping rather than any single tool. The Photoshop certificate covers it, and there is a beginner's guide to the program if you are starting out.
One subscription opens the whole Graphic Design & Illustration school, including Illustrator for vector work. Adobe's Photoshop product page has the software details.
Stamp instead of merge. Group instead of flatten. Your future self does the thanking.
Questions people ask
How do I merge layers in Photoshop?
Select the layers in the Layers panel and press Ctrl+E (Cmd+E on Mac), or right-click and choose Merge Layers. Merging is permanent once the file is saved and closed.
How do I merge layers without losing them?
Use Stamp Visible: Ctrl+Alt+Shift+E (Cmd+Option+Shift+E). It creates a new layer containing everything visible, and leaves all the original layers exactly where they were.
What is the difference between merge and flatten?
Merge combines the layers you selected. Flatten combines everything into one background layer and discards transparency. Flatten is for final export, not for working files.
Can I undo a merge?
Yes while the file is open, with Ctrl+Z or the History panel. Once you save, close and reopen, the history is gone and so are the separate layers.
Should I merge layers to reduce file size?
Rarely worth it. Group layers and keep the file editable instead, and export a flattened JPEG or PNG for delivery. Storage is cheap and redoing work is not.