How to Add a Layer Mask in Photoshop

Download Article Download Article

This wikiHow teaches you how to create a layer mask, which can be used to conceal or reveal parts of other layers in Adobe Photoshop.

Method 1
Method 1 of 3:

Masking an Entire Layer

Download Article
  1. Step 1 Open or create a Photoshop file.
    Double-click the Photoshop app icon, which resembles a blue icon with the letters "Ps," then click on File in the menu bar at the top of the screen and perform one of the following actions:
    • Click Open... and then double-click a project to open an existing document.
    • Click New... to create a new document, then add any images that you want to use.
  2. Step 2 Make sure that you haven't selected a piece of an image.
    You can do this by clicking the Select menu item at the top of the window and then clicking Deselect in the drop-down menu.
    Advertisement
  3. Step 3 Select a layer.
    In the "Layers" section of the Photoshop window, click the layer that you want to mask.
  4. Step 4 Click the Layer menu item.
    It's at the top of the window. Doing so prompts a drop-down menu.
    • On a Mac, this option is at the top of the screen.
  5. Step 5 Select Layer Mask.
    You'll find this option in the drop-down menu. Doing so prompts a pop-out menu to appear.
  6. Step 6 Click Hide All.
    It's in the pop-out menu. This will hide the entire selected layer.
  7. Step 7 Save your project's changes.
    Click File in the upper-left corner, then click Save in the drop-down menu.
    • If you created a new project, doing this will open the "Save As" window in which you'll need to enter a file name, select a location, and click Save again.
  8. Advertisement
Method 2
Method 2 of 3:

Masking or Unmasking Part of a Layer

Download Article
  1. Step 1 Open or create a Photoshop file.
    Double-click the Photoshop app icon, which resembles a blue icon with the letters "Ps," then click on File in the menu bar at the top of the screen and perform one of the following actions:
    • Click Open... and then double-click a project to open an existing document.
    • Click New... to create a new document, then add any images that you want to use.
  2. Step 2 Make sure that you haven't selected a piece of an image.
    You can do this by clicking the Select menu item at the top of the window and then clicking Deselect in the drop-down menu.
  3. Step 3 Select a layer.
    In the "Layers" section of the Photoshop window, click the layer that you want to mask.
  4. Step 4 Select the part that you want to hide or show.
    Depending on the level of detail that you want to preserve, you'll have to use one of the following tools for this step:
    • Marquee Tool - Used to select a large area without worrying about fine edges. Click the dotted-line icon near the top of the "Tool" section, then click and drag your mouse around the area that you want to show or hide.
    • Pen Tool - Used to select fine details. Click the fountain pen-shaped icon in the "Tool" section, then click and drag your mouse around the area that you want to show or hide.
  5. Step 5 Click the Layer menu item.
    It's at the top of the window. Doing so prompts a drop-down menu.
    • On a Mac, this option is at the top of the screen.
  6. Step 6 Select Layer Mask.
    You'll find this option in the drop-down menu. Doing so prompts a pop-out menu to appear.
  7. Step 7 Click either Reveal Selection or Hide Selection.
    Choosing the Reveal Selection option will cause only the selected area to display while the rest of the layer is masked, while choosing Hide Selection will mask the selected area of the layer while preserving the unselected portion. [1]
  8. Step 8 Move the mask if needed.
    If you want to move the mask up to display above a different layer, click and drag the masked layer in the "Layers" section up or down until it's positioned where you want it.
  9. Step 9 Save your project's changes.
    Click File in the upper-left corner, then click Save in the drop-down menu.
    • If you created a new project, doing this will open the "Save As" window in which you'll need to enter a file name, select a location, and click Save again.
  10. Advertisement
Method 3
Method 3 of 3:

Using Select and Mask

