GIMP tutorial · Written for 3.2.6
How to Remove a Background in GIMP
To remove a background in GIMP you give the layer an alpha channel, select the part you want gone, clear it and export a PNG. The steps follow the GIMP 3.2 manual, with the older 2.10 names in brackets where they changed.
Before you start
GIMP is free: the project provides it free of charge under the GNU GPL v3 or later, and its FAQ answers "yes" to commercial use. It runs on Linux, macOS 11 or newer and Windows 10 version 1903 or newer. The current stable release is 3.2.6, dated 10 September 2026.
Two habits save most of the frustration people report with a background in GIMP:
- Check the alpha channel first. The alpha channel is what stores transparency. A photo you open from a JPG usually has a single background layer with no alpha channel, and in the Layers dialog its name is shown in bold. Without one, anything you delete is filled with the background colour, usually white, instead of becoming see-through.
- Keep an XCF copy. GIMP saves only its own XCF format with Save; every other format goes through Export. XCF is the only format that keeps layers, masks and selections, so save one before you export.
Keyboard shortcuts below are printed as the manual gives them, with Ctrl. On a Mac, use the menu path if a shortcut does not respond.
Which selection tool fits your photo
All selection tools live under Tools → Selection Tools. Which one to reach for depends on the background, not on the subject.
| Tool | Shortcut | Best for |
|---|---|---|
| Fuzzy Select | U | A plain or nearly plain background that touches itself all the way round |
| By Color Select | Shift+O | One background colour that also shows through gaps, such as between arms |
| Paths | B | Products and other hard-edged shapes you want to trace precisely |
| Foreground Select | none by default | A subject in front of a busy scene |
| Scissors Select (was Intelligent Scissors) | I | Quick rough outlines; the manual itself calls its results crude |
The manual's own advice is that experienced users often find Paths and By Color Select more efficient than the magic wand, so do not be surprised if Fuzzy Select struggles on a textured wall.
How to remove a background in GIMP, step by step
This walkthrough uses Fuzzy Select on a simple background. For a busy background, swap step 2 for the Foreground Select or Paths method in the next section; the other steps stay the same.
1. Add an alpha channel
Go to Layer → Transparency → Add Alpha Channel, or right-click the layer in the Layers dialog and choose the same command. If it is greyed out, the layer already has one.
2. Select the background
Pick Fuzzy Select (U) and click the background. Before releasing, drag down or right to grow the selection and up or left to shrink it; the Threshold option does the same job afterwards. Hold Shift and click to add another area. If it is easier to select the subject instead, do that and then choose Select → Invert (Ctrl+I) so the background is what is selected.
3. Tidy the selection edge
Hard edges look cut out with scissors. Turn on Antialiasing and Feather edges in the tool options before selecting, or use Select → Feather afterwards. If a thin rim of the old background survives, Select → Shrink pulls the edge inward. For fiddly areas, press Shift+Q for Quick Mask and paint with white to add to the selection or black to remove from it, then press Shift+Q again.
4. Clear it
Choose Edit → Clear, or press Delete. With an alpha channel, the selected area becomes transparent. Clearing is how you delete background in GIMP permanently, so check the result before moving on, then use Select → None (Shift+Ctrl+A).
5. Export a PNG
Use File → Export As (Shift+Ctrl+E), type a name ending in .png, and click Export to open the PNG options. The Pixel format default follows your image; if you change it, pick one that includes alpha. Leave the image in RGB mode rather than Indexed, because indexed PNGs keep only fully transparent or fully opaque pixels and lose soft edges.
Harder subjects: Foreground Select and Paths
Foreground Select is GIMP's tool for lifting a subject off a busy scene. The manual's workflow is:
- Roughly outline the subject, leaving a little background around it, and close the outline.
- Press Enter to create the mask.
- Paint a stroke over the subject in Draw foreground mode.
- Preview the mask, then paint with Draw background over anything that should not be kept.
- Click Select, or press Enter, to turn it into a selection.
It needs a lot of memory and can slow down or crash on large images; the manual suggests switching the engine from Matting Levin to Matting Global when that happens. On Windows, the 3.2 manual notes that Matting Levin has been temporarily removed because of crashes.
Paths suits products, packaging and anything with clean edges. Choose Tools → Paths (B), click around the outline to place points, and click the first point to close the shape. Then press Selection from Path in the tool options (2.10: Create selection from path), or use Select → Selection From Paths, Shift+V (2.10: Select → From Path).
Keep the original with a layer mask
Clearing pixels is permanent once you close the file. If you would rather not erase background in GIMP for good, select the subject and use Layer → Mask → Add Layer Masks… (2.10: Add Layer Mask), then choose Selection. Selected areas stay visible and the rest turns transparent, and you can paint on the mask later to fix mistakes.
For a logo or drawing on one flat colour, Layer → Transparency → Color to Alpha turns every pixel of the chosen colour transparent in one go, with no selection at all.
GIMP transparent background problems
| What you see | Why | Fix |
|---|---|---|
| Deleted area turns white | The layer has no alpha channel | Add Alpha Channel, then clear again |
| Exported file has a white or black background | It was exported as JPG, which cannot store transparency | Export as PNG or TIFF |
| Edges look jagged in the PNG | The image is in Indexed mode | Switch to RGB and export again |
| A faint halo of old background | The selection edge sits just outside the subject | Select → Shrink before clearing |
| Foreground Select freezes | Large image and the Matting Levin engine | Use Matting Global, or work on a smaller copy |
When GIMP is more than you need
GIMP gives you control over every pixel, and for a product shot on a clean background it is quick once you know the steps. For portraits, pets or cluttered scenes, a careful cutout can take a long time.
CutoutBG AI does the selection with an AI model in the browser. Upload a photo and you get a transparent PNG back at full resolution, with no watermark. Up to three images a day need no sign-up, and a free account gives you ten. You can still open the PNG in GIMP afterwards to clean up a corner or add it to a layered design.
FAQ
How to remove background in GIMP
Add an alpha channel (Layer → Transparency → Add Alpha Channel), select the background with Fuzzy Select or By Color Select, press Delete, and export as PNG with File → Export As. For a busy background, select the subject with Foreground Select or Paths and invert the selection first.
How to cut out an image in GIMP
Outline the subject with Paths or Foreground Select and turn the outline into a selection. Then either invert it and clear, or add a layer mask from the selection so the cutout can be edited later.
How to make an image transparent in GIMP
For a see-through background, the image needs an alpha channel, the background cleared, and a PNG export. If the background is one flat colour, Color to Alpha under Layer → Transparency does it without selecting anything.
Is GIMP free for commercial use?
Yes. GIMP is free software under the GPL v3 or later, it is provided free of charge from gimp.org, and its FAQ says commercial use is allowed.
Why is my GIMP background white instead of transparent?
Either the layer had no alpha channel when you cleared it, or the file was exported as JPG. Add the alpha channel, clear again and export as PNG.
Want the cutout without the selection work?
Upload a photo, let the model make the selection, and download a transparent PNG you can still refine in GIMP.
Read next
How to Remove a Background in Photoshop
Remove a background in Photoshop with the one-click Remove Background action or Select Subject and Select and Mask, then export a transparent PNG.
How to Make a Transparent Background in Canva
A Canva transparent background is a PNG download switch on paid plans. Steps for web and mobile, why it can be missing, and a free route for photos.