A close-up of a person with curly hair wearing a wide-brimmed hat and round sunglasses, from a tutorial on using the Select and Mask workspace in Photoshop.
  • How to Use the Select and Mask Workspace in Photoshop

  • by Aaron Nace
    July 6, 2021
  • Add to
    favorites

Download Assets

This tutorial includes 1 sample image and 1 sample PSD. Downloads are free with a PHLEARN account.

  • Download the sample images and PSDs from every free tutorial on PHLEARN
  • New free tutorials published every week
  • One free account — sign up once, then download anything
Download

description

Learn how to use the Select and Mask workspace in Photoshop to cut out a subject and clean up tricky edges like hair in one place. This tutorial starts with Select Subject, then works through the Quick Selection add and subtract tools, the manual brush, the Lasso tool for precise edges, the Refine Edge Brush for hair, and Decontaminate Colors for fringing, before outputting to a new layer with a layer mask and tidying the mask with an Overlay-mode brush.

And if you’re looking for a more advanced look at cutting things out in Photoshop, check out How to Cut Out Hair in Photoshop and Photoshop Compositing: Masking and Cutting Out Subjects!

Image Source

Photo by Horacio Rojas via Pexels

Man with long curly hair, a straw hat, and round tinted glasses wearing a red and white patterned shirt, standing in front of a roller coaster
Same man with long curly hair, straw hat, and round tinted glasses, cut out onto a plain white background using the Select and Mask workspace
AfterBefore

How to Use the Select and Mask Workspace in Photoshop

Select and Mask combines subject selection and edge refinement into a single dialog, so cutting out a subject and cleaning up tricky edges — hair especially — can all happen in one place instead of bouncing between separate tools. It’s non-destructive too: you can come back into it as many times as you need to keep improving a cutout.

Opening Select and Mask and Using Select Subject

Select and Mask starts from an automatic subject detection that usually gets you most of the way there before any manual work begins.

  1. Open Select and Mask

    Click your background layer, then go to Select > Select and Mask.

  2. Click Select Subject

    Click the Select Subject button at the top of the dialog to generate an automatic starting selection.

Choosing a View Mode

The View options in the top right — Onion Skin, Marching Ants, On Black, On White, and others — only change how the selection is displayed, not the selection itself. Onion Skin, with its adjustable transparency slider, is especially useful for previewing exactly what will and won’t be visible once the background is removed, without committing to any one background color.

Select and Mask workspace opened from the Select menu in Photoshop

Select Subject button generating an automatic starting selection

View mode options including Onion Skin, Marching Ants, On Black, and On White

Onion Skin view with the transparency slider previewing the cutout

Adding and Subtracting with the Quick Selection Tool

The first tool in the toolbar is smart about edges — it doesn’t just paint where you click, it analyzes nearby color and detail to figure out what you actually mean to add or remove.

  1. Subtract Unwanted Areas

    Select the top tool, click the subtract icon, and paint over an area that shouldn’t be included — a patch of background color, for example. The tool intelligently extends the removal to similar nearby colors.

  2. Add Back Missed Areas

    Click the add icon and paint over any part of your subject that got excluded, such as fingers that were accidentally cut from the selection — the tool recognizes the detail and restores it.

Quick Selection tool in Select and Mask with the subtract option

Background area subtracted from the selection with the Quick Selection tool

Quick Selection add option restoring missed fingers to the selection

Refined subject selection after adding and subtracting

Manually Painting Your Selection

When the smart edge-detecting tool guesses wrong in a specific spot, a fully manual brush is available as a fallback.

  1. Switch to the Manual Brush Tool

    Select the third tool down in the toolbar, which paints exactly where you tell it to, without any automatic edge detection or smart extension.

  2. Paint to Add or Remove

    Paint directly to add or remove areas from your selection, holding Alt on PC (Option on Mac) to temporarily switch between adding and subtracting.

