How To Remove a Background In Photoshop [For Beginners!]

199K views 4,426 likes 179 comments

Jump to a step in the video (10)

Click a time to play the video from there.

  1. 0:00 Introduction
  2. 0:38 Step 1 - Select the Main Subject
  3. 4:06 Step 2 - Refine Global Edges
  4. 6:03 Step 3 - Select Hair (and other details)
  5. 8:45 Pitfall 1 - Incomplete Masks / Overmasking
  6. 9:29 Pitfall 2 - Paint in Detail
  7. 11:30 Pitfall 3 - Matching Depth of Field
  8. 12:09 Pitfall 4 - White outlines or fringing
  9. 13:03 Pitfall 5 - Color Spills
  10. 14:01 Saving the transparent background (PNG)
Show Shortcuts for
Text size
Appearance

Your choices stick across every tutorial on this device.

The Remove Background button in the taskbar will remove a background in Photoshop with one click.

It finds the subject, builds a layer mask, and hides everything behind it. The result is good enough for a quick job. It is not good enough for professional work.

This tutorial is for beginners who want a professional result instead.

You will learn the same three-step formula I use for movie and TV posters. Select the subject, refine the hard edges, then handle hair on its own pass.

By the end, you will be able to cleanly cut out a person, preserve individual hair strands, eliminate white halos, and remove green-screen color spill.

Everything here works in Photoshop 2023 or the latest version.

Key Takeaways

  • A layer mask hides pixels; it never deletes them. That is why professionals use one instead of the Eraser Tool.
  • The Cloud option in the Select Subject dropdown sends your image to Adobe servers and returns a better selection than Device.
  • Hair needs its own pass. The Global Refinement sliders that clean up a shoulder will destroy flyaway strands.
  • When an edge is too difficult to select, professionals hide it and paint the detail back in with a custom brush.
  • Green screen color spill is fixed with a clipped layer set to the Color blend mode, not by masking harder.
  • The Minimum filter beats the Shift Edge slider for halos because you can apply it to a single area instead of the whole mask.
  • For hard-edged subjects, convert a Select Subject selection into a work path and apply it as a vector mask. An Action turns the whole technique into a one-click process.

What You’ll Learn

  • How to open the Select and Mask workspace and what each area does
  • When to use the Quick Selection Tool and when to use the Brush Tool
  • How to refine hard edges with the Global Refinement sliders
  • How to keep hair and fur with the Refine Edge Brush Tool
  • How to fix the five problems that ruin most cutouts
  • How to create an automated vector mask for razor-sharp edges
  • How to save your cutout with a transparent background

What You Need

Before you start

  • Photoshop 2023 or the latest version
  • A photo with a subject you want to cut out. A portrait with visible hair works best.
  • The free brush pack from the download link at the end of this tutorial

The Fastest Way to Remove a Background in Photoshop

Select your layer and click Remove Background in the Contextual Task Bar. Photoshop detects the main subject and applies a layer mask that hides the background.

That is the one-click answer, and for a social post or a rough comp, it is fine.

It falls apart on hair, on soft edges, and on any image where the subject and background share a color. The rest of this tutorial covers what to do instead.

Keyboard Shortcuts for Background Removal

ActionWindowsmacOS
Open Select and MaskCtrl Alt RCommand Option R
DeselectCtrl DCommand D
UndoCtrl ZCommand Z
Create a clipping maskCtrl Alt GCommand Option G
Resize the brushLeft and right bracket keysLeft and right bracket keys
Subtract with a brushHold AltHold Option
Enable the Eyedropper ToolHold AltHold Option
Reset then swap foreground and background colorsD then XD then X
Enable the Zoom ToolZZ

Step 1: Select the Main Subject

Press Ctrl Alt R (Windows) or Command Option R (macOS) to open the Select and Mask workspace. You can also go to Select > Select and Mask.

The Select and Mask workspace gives you selection tools without the rest of the Photoshop interface competing for attention. More control, better results.

Three areas matter. The toolbar on the left contains the tools for creating and refining selections. The Options Bar across the top changes depending on which tool is active. The sliders on the right fine-tune your edges.

The default View Mode is Onion Skin, which shows unselected areas at 50 percent over a checkerboard.

Select and Mask workspace open to remove a background in Photoshop, with Onion Skin view at 50 percent

For a smaller object, such as an article of clothing, use the Quick Selection Tool. Click and drag over the area, and Photoshop finds the edges and expands the selection to match.

Quick Selection Tool dragging over an article of clothing to select just that object

The pants now show at 100% opacity, indicating they are selected.

