What a mask layer does and why you'd edit one
A mask layer in Photoshop is a grayscale image attached to a regular layer that controls what parts of that layer show or hide. When you paint black on the mask, that area of the layer becomes invisible. White makes it visible again. Gray creates partial transparency. You edit a mask when you need to refine what's hidden and what's shown — to soften an edge, erase part of a selection you made, or gradually fade one layer into another.
The reason to edit rather than delete and start over is speed and flexibility. Once a mask exists, you can paint, blur, or adjust it without touching the actual image underneath. If you change your mind, the original layer is still intact.
Key Takeaways
- Click the mask thumbnail (not the layer thumbnail) in the Layers panel to make sure you're editing the mask itself, not the image.
- Use the Paintbrush tool with black to hide parts of the layer and white to reveal them again; gray creates soft edges.
- The Levels or Curves adjustment on a mask lets you darken or lighten the entire mask at once, changing how transparent the whole layer becomes.
- Feather a mask edge by applying Gaussian Blur directly to the mask to create smooth fades instead of hard lines.
- Right-click the mask thumbnail and choose "Disable Mask" to temporarily turn it off without deleting it, so you can see the unmasked layer underneath.
Selecting and activating the mask for editing
Open the Layers panel (Window > Layers if it's not visible). Find the layer with the mask you want to edit — it will show two thumbnails side by side: the image thumbnail on the left and the mask thumbnail on the right, usually with a white border around the mask thumbnail.
Click directly on the mask thumbnail to select it for editing. You'll see a white border appear around it, and the image thumbnail will no longer be highlighted. This tells Photoshop that any brush strokes, filters, or adjustments you make should affect the mask, not the image. If you accidentally click the image thumbnail instead, your edits will change the photo itself, not the mask.
You can always tell which one is active by looking for the white border. If you're confused, click the mask thumbnail again to be sure.
Painting on a mask to hide and reveal
Select the Paintbrush tool from the toolbox (or press B). Make sure your foreground color is set correctly: black hides, white reveals. You can press X to swap foreground and background colors quickly.
Paint black on the mask to hide parts of the layer. Paint white to bring hidden parts back. The harder your brush edge, the sharper the line between hidden and visible. A soft brush creates a gradual fade. Adjust brush size and hardness in the tool options at the top of the screen before you start painting.
If you make a mistake, press Ctrl+Z (Windows) or Command+Z (Mac) to undo. You can paint over the same area multiple times — there's no limit to how many times you can edit the mask.
Softening mask edges with blur
A hard-edged mask creates a visible line where the layer cuts off. To soften that edge, you blur the mask itself. Make sure the mask thumbnail is selected (white border around it), then go to Filter > Blur > Gaussian Blur.
A small radius (2 to 5 pixels) creates a gentle fade. A larger radius (10 to 20 pixels) makes the transition smoother and wider. Click OK to apply the blur. The blur affects only the mask, so the image underneath stays sharp — only the transparency becomes gradual.
You can apply Gaussian Blur multiple times if the first pass isn't soft enough. Each application makes the edge softer.
Adjusting mask brightness to change transparency
If you want the entire masked layer to become more or less transparent without repainting, adjust the mask's brightness. Make sure the mask is selected, then go to Image > Adjustments > Levels (or Curves, if you prefer).
In the Levels dialog, drag the middle slider (gamma) to the left to darken the mask, making the layer more transparent overall. Drag it to the right to lighten the mask, making the layer more opaque. You're not changing the image — you're changing how much of it shows through.
This is faster than repainting the entire mask if you just need to dial the transparency up or down.
Inverting a mask to flip what's hidden and visible
Sometimes you paint a mask the wrong way — you hide what you meant to show. Instead of repainting, invert it. Make sure the mask is selected, then go to Image > Adjustments > Invert (or press Ctrl+I on Windows, Command+I on Mac).
Everything that was black becomes white, and everything white becomes black. The layer flips from mostly hidden to mostly visible, or vice versa. If you invert by accident, press Ctrl+Z or Command+Z to undo.
Disabling or deleting a mask
To temporarily turn off a mask without deleting it, right-click the mask thumbnail and choose "Disable Mask". The layer will show completely unmasked. The mask is still there — right-click again and choose "Enable Mask" to turn it back on.
To permanently remove the mask, right-click the mask thumbnail and choose "Delete Mask". Photoshop will ask whether you want to apply the mask (which makes the hidden areas permanently transparent in the image) or discard it (which restores the full layer). Choose based on what you need.
Frequently Asked Questions
How do I know if I'm editing the mask or the image?
Look at the Layers panel. The thumbnail with a white border around it is the one you're editing. If the mask thumbnail has the border, you're editing the mask. If the image thumbnail has it, you're editing the image. Click the mask thumbnail to switch.
Can I copy a mask from one layer to another?
Yes. Right-click the mask thumbnail and choose "Copy Mask". Then right-click the destination layer and choose "Paste Mask". The mask will copy exactly, so both layers will hide and show the same areas.
What's the difference between a layer mask and a clipping mask?
A layer mask is what you're editing here — it's attached to a single layer and controls that layer's transparency. A clipping mask uses the shape of one layer to mask another layer below it. They're different tools for different jobs.
Can I paint in color on a mask?
No. Masks only read grayscale values — black, white, and gray. If you try to paint in color, Photoshop converts it to grayscale automatically. Only the brightness matters.
What if I want to undo multiple mask edits at once?
Press Ctrl+Z (Windows) or Command+Z (Mac) repeatedly to step back through your edits one at a time. Or go to Edit > Undo History to see all your recent changes and click on an earlier state to jump back to it.