Manual brush tool selected in the Select and Mask toolbar

Manual brush painting to add an area to the selection

Manual brush removing an area with Alt or Option held

Selection corrected by hand where the smart tool guessed wrong

Refining Edges with the Lasso Tool

For a clean, straight, or precisely angular edge, the Lasso tool available within Select and Mask can add or remove exact shapes.

  1. Select the Lasso Tool

    Choose the Lasso tool from the toolbar, and use its plus or minus setting (or hold Alt/Option to switch) depending on whether you’re adding or removing.

  2. Trace Precise Edges

    Trace an exact shape around an area to add or remove — the Polygonal Lasso option is especially useful for clicking clean, straight-edged corrections, like tidying up the edge of a hat or a shirt collar.

Lasso tool selected inside Select and Mask

Polygonal Lasso tracing a straight edge to add to the selection

Lasso removing a precise shape from the selection

Clean straight-edged correction along the collar

Cleaning Up Edges with the Refine Edge Brush

Fine, complex edges — especially hair — benefit from the dedicated Refine Edge tool, which is built specifically for that kind of soft, detailed boundary.

  1. Select the Refine Edge Tool

    Choose the Refine Edge Brush, the second tool from the top of the toolbar.

  2. Paint Along Complex Edges

    Paint directly along an edge that needs softening or detail recovery, such as the edge around hair, and Photoshop reprocesses that specific area for a more natural transition.

  3. Revisit as Many Times as Needed

    Come back and reapply the Refine Edge Brush to the same area multiple times if the first pass doesn’t fully clean it up — the whole workspace is designed to be revisited rather than perfected in one attempt.

Refine Edge Brush vs. Add/Subtract

The Quick Selection tool’s add and subtract icons are about deciding what is or isn’t part of the subject at all, while the Refine Edge Brush is specifically for softening and improving the transition along an edge that’s already roughly correct — particularly effective on fine detail like hair strands that a hard-edged selection tool can’t capture well. Think of add and subtract as answering “is this part of my subject,” and the Refine Edge Brush as answering “how should the boundary of my subject actually transition into the background,” since those are genuinely different problems that call for different tools.

Refine Edge Brush selected in the toolbar

Refine Edge Brush painting along the hair edge

Hair edge reprocessed for a more natural transition

Refine Edge Brush reapplied to the same area

Refined hair edge compared with the hard-edged selection

Removing Color Fringing with Decontaminate Colors

Fine edges like hair often carry a visible fringe of the old background color, and one checkbox handles that automatically.

  1. Check Decontaminate Colors

    Check the Decontaminate Colors box near the bottom of the dialog and compare the result to having it unchecked.

What Decontaminate Colors Actually Does

Decontaminate Colors extends the actual colors of your selected subject outward into the fringe area along the edge, effectively replacing any lingering background-color tint (blue or orange fringing around hair, for example) with colors that belong to the subject. It’s not a perfect fix for every edge, but on fine detail like hair it noticeably improves how convincingly the cutout separates from its original background. Because this process slightly alters the pixel colors along the very edge of your subject, it’s worth toggling the checkbox on and off to compare before committing, since an edge that was already clean to begin with doesn’t always need or benefit from the adjustment.

Decontaminate Colors checkbox in the Output Settings

Color fringing around the hair before Decontaminate Colors

Hair edge with Decontaminate Colors on and the fringe removed

Comparison of Decontaminate Colors off and on

Cleaning Up the Layer Mask Afterward

Once you’ve output your selection, a final pass directly on the resulting layer mask can tidy up anything Select and Mask didn’t fully resolve.

  1. View Your Layer Mask

    Hold Alt on PC (Option on Mac) and click your layer mask thumbnail to see it directly in black and white.

  2. Paint with Overlay Mode to Remove Faint Backgrounds

    Press B for the Brush tool, set its blend mode to Overlay, and paint black over any faint remaining background elements in fine detail areas like hair — Overlay mode removes lighter areas without flattening out the fine strand-level detail underneath.

  3. Paint White to Restore Any Missing Detail

    Switch your brush back to Normal mode and paint white over anything that got removed but shouldn’t have, such as glasses that need to stay fully visible.