Result of brushing the clothing with the Quick Selection Tool inside Select and Mask

To select the whole person instead, press Ctrl D (Windows) or Command D (macOS) to deselect, then use the Select Subject button in the Options Bar.

Before you click it, open the dropdown and choose Cloud. Photoshop sends the image to Adobe servers and returns a more accurate selection.

Select Subject dropdown set to Cloud so Adobe servers process the selection

Cloud needs an internet connection. If you are offline, choose Device and Photoshop processes the image on your computer. The two are close, but Cloud wins.

Device option picked in the Select Subject dropdown to process the selection without an internet connection

Clean Up the Automatic Selection

The automatic selection is strong, and it will still need work. In this image, the edge along her hip and the gap in her belt loop both need to be cleaned up. Press Z to enable the Zoom Tool and click to get a closer look.

Note: The Quick Selection Tool and the Brush Tool are not the same. The Quick Selection Tool detects edges and expands past where you paint. The Brush Tool only affects what you paint directly over. For tight cleanup work, the Brush Tool gives you more control.

Resize your brush tip with the left and right bracket keys, or use the Brush Settings sliders in the Options Bar. Hold Alt (Windows) or Option (macOS) to temporarily switch to subtract mode, then paint away the background to create a cleaner edge.

When you are done, double-click the Hand Tool to fit the image to your screen.

Step 2: Refine the Hard Edges

Ignore hair for now. This step is about the solid edges: shoulders, arms, clothing.

Switch the View Mode to Black & White. Selected areas turn white, unselected areas turn black, and the edges become far easier to judge.

Black and white view mode making the selection edges easier to see

Those jagged, slightly blurry edges are what make a cutout look amateur.

In most cases two sliders fix it. Use Smooth to even out the jagged edge, then Contrast to sharpen it back up. Every image is different, so adjust until it looks right rather than reaching for a fixed number.

Smooth slider softening the jagged edge and Contrast slider sharpening it back up

Feather blurs the edge. Most images do not need it, so leave it at zero unless the photo calls for it.

Shift Edge contracts or expands the selection, which is how you deal with white halos. To actually see them, change the View Mode to On Black and raise the opacity to 100 percent. Halos that were invisible over the checkerboard jump straight out.

Shift Edge slider contracting the selection to cut down halos along the edge

Tip: If Shift Edge cannot kill the halo, do not force it. There is a better fix using the Minimum filter further down this tutorial.

Step 3: Remove the Background Around Hair

Hair, fur, and shaggy fabric all need a separate pass. The Global Refinement sliders that just cleaned up her shoulders will smooth fine strands into mush.

Apply what you have so far first. In Output Settings, choose Layer Mask from the dropdown and press OK.

Output Settings dropdown set to Layer Mask before pressing OK

Photoshop hides the background behind a layer mask. A layer mask hides, it does not delete. That matters on client work, where the brief changes and you need the original pixels back.

Now double-click the Layer Mask thumbnail in the Layers panel. That reopens Select and Mask, and this time every Global Refinement slider reads zero. Your mask looks identical, but you are working on a fresh adjustment layered on top of the last one.

Enable the Refine Edge Brush Tool. It runs Photoshop edge detection on whatever you paint over, separating foreground from background at a level of detail the standard tools miss.

Refine Edge Brush Tool enabled so the hair can be worked on apart from the solid edges

Turn on the Show Edges checkbox to see exactly where the algorithm is being applied. Brush along the hairline, and in tight spots you can click without dragging. If you overshoot, hold Alt (Windows) or Option (macOS) and drag to pull the stroke back.

The Refine Hair button asks Photoshop to find the hair for you and apply the same treatment automatically.

Refine Hair button letting Photoshop find the hair and refine it automatically

Warning: Refine Hair is not always the right call. On this image it removed part of the hand along with the background. Press Ctrl Z (Windows) or Command Z (macOS) to undo and brush manually when that happens.

Press OK and Photoshop merges this pass into the existing layer mask.

How to Fix Common Background Removal Problems

Three steps will get you a clean cutout on most images. These five problems cover almost everything else that goes wrong when you remove a background in Photoshop.

1. Incomplete Masks and Over-Masking

This is the most common problem. Either a fringe of the old background survives around your subject, or the mask has eaten part of the subject itself.

Leftover background around the subject caused by an incomplete layer mask

Enable the Brush Tool and click the layer mask in the Layers panel. Press D to reset your colors to black and white, then tap X to swap them.

Paint with black to hide what is left of the background. Paint with white to bring back anything the mask removed by mistake.

