How to Remove a Background in Photoshop (5 Methods)
Five ways to remove a background in Photoshop — from the one-click quick action to Select and Mask for hair and the Pen tool for products — plus how to export a transparent PNG.

Photoshop gives you more ways to remove a background than any other app — a one-click quick action, AI selections, the Pen tool for perfect product outlines and colour-based tools for flat backgrounds. This guide walks through the five methods that matter, shows how to clean up edges with Select and Mask, and explains how to export a transparent PNG that stays transparent everywhere.
Adobe updates Photoshop several times a year, so panel names and button positions can differ slightly from what you see below. The steps reflect recent Photoshop versions at the time of writing.
Before you start: work non-destructively
The single most useful habit in Photoshop background removal is to hide the background with a layer mask instead of deleting it. A mask is a black-and-white map attached to a layer: white areas stay visible, black areas become transparent. If the AI or your selection misses a strand of hair, you paint it back with white. If you delete pixels instead, they are gone for good.
Two more quick preparations save frustration later:
- Unlock the layer. A freshly opened photo is a locked "Background" layer that can't hold transparency. Click the padlock icon in the Layers panel to turn it into a normal layer (often named "Layer 0").
- Duplicate the original. Press Ctrl+J (Cmd+J on Mac) and hide the copy. You'll always have the untouched photo to go back to.
Method 1: The Remove Background quick action (fastest)
For portraits, pets and products with reasonable contrast, Photoshop's built-in AI gets you most of the way in one click.
- Open the image and unlock the layer as described above.
- Open the Properties panel (Window › Properties) with the layer selected.
- Under Quick Actions, click Remove Background. In recent versions the floating Contextual Task Bar also shows a Remove background button as soon as an image is open.
- Photoshop detects the subject and adds a layer mask that hides everything else. The checkerboard you now see is transparency.
Zoom to 100% and inspect the outline, especially hair, fingers and the gaps between arms and the body. If anything is wrong, select the mask thumbnail in the Layers panel and paint with a soft brush: white brings parts back, black hides them. Press X to swap between the two colours.
Method 2: Select Subject + Select and Mask (best for hair)
When the quick action leaves a halo or chops off fine hair, build the selection yourself and refine it in the Select and Mask workspace.
- Choose Select › Subject. Photoshop's AI selects the main subject; you'll see "marching ants" around it.
- Open Select › Select and Mask. Set View to "On Black" or "On White" — whichever contrasts most with the subject's edge — so problems are easy to spot.
- Click Refine Hair in the options bar, then brush over remaining hair edges with the Refine Edge Brush. It analyses the area and keeps fine strands while dropping the background between them.
- Use small values for Smooth and Feather (often 0–2), and a slight negative Shift Edge to pull the edge inward if a thin line of old background remains.
- Tick Decontaminate Colors if the edges carry the old background's colour — for example green fringing from grass.
- Set Output To to New Layer with Layer Mask and click OK.
This is the method professionals use for headshots and fashion images, because Refine Hair and colour decontamination solve the two problems that make cutouts look fake.
Method 3: Object Selection tool (when there are several objects)
Select Subject picks what Photoshop thinks is the main subject. If your photo has several objects and you only want one, use the Object Selection tool (press W, or find it under the Quick Selection tool).
- Hover over the object you want — Photoshop highlights detected objects as you move the cursor.
- Click to select it, or drag a rough rectangle around it.
- Hold Shift to add another object, Alt (Option on Mac) to subtract an area.
- Click the Add layer mask button at the bottom of the Layers panel.
Method 4: The Pen tool (crisp product outlines)
For products with hard, geometric edges — bottles, electronics, furniture, packaging — the Pen tool still produces the cleanest result, because you define the outline with smooth curves instead of pixels.
- Select the Pen tool (P) and set the mode to Path in the options bar.
- Click to place anchor points around the product; click and drag to create curves. Place points where the curve changes direction rather than everywhere.
- Close the path by clicking the first point.
- In the Paths panel, Ctrl/Cmd-click the path thumbnail to turn it into a selection.
- Add a layer mask. A 0.3–0.5 px feather on the mask's Properties panel keeps the edge from looking unnaturally sharp.
The Pen tool is slow — a complex product can take ten minutes or more — but the path is reusable: save it in the Paths panel and you can regenerate the mask any time.
Method 5: Magic Wand and Background Eraser (flat backgrounds)
If the background is a single, even colour — a product on a white sweep, a logo on a coloured card — colour-based tools are quick:
- Magic Wand (W): click the background, adjust Tolerance (try 10–30), keep Contiguous ticked to select only connected areas, then invert the selection (Shift+Ctrl/Cmd+I) and add a mask. Untick Contiguous to catch the background inside letters or handles.
- Background Eraser (E): samples the colour under the brush centre and erases similar pixels. It's fast but destructive, so use it on a duplicate layer.
For logos and scanned graphics, a dedicated tool is often faster than either — see our logo background remover, which removes enclosed areas such as the inside of an "o" automatically.
Which Photoshop method should you use?
| Image | Best method | Typical time |
|---|---|---|
| Portrait, pet or product on a contrasting background | Remove Background quick action | Under a minute |
| Hair, fur or soft edges | Select Subject + Select and Mask | 2–10 minutes |
| One object among several | Object Selection tool | 1–3 minutes |
| Hard-edged products for a catalogue | Pen tool | 5–20 minutes |
| Logo or graphic on a flat colour | Magic Wand (non-contiguous) | Under a minute |
How to export a transparent PNG from Photoshop
- Hide any layers you don't want in the export, including your backup copy of the original.
- Choose File › Export › Export As.
- Pick PNG as the format and make sure Transparency is ticked.
- Check the image size and click Export.
Also save a .PSD copy: it keeps your mask so you can fix edges later. Don't save the cutout as JPG — JPG can't store transparency and will fill the empty area with white. Our guide to creating transparent backgrounds explains why transparency sometimes "disappears" after export and how to avoid it.
Troubleshooting common problems
- The Remove Background button is greyed out
- The layer is probably still the locked Background layer, or you have a text, shape or adjustment layer selected. Unlock the image layer and select it in the Layers panel.
- There is a thin white or coloured outline around the subject
- Select the mask and use Select and Mask with a small negative Shift Edge, or turn on Decontaminate Colors. Halos are most visible when you move the subject onto a much darker or lighter background.
- Hair looks cut off or blocky
- Brush the hairline with the Refine Edge Brush in Select and Mask rather than painting the mask by hand. Fine strands that are almost the same colour as the background may need to be painted back with a very soft, low-opacity brush.
- The exported PNG has a white background
- A visible layer underneath (often the original photo) was included in the export, or the file was saved as JPG. Hide the extra layers and export as PNG with Transparency ticked.
Faster alternatives when you don't need Photoshop
Photoshop is the right tool when you need full control, but it's a subscription app with a learning curve, and running it for every image adds up. For many everyday jobs a browser tool is quicker:
- One-off cutouts: the BG Removal AI background remover removes the background automatically in your browser and lets you fix edges with erase and restore brushes — no install needed.
- Dozens or hundreds of images: Photoshop can batch-process with Actions, but setting them up takes time. A bulk background remover (included in paid plans) processes a whole folder and gives you a ZIP of transparent PNGs.
- Marketplace photos: the product photo editor puts products on a pure white background, and its marketplace presets (paid plans) export exact sizes with consistent margins.
A practical hybrid many designers use: let AI create the cutout, then open the PNG in Photoshop only for the images that need careful retouching. Our comparison of AI and manual background removal covers when each approach is worth it.
Summary
To remove a background in Photoshop, unlock the layer and click Remove Background in the Properties panel's Quick Actions. For hair and soft edges, use Select › Subject followed by Select and Mask with Refine Hair; for hard-edged products, draw a path with the Pen tool; for flat backgrounds, use the Magic Wand. Always mask instead of deleting, check edges at 100% zoom, and export as PNG with transparency. If you just need a clean cutout quickly, try the free background remover first.


