The three ways to combine layers into one
Merging layers in Photoshop means flattening two or more separate layers into a single layer. You do this when you have finished editing and want to reduce file size, lock in your changes, or prepare an image for export. Photoshop gives you three different merge options depending on what you are trying to accomplish: merge down (combines one layer with the layer directly below it), merge visible (combines all layers you can see), and flatten image (combines everything into a single background layer with no transparency).
Each method works differently and produces a different result. Merge down is the most common choice when you are working on a specific part of your image. Merge visible is useful when you have hidden some layers temporarily and only want to combine what you are looking at. Flatten image is the final step before saving as a JPG or when you want to discard all your layer structure entirely.
Key Takeaways
- Merge down combines the selected layer with the layer directly below it and is found in the Layer menu or by right-clicking the layer.
- Merge visible combines all layers that have the eye icon showing, leaving hidden layers untouched.
- Flatten image turns your entire document into one layer and removes all transparency, so use it only when you are finished editing.
- You cannot undo a merge after you close the file, so save a copy with layers intact before merging if you might need to edit later.
How to merge down one layer at a time
Merge down is the most precise option because it combines only two layers. Select the layer you want to merge (click it in the Layers panel on the right side of your screen). Then go to the Layer menu at the top, scroll down to Merge Down, and click it. The selected layer will combine with whatever layer sits directly below it, and the two become one.
You can also right-click the layer name in the Layers panel and choose Merge Down from the menu that appears. This is faster if you are merging many times in one session. After the merge, the combined layer takes the name of the lower layer. If you need to undo this, use Ctrl+Z (Windows) or Command+Z (Mac) when ready, but once you close the file, the merge is permanent.
How to merge all visible layers at once
Merge visible is useful when you have hidden some layers (by clicking the eye icon next to them) and only want to combine the ones you can see. Go to the Image menu at the top and click Merge Visible. Every layer with an eye icon will combine into a single layer, and any hidden layers will stay separate and unchanged.
This method is helpful when you are working on a complex image with many layers but only want to flatten a specific group. For example, you might hide a background layer, merge your text and shape layers together, and keep the background separate for further adjustments. The merged result takes the name of the topmost visible layer.
How to flatten your entire image into one layer
Flatten image combines every layer, removes all transparency, and creates a single background layer. Go to the Image menu and click Flatten Image. All layers disappear and become one. Any transparent areas (shown as a checkerboard pattern) will fill with white or your background color.
Use flatten image only when you are completely finished editing and ready to export. This is the standard step before saving as a JPG, because JPG files cannot contain layers or transparency. After flattening, you lose the ability to edit individual elements separately, so if you think you might need to make changes later, save a copy of your file with layers intact first (File > Save As, then choose Photoshop format).
Why you should save before merging
Merging is permanent once you close the file. Photoshop's undo history (Edit > Undo or Ctrl+Z) only works while the file is open in your current session. The moment you close the document, all merges become locked in. If you realize later that you need to adjust a layer you already merged, you cannot separate it again.
The safest approach is to save your working file with all layers intact (use File > Save As and choose Photoshop format, which ends in .psd). Then create a copy for export or final work, and do your merging on the copy. This way you always have the original layered version to go back to if you need to make changes.
When to merge and when to keep layers separate
Keep layers separate while you are still editing. Separate layers let you adjust, hide, or delete individual elements without affecting the rest of the image. Once you have finished all your edits and are happy with how everything looks, merging reduces file size and makes the document faster to work with.
Merge down when you have finished editing a specific part (like text or a shape) and do not plan to change it again. Merge visible when you want to combine a group of related layers but keep others separate. Flatten image only at the very end, right before you export as JPG or PNG. If you are saving in Photoshop format for future editing, do not flatten — keep your layers so you can make changes later.
Frequently Asked Questions
Can I merge layers without losing the original?
Yes. Before merging, go to File > Save As and save a copy of your file with a different name. Keep the original with all layers intact. Then open the copy and merge as needed. This way you always have the layered version to return to.
What happens to layer effects when I merge?
Layer effects (like drop shadows or glows) are applied to the layer and become permanent when you merge. The effect is baked into the merged layer and cannot be adjusted separately afterward. If you think you might change an effect later, keep the layers separate.
Can I merge just a few layers and leave others alone?
Yes. Use merge down to combine two layers at a time, or use merge visible by hiding the layers you want to keep separate first. Click the eye icon next to a layer to hide it, then go to Image > Merge Visible. Only the visible layers will merge.
Should I flatten before saving as PNG?
No. PNG supports transparency and layers, so you can save as PNG without flattening. Flatten only if you want a solid background color instead of transparency, or if you are saving as JPG (which does not support either).
What is the difference between merge down and merge visible?
Merge down combines only the selected layer with the one directly below it. Merge visible combines all layers you can see (all layers with the eye icon showing). Use merge down for precision, merge visible when you want to combine a whole group at once.