What "merging" means in Photoshop and when you need it

Merging in Photoshop means combining two or more layers into a single layer. You do this when you have finished editing separate pieces of an image — text, adjustments, filters, or multiple photos — and you want to flatten them into one layer so you can export the final result, reduce file size, or prepare the image for print.

The most common reason to merge is when you have layered edits that you do not plan to change again. Once layers are merged, you cannot separate them back out, so merge only when you are certain about what you want to keep.

Photoshop gives you three main ways to combine layers: merge two layers together, merge all visible layers, or flatten the entire image. Each one does something slightly different, and which you choose depends on what you are trying to accomplish.

Key Takeaways

  • Merge Down combines the current layer with the layer directly below it, and you can only undo it by stepping back in your history.
  • Merge Visible combines all layers you can see on screen into one, leaving hidden layers untouched.
  • Flatten Image turns every layer — including text and adjustment layers — into a single raster layer with a white background.
  • Always save your original file with layers intact before you merge, so you can go back and edit individual pieces later if you need to.
  • Merged layers cannot be separated again, so make sure your edits are final before you combine them.

How to merge two layers with Merge Down

Merge Down is the simplest merge: it takes the layer you have selected and combines it with the layer directly underneath. Open your image in Photoshop and look at the Layers panel on the right side of the screen. If you do not see it, go to Window > Layers.

Click on the layer you want to merge down — this is the layer that will be combined into the one below it. Then right-click on that layer and select Merge Down from the menu. Photoshop will when ready combine the two layers into one. The merged layer keeps the name of the lower layer.

You can also use the keyboard shortcut Ctrl+E (Windows) or Command+E (Mac). This is faster if you are merging many layers one at a time. Merge Down only works if there is a layer below the one you have selected — if your layer is at the bottom of the stack, the option will be grayed out.

How to merge all visible layers at once

Merge Visible combines every layer you can currently see into a single layer, while leaving any hidden layers untouched. This is useful when you have a complex image with many layers but you want to keep some layers separate for later editing.

First, hide any layers you do not want to merge by clicking the eye icon next to them in the Layers panel. The eye disappears, and that layer is now hidden. Then right-click on any visible layer and select Merge Visible. All the layers you can see will combine into one.

You can also go to the Image menu at the top and select Merge Visible from there. The merged layer will be placed where the topmost visible layer was, and it will take on that layer's name. Any layers that were hidden stay exactly as they were.

How to flatten an entire image into one layer

Flatten Image turns your entire document into a single layer. This removes all layers, including text layers and adjustment layers, and replaces any transparent areas with a white background. Use this only when you are completely done editing and ready to export.

Go to Image > Flatten Image at the top menu. Photoshop will when ready combine every layer into one. If your image has transparency (areas with no color), those areas become white. If you have text layers, they become permanent pixels and can no longer be edited as text.

Flattening is useful before you save as a JPEG, because JPEG files do not support layers or transparency anyway. It also reduces file size significantly. However, you lose all ability to edit individual pieces, so always save your layered version first.

Why you should save before merging

Once you merge layers, you cannot separate them again by using Undo — you can only step backward through your edit history, which means you lose all the work you did after the merge. The safest practice is to save your file with all layers intact before you merge anything.

Use File > Save As and save your working file as a PSD or XCF file (Photoshop's native formats that preserve layers). Then make a copy of that file, merge layers in the copy, and export the final result. This way your original layered file stays safe.

If you have already merged and realized you made a mistake, you can step backward through your history panel on the left side of the screen. Click on the state before you merged. But this only works if you have not closed the file or done other work since the merge.

What happens to different layer types when you merge

Regular image layers merge smoothly — the pixels from one layer combine with the pixels from the layer below based on the blend mode you have set. Text layers become permanent pixels when merged, so you can no longer edit the words or change the font. Adjustment layers (like Curves or Levels) explore their effect to the layers below them when merged.

Smart Objects stay as Smart Objects when you merge them with regular layers, which means they keep their ability to be edited non-destructively. Layer masks are applied permanently when you merge — the mask itself disappears, but its effect stays on the merged layer.

If you want to keep a text layer editable, do not merge it. Instead, export your image as a PNG or PSD file, which both support layers. Only merge text when you are certain you will never need to change the words again.

Merging versus exporting: which one do you actually need

Many people merge layers thinking they have to before they can save or share their image. You do not. You can export a layered file as a JPEG, PNG, or any other format without merging first — Photoshop will automatically flatten it during export and leave your original layers untouched.

Go to File > Export As and choose your format. Photoshop will show you a preview of what the flattened image will look like. You can then save that exported version while keeping your original layered file safe.

Merge only when you actually want to reduce the number of layers for organizational reasons, or when you are certain you will not need to edit individual pieces again. If you are just exporting to share the image, export without merging.

Frequently Asked Questions

Can I undo a merge after I close the file?

No. Once you close Photoshop, the merge is permanent. The undo history is erased when you close the program. This is why saving your layered file before you merge is essential — it is your only way to get back to the original if you change your mind later.

What is the difference between Merge Down and Merge Visible?

Merge Down combines only two layers — the one you have selected and the one directly below it. Merge Visible combines all layers you can see at once. Use Merge Down for small, targeted merges. Use Merge Visible when you have many layers and want to combine most of them while keeping a few hidden layers separate.

Does merging change the quality of my image?

No. Merging layers does not reduce quality or change the pixels themselves — it just combines them into one layer. The visual result is identical. Quality loss only happens when you export to a compressed format like JPEG, which happens whether or not you merged first.

Can I merge layers if they have different blend modes?

Yes. When you merge, the blend mode effect is applied permanently to the merged layer. The pixels combine according to the blend mode you set, and the result becomes a regular layer with Normal blend mode. The visual appearance stays the same, but you lose the ability to change the blend mode later.

What should I do if I merged the wrong layers?

If you have not closed the file, click on the state before the merge in your History panel on the left side. This steps you backward and undoes the merge. If you have already closed the file, open your saved layered version and start over. This is why keeping a backup of your original layered file is important.