How to Use the Eraser in GIMP

By Henrick September 07, 2026 3 min read Drawing, Shapes & Design

The GIMP Eraser removes pixels from the active layer. It sounds straightforward, but there is a common problem: erasing often leaves white instead of transparency. This guide explains why that happens and how to make the Eraser do exactly what you want.

Activating the Eraser

Press Shift+E to activate the Eraser. The cursor changes to a circle just like the Paintbrush.

Click and drag to erase. The Eraser works exactly like the Paintbrush, but removes pixels instead of adding them. All the same size, hardness, and opacity controls apply.

Erasing to Transparency (Not White)

The most common frustration with the GIMP Eraser: you erase an area and it turns white instead of transparent. This means the layer does not have an alpha channel.

To fix this:

  1. In the Layers panel, right-click the layer.
  2. Choose Add Alpha Channel.
  3. Now the Eraser will erase to transparency (shown as a grey checkerboard pattern).

The background layer in a new GIMP document defaults to no alpha channel. Any new layers you create set to "Transparency" fill type do have an alpha channel. For more on alpha channels and why they are necessary, the alpha channel guide has a full explanation.

Check: If "Add Alpha Channel" is greyed out in the right-click menu, the layer already has one. If erasing still gives white, check if "Hard edge" is off - sometimes a very hard brush looks like it erases to white but is actually erasing with hard anti-aliasing.

Adjusting Size and Hardness

The same controls as the Paintbrush apply:

  • [ and ] to decrease/increase brush size.
  • Hardness slider in Tool Options: low hardness = soft edge erasing (good for blending), high hardness = crisp pixel edge erasing.
  • Right-click the canvas for a quick size/hardness popup.

For background removal, use a medium hardness (50-70%) for a natural-looking edge. Very high hardness can leave the subject looking cut-and-pasted. Very low hardness can leave semi-transparent fringe pixels that look grey against light backgrounds.

The Anti-Erase Mode

In Tool Options, there is an Anti-erase checkbox (also called "Reverse" in some GIMP versions). When checked, the Eraser does the opposite - It restores pixels that were previously erased on that layer by painting them back.

Anti-erase only works if the layer has an alpha channel and the original pixels are still stored (not permanently gone). It essentially paints back the previously erased transparency. This is useful for fixing over-erasing without needing to undo multiple steps.

Using the Eraser on Layer Masks

When you click a layer mask thumbnail in the Layers panel (making the mask active rather than the layer), the Eraser effectively paints black on the mask - which hides the layer content in the painted area.

This is the non-destructive alternative to erasing directly on the layer. Erasing on a layer is permanent. Erasing on a mask (painting black) is reversible - Paint white on the mask to bring the content back. For complex edits like background removal, always consider using layer masks instead of the Eraser directly on the layer pixels.

Quick Recap

  • Activate: Shift+E
  • Erases to white instead of transparent: add Alpha Channel (right-click layer)
  • [ and ] to resize the eraser brush
  • For non-destructive erasing: use a layer mask and paint black instead
Tags: Gimp drawing Tools Eraser

Share this article:

Twitter / X Facebook

Related Articles