How to Merge Layers in Photoshop (Flatten Image)

Step-by-step guide to merge selected layers, merge visible layers, or flatten an entire Photoshop document while keeping a copy of your layered file.

What the video covers

Shows how to merge selected layers, merge all visible layers, and flatten the entire image in Adobe Photoshop. Does not cover layer masks, smart objects, or advanced non-destructive workflows.

Watch the video on YouTube

Step-by-step instructions

  1. Open your project
    Open the Photoshop document that contains the layers you want to combine.
  2. Select layers to merge
    In the Layers panel, click the first layer, then Shift‑click or Ctrl/Command‑click additional layers to select multiple layers you want to combine.
  3. Merge selected layers
    Right‑click any selected layer and choose 'Merge Layers' or use the keyboard shortcut (Ctrl+E on Windows / Command+E on Mac) to combine the selected layers into one.
  4. Merge all visible layers
    If you want to combine only visible layers, ensure the layers you want are visible (eye icon on) and hidden ones are turned off, then use 'Merge Visible' or the shortcut (Shift+Ctrl+E / Shift+Command+E).
  5. Flatten the entire image
    To reduce the document to a single background layer for final export, use 'Flatten Image'. Note: flattening removes layer structure—save a copy of the layered file before doing this.
  6. Save a layered backup (recommended)
    Before flattening or permanently merging, save a copy of your document (e.g., PSD) so you can return to editable layers later.

Watch the video

Video thumbnail for How to Merge Layers in Photoshop (Flatten Image) Play tutorial

Watch on YouTube

Why it matters

Merging reduces clutter in the Layers panel, simplifies editing, and prepares artwork for export. Flattening creates a single background layer for final output but removes layer editability.

Check your result

After completing the steps, the Layers panel should show fewer layers (or a single Background layer if flattened) and the document will look unchanged visually. If you saved a copy before flattening, you can reopen the layered file to continue editing.

Troubleshooting

If a merged result looks different, verify layer blend modes and opacity before merging. Smart Objects retain separate content—rasterize them first if you need to merge their pixels. If flattening removed transparency you needed, reopen your saved layered copy or use 'Undo' if the file hasn't been closed or saved.