featured_wide1

How Do I Use the Eraser Tool in Photoshop?

‌‌

                                                                                                                                Updated 3/4/2020

  1. Determine whether the eraser tool is the right option vs. a layer mask or Pencil tool.

  2. Choose between Eraser, Background Eraser, and Magic Eraser.

  3. Set the desired background color.

  4. Choose a brush size/type and opacity.

    1. Brush mode has soft edges.

    2. Pencil mode has hard edges.

    3. Square mode is shaped like a square instead of a circle.

    4. Flow determines how quickly the erasing effect is applied.

  5. Hold down cursor and drag over areas you wish to erase.

  6. If you wish to erase to a saved state, click on the left column in the History panel and select the Erase to History option.

Now that we have the basics out of the way, let’s look at the more detailed and varied ways we can get the most out of this tool. In this article, we will review the functions and options available so you can determine which is best for the task you are working on.

Understanding the Eraser Tool in Photoshop

Photoshop has so many tools that it can quickly become confusing which one should be used to accomplish a certain effect or task. You've probably seen the little eraser in your toolbar and wondered a little bit about it. The Eraser Tool in Photoshop can come in handy, but it definitely has some pitfalls.

Photoshop eraser tools screenshot

There are three options to choose from when you choose the Eraser tool: the Eraser, Background Eraser, and Magic Eraser. There is also an auto-erase function when using the Pencil tool.

I’m going to point out the differences between each of these to help you begin to understand which one you might want to use. It’s important to note, however, that the Eraser tool is a destructive tool. What that means is whenever you use the Eraser tool, the work that you do is permanent. There’s no way to get it back unless you keep telling Photoshop to "Undo". If you realize you made a mistake after already saving, then you’ll probably have to start over. Think of the Eraser tool as a real eraser. If you erase something in the real world, it's gone. 

You might wonder how you can get rid of things you don't want in your image if you don't want to work destructively. It's as simple as adding a layer mask to the layer you want to alter and using the Brush tool to mask out what you want to hide. You'll be able to quickly change any mistakes by using a layer mask.  The layer mask also shows you what’s being masked. If you use the regular brush and mask with black, you can achieve the same effect as using the Eraser tool. 

If nothing else, by the end of this article you should understand that although the Eraser tool seems helpful, what you can do with it can be replicated in more efficient ways, like with a layer mask. Duplicating the layer that you're working on is a must if you plan to still use the Eraser tool, just in case you'll need to start over.    

Eraser

  1. Click on the Eraser tool.

  2. Select the background color you would like to use in place of the existing background or layer with locked transparency.

  3. Choose between brush, pencil, and block modes according to the effect you want. Brushes are round with soft edges, pencils look more like drawn lines, and blocks are squares with hard edges.

  4. When using brush or pencil modes, you will need to set the opacity and flow in the options toolbar. Opacity refers to how completely you want to erase the pixels. For example, 100% opacity will completely erase, while lower numbers only partially erase pixels.

  5. Hold down the cursor and drag it across the areas you want to erase.

The Eraser tool is essentially a brush. You can change the size, hardness and spacing, just like any other brush. It's also possible for you to change the mode from Brush to Pencil or Block. Instead of painting on the pixels of your image, however, the Eraser deletes the unwanted pixels. Those pixels are now permanently erased and can only be brought back to life through "Undo". 

It will look like you’re actually painting with the background color even though you think you’re erasing, unless you remove the lock on the background layer. Remove the lock on your layer so that you can hide it and then you can see the checker pattern underneath. In the image below, I haven't unlocked the layer, so we're seeing white where we're expecting to see the checker pattern.

Example of eraser tool used on locked background

Now that I've unlocked the layer (by double clicking on it) I can go back and use the eraser to get to the checker pattern.

Unlocked layer using the Eraser tool

Also, if you've duplicated the layer you're working on, make sure you've hidden the duplicate layer as well or you won't see the effect of the Eraser. The hot key for the Eraser tool is “E”.  

Background Eraser

  1. Go to the Layers panel and choose the layer that contains the areas you want to erase.

  2. Hold down the Eraser tool and choose Background Eraser when the menu pops up.

  3. Choose a brush and adjust settings for size, hardness, angle, roundness, and spacing.

  4. Choose a Limits mode

    1. Discontiguous erases sampled color wherever it appears beneath the brush.

    2. Contiguous erases sampled color in areas that are connected.

    3. Find Edges erases connected areas that contain the sample color and preserves the shape of edges.

  5. Select Tolerance level by dragging the slider. High tolerance will erase a wider range of colors than low tolerance, which looks for colors very close to the sample color.

  6. Select Protect Foreground Color to help you avoid erasing the foreground colors by mistake.

  7. Choose a Sampling Option

    1. The Continuous option will sample colors the entire time you are dragging the eraser tool.

    2. Once will erase only the color you click on first.

    3. Background Swatch will erase any areas containing the background color.

