Layer Masks are one of the most important features in Photoshop for non-destructive editing. A layer mask allows you to hide or reveal different parts of a layer without permanently deleting the original pixels.
A Layer Mask controls the visibility of different areas of a layer.
Layer
+
Mask
↓
Control Visibility
Instead of deleting pixels, you can hide them using a mask.
Layer Masks are useful because they allow you to edit images without permanently removing their original content.
Layer Masks are controlled from the Layers panel.
Select a layer and use the Add Layer Mask button at the bottom of the Layers panel.
Layers Panel
↓
Select Layer
↓
Add Layer Mask
↓
Mask Thumbnail Appears
White on a layer mask means the corresponding part of the layer is visible.
White
↓
Visible
If the entire mask is white, the complete layer remains visible.
Black on a layer mask hides the corresponding part of the layer.
Black
↓
Hidden
The hidden pixels are not permanently deleted. They can be revealed again by painting white on the mask.
Gray creates partial transparency on a layer mask.
White → Fully Visible
Gray → Partially Visible
Black → Hidden
This makes gray useful for creating smooth transitions and blending effects.
When you add a normal layer mask to a layer, Photoshop generally creates a white mask by default.
Layer
↓
Add Layer Mask
↓
White Mask
↓
Layer Fully Visible
You can create a layer mask directly from a selection.
This technique is very useful for background removal.
You can use the Brush Tool to edit a layer mask.
Brush + White
↓
Reveal
Brush + Black
↓
Hide
Make sure the mask thumbnail is selected before painting.
A simple way to remember masks is:
WHITE = SHOW
BLACK = HIDE
GRAY = PARTIAL
This basic rule is used throughout Photoshop masking workflows.
When editing masks, black and white are commonly used as the foreground and background colors.
Press D to reset the foreground and background colors to black and white.
Press X to swap the foreground and background colors.
| Layer Mask | Eraser Tool |
|---|---|
| Hides pixels | Deletes pixels |
| Non-destructive | Destructive |
| Can restore hidden areas | Requires undo or backup to restore |
| Useful for flexible editing | Useful for permanent removal |
A layer can have both an image thumbnail and a mask thumbnail.
Click the mask thumbnail when you want to paint or edit the mask. A border around the mask thumbnail indicates that it is selected.
A layer mask can be temporarily disabled to compare the masked result with the original layer visibility.
This is useful when checking whether the mask is producing the desired result.
If a mask is no longer needed, it can be removed from the layer.
Photoshop can provide options to apply the mask or discard it.
Mask
↓
Remove Mask
↓
Apply or Discard
Layer Masks are commonly used when removing backgrounds.
Subject Selection
↓
Layer Mask
↓
Background Hidden
↓
Transparent Subject
The original background pixels remain available underneath the mask.
Layer Masks allow two or more images to blend together smoothly.
Image A
+
Image B
↓
Layer Mask
↓
Blended Composition
Soft brushes and gradients can create smooth transitions between images.
A gradient can be applied to a layer mask to create a gradual transition between visible and hidden areas.
White → Gray → Black
↓
Smooth Visibility Transition
This is useful for blending photographs and creating soft fades.
A mask can be used with an adjustment layer to apply an effect only to selected areas.
Adjustment Layer
+
Layer Mask
↓
Effect on Selected Area
For example, you can make only the background black and white while keeping the subject in color.
A layer mask controls which areas are visible, while layer opacity controls the overall transparency of the layer.
| Mask | Opacity |
|---|---|
| Controls specific areas | Controls the whole layer |
| Uses black, white and gray | Uses a percentage |
A soft-edged brush can create smoother transitions when painting on a layer mask.
This is useful around soft edges, shadows and blended photographs.
Soft Brush
↓
Smooth Mask
↓
Natural Transition
Photo compositing combines elements from multiple images into one design.
Layer Masks help hide unwanted portions of each image while keeping the useful parts visible.
Photo 1
+
Photo 2
+
Photo 3
↓
Layer Masks
↓
Final Composition
Use a layer mask to replace the background of a portrait.
You can blend two photographs using a layer mask and gradient.
Create a design where the background is black and white but the main subject remains in color.
Original Photo
↓
Black & White Adjustment Layer
↓
Layer Mask
↓
Reveal Subject
↓
Subject in Color
Practice the basic Layer Mask workflow with a photograph.
Create a promotional poster using Layer Masks.
Background
+
Photo
+
Layer Mask
+
Text
+
Logo
↓
Professional Poster
Use masks to blend the photograph with the background and create a clean visual composition.
Layer Masks provide a powerful non-destructive way to control the visibility of different areas of a layer.
White reveals, black hides and gray partially reveals the layer. Masks can be combined with selections, brushes, gradients and adjustment layers to create professional image-editing effects.
Layer Masks are especially useful for background removal, image blending, selective effects, photo compositing and poster design.
Question: What does black do on a Photoshop Layer Mask?