Take your photography to the next level and beyond...

  • NEWS

Why not join for free today?

Join for Free

Your total photography experience starts here

Exclusive 25% off Affinity Photo: Professional photo editing with no subscription!

How To Use The Magic Eraser Tool In Photoshop

How To Use The Magic Eraser Tool In Photoshop - See how you can quickly remove a background from a photo with Photoshop's Magic Eraser Tool.

 Add Comment

Adobe Photoshop

In the same menu as the Erase and Background Erase tool you'll find a third eraser and this one's called the Magic Eraser tool.
Magic Eraser Tool

Basically, you can think of it as a Magic Wand tool but instead of just selecting similar pixels it deletes them. It's a great tool for quickly removing backgrounds which are just one colour but for more complicated backgrounds where there's more than one colour it's not the best tool to pick.

We are going to use the Magic Eraser tool to remove the white background in this portrait so we can replace it with one that's coloured.


Magic Eraser tool basic function

To use the Magic Eraser tool you simply click on the background somewhere and it will vanish. If you only have one layer open, when you click to remove the background the pixels will be turned into a transparency, in other words there will be nothing there so you'll just see a chequered pattern.

Portrait background removed

How much of it is erased in one click will change depending on a few of the tool's settings which you can alter in the tool bar found towards the top of the window.

Magic Eraser Toolbar

Adjusting the Magic Eraser tool


The higher the number you type in this box, the more pixels will be removed in one go as Photoshop will know you want to remove pixels from a broader range. Set a low Tolerance and Photoshop will only remove pixels that are more similar in colour to the pixel you clicked.



This is automatically checked and you should leave it this way as it helps smooth edges. Why is this useful? Well when you add a new background, it will look like your subject belongs on that background rather than looking like something that was lifted from another shot and badly dropped onto something new.


With this ticked the Magic Eraser tool will only remove similar pixels that are sat next to each other. So if you have a building, tree branch or, in our case, a person and their hair separating some of the background the pixels which are similar in colour that are sat on the other side of the object won't be erased.


Sample All Layers

If you tick this option Photoshop will erase all similar pixels from all the layers you have created not just the one you have selected. Leave it un-ticked and only the chosen pixel colour on the layer you have selected will be removed.


This defines how strong the eraser tool you're using is. An opacity of 100% will completely remove the background, leaving just a transparency (the chequered pattern). Lowering the opacity means the colour you're removing will still be partially visible. In our example, 100% opacity was set on the left image and all of the new background with a gradient on it can be seen at full strength. An opacity of 40% was applied to the Magic Eraser tool when removing the background of the image on the right and as a result the new gradient background isn't as strong.

Opacity changes

Image with a new background: 

Model shot with a new background

To add a new background we just created a new layer (Layer>New Layer) and applied a Gradient.

Model shot with a new background

Make another photo visible

You can also use the tool to make part of another layer visible. For example, if you have text or a shape which you want an image to show through, the quickest way to do this is to click on the word (which is made up of a solid colour) with the Magic Eraser tool and the colour will vanish, allowing the layer under it, which has the photo on, show through.


Find out more about Nikon's products by clicking these links:


Explore More


JackAllTog Plus
9 5.0k 58 United Kingdom
22 Feb 2012 5:32PM
Excellent thanks, it seems to do a great job where hair edges are as well.

Sign In

You must be a member to leave a comment.

ePHOTOzine, the web's friendliest photography community.

Join For Free

Upload photos, chat with photographers, win prizes and much more.