+20% bonus credits on your first credit pack · Starter pack from $4.99Get offer

How to Remove the Background from an Image in Photoshop

Updated:

To remove the background from an image in Photoshop, unlock the image layer and click Remove background in the Contextual Task Bar, or run the Remove Background quick action from the Discover panel. Photoshop hides the background with a layer mask; clean up the edges with a brush, then save a PNG to keep the transparency.

Quick steps

  1. Open the image and unlock its layer. If it is a locked Background layer, choose Layer › New › Layer From Background.
  2. Click Remove background in the Contextual Task Bar (Window › Contextual Task Bar), or open the Discover panel and choose Browse › Quick Actions › Remove Background.
  3. Check the edges and paint on the new layer mask: black hides leftovers, white brings parts back.
  4. Choose File › Save As and pick PNG, or File › Export › Quick Export as PNG, so the background stays transparent.

No Photoshop? Remove the background online

Upload the picture to our AI background remover and download a transparent PNG in your browser, with no layers or masks to manage. It is free for 10 images a day without signing up, or 100 a day after you sign in, and it does not use credits.

Remove background online

Which Photoshop Tool Should You Use to Remove a Background?

Photoshop has several ways to cut out a subject. They all end the same way: a selection becomes a layer mask that hides the background. Pick the starting tool by the kind of picture you have.

Best Photoshop method by image type
Your imageBest Photoshop methodEffortWhy it fits
Person or pet with a clear outlineRemove Background quick actionLowOne click detects the subject and adds a mask you can still edit
Portrait with loose hair or furSelect Subject, then Select and MaskMediumObject Aware refinement is built for hair, fur and complex backgrounds
Several objects, keep only oneObject Selection or Quick Selection toolMediumYou choose exactly which object or area stays
Logo or product on plain whiteMagic WandLowSelects the background by color in a single click
Product with hard, smooth edgesPen toolHighA hand-drawn path gives crisp, exact edges for catalogs

Method 1: Use the Remove Background Quick Action (Fastest)

Remove Background detects the main subject for you. Instead of deleting pixels, it hides the background with a layer mask, so you can fix mistakes later without starting over.

  1. Open the image and select its layer in the Layers panel. The layer must be active and unlocked; if it is named Background with a lock icon, choose Layer › New › Layer From Background and click OK.
  2. If the Contextual Task Bar is hidden, turn it on with Window › Contextual Task Bar, then click Remove background.
  3. Or open the Discover panel with the search icon or Help › Photoshop Help, choose Browse › Quick Actions, then Remove Background.
  4. Photoshop isolates the subject and adds a layer mask. The removed area now shows a gray-and-white checkerboard, which means it is transparent.
  5. Zoom in on the edges. Fix small misses by painting on the mask, or select Revert in the Discover panel to undo the quick action.

In some Photoshop versions the same button also appears under Quick Actions in the Properties panel. Adobe recommends high-contrast images for the best result and suggests refining the mask with the Brush tool when the first pass isn't perfect. Sources: Adobe's Remove background in your images and Convert background and regular layers.

Method 2: Select Subject and Add a Layer Mask (More Control)

This method gives you a chance to correct the selection before anything is hidden. Using a mask instead of pressing Delete keeps the original pixels, so you can bring back an area at any time.

  1. Choose the Object Selection, Quick Selection or Magic Wand tool, then click Select Subject in the Options bar. You can also choose Select › Subject.
  2. Check the marching ants. Use Add to selection or Subtract from selection in the Options bar to fix areas Photoshop missed.
  3. For hair or soft edges, click Select and Mask now and refine the edge before you continue (see the hair section below).
  4. With the selection active, click the Add layer mask icon at the bottom of the Layers panel, or choose Layer › Layer Mask › Reveal Selection. The background disappears.
  5. Click the mask thumbnail and paint with a soft brush: black hides more of the picture, white reveals it again.

If Select Subject keeps missing detail, Adobe lets you switch its processing between Device and Cloud in Settings › Image Processing on macOS or Edit › Preferences › Image Processing on Windows. Sources: Detect subject using Select Subject, Add layer masks and Improve Select Subject and Remove Background results.

Method 3: Object Selection or Quick Selection Tool (Several Subjects)

