Photoshop works predominantly with layers, and learning how to merge layers is useful when you need to make one layer out of several. This can be helpful when you have many image layers and Photoshop is either crashing or running slowly or you want to copy and paste an image quickly, without having to save it in a picture format beforehand.
When you open a picture in Photoshop and edit the brightness and contrast, for example, an adjustment layer is created and added on top of the photo layer with the edit. So, if you need to copy that photo along with the brightness and contrast adjustment to paste it into another Photoshop window, you can do it quickly by merging them into one, enabling you to work with a single layer again.
Step-by-step: how to merge layers in Photoshop
Step 1: Select layers to merge. I selected the type layers on this document, we'll merge these and they'll work as one single layer. Let's merge the type layers in this example, as well as the gray rectangles behind the letters. These include "FOR SALE," Rectangle 2 copy, "FIRE TV," and Rectangle 2. So we will select these four layers to merge.
Step 2: Merge layers. Use either the menu or keyboard shortcut to merge the layers. To merge these layers, you can press Ctrl+E (Cmd+E for Mac) or right-click (Control+click for Mac) on the selected layers and click Merge Layers. The layers are merged into one.
When layers are merged, essentially they are flattened into a single layer, so you won't be able to work individually with them. Merging layers is best when you're already done working on those layers and still need to work with others in your file.
To merge all the layers in your Photoshop document, select all the layers and right-click (Control+click for Mac) on the layers panel and select Merge Layers or, without needing to select them, use the shortcut Shift+Ctrl+E (Shift+Cmd+E for Mac).
Photoshop also has the option to merge visible layers. This will combine just the layers that are visible in the moment and leave others that have the visibility off, separated. Just right-click (Control+click for Mac) on the layers panel in Photoshop and select Merge Visible. Merging layers in Photoshop results in a smaller file size. While Photoshop runs as a well-oiled machine most of the time, working with a lot of layers at once, particularly image layers, can slow it down and make it prone to crashing. It's a good idea to merge the layers you're done editing as you go to keep the program running smoothly.
In a nutshell: Yes and no. You cannot edit type layers after they've been merged, for example, but you can edit over your image. This means that you can still add adjustment layers, filters, and use tools like cropping after you merge layers.
Keyboard shortcuts and layer management for speed
The Layers palette is one of the most important in Photoshop. It’s where you isolate your artwork and is the key to non-destructive editing. By learning some keyboard shortcuts to select and move your layers you can speed up your work enormously.
To select several layers at a time, select the first layer and then press Option-Shift-[ (Mac) or Alt+Shift+[ (PC) to select layers below the first one, or Option-Shift-] (Mac) or Alt+Shift+] to select layers above it. This lets you select one layer at a time. To select the top layer in your Layers panel, press Option-. or Alt+. To select all the layers between the currently active layer and the top layer, press Option-Shift-. or Alt+Shift+. To select every layer except the locked Background layer, press ⌘-Option-A or Ctrl+Alt+A.
Essential layer shortcuts include Ctrl+J (Cmd+J on Mac) to duplicate a layer, Ctrl+Shift+N (Cmd+Shift+N on Mac) to create a new layer, and Ctrl+Shift+Alt+N (Cmd+Shift+Option+N on Mac) to create a new layer without the dialog box. The bracket keys [ and ] can decrease and increase brush size, respectively, which is particularly useful when working on layers with brushes.
You can quickly select layers using Alt+[ or Alt+] shortcuts (Option+[ or Option+] on Mac). If you add Shift to the shortcut (Alt+Shift+[ or Alt+Shift+]), you can select multiple layers at once. There are shortcuts to hide or show layers: Ctrl+comma (Cmd+comma on Mac). Alt-click (Option-click on Mac) on the eye icon next to the layer hides all other layers except the one you’re working on. You can cycle blending modes with Shift+plus/minus after selecting a layer. Flattening layers is Ctrl+Alt+Shift+E (Cmd+Option+Shift+E on Mac), creating a new layer that is a flattened version of all visible layers.
To merge visible layers only, use Merge Visible. Stamp Visible (Ctrl+Alt+E or Cmd+Option+E, then Shift+Ctrl+Alt+E or Shift+Cmd+Option+E) creates a merged copy of all visible layers while leaving originals intact. Merging is irreversible, so maintain caution and consider duplicating before large merges if you might need to edit later.
Practical notes on merging and non-destructive editing
Using Clipping Masks can be helpful when you want some layers to show in a specific shape. Organize your layers by grouping related items before merging. Keyboard shortcuts can save time and improve your workflow. If you need a compact, non-destructive workflow, consider stamping visible or keeping original layers in a group and merging a copy only when necessary.
Additional tips
Beyond basic merging, you can still add adjustment layers, filters, and perform cropping after you merge layers. Flattening should be used when you want a single background layer and are sure you won’t need to edit the individual layers again. Always name layers and maintain a consistent naming scheme to stay organized as your project grows.

Merge layers in Photoshop
In summary, merging layers is a core, sometimes destructive, yet essential skill in Photoshop. It helps reduce file size, resolves performance issues with many layers, and enables quick transfers of combined edits between windows or projects. By leveraging both step-by-step methods and keyboard shortcuts, you can streamline your editing process while maintaining control over your workflow.