Download Article
  1. Step 1 Understand the purpose of Select and Mask.
    This tool allows you to select a part of an image to serve as the "revealed" part of a layer mask, which is useful when attempting to remove a person from a background (or vice versa).
  2. Step 2 Open or create a Photoshop file.
    Double-click the Photoshop app icon, which resembles a blue icon with the letters "Ps," then click on File in the menu bar at the top of the screen and perform one of the following actions:
    • Click Open... and then double-click a project to open an existing document.
    • Click New... to create a new document, then add any images that you want to use.
  3. Step 3 Select a layer.
    In the "Layers" section, click the image that you want to turn into its own layer mask.
  4. Step 4 Click Select.
    This tab is at the top of the Photoshop window (Windows) or the computer screen (Mac). A drop-down menu will appear.
  5. Step 5 Click Select and Mask….
    It's in the middle of the drop-down menu. Doing so opens the "Properties" window on the right side of the Photoshop window.
  6. Step 6 Click the "View" drop-down box.
    This box is at the top of the "Properties" section on the right side of the window. Clicking it prompts a drop-down menu.
  7. Step 7 Click Onion Skin.
    It's in the drop-down menu. This option will allow you to select the part of your image that you want to use as the layer mask.
    • You can also just press the O letter key.
  8. Step 8 Select the "Quick Selection" tool.
    Click the brush icon at the top of the column of brushes on the left side of the window, or press the W letter key.
    • If your image's transparency is higher or lower than 50 percent, first drag the "Transparency" slider that's in the right-hand menu to the 50 percent mark.
    • This tool may already be selected.
  9. Step 9 Select a section to save.
    Click and drag your mouse around the part of the layer that you want to reveal. You should see the selected sections decrease in transparency.
    • Anything not selected will be cut from the layer when you're done.
  10. Step 10 Remove soft-edge details.
    Soft-edge details are remnants of the layer's original background. These details can cause your image to look sloppy, but you can get rid of them by doing the following: [2]
    • Click the "View" drop-down box again.
    • Click either On Black or On White depending on your photo's color.
    • Press R to select the "Refine Edge Brush" tool.
    • Click and drag around the edges of your image.
  11. Step 11 Touch up your image.
    You can check for any last-minute sloppy details by clicking the "View" drop-down box and selecting Black & White, selecting the "Quick Selection" brush, and clicking any small black spots inside of the image area.
    • The entire image's background will also be black—leave the background alone.
  12. Step 12 Save your image as a layer mask.
    Click the "Output To" drop-down box on the right side of the page, click Layer Mask in the drop-down menu, and click OK at the bottom of the right-hand menu.
  13. Step 13 Save your project's changes.
    Click File in the upper-left corner, then click Save in the drop-down menu.
    • If you created a new project, doing this will open the "Save As" window in which you'll need to enter a file name, select a location, and click Save again.
  14. Advertisement

Expert Q&A

Search
Add New Question
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

  • Double-click the layer mask in the Layers window to adjust the Density and Feather sliders. These sliders adjust the layer mask's transparency and edge sharpness, respectively.
    Thanks
    Helpful 0 Not Helpful 0
Submit a Tip
All tip submissions are carefully reviewed before being published
Submit
Thanks for submitting a tip for review!
Advertisement

Warnings

  • Masking part of a layer won't have any effect if the layer itself isn't above a layer that you want to display.
    Thanks
    Helpful 0 Not Helpful 0
Advertisement

You Might Also Like

Create a Silhouette in PhotoshopCreate a Silhouette in Photoshop
Insert an Image in Photoshop
Trace an Image Using PhotoshopHow to Trace an Image in Photoshop on Windows or Mac
Add a Bullet Point in Photoshop4 Easy Ways to Insert a Bullet Point in Adobe Photoshop
Clear Scratch Disk PhotoshopHow to Fix "Scratch Disks are Full" Error in Photoshop
Install Plugins in Adobe PhotoshopHow to Install Plug-ins for Adobe Photoshop
Design an ID Card Using Adobe PhotoshopDesign an ID Card Using Adobe Photoshop
Add Fonts to Photoshop3 Ways to Simply Import Fonts to Photoshop
Make a Gradient in PhotoshopMake a Gradient in Photoshop
Change the Background Color in PhotoshopQuickly Change the Color of Background in Photoshop
Replace Text in Adobe PhotoshopReplace Text in Adobe Photoshop: 2 Simple Methods for Removal
Add a Hyperlink to a Jpeg in PhotoshopAdd a Hyperlink to a Jpeg in Photoshop
Invert Colors in Photoshop3 Easy Ways to Invert Colors in Adobe Photoshop
Import an Image Into PhotoshopImport an Image Into Photoshop
Advertisement

Expert Interview

Thanks for reading our article! If you’d like to learn more about photoshop, check out our in-depth interview with Brynne Zaniboni.

References

  1. https://helpx.adobe.com/photoshop/using/masking-layers.html
  2. https://www.youtube.com/watch?v=UtbRDUxqmnc

About This Article

Brynne Zaniboni
Written by:
Brynne Zaniboni
Professional Photographer
This article was written by Brynne Zaniboni and by wikiHow staff writer, Jack Lloyd. Brynne Zaniboni is a Professional Photographer based in Los Angeles, California. With nearly 10 years of photography experience, Brynne is a Portrait, Fashion, and Music Photographer. Brynne is also the founder of Backroom Boudoir Photography, offering a range of boudoir shoots from birthday, to bridal, to maternity. She believes in the power of boudoir to celebrate every body and foster self-love and confidence. She has a Bachelor of Arts from California State University, Northridge. This article has been viewed 1,070,122 times.
How helpful is this?
Co-authors: 22
Updated: May 13, 2024
Views: 1,070,122
Categories: Adobe Photoshop
Article SummaryX

1. Open a Photoshop project.
2. Deselect any parts of images by clicking the Select menu and clicking Deselect
3. Select a layer.
4. Click Layer
5. Select Layer Mask
6. Click Hide All

Did this summary help you?

In other languages
  • Print
  • Send fan mail to authors
Thanks to all authors for creating a page that has been read 1,070,122 times.

Is this article up to date?

Advertisement