The Background Eraser tool is different from the Eraser tool. As soon as you click, the tool and cursor will change to a circle with a + in the middle. By default, the way the Background Eraser tool works is by sampling the color that's directly under the + in the center of the circle. So Photoshop will erase all of that color that falls within the larger circle. Even if the circle extends to a part of the image where you don't want to erase, Photoshop won't erase it unless the little + touches the different color. In the image below, I've accidentally run over the puppy with the + with the Background Eraser. If the + gets to the puppy, it will erase him since it’s constantly sampling the pixels and colors. 

Background eraser accidentally erases part of a puppy

Notice how it's erasing pretty well around his ears before the mishap. Remember, since I've been clicking and dragging for what's erased in the image, all that has been erased is only one action. To undo the mistake at the top of the puppy's head I'll have to undo everything I've done so far. 

Background Eraser Options

Background Eraser options Photoshop

The first option is to change the size of the "brush". 

The second option (that starts with two eyedroppers with a gradient below) lets you choose if you want the Background Eraser to work continuously, once, or through a swatch. 

  • Continuous is what was used in with the picture of the puppy. The continuous option works really well when you're trying to erase a multi-colored background. 

  • Once will erase the color that you tell it to by clicking. Wherever the + is when you've clicked is the color that Photoshop has saved and knows to erase when you start moving the circle around the image. 

  • The Background swatch option lets you assign a Background color swatch in the Tools palette and then the Background Eraser will only erase that color. 

The next section is Limits, which has three options, Contiguous, Discontiguous and Find Edges. 

  • Contiguous will only erase pixels that are touching the pixel under the +. If you need to erase something that has barriers, like hair or branches, the Contiguous option can be frustrating. 

  • The Discontiguous setting will erase any pixels that match the color you're erasing even if they're not in the same area as the +. 

  • Find Edges works like it sounds it does, it erases up to edges that it finds. 

  • Tolerance is the next section in the Background Eraser options. All that means is the higher the Tolerance setting, the more variations of the sampled color Photoshop will erase. If your background color is similar to what you don't want to erase then you'll need to have a low Tolerance. It's a good practice to start lower and work your way up anyway. 

  • Protect Foreground Color lets you select the Foreground color in the Tools palette and then Photoshop will protect that color when you're erasing. If what you're trying to protect is similar to the background, but just a few shades different, then the Protect Foreground Color checkbox should be checked.  

Magic Eraser

  1. Select the Magic Eraser tool in the toolbar.

  2. Choose a Tolerance value. High tolerance erases a large number of colors and low tolerance erases colors similar to the one you’ve chosen.

  3. Select Anti-Aliased for smooth edges.

  4. Select or deselect Contiguous, depending on whether you want to erase just connecting pixels or all similar pixels.

  5. Choose Sample All Layers to view a sample of the erased color from visible layers.

  6. Choose and set Opacity. 

  7. Click the part of the layer you want to be erased.

The Magic Eraser tool works similarly to the Magic Wand tool in that it selects a larger area based around contrast in pixels. Actually, the Magic Eraser works exactly the same way as the Magic Wand tool and then hitting delete. Using the Magic Eraser seems easy enough. All you need to do is click where you want to remove something and Photoshop will remove all the pixels in that area that are the color of what you've clicked.   


 Example of Magic eraser on coffee mug

In the image above, I've clicked the mouse once on the red background while using the Magic Eraser and this is the result. Notice how it's a choppy selection and still leaves a slight red border around the mug. The image below is an unaltered version of the coffee mug, just so you can see all the red that Photoshop didn't remove.

coffee filled mug on red background

Something to note is that you can't use the Eraser tool on Smart Object unless the image is converted to raster.

Pencil Tool - Auto Erase Function

  1. Designate colors for the background and foreground.

  2. Click on the Pencil tool.

  3. Choose the Auto Erase option in the toolbar.

  4. Drag the tool over the image where you want to paint the background or foreground color.

When you use the Auto Erase function of the Pencil tool, it allows you to paint the background color over areas that are currently the foreground color.

Keep in mind that if the center of the cursor is sitting above a color from the foreground when you start dragging the pencil tool across it, then the area will be erased and appear as the background color. However, if the center of the cursor is hovering above an area that does not contain the designated foreground color, this area will then be painted with the foreground color.