What merging layers does and when you need it
Merging layers in Photoshop combines two or more layers into a single layer, flattening the information they contain into one. When you merge, Photoshop calculates how the layers interact — their opacity, blend modes, and stacking order — and bakes that result into a new layer. The original layers disappear.
You merge layers when you want to reduce file size, lock in a composite effect you've finished adjusting, or prepare an image for export. A Photoshop file with dozens of adjustment layers and smart objects can be hundreds of megabytes; merging down to a handful of layers makes the file faster to work with. Merging also prevents accidental changes — once layers are merged, you can't adjust them separately anymore.
The trade-off is permanence. Merged layers can't be unmerged. If you think you might want to adjust individual layers later, save a copy of your file with all layers intact before you merge.
Key Takeaways
- Merge Down combines the selected layer with the layer directly below it; Merge Visible combines all layers you can see, regardless of where they sit in the stack.
- Right-click the layer you want to merge and choose from the context menu, or use the Layer menu at the top of the screen.
- Flattening an image merges all layers and removes transparency, turning the background transparent area into a solid color — use this only when you're ready to export.
- Merged layers cannot be separated again, so save your original file with unmerged layers before you merge if you might need to edit them later.
Merge Down: combining a single layer with the one below
Merge Down is the most common merge operation. It takes the layer you have selected and combines it with the layer directly underneath, keeping everything else in your layer stack unchanged.
To use Merge Down, click the layer you want to merge in the Layers panel on the right side of the screen. Right-click that layer and select Merge Down from the menu that appears. Photoshop will combine it with the layer below and name the result after the lower layer.
You can also reach Merge Down through the menu bar: click Layer at the top, then hover over Merge Down. The keyboard shortcut is Ctrl+E on Windows or Cmd+E on Mac.
Merge Visible: combining all layers you can see
Merge Visible combines every layer that has its eye icon turned on — the visibility toggle in the Layers panel. Layers with the eye icon hidden are left alone. This is useful when you have some layers you want to keep separate (like a watermark or signature on a hidden layer) but want to flatten everything else.
Right-click any visible layer and select Merge Visible. Photoshop will combine all visible layers into a single layer at the position of the topmost visible layer. Alternatively, go to Image in the menu bar and choose Flatten Image if you want to merge everything and remove transparency in one step — but Flatten Image is permanent and affects the entire document, so use it only when you're certain.
Flatten Image: the nuclear option for final export
Flatten Image merges every layer in your document and removes all transparency. Any transparent areas become the background color (usually white). This is what you do at the very end, right before exporting to JPG or another format that doesn't support layers or transparency.
To flatten, go to Image in the menu bar and click Flatten Image. There's no undo after this except Ctrl+Z or Cmd+Z immediately after — Photoshop won't let you undo a flatten operation if you've done other work since. Always save your layered file first.
If you flatten by accident and haven't saved, use Edit > Undo right away. If you've already closed the file, the layered version is gone unless you saved it separately.
Smart Objects and adjustment layers: what happens when you merge them
Smart Objects are layers that contain an entire image or file inside them — they let you scale or transform without losing quality. When you merge a Smart Object with a regular layer below it, Photoshop rasterizes the Smart Object, converting it to pixels. You lose the ability to edit the original file inside it.
Adjustment layers (like Curves, Levels, or Hue/Saturation) affect all layers below them. When you merge an adjustment layer down, its effect becomes permanent on the layer below. If you later want to change the adjustment, you can't — it's baked in. If you think you might tweak the adjustment later, keep the adjustment layer separate or save a copy of your file before merging.
Merging layers to reduce file size and improve performance
A Photoshop file with many layers, especially Smart Objects and adjustment layers, can become slow to work with. Merging layers you've finished editing frees up memory and makes the file smaller. If you have a background layer, several texture layers, and adjustment layers all locked in, merging them down to two or three layers can make a noticeable difference in how fast Photoshop responds.
The key is to merge only the layers you're done adjusting. Keep layers separate while you're still experimenting, then merge once you've settled on the final look. This way you get the speed benefit without losing flexibility too early.
Frequently Asked Questions
Can I undo a merge?
Yes, immediately after merging, use Edit > Undo or press Ctrl+Z (Windows) or Cmd+Z (Mac). Once you've done other work or closed the file, the undo history is gone and you cannot separate merged layers. This is why saving a copy with unmerged layers before you merge is important.
What's the difference between Merge Down and Flatten Image?
Merge Down combines only the selected layer with the one below it, leaving other layers untouched. Flatten Image merges every layer in the document and removes transparency, turning it into a solid background. Use Merge Down while you're working; use Flatten Image only at the very end before exporting.
Do I lose the original image when I merge?
Yes. Merging is permanent — the original layers are deleted and replaced with a single merged layer. If you think you might need to edit the layers separately later, save your file with all layers intact before you merge. You can keep two versions: one with layers for editing, one merged for export.
Why is my merged layer blurry or lower quality?
If you merged a Smart Object or a scaled layer, Photoshop converted it to pixels at its current size. If the layer was scaled down, merging locks it at that smaller size. To avoid this, scale and position layers before you merge, or keep Smart Objects separate until you're certain of the final size.