How to Remove a Background in Photoshop
Removing a background is the single most common Photoshop task. Whether you are cutting out a product for a store listing, isolating a portrait for a poster, or making a quick collage, you need a clean cutout that does not look like it was attacked with scissors.
This guide covers the three methods worth knowing, ranked by how fast they get you to a usable result. Method 1 is what you should reach for nine times out of ten. Methods 2 and 3 are for the cases where Photoshop's automation gets it wrong.
Method 1: Select Subject (the one-click win)
Step 1: Open your image and unlock the layer

If your photo opens with a layer named "Background" with a padlock icon, click the padlock to unlock it. Photoshop cannot mask a locked Background layer.
Step 2: Run Select > Subject

Go to Select > Subject. Photoshop's machine learning model identifies the main subject and creates a marching-ants selection in about a second.
Want a structured Photoshop course?
Tutorials like this one cover individual techniques. A complete Udemy course walks you from selections and layers through retouching and compositing in one structured path. Often on sale from $14.99.
Browse Photoshop courses on UdemyStep 3: Refine the edge in Select and Mask

With your selection active, click Select and Mask in the top options bar. The Select and Mask workspace opens. Use the Refine Edge brush (the second tool in the left toolbar) and paint over wispy areas like hair and fur. Photoshop reanalyzes those edges with much higher precision.
Set the Output dropdown on the right to Layer Mask. Click OK.
Step 4: Sanity check on a contrasting background

Add a solid color fill layer beneath your cutout (Layer > New Fill Layer > Solid Color, pick something high contrast). Stray fringe pixels and missed bits stand out instantly. Click back on your subject's layer mask and paint with a soft black brush to clean up anything you missed.
Method 2: Pen Tool (when precision matters)
For product photography, logos, or anything with a clean hard edge, the Pen Tool gives you a path with subpixel accuracy. It takes longer, but the result is perfect.
Step 5: Trace the subject with the Pen Tool

Press P to grab the Pen Tool. Click to add anchor points around your subject. Click and drag to create curves. Close the path by clicking your starting point.
Step 6: Convert path to selection and apply as mask

Open the Paths panel (Window > Paths). Right-click your path and choose Make Selection. Set Feather Radius to 0.5 px for a barely-soft edge. Then click the layer mask icon at the bottom of the Layers panel to apply.
Method 3: Background Eraser (rare, but useful)
The Background Eraser tool samples the color under your cursor and erases similar pixels as you drag. Good for hairy edges against a uniform sky. Skip it for anything with mixed backgrounds.
Pro tip: never delete pixels, always mask them
Use a layer mask, not the Eraser tool, for every cutout you do. A mask is non-destructive, which means you can undo any mistake by painting white back into the mask. Once you erase pixels, they are gone for good.
What to do when Photoshop's automation fails
Select Subject struggles with backgrounds that closely match the subject (a person in a dark coat against a dark wall, for example). When that happens, switch to the Object Selection Tool (W) and draw a loose rectangle around just the subject. The narrower analysis area gives Photoshop fewer pixels to confuse itself with.
For complex hair against a busy background, run Select Subject first, then refine inside Select and Mask using the Refine Edge brush. The combination handles 95% of portraits.
The Photoshop retouching course we recommend
Skillshare and Domestika both have excellent paid courses on advanced compositing and masking. Both offer free trials.
Coming soonWhen background removal is the right job
Background removal earns its keep in commercial work where the subject needs to live separately from its original scene. E-commerce product listings (every marketplace expects the product on white or transparent). Marketing graphics (where you composite the subject onto a brand background). Editorial collages (where the cutout is the raw material for a layout). Social profile pictures (where a clean cutout makes the avatar pop against any backdrop).
It is the wrong job when the photo's strength is the relationship between subject and environment. A street photograph with the subject cut out of the street is no longer a street photograph. Before cutting, ask whether the background is contributing to the image. If it is, do something less destructive (a vignette, a blur, a color grade) instead.
Common mistakes that produce bad cutouts
The first mistake is trusting Select Subject in isolation. The model is good, not perfect. It will miss thin straps, transparent objects, glass, and details against backgrounds that closely match the subject. Treat the result as a starting selection that needs refinement, not a final answer.
The second mistake is too-soft edges. New users often crank the Feather slider in Select and Mask to hide imperfect masking, which produces a fuzzy halo around the subject. The correct move is a tight edge with 0.3-0.5 pixel feather and proper edge work in Select and Mask. Soft edges read as "amateur cutout" to any viewer who has seen a few professional product photos.
The third mistake is forgetting the contrast check. A cutout that looks fine against the original background often shows stray pixels when placed on a different color. Always add a high-contrast solid color fill layer beneath the cutout and zoom to 100% before declaring the job done.
The fourth mistake is using the Eraser tool. Once you erase pixels, they are gone. If the next revision needs the cutout to be slightly tighter or slightly looser, you have to start over. Always mask, never erase.
Adapting the methods to specific subjects
For hair against complex backgrounds: run Select Subject first, then immediately go to Select and Mask. Set View to On Black so you can see fringe pixels clearly. Use the Refine Edge brush at a large size and paint along the entire hair edge. Set Decontaminate Colors to about 50% in the Output settings to remove background color cast that bled into the hair.
For transparent or semi-transparent objects (glass, smoke, plastic bottles): Select Subject will fail. Use the Channels approach instead. Find the channel with the strongest contrast between the object and its background, duplicate it, apply Levels to push to pure black and white, then load it as a selection.
For products with clean, hard edges (electronics, packaging, boxes): use the Pen Tool. It is slower but gives you subpixel-accurate edges that no automated method can match. The 15 minutes you spend tracing pays off when the cutout has to look right at print size.
For batch work (a folder of 100 product photos with the same subject type and similar backgrounds): record a Photoshop Action that runs Select Subject, Select and Mask with your favorite settings, and Output to Layer Mask. Then use File > Automate > Batch to apply the action to the whole folder. Spot-check the results, redo any that failed.
Frequently asked questions
Is Photoshop still the best tool for this in 2026?
For control and consistency, yes. Specialized tools like Remove.bg, Adobe Firefly, and built-in iOS subject lifting are faster for one-off social use, but they give you no edge control and tend to produce slight halos around hair. For commercial work where a client will catch fringe pixels, Photoshop wins.
How do I export a transparent PNG?
File > Export > Export As, choose PNG, and check Transparency. Photoshop writes a PNG with the alpha channel from your layer mask preserved. The background layer beneath your cutout should be hidden before export.
Can I do this in Photopea or GIMP?
Photopea has a Select Subject equivalent and a Select and Mask workspace that closely mirror Photoshop's. GIMP can do the job using the Foreground Select tool and refining with layer masks, but the workflow is rougher.
Why is my cutout fringe a different color than the background I put it on?
Color contamination. Light from the original background bled into the subject's edge pixels (especially hair). Either re-do the mask with Decontaminate Colors enabled in Select and Mask, or add a Hue/Saturation adjustment clipped to the cutout layer and shift the contaminating color out.
Related tutorials
Get the Photoshop shortcuts cheat sheet
Every shortcut you'll actually use, on a single printable page.