Layer mask viewed in black and white with Alt or Option click

Brush tool set to Overlay mode painting black on the mask

Faint background removed from the hair detail with the Overlay brush

White paint restoring the glasses on the layer mask

Outputting Your Selection

The last step decides how the finished selection actually leaves the dialog and becomes usable in your document.

  1. Choose an Output Setting

    At the bottom of the dialog, choose an output option — New Layer with Layer Mask is a solid non-destructive default, keeping your original background layer untouched. Other options include outputting directly to a new document or a new document with a layer mask, which can be useful if you want the cutout completely separated from the rest of your working file rather than layered within it.

  2. Compare Before and After

    Toggle your new masked layer’s visibility to compare the finished cutout against the original image.

Output To options at the bottom of the Select and Mask dialog

New Layer with Layer Mask output creating the cutout

Masked layer visibility toggled to compare before and after

Finished subject cutout from the Select and Mask workspace

Close-up of the finished hair edge

Final result of the Select and Mask cutout in Photoshop

More Free Photoshop Tutorials

If you want to keep improving your subject cutouts, these free tutorials cover related selection and masking techniques worth exploring next:

Why This Workspace Works

Every one of the tools inside this single dialog is solving a slightly different piece of the same overall problem, and that is precisely what makes the workspace worth learning as a unit rather than picking just one favorite tool and ignoring the rest. Select and Mask succeeds because it layers several different tools — a smart edge-detecting brush, a fully manual brush, a lasso for precise geometric edges, and a dedicated refine tool for fine detail — all pointed at the same selection, so you can switch to whichever tool fits the specific problem in front of you rather than forcing one tool to do everything. Decontaminate Colors and the Overlay-mode mask cleanup both address the same underlying issue — leftover trace of the old background — from two different angles, one automatic and one manual, which is why running both often produces a cleaner result than either alone. And because the whole workflow outputs to a layer mask rather than permanently deleting pixels, nothing here is ever final: revisiting Select and Mask, or painting directly on the resulting mask, stays available indefinitely. Hair in particular tends to need the most iteration, which is exactly why more advanced, hair-specific cutout techniques exist as their own PRO courses for anyone who wants to go further than this workspace alone can take you.

Final Thoughts

Select and Mask earns its place as a default starting point for cutting out subjects because it doesn’t force you to get everything right in one pass — Select Subject gets you most of the way, the various brushes and the Lasso handle the rest, and the whole thing stays revisitable through a layer mask afterward. The specific combination of tools used here — smart add/subtract, manual painting, precise lasso edges, refine edge, and decontaminate colors — covers the overwhelming majority of everyday cutout situations, with hair remaining the one area worth extra dedicated study when a cutout needs to be truly flawless.

200+
PRO COURSES & MASTERCLASSES
100+
PRESETS, LUTS, ACTIONS & BRUSHES
1,000+
DOWNLOADABLE PSDs & RAW FILES
4K
ULTRA HD STREAMING
4.93
AVERAGE STAR RATING
3,900+
PRO TUTORIAL REVIEWS
2M+
SUBSCRIBERS & STUDENTS

Enjoying This Free Tutorial? Go Further with PRO.

Unlock Full Sample Files, PSDs, and Hundreds of Masterclasses!

Download full project assets, original PSDs, and RAW images for every lesson

Unlimited access to our complete library of PRO Photoshop & Lightroom courses

Instant 4K Ultra HD streaming on all devices, anytime, anywhere

Full access to our entire library of Photoshop Actions, Presets, and LUTs

Flexible monthly and annual membership plans

Cancel anytime with zero hassle or commitments