When a photo has more than one subject, or you only want to keep part of the scene, select that part yourself instead of letting Photoshop guess.

  • Object Selection tool: hover over the image and Photoshop highlights the object under the pointer; click to select it. To define the area yourself, turn off Object Finder and draw a rectangle or lasso around the object.
  • Quick Selection tool: paint over the area you want, and the selection grows along the edges it finds. Turn on Enhance Edge in the Options bar for smoother edges.
  • Hold Shift to add to the selection and Alt (Windows) or Option (macOS) to subtract, or pick the mode in the Options bar.
  • When the selection looks right, add a layer mask exactly as in Method 2.

Sources: Adobe's guides to the Object Selection tool and the Quick Selection tool.

Method 4: Magic Wand for White or Solid-Color Backgrounds

If the background is one flat color, selecting the background is quicker than tracing the subject.

  1. Unlock the layer, then pick the Magic Wand tool. It shares a toolbar slot with Object Selection and Quick Selection.
  2. Set Tolerance in the Options bar. It runs from 0 (only very similar colors) to 255 (a broad range); the default of 32 is a good start.
  3. Turn Contiguous on to select only touching pixels of that color, or off to also catch enclosed gaps such as the space inside letters.
  4. Click the background. Shift-click any other background areas the first click missed.
  5. Choose Select › Inverse so the subject is selected, then add a layer mask.

Leave Anti-alias on for smoother edges. Source: Select areas by color with the Magic Wand tool.

Method 5: Pen Tool for Products and Hard Edges

Automatic tools can leave slightly wobbly edges on bottles, boxes and electronics. A path drawn with the Pen tool takes longer but gives clean, exact lines.

  1. Pick the Pen tool and set the mode to Path in the Options bar.
  2. Click along straight edges to place corner points, and click and drag where the edge curves to create direction handles.
  3. Finish by clicking the starting point to close the path.
  4. Right-click inside the path and choose Make Selection. A feather radius of 0 to 1 pixel keeps the edge crisp.
  5. Add a layer mask to hide everything outside the path.

Source: Draw paths with the Pen tool.

How to Refine Hair and Edges with Select and Mask

Hair, fur and fuzzy edges are where most cut-outs go wrong. Open Select › Select and Mask, or click Select and Mask in the Options bar while a selection tool is active.

  • Pick a View Mode that shows the problem, such as Overlay, On Black or On White. Press F to cycle through the modes.
  • Set the Refine Mode to Object Aware for hair, fur or complex backgrounds, or Color Aware for high-contrast, simple backgrounds.
  • Paint over loose hair with the Refine Edge Brush tool so Photoshop recalculates that border.
  • If a light or dark halo remains, move Shift Edge slightly to the left to pull the edge inward.
  • Under Output Settings, tick Decontaminate Colors to replace leftover background color at the edge, and set Output To to New Layer with Layer Mask.

Recent versions also offer Enhance edge in the Contextual Task Bar when a layer mask is selected. Adobe says it removes residual background color along fine details like hair, and each use consumes 20 generative credits. Sources: Refine your selection and mask and Use Enhance edge to refine masks.

How to Make the Background Transparent and Save It as a PNG

The gray-and-white checkerboard means an area is transparent. Before you save, hide or delete any layer below your subject so only the checkerboard shows behind it.

  1. Choose File › Save As and pick PNG from the Format menu. In some versions this command is File › Save a Copy.
  2. Or choose File › Export › Quick Export as PNG. Set the format once in the Export preferences, where PNG offers a Transparency option.
  3. Keep a PSD copy as well, so the layers and the mask stay editable.

PNG keeps the transparent area. JPG does not support transparency, so a JPG copy fills the removed background with a solid color. Adobe notes that PNG supports transparency and suits logos, icons and detailed images (Save images in PNG and GIF formats, Quick Export as).

Cut-outs for a website or marketplace are often far larger than needed, so resize your transparent PNG before you upload it.

How to Change the Background to White or Another Image

