How to Remove the Background from an Image in Illustrator
Learn how to remove a background from an image in Adobe Illustrator using clipping masks, Image Trace or opacity masks, and when Photoshop is the better tool.
The short answer
Adobe Illustrator is a vector editor, so it does not erase pixels from a placed photo the way a raster editor does. You can still remove or hide the background. The three main approaches are: draw a shape around the subject and turn it into a clipping mask, convert the image to vector shapes with Image Trace and delete the background shapes, or use an opacity mask for softer edges. A clipping mask suits most photos. Image Trace suits logos, icons and flat graphics with a plain background. For detailed edges such as hair or fur, a raster editor such as Photoshop usually gives cleaner results, and you can then place the cut-out file back into Illustrator.
Scope note: these methods apply to still images in a design file. They do not replace or blur the background behind you on a live webcam feed. For a call or stream, use the background feature in your conferencing app or a virtual camera tool.
Menu names and panel locations can change between Illustrator versions. The paths below follow long-standing Illustrator conventions. If something looks different, check your version's Help menu. Some recent releases may add a one-click background-removal action for images in the Properties panel or the contextual task bar. Check whether yours has one before using the manual methods.
Method 1: Clipping mask (best for most photos)
A clipping mask hides everything outside a vector shape you draw. The original image stays intact, so you can adjust the mask later.
- 1. Place the image with File > Place and select it.
- 2. Lock the image layer or reduce its opacity if that makes tracing easier.
- 3. Use the Pen tool to trace around the subject, clicking to add points and dragging to create curves. Close the path by returning to the first point.
- 4. Make sure the traced path sits above the image in the Layers panel.
- 5. Select both the path and the image.
- 6. Choose Object > Clipping Mask > Make, or press Ctrl+7 (Windows) or Cmd+7 (macOS).
- 7. To refine the edge later, double-click the masked object to enter isolation mode and edit the path's anchor points.
Limitation: a clipping mask gives a hard edge. Fine detail, semi-transparent areas and wispy hair are difficult to trace accurately with the Pen tool.
Method 2: Image Trace (best for logos and simple graphics)
Image Trace converts a raster image into editable vector shapes. You can then delete the shapes that make up the background. This changes how the image looks, so it fits flat artwork better than photographs.
- 1. Select the placed image.
- 2. Open Window > Image Trace.
- 3. Choose a preset or mode that matches the artwork, such as Black and White or a limited colour count.
- 4. Expand the Advanced section and enable Ignore White if the background is white. This drops white areas from the trace.
- 5. Click Trace, then adjust the settings until the result looks right.
- 6. Choose Object > Expand, or click Expand in the Control or Properties panel, to turn the trace into editable paths.
- 7. If the background was not white, ungroup the result (Object > Ungroup). Then select the background shapes, for example with Select > Same > Fill Color, and delete them.
Limitation: tracing simplifies detail and colour. A photograph will look posterised or illustrated rather than photographic.
Method 3: Opacity mask (for softer edges)
An opacity mask uses the brightness of an object on top to control what shows through: white areas reveal, black areas hide and greys are partly transparent. This allows feathered or gradual edges that a clipping mask cannot produce.
- 1. Draw a shape over the area you want to keep and fill it with white.
- 2. To soften the edge, apply a gradient or use Effect > Stylize > Feather on the shape.
- 3. Select both the shape and the image underneath.
- 4. Open Window > Transparency and click Make Mask.
- 5. To edit the mask, click its thumbnail in the Transparency panel. Click the artwork thumbnail to return to the image.
When to use Photoshop instead
If the subject has complex edges, a busy background or fine detail, editing the image in a raster editor is usually more efficient. Photoshop includes automated subject-selection and background-removal tools. Save the result in a format that keeps transparency, such as PNG or PSD, then place it in Illustrator. If the image is linked rather than embedded, Edit > Edit Original can open it in its default editing application.
Checking and exporting a transparent result
- 1. Turn on View > Show Transparency Grid to confirm the background is actually gone. A white artboard can look the same as transparency.
- 2. Export with File > Export > Export As, choose PNG and set the background option to transparent.
- 3. For use in other vector or print workflows, saving as AI, PDF or SVG keeps vector paths and masks editable.
Evidence gaps
No version-specific documentation, test results or measurements were supplied for this guide. The steps describe general, long-established Illustrator features. Exact menu labels, panel layouts and the availability of any automatic background-removal feature should be confirmed against the Illustrator version you are using.