tutorialphotoshopbackground-removal

How to Remove a Background in Photoshop (5 Methods, Ranked by What You're Cutting)

Remove Background, Select Subject, Select and Mask, the Pen tool and the Channels trick — which one suits hair, which suits a hard-edged logo, and how to kill the halo the automatic methods leave behind.

Photoshop has five different ways to remove a background, and unlike most software with five ways to do something, they are not redundant — they are genuinely suited to different subjects. Choosing by subject rather than by habit is most of the skill here.

The other thing worth knowing before you start: always output to a layer mask, never to deleted pixels. Every method below can produce either. A mask is reversible, refinable, and survives you changing your mind; deleted pixels are gone once the file is flattened. The single most common regret in this whole workflow is a beautifully cut-out image that cannot be adjusted because the background was erased rather than masked.

What you are cuttingMethodTime
Anything, as a first pass1 — Remove Background quick action5 seconds
A clear subject on a distinct background2 — Select Subject15 seconds
Hair, fur, fine detail3 — Select and Mask5–15 minutes
A hard-edged product, or a logo4 — Pen tool5–20 minutes
Hair against a plain, contrasting background5 — Channels3–10 minutes
Flat artwork where the background is one colourNone of these — see the note below

Method 1 — The Remove Background quick action

Best for: finding out in five seconds whether you need any of the others.

In the Properties panel with a layer selected, under Quick Actions, there is a Remove Background button. One click, no settings.

  1. Unlock the layer

    A Background layer cannot take a mask. Double-click it in the Layers panel to convert it to a normal layer first.

  2. Click Remove Background

    Photoshop applies a layer mask — not a deletion, which is why this is a safe first move.

  3. Judge it against a dark layer

    Add a black fill layer underneath. Halo, fringe and missed edges are invisible against white and obvious against black.

  4. Refine the mask rather than starting over

    Click the mask thumbnail and paint with a black or white brush at 100% hardness for hard edges. Refining what you have is almost always faster than switching methods.

Method 2 — Select Subject

Best for: a photo with one clear subject, when you want the selection rather than an immediate mask.

SelectSubject gives you marching ants instead of a finished mask, which matters because you can then modify the selection — add to it, subtract from it, feather it — before committing.

  1. Choose the device option

    Recent versions offer Cloud (Detailed results) as well as on-device processing. Cloud is noticeably better on complex edges and requires an internet connection; on-device is faster and private.

  2. Fix the selection with the Lasso

    Hold Shift and drag to add regions, Alt/Option to subtract. Selection modification is far quicker than mask painting for large mistakes.

  3. Convert to a mask

    With the selection active, click the layer-mask button at the bottom of the Layers panel. The selection becomes the mask.

Method 3 — Select and Mask, for hair and fur

Best for: anything where the edge is not a line. This is the method that has no equivalent in any browser tool, and it is why Photoshop is still the answer for portrait cut-outs.

The Photoshop Select and Mask workspace properties panelA panel titled Select and Mask with a View dropdown set to On Layers, a Global Refinements group containing Smooth, Feather, Contrast and Shift Edge sliders, and an Output Settings group with a Decontaminate Colors checkbox ticked and an Output To dropdown set to New Layer with Layer Mask.Select and MaskView:On Layers (Y)OKCancelEdge DetectionRadius:8 pxSmart RadiusGlobal RefinementsSmooth:3Feather:0.5 pxContrast:12%Shift Edge:-14%Output SettingsDecontaminateColorsAmount:60%Output To:New Layer + MaskPull the edge inward to kill the halo
Illustration of Photoshop's Select and Mask workspace. Shift Edge and Decontaminate Colors are the two controls that fix the fringe a quick selection leaves — everything above them just makes the selection.
  1. Enter the workspace

    With a selection or mask active, click Select and Mask in the options bar, or SelectSelect and Mask⌥⌘R.

  2. Set the View to On Layers or Overlay

    Press Y to cycle. Judging edge quality against the actual destination background is the point; the default marching-ants view tells you almost nothing.

  3. Use the Refine Edge Brush on hair

    The second tool down. Paint along the hair boundary — do not try to be precise. This brush is designed for a rough scrub over the transition zone, and Photoshop works out which strands to keep. Being careful here actively produces worse results.

  4. Set Shift Edge negative

    Around −10 to −20%. This contracts the mask so it excludes the outermost semi-transparent pixels, which are the ones carrying the old background's colour.

  5. Tick Decontaminate Colors

    This rewrites the colour of partially transparent edge pixels to match the subject rather than the background. It is the single most effective control against a coloured halo. It forces output to a new layer — that is expected, not an error.

  6. Output to New Layer with Layer Mask

    The dropdown at the bottom. Always this option.

Method 4 — The Pen tool, for hard edges

Best for: products, packaging, architecture, and logos with clean geometric edges. Slow, and perfect.

Every automatic method is a probability estimate. The Pen tool is a decision. For a bottle, a phone or a box, a path traced by hand produces an edge that no AI selection matches — dead straight where it should be straight, and exactly as sharp as you choose.

  1. Trace with the Pen tool set to Path

    P, then check the options bar reads Path rather than Shape. Click for corners, click-drag for curves.

  2. Close the path and convert to a selection

    Right-click inside it and choose Make Selection. Set the feather radius to 0.5 px — not 0, which produces a visibly jagged edge on anything diagonal, and not 2, which produces a soft one.

  3. Apply as a mask

    Layer-mask button, as before.

Method 5 — The Channels trick

Best for: hair against a plain, contrasting background — the classic studio portrait. Older than Select and Mask, and still better in this one situation.

  1. Find the highest-contrast channel

    In the Channels panel, click through Red, Green and Blue. Pick the one where the subject and background are furthest apart in brightness — for hair against a light background this is usually Blue.

  2. Duplicate that channel

    Drag it onto the new-channel button. You are now working on a copy, not the image.

  3. Push it to black and white with Levels

    ⌘L / Ctrl+L and drag the black and white input points inward until the subject is solid black and the background solid white, with the hair transition intact between them.

  4. Paint the interior solid

    Brush pure black over everything inside the subject that is not already black. The hair edge is what you are protecting — everything else can be filled bluntly.

  5. Load it as a selection and invert

    -click the channel thumbnail to load it, then ⌘⇧I / Ctrl+Shift+I to invert, then apply as a layer mask.

Exporting so the transparency survives

PNG, never JPG. JPG has no alpha channel. Exporting a cut-out as JPG silently fills the transparency with white, and this is the most common way a finished job gets undone at the last step.

Use Export As, not Save As. FileExportExport As gives you a transparency checkbox and a size preview. Save As will happily hand you a flattened file.

Check on black one more time. Fringing that survived every refinement is still invisible on white. Our guide to fixing blurry or fringed transparent PNG edges covers what to do if it did.

What goes wrong

When Photoshop is the wrong tool for this

For hair, fur, fabric edges and translucency, Photoshop is not just the best option — it is the only one that genuinely works. Select and Mask with the Refine Edge Brush does something no browser tool does, and if you cut out portraits for a living the rest of this section does not apply to you.

For everything else the ratio changes. A logo on a white background does not need subject detection; it needs a colour test. A single product shot for a listing does not need a five-method decision tree. And Photoshop's own answer to "I have thirty of these" is to record an Action and hope the files are consistent enough — which is a workaround, not a feature.

The ICC Images web editor with an image on the canvas and the editing panel open
Background removal in ICC Images: upload, cut, download a transparent PNG. For flat artwork, targeting the background colour directly gives a cleaner edge than any subject detection.

ICC Images covers the ordinary end of this. Remove a background from a photo, or for flat artwork make a specific colour transparent — which is exact rather than estimated, and produces no halo to fight. Editing and previewing are free and need no account; full-resolution downloads need a free sign-in and spend credits, and AI removal is pay-per-use rather than a subscription.