Painting the mask with black to hide background remnants and white to bring areas back

2. Paint the Detail Back In

One of the biggest habits that separates professional work from amateur work: when an edge is too difficult to select, do not fight it. Hide it, then paint the detail back in with a brush.

Download the ABR file from the link at the end of this tutorial. It contains custom brushes for flyaway hair, single hair strands, and fuzzy fur. Double-click the file to install it.

Double-clicking the ABR file to install the tutorial brushes into Photoshop

Open the Brush Settings from the Options Bar and you will see a new folder holding all three.

Brushes panel with the new folder holding the flyaway hair, single strand and fuzzy fur brushes

Each brush works on its own layer:

BrushLayer positionHow to use it
Flyaway HairA new layer below the subjectSample the hair color, match the brush preview to the image, then click once
Single Hair StrandsA new layer above everythingPaint individual strands wherever the edge looks bare
Fuzzy FurA new layer above the subjectShift-click the layer mask to disable it first so you can see the original edge

Hold Alt (Windows) or Option (macOS) to enable the Eyedropper Tool and click the hair to sample its color. Resize the brush with the bracket keys and rotate it with the left and right arrow keys until the preview lines up with the image, then click.

Flyaway Hair Brush painting missing strands back along the masked edge

You do not have to be faithful to the original edge. You have artistic license here, and the goal is a result that reads as real.

Edge detail restored after painting the missing hair back in with a custom brush

3. Match the Depth of Field

Some photos have edges that go soft because of the depth of field. A uniformly sharp cutout dropped onto a new background looks pasted on.

Enable the Blur Tool and paint over the mask to soften the edges until they match the original photo.

Blur Tool softening the mask edge so it matches the depth of field in the photo

Tip: Hold Alt (Windows) or Option (macOS) and click the layer mask to view it in black and white. The blur you are applying is much easier to judge there. Use the same shortcut to switch back.

4. Remove White Outlines

If a strong outline survives around your subject, click the layer mask and go to Filter > Other > Minimum. This filter contracts the mask.

Choosing Filter then Other then Minimum with the mask selected to kill a white outline

Set Preserve to Roundness for more control, then drag the slider until the outline disappears. For finer control, click into the input box and tap the up arrow key to move in smaller increments.

Minimum filter set to Roundness with the slider dragged until the outline disappears

The Minimum filter beats Shift Edge in one important way: you can apply it locally. If only the area around her hip needs contracting, enable the Lasso Tool, draw a rough selection around that area, then run Filter > Other > Minimum. Only the selected part of the mask contracts.

5. Fix Color Spill

When you cut a subject out of a colored background, some of that color reflects onto them and leaves a cast around the edges. Green screens are the worst offender.

Create a new layer above your subject, then press Ctrl Alt G (Windows) or Command Option G (macOS) to make it a clipping mask. The layer below now controls where the top layer shows, which is what the small arrow in the Layers panel means.

Change the Blending Mode to Color.

New layer clipped to the subject with its Blending Mode changed to Color

With the Brush Tool active, hold Alt (Windows) or Option (macOS) to enable the Eyedropper Tool and click a clean color next to the edge. Paint over the spill.

If the correction reads too strong, lower the layer opacity. The effect is subtle on its own and obvious when you compare it against the original.

Layer opacity lowered to ease off the color painted over the edge spill

Bonus: Automated Vector Masks for Razor-Sharp Edges

Everything above uses a layer mask, which is pixel-based. That is the right call for hair, fur, and soft edges. For products, logos, buildings, and anything with hard edges, a Vector Mask produces a cleaner result.

A vector mask hides the background using a mathematical outline rather than pixels. The edge stays sharp no matter how far you scale the image, it prints clean, and every point on the path stays editable.

Drawing that outline by hand with the Pen Tool takes time. Let Photoshop’s AI selection do the tracing instead:

  1. Select your subject with Select Subject, exactly like Step 1 of this tutorial.
  2. Open the Paths panel from Window > Paths. Hold Alt (Windows) or Option (macOS) and click the Make work path from selection button at the bottom of the panel, then set the Tolerance to 1.0.
  3. Go to Layer > Vector Mask > Current Path. The background disappears behind a vector mask.

A lower Tolerance keeps the path tighter to your selection. If the outline needs work, press A to enable the Direct Selection Tool and drag individual anchor points. In the Properties panel, the Density slider controls how strongly the mask hides the background, and the Feather slider softens the edge.

Note: Vector masks are the wrong tool for hair and fur. Use them for hard-edged subjects, and use the three-step formula above for everything organic.

