Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
Photoshop Help / 

Masking layers

Adobe Community Help


Products Affected

  • Photoshop CS5
  • Photoshop CS6

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

  • About layer and vector masks
  • Add layer masks
  • Unlinking layers and masks
  • Disable or enable a layer mask
  • Apply or delete a layer mask
  • Select and display the layer mask channel
  • Change the layer mask rubylith color or opacity
  • Adjusting mask opacity and edges
  • Show All Show Less

You can add a mask to a layer and use the mask to hide portions of the layer and reveal the layers below. Masking layers is a valuable compositing technique for combining multiple photos into a single image or for making local color and tonal corrections.

From an expert: Using Adjustment layers with Masks


Expert Andy Anderson shows how to effectively use adjustment layers and mask techniques to achieve non-destructive edits in your Photoshop projects.

by Andy Anderson - InfiniteSkills
http://www.infiniteskills....


Andy Anderson is a graphic designer, marketer, motivator, and has been in the industry for over twenty-five years.

Contribute your expertise to
Adobe Community Help


To the top

About layer and vector masks

You can use masks to hide portions of a layer and reveal portions of the layers below. You can create two types of masks:

  • Layer masks are resolution-dependent bitmap images that are edited with the painting or selection tools.

  • Vector masks are resolution independent and are created with a pen or shape tool.

    Layer and vector masks are nondestructive, which means you can go back and re‑edit the masks later without losing the pixels they hide.

    In the Layers panel, both the layer and vector masks appear as an additional thumbnail to the right of the layer thumbnail. For the layer mask, this thumbnail represents the grayscale channel that is created when you add the layer mask. The vector mask thumbnail represents a path that clips out the contents of the layer.

Note:

To create a layer or vector mask on the Background layer, first convert it to a regular layer (Layer > New > Layer from Background).



Masking layer
A. Layer mask thumbnail  B. Vector mask thumbnail C. Vector Mask Link icon D. Add Mask 

You can edit a layer mask to add or subtract from the masked region. A layer mask is a grayscale image, so areas you paint in black are hidden, areas you paint in white are visible, and areas you paint in shades of gray appear in various levels of transparency.



Background painted with black; description card painted with gray; basket painted with white

A vector mask creates a sharp-edged shape on a layer and is useful anytime you want to add a design element with clean, defined edges. After you create a layer with a vector mask, you can apply one or more layer styles to it, edit them if needed, and instantly have a usable button, panel, or other web-design element.

The Properties panel (CS6) or the Masks panel (CS5) provide additional controls to adjust a mask. You can change the opacity of mask to let more or less of the masked content show through, invert the mask, or refine the mask borders, as with a selection area.



Masks panel (CS5) and Properties panel (CS6)
A. Select the filter mask. B. Add a pixel mask.  C. Add a vector mask.  D. Panel menu. E. Apply Mask F. Layer mask G. Vector mask 
To the top

Add layer masks

When you add a layer mask, you can hide or show all of the layer, or base the mask on a selection or transparency. Later, you’ll paint on the mask to precisely hide portions of the layer, revealing the layers beneath.

Add a mask that shows or hides the entire layer

  1. Make sure that no part of your image is selected. Choose Select > Deselect.
  2. In the Layers panel, select the layer or group.
  3. Do one of the following:
    • To create a mask that reveals the entire layer, click the Add Layer Mask  button in the Layers panel, or choose Layer > Layer Mask > Reveal All.
    • To create a mask that hides the entire layer, Alt-click (Windows) or Option-click (Mac OS) the Add Layer Mask button, or choose Layer > Layer Mask > Hide All.

    In CS5, you can also use the Masks panel (Window > Masks).

Add a layer mask that hides part of a layer

  1. In the Layers panel, select the layer or group.
  2. Select the area in the image, and do one of the following:
    • Click the New Layer Mask button  in the Layers panel to create a mask that reveals the selection.
    • Alt-click (Windows) or Option-click (Mac OS) the Add Layer Mask button in the Layers panel, to create a mask that hides the selection.
    • Choose Layer > Layer Mask > Reveal Selection or Hide Selection.

Create a mask from layer transparency

If you want to directly edit layer transparency, create a mask from this data. This technique is helpful for video and 3D workflows.

  1. In the Layers panel, select the layer.
  2. Choose Layer > Layer Mask > From Transparency.

Photoshop converts transparency into an opaque color, hidden by the newly created mask. The opaque color varies greatly, depending upon the filters and other processing previously applied to the layer.

Apply a layer mask from another layer

  • Do one of the following:
    • To move the mask to another layer, drag the mask to the other layer.
    • To duplicate the mask, Alt-drag (Windows) or Option-drag (Mac OS) the mask to other layer.
To the top

Unlinking layers and masks

By default, a layer or group is linked to its layer mask or vector mask, as indicated by the link icon  between the thumbnails in the Layers panel. The layer and its mask move together in the image when you move either one with the Move tool . Unlinking them lets you move them independently and shift the mask’s boundaries separately from the layer.

  • To unlink a layer from its mask, click the link icon in the Layers panel.

  • To reestablish the link between a layer and its mask, click between the layer and mask path thumbnails in the Layers panel.