A transparent background is often a halfway step. Because the subject sits on a masked layer, you can put anything behind it.

  • White or a brand color: add a Solid Color fill layer from the adjustments menu or Layer › New Fill Layer › Solid Color, pick the color and drag the fill layer below your subject.
  • Another photo: place the new background on a layer below the subject, then match brightness and color with Curves or Color Balance adjustments so the subject doesn't look pasted on.
  • Generate Background: after Remove background in the Contextual Task Bar, recent versions let you type a prompt to create a new background, fill it with a color or import an image, as Adobe describes in Replace background with Generate Background.
  • Want to describe a new scene without Photoshop? Generate a new background with AI by uploading the photo and writing a prompt, or start from these ChatGPT image prompts.

Remove Background Not Working? Common Problems and Fixes

  • The button is grayed out or missing: the layer is a locked Background layer, or more than one layer is selected. Select a single unlocked image layer. If it is a text, shape or Smart Object layer and the action still won't run, try a rasterized copy (Layer › Rasterize).
  • No Contextual Task Bar: turn it on with Window › Contextual Task Bar, or use the Discover panel instead.
  • Parts of the subject vanished: paint with white on the mask to bring them back, or switch Select Subject and Remove Background to Cloud processing in the Image Processing preferences.
  • A white or colored halo around the edge: use Shift Edge and Decontaminate Colors in Select and Mask, or try Enhance edge.
  • The background turns white after saving: the file was saved as JPG, or a background layer was still visible. Hide it and save a PNG.
  • Edges look soft or blurry: lower Feather and Smooth in Select and Mask. If the photo itself is low resolution, enhance a low-quality image before cutting it out.

No Photoshop? Remove the Background Online

Photoshop is the right tool when you need full control over every edge. For simple cut-outs, a quick product listing or when the software isn't installed, an online AI remover does the selecting and masking for you.

  1. Upload your picture to the one-click background remover.
  2. Check the cut-out and use the eraser to clean up any spot you want gone.
  3. Download the transparent PNG and use it anywhere, including back in Photoshop.

Curious whether a chatbot could do it instead? Read can ChatGPT remove a background? for the trade-offs, or see how to remove a background in PowerPoint if the picture is headed for a slide.

Working from your phone? Here is how to remove background from image on iPhone with the Photos app or Safari.

Making a social post or flyer in Adobe Express instead? See the Adobe Express remove background from image steps, including how to keep the PNG transparent.

Photoshop methods vs an online AI background remover
MethodBest forEdge controlOutputWhat you need
Remove Background quick actionClear subjects you want cut out fastAutomatic mask you can paint onMasked layer; save as PNGPhotoshop on desktop
Select Subject + layer maskHair, fur and tricky edgesFull control with Select and MaskMasked layer; save as PNGPhotoshop on desktop
Pen tool pathProducts and hard edgesExact, hand-drawn edgesMasked layer; save as PNGPhotoshop and some practice
Online AI background removerQuick cut-outs without softwareAutomatic, with an eraser for touch-upsTransparent PNG downloadA web browser

FAQ

What is the fastest way to remove a background in Photoshop?

Use the Remove Background quick action. Select an unlocked image layer and click Remove background in the Contextual Task Bar, or find it under Browse › Quick Actions in the Discover panel. Photoshop adds a layer mask, so you only need to check the edges.

How do I make the background transparent in Photoshop?

Hide the background with a layer mask, or delete it on an unlocked layer, until you see the gray-and-white checkerboard. Then save the file as a PNG, which keeps the transparency.

Why is my background white after saving?

The file was most likely saved as a JPG, which does not support transparency, or a background layer was still visible. Hide every layer below the subject and save as PNG instead.

How do I remove the background around hair in Photoshop?

Run Select Subject, open Select and Mask, set the Refine Mode to Object Aware and paint over the hair with the Refine Edge Brush. Tick Decontaminate Colors and output to a new layer with a layer mask.

Why is the Remove Background button grayed out in Photoshop?

The selected layer is usually locked, as the default Background layer is, or several layers are selected. Choose Layer › New › Layer From Background to unlock it, select only that layer and try again.

Can I remove a background without Photoshop?

Yes. An online AI background remover cuts out the subject in your browser and gives you a transparent PNG. To try the same job in ChatGPT, see can ChatGPT remove a background?.

Related Tools and Guides

Skip the layers and masks

Get a transparent PNG from any photo in your browser with the AI background remover.

Remove a background

Adobe and Photoshop are either registered trademarks or trademarks of Adobe in the United States and/or other countries. ChatGPT Images is not affiliated with or endorsed by Adobe.