# Layer Masks Explained: A Beginner's Guide

> **TL;DR:** A layer mask is a black-and-white map attached to a layer that controls what you see: white shows the layer, black hides it, and grey makes it partly transparent. Unlike the eraser, a mask never deletes pixels, so you can always undo or adjust it later. Add one in Falak with Layer › Add Mask.

**Key takeaways**
- White on a mask shows, black hides, grey is partly transparent
- Masks never delete pixels, unlike the eraser
- Gradients on a mask blend two photos smoothly
- Clipping masks show a layer only inside the shape below

If you learn one "pro" skill in photo editing, make it layer masks. They're how designers blend two photos, cut out subjects, apply an effect to just part of an image and fix mistakes without starting over.

## What is a layer mask?

A mask is a greyscale image attached to a layer:

| Mask colour | Effect on the layer |
| --- | --- |
| White | Fully visible |
| Black | Fully hidden |
| Grey | Partly transparent (darker = more hidden) |

Because the mask only **hides** pixels, the original photo is untouched. Paint white over a mistake and it comes straight back.

## Why not just use the eraser?

The eraser deletes pixels permanently. Erase too much and your only option is undo — which also throws away everything you did after. A mask is **non-destructive**: you can refine it an hour later, after saving, even after closing the file.

## How to add and paint a layer mask

1. Select the layer in the Layers panel.
2. Choose **Layer › Add Mask**. If you have a selection, the mask is created from it — the selected area stays visible.
3. Pick the **Brush** tool. Press **D** for default colours (black and white) and **X** to swap them.
4. Paint **black** to hide and **white** to reveal. Lower the brush opacity for soft, partial blends.
5. To edit the mask itself, use *Layer › Edit Mask*. To make it permanent, use *Layer › Apply Mask*.

> **Tip:** A soft brush (0% hardness) gives natural transitions. Use a hard brush for product edges and architecture.

## Three things to do with masks

### Blend two photos

Place one photo above another (**File › Place Image…**), add a mask to the top photo and drag a black-to-white **gradient** across the mask. The images fade smoothly into each other.

### Apply an effect to part of a photo

Add an adjustment, such as brightness or colour, then mask it so it only affects the sky or a face. This is how photographers brighten eyes or darken a background.

### Cut out a subject

**Image › Remove Background** creates the mask for you. Refine it by painting. See [How to Remove the Background From an Image (Free)](/blog/remove-background-from-image/).

## What is a clipping mask?

A clipping mask uses the **shape of the layer below** to show the layer above. Put a photo above some text, choose **Layer › Create / Release Clipping Mask**, and the photo appears only inside the letters. It's perfect for photo-filled text and fitting images into frames on a [poster](/blog/how-to-design-a-poster/).

## Masks and blend modes together

Masks control **where** a layer shows; [blend modes](/blog/blend-modes-explained/) control **how** it mixes with the layers below. Combining them creates double exposures, light leaks and textured effects.

Further reading: [Layers in digital image editing (Wikipedia)](https://en.wikipedia.org/wiki/Layers_(digital_image_editing)).

## Frequently asked questions
### What is the difference between a layer mask and a clipping mask?
A layer mask uses black and white painting to hide parts of one layer. A clipping mask uses the shape of the layer below to limit where the layer above appears.

### How do I invert a layer mask?
Select the mask and use Image › Invert Colours. Hidden areas become visible and visible areas become hidden.

### Can I use masks on text and shapes?
Yes. Masks work on any layer, including text, shapes and groups, so you can fade text into a photo or hide part of a shape without converting it.

### Do PSD files keep layer masks?
Yes. Falak keeps masks when opening and exporting PSD files, so they stay editable for Photoshop users. See [How to Open a PSD File Without Photoshop (Free)](/blog/open-psd-without-photoshop/).