To the top

Disable or enable a layer mask

  • Do one of the following:
    • Select the layer containing the layer mask you want to disable or enable, and click the Disable/Enable Mask button  in the Properties panel (CS6) or the Masks panel (CS5).
    • Shift-click the layer mask thumbnail in the Layers panel.
    • Select the layer containing the layer mask you want to disable or enable, and choose Layer > Layer Mask > Disable or Layer > Layer Mask > Enable.

    A red X appears over the mask thumbnail in the Layers panel when the mask is disabled, and the layer’s content appears without masking effects.

To the top

Apply or delete a layer mask

You can apply a layer mask to permanently delete the hidden portions of a layer. Layer masks are stored as alpha channels, so applying and deleting layer masks can help reduce file size. You can also delete a layer mask without applying the changes.

  1. In the Layers panel, select the layer containing the layer mask.
  2. In the Masks panel, click the Pixel Mask button.
  3. Do one of the following:
    • To remove the layer mask after applying it permanently to the layer, click the Apply Mask icon  at the bottom of the Masks panel (CS6) or Properties panel (CS6).
    • To remove the layer mask without applying it to the layer, click the Delete button at the bottom of the Masks panel, and then click Delete.

    You can also apply or delete layer masks using the Layer menu.

    Note:

    You cannot apply a layer mask permanently to a Smart Object layer when deleting the layer mask.

To the top

Select and display the layer mask channel

For easier editing of a layer mask, you can display the grayscale mask by itself or as a rubylith overlay on the layer.

  • In the Layers panel, do one of the following:

    • Alt-click (Windows) or Option-click (Mac OS) the layer mask thumbnail to view only the grayscale mask. To redisplay the layers, Alt-click or Option-click the layer mask thumbnail. Alternatively, click the eye icon  in the Properties panel (CS6) or the Masks panel (CS5).
    • Hold down Alt+Shift (Windows) or Option+Shift (Mac OS), and click the layer mask thumbnail to view the mask on top of the layer in a rubylith masking color. Hold down Alt+Shift or Option+Shift, and click the thumbnail again to turn off the color display.
To the top

Change the layer mask rubylith color or opacity

  1. Do one of the following:
    • (CS5) Double-click the layer mask thumbnail.
    • Double-click the layer mask channel in the Channels panel.
  2. To choose a new mask color, in the Layer Mask Display Options dialog box, click the color swatch and choose a new color.
  3. To change the opacity, enter a value between 0% and 100%.

    Both the color and opacity settings affect only the appearance of the mask and have no effect on how underlying areas are protected. For example, you may want to change these settings to make the mask more easily visible against the colors in the image.

  4. Click OK.
To the top

Adjusting mask opacity and edges

Use the Properties panel (CS6) or the Masks panel(CS5) to adjust the opacity of a selected layer or vector mask. The Density slider controls mask opacity. Feather lets you soften mask edges.

Additional options are specific to layer masks. The Invert option reverses masked and unmasked areas. The Mask Edge option gives you various controls to modify the mask edges, such as Smooth and Contract/Expand. For information on the Color Range option, see Confine adjustment and fill layers to specific areas.

Change mask density

  1. In the Layers panel, select the layer containing the mask you want to edit.
  2. Do one of the following:

    • (CS6) In the Layers panel click the Mask thumbnail. A border appears around the thumbnail.
    • (CS5) In the Masks panel, click the Pixel Mask button or the Vector Mask button.
  3. In the Properties panel (CS6) or the Masks panel (CS5), drag the Density slider to adjust the mask opacity.

    At 100% density, the mask is completely opaque and blocks out any underlying area of the layer. As you lower the density, more of the area under the mask becomes visible.

Feather mask edges

  1. In the Layers panel, select the layer containing the mask you want to edit.
  2. Do one of the following:

    • (CS6) In the Layers panel click the Mask thumbnail. A border appears around the thumbnail.
    • (CS5) In the Masks panel, click the Pixel Mask button or the Vector Mask button.
  3. Drag the Feather slider to apply feathering to the mask edges.

    Feathering blurs the edges of the mask to create a softer transition between the masked and unmasked areas. Feathering is applied from the edges of the mask outward, within the range of pixels you set with the slider.

Refine mask edges

  1. In the Layers panel, select the layer containing the mask you want to edit.
  2. Do one of the following:

    • (CS6) In the Layers panel click the Mask thumbnail. A border appears around the thumbnail.
    • (CS5) In the Masks panel, click the Pixel Mask button or the Vector Mask button.
  3. Click Mask Edge. You can modify mask edges with the options in the Refine Mask dialog box and view the mask against different backgrounds. For a description of options, see Refine selection edges.

  4. Click OK to close the Refine Mask dialog box and apply your changes to the layer mask.

More Help Topics

  • About masks and alpha channels
  • Merge and stamp layers
  • Applying filters video
  • Combining multiple images into a group portrait
  • Load selections from a layer or layer mask’s boundaries

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement