Unlimited PS Actions, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
  1. Design & Illustration
  2. Layer Masks

How to Create a Layer Mask in Photoshop

Read Time:3 minsLanguages:
Final product imageFinal product imageFinal product image
What You'll Be Creating

In this Photoshop Masking quick tip tutorial, we will learn what a Layer Mask is, what it does, and how to create a Mask in Photoshop! 

Follow along with us on the Envato Tuts+ YouTube Channel:

You can also find out more about how to Mask in Photoshop with these tutorials:

Or find everything you need to know about how to use Photoshop, all in one place. This comprehensive beginners' Photoshop course with Daniel Scott is the ideal way to get up to speed quickly. There's even a dedicated lesson on layer masks.

What You Will Need

You will need the following image in order to follow along with this tutorial.

Find more resources on Envato Elements!

1. What Are Layer Masks? 

Layer masks are your go-to tool when doing photo composites or manipulations! You can add a mask to a layer and then use that mask to hide, or "mask," portions of the layer. 

Masking is different from erasing as you aren't deleting anything, but hiding it. Anything you mask can be brought back at any time! Let's get to learning how to make a layer mask in Photoshop.

2. How to Use Layer Masks

Below, I will walk you through a simple example of how to add a layer mask in Photoshop.

Step 1

Create a New Layer over a background. I'll be using this Night Sky image. 

Create a shape using the Shape Tool.

moon shapemoon shapemoon shape

Step 2

With the shape selected, click on the Add Layer Mask button found at the bottom of the Layers panel, right in the middle. The icon is of a square with a circle in the middle.

A white box will appear next to your layer icon.

layer mask layerlayer mask layerlayer mask layer

Step 3

Click the layer mask, the white box that appeared, to make sure it's active. This is your Photoshop mask!

Now, with a Brush set to black, you can mask out any part of that shape. 

mask using blackmask using blackmask using black

Step 4

You can then mask things back in using the color white! Remember, nothing is ever really gone. 

You use black to erase and white to recover. You can even use shades of gray; the darker the gray, the more it will erase. 

unmask using whiteunmask using whiteunmask using white

Below, I created some star-shaped selections and then masked them out with a black brush.

star maskstar maskstar mask

Step 5

If you move your layer around, your mask will follow and stay attached, indicated by the Chain Link icon located between the layer and layer mask icons.  

However, you can also Unlink the layer and the layer mask, allowing you to move the layer and layer mask around independently, depending on which one you have active. 

layer mask linklayer mask linklayer mask link

Step 6

Finally, if for any reason you want to permanently apply your layer mask, you can Right-Click > Apply Layer Mask on your layer mask.

Once a layer mask is applied, whatever is masked out will become permanently deleted, the layer will turn back into a standard rasterized layer, and you are free to add a new layer mask.  

And There You Have It!

We've learned how to create a layer mask in Photoshop! Layer masks are what make photo composites and manipulation possible, allowing us to blend dozens of images to create one cohesive new piece of art! The possibilities are endless. 

So, as always, keep experimenting with different techniques, continue learning how to mask in Photoshop, and don't forget to post your version below, along with any questions, comments, or critiques!

Final - how to mask in photoshopFinal - how to mask in photoshopFinal - how to mask in photoshop

Apply those new Photoshop Layer Mask skills by trying out these tutorials which utilise Layer Masks:

One subscription.
Unlimited Downloads.
Get unlimited downloads