Since these steps never change, they are a perfect fit for a Photoshop Action. Record them once, and this entire technique becomes a single click. Or skip the recording. The download below includes my automated vector mask Action and a practice image.

Save a Transparent Background as a PNG

Your cutout is only transparent inside Photoshop until you export it correctly. Go to File > Export > Export As and choose PNG.

PNG keeps the transparency. JPEG does not and will fill your transparent area with white.

Frequently Asked Questions

How do I remove a background in Photoshop quickly?

Select your layer and click Remove Background in the Contextual Task Bar. Photoshop detects the subject and adds a layer mask. It is fast, but it struggles with hair and soft edges, so use the Select and Mask workspace when the result has to look professional.

What is the difference between “Cloud” and “Device” in the Select Subject dropdown?

Cloud sends your image to Adobe servers to generate the selection and needs an internet connection. Device processes it on your own computer and works offline. The results are close, and Cloud is consistently more accurate.

Why does my cutout have a white outline around it?

That is an edge halo, background pixels caught within the selection. Try the Shift Edge slider first. If it does not clear, click the layer mask and go to Filter > Other > Minimum, set Preserve to Roundness, and contract the mask until the outline disappears.

How do I remove a background from hair in Photoshop?

Apply your selection as a layer mask first, then double-click the mask thumbnail to reopen Select and Mask with the Global Refinement sliders reset. Use the Refine Edge Brush Tool along the hairline. Working on hair in a separate pass stops the smoothing that cleaned up the body from destroying fine strands.

Does removing a background delete the pixels?

No, not when you output to a layer mask. A layer mask hides pixels rather than erasing them, so you can paint the background back at any point. That is why professionals never use the Eraser Tool for this.

How do I fix green screen color spill on my subject?

Create a new layer above the subject and clip it with Ctrl Alt G (Windows) or Command Option G (macOS). Set its Blending Mode to Color. Sample a clean color near the edge with the Eyedropper Tool, then paint over the cast and lower the layer opacity if it looks too strong.

How do I save a cutout with a transparent background?

Go to File > Export > Export As and choose PNG. PNG supports transparency. Saving as a JPEG fills the transparent area with white.

What is the shortcut for the Select and Mask workspace?

Press Ctrl Alt R on Windows or Command Option R on macOS. You can also reach it from Select > Select and Mask.

The Three-Step Background Removal Formula

Select the subject, refine the hard edges, then handle hair on its own pass. That order is what keeps the smoothing that fixes a shoulder from wrecking a hairline.

None of this is out of reach for a beginner. The tools are the same ones you already have open. What changes is the sequence and knowing which problem each slider actually solves.

Watch the full tutorial above to see every step in real time.

To learn how to drop your new cutout onto a different background, take a look at my compositing secrets tutorial.

Tutorial Download

The brush pack includes the Flyaway Hair, Single Hair Strands, and Fuzzy Fur brushes used in this tutorial.

Practice Files

Download the masking brushes and the practice images used in this tutorial.

Pro Training

Selections and Masking Mastery

Complete course includes 2.5 hours of step-by-step lessons, 6 structured modules, downloadable practice files, and custom Photoshop brushes. Everything you need to master selections and masks in one place.

View the Course

Keep going

Want to master every generative and color AI tool in Photoshop? My Photoshop AI Mastery course covers it all.

For a solid foundation with the selections and masking used in this tutorial, take a look at Selections and Masking Mastery.

And if you are new here, subscribe on YouTube for a new Photoshop tutorial every week.

Final Image

Drag the slider to see before and after

After: How To Remove a Background In Photoshop [For Beginners!]
Before: How To Remove a Background In Photoshop [For Beginners!]
Jesús Ramirez

About the author

Jesús Ramirez

Jesús Ramirez is a graphic designer and the founder of the Photoshop Training Channel, which he started in 2012 and has grown past two million YouTube subscribers. He has taught at Adobe MAX, Adobe Summit, and Photoshop World, teaches courses for CreativeLive and Pluralsight, and was one of five artists chosen for Adobe Stock's Make a Masterpiece campaign. His Photoshop templates shipped inside Photoshop CC 2018.

More about Jesús Ramirez

Similar Posts

11 Comments

  1. This is so easy to understand! Thank you so very much…I somehow can not find the brush download, however….

  2. Thank you! Great tutorial, but I don’t see the link for the ABR file. I would love to use the Flyaway hair, Single Hair Strands, and Fuzzy Fur brushes. Can you please add the link or share the link with me?

Comments are closed.