If you need to remove a background in Photoshop, you’re in luck. Photoshop users have access to many different techniques for removing the background from an image. For simple backgrounds, using the standard magic wand tool to select and delete the background may well be more than adequate. For more complicated backgrounds, you might use the Background Eraser tool.
The Background Eraser Tool
The Background Eraser tool samples the color at the center of the brush and then deletes pixels of a similar color as you “paint”. The tool isn’t too difficult to get the hang of. Let me show you how it works.
Remove a Background, Step 1: Open your Image
Start by grabbing an image that you want to remove the background from. I’ll be using the image below, as it features areas that range from easy removal through to more challenging spots. I snagged this one for free from Unsplash.
Now let’s open it in Photoshop.
Remove a Background, Step 2: Select Background Eraser
Select the Background Eraser tool from the Photoshop toolbox. It may be hidden beneath the Eraser tool. If it is, simply click and hold the Eraser tool to reveal it. Alternatively, you can press Shift + E to cycle through all the eraser tools to get to the Background Eraser. If you had the default Eraser tool selected, press Shift + E twice to select the Background Eraser Tool.
Remove a Background, Step 3: Tune Your Tool Settings
On the tool options bar at the top of the screen, select a round, hard brush. The most appropriate brush size will vary depending on the image you’re working on. Use the square bracket key ([ or ]) for quickly scaling your brush size.
Alternatively, you can right-click your mouse anywhere on the artboard to change the size and hardness of your brush too.
Next, on the tool options bar, make sure Sampling is set to Continuous (it’s the first of the three icons), the Limits to Find Edges and the Tolerance has a range of 20-25%.
Note: a lower tolerance means the eraser will pick up on fewer color variations. While a higher tolerance expands the range of colors your eraser will select.
Remove a Background, Step 4: Begin Erasing
Bring your brush over your background and begin to erase. You should see a brush-sized circle with small crosshairs in the center. The crosshairs show the “hotspot” and delete that color wherever it appears inside the brush area. It also performs smart color extraction at the edges of any foreground objects to remove “color halos” that might otherwise be visible if the foreground object is overlaid onto another background.
When erasing, zoom up your work area and try to keep the crosshairs from overlapping on the edge of your foreground. It’s likely that you’ll need to reduce the size of the brush in some places to ensure that you don’t accidentally erase part of your foreground subject.
Remove a Background, Step 5: Choosing Effective Limit and Sampling Settings
Even though you may have started with a low tolerance, the Background Eraser can still manage to erase things you don’t want, such as this guy’s shirt or his hair.
For foreground image areas that share colors with the background (like this one), you may need to adjust the Sampling and Limits. In this picture, I switched over to the Sampling: Once option, set my Limits to Discontinguous and set my Tolerance to 5%.
The Sampling: Once option samples the color under the crosshair only the moment you click, and it doesn’t resample as you move your brush along. The Discontiguous Limit option allows you to erase all pixels that match the sampled color that you’re erasing. This is extremely useful for getting in between hair strands without erasing them, for example.
There’s a good chance the Background Removal Tool may be all you need to complete your task. But if not, read on.
Remove a Background, Step 6: Quick Mask or Pen Tool
While removing the background on our example image is straightforward when the foreground and background colors are clearly different, there are inevitably areas of our foreground subject that get wrongly erased as we work close to foreground’s edges.
In our example, the foreground and background share similar colors due to the lighting, which affects the background and the model’s clothes. This will be easiest to repair using Photoshop’s Pen tool, which can be used to create a clean selection and delete the unwanted background.
Here’s the finished result:
And here’s our image with a new background added:
If you’re working with a basic image with ample visual contrast between the subject and background, you can most likely get away with using only the Background Eraser Tool.
More complex images will require a mix of tools, samplings, and tolerances along with occasional manual touch-ups. There will be times when there’s no visual difference between the foreground and background. We have to manually impose that distinction.
And don’t forget that if you’re saving your image without adding a new background, you need to save it as a PNG to maintain the transparency.
This article on how to remove a background in Photoshop remains one of our most popular posts and was updated in 2019 for Adobe Photoshop 2020. For more on design, read Design Systems from Smashing Magazine on SitePoint Premium.
Tomas Laurinavicius is a lifestyle entrepreneur and blogger from Lithuania. He writes about habits, lifestyle design, and entrepreneurship. Right now, he's traveling the world with a mission to empower 1 million people to change their lifestyle for good.
Jennifer Farley is a designer, illustrator and design instructor based in Ireland. She writes about design and illustration on her blog at Laughing Lion Design.
Gabrielle is a creative type who specializes in graphic design, animation and photography.
Jump Start Git, 2nd Edition
Visual Studio Code: End-to-End Editing and Debugging Tools for Web Developers