How to remove a background in Photoshop

Photoshop has three real ways to cut out a subject: the one-click Remove Background quick action, Select Subject with a layer mask, and Select and Mask for hair and fur. Here is when to use each, and how to export the result with transparency intact.

Updated October 23, 2026 · 6 min read

Photoshop can remove a background in a single click, but the single click is only the start. The professional approach is the same whichever method you pick: hide the background with a layer mask instead of deleting pixels, fix the edges, and export to a format that keeps transparency.

This guide covers the three methods that matter in current versions of Photoshop on desktop, in order from fastest to most precise:

  1. The Remove Background quick action, for clean subjects on simple backgrounds.
  2. Select Subject plus a layer mask, when you want to control the selection before masking.
  3. Select and Mask with Refine Hair, for hair, fur and other soft edges.

It finishes with exporting a transparent PNG, and with an honest look at when a dedicated one-click tool is the faster choice.

Before you start: unlock the layer

When you open a photo, Photoshop usually shows it as a locked layer called Background. Adobe's own steps begin with unlocking it: in the Layers panel, click the lock icon (or double-click the layer and confirm) to turn it into a normal layer. Masks and transparency need a normal layer.

Also check the image size. Cut-outs are judged at the edges, so work on the largest version you have and scale down only when you export.

Method 1: the Remove Background quick action

This is Photoshop's one-click option. According to Adobe, it uses subject detection to find the main foreground subject, creates a layer mask from it, and hides the rest.

  1. Open the image and unlock the layer in the Layers panel.
  2. In the Properties panel, click Remove Background under Quick Actions. The same button also appears in the Contextual Task Bar that floats under the image. You can also add it from the Quick Actions panel by clicking the plus icon and searching for "Remove Background".
  3. Wait a few seconds. The background disappears and a mask thumbnail appears next to the layer in the Layers panel.
  4. Clean up leftovers by painting on the mask with the Brush tool: white reveals pixels, black conceals them. Select the mask thumbnail first so you paint on the mask, not the photo.

If you do not see the Remove Background button, make sure a pixel layer is selected and scroll down the Properties panel. Older versions of Photoshop do not have the Quick Actions section at all, so update if it is missing.

Good for: products, people with tidy hair, pets on plain backgrounds, anything with a clear subject and good contrast.

Weak at: fine hair against busy backgrounds, transparent objects like glass, and photos where it is not obvious which object is the subject.

Method 2: Select Subject and a layer mask

This method does the same detection as Method 1, but stops at the selection so you can adjust it before anything is masked. It is the better choice when the automatic result keeps grabbing the wrong object or missing a part.

  1. Unlock the layer.
  2. Choose Select > Subject. Photoshop draws a selection around what it thinks is the main subject.
  3. Fix the selection. With the Quick Selection tool or the Lasso tool, hold Shift to add areas and Alt (Option on Mac) to subtract them.
  4. In the Layers panel, click Add Layer Mask (the rectangle with a circle). The selection becomes a mask and the background is hidden.

Because the background is only hidden, you can return to it at any time. Paint the mask with white to bring parts back, or with black to hide more. To compare against the original, Shift-click the mask thumbnail to switch the mask off and on.

If you need to select the background rather than the subject, for example to replace a sky, Adobe also offers a Select background quick action that selects everything except the subject.

Method 3: Select and Mask for hair and fur

Hair is where automatic masks struggle: thin strands are partly transparent and partly background, so a hard edge either cuts them off or keeps a fringe of the old background. Photoshop's Select and Mask workspace exists for this.

  1. Make a starting selection with Select > Subject, or start from an existing mask.
  2. Open Select > Select and Mask. The workspace shows your selection against a preview background. Pick a view mode with a background that contrasts with the hair so problems are easy to spot.
  3. Click Refine Hair. Adobe describes it as finding and refining difficult hair selections in a single click, and recommends using it with the Object Aware refine mode for hair on complex backgrounds.
  4. Under Edge Detection, turn on Smart Radius. It lets the edge zone vary in width, wide around loose hair and narrow along shoulders and clothing.
  5. Paint any remaining wisps with the Refine Edge Brush tool along the hairline. It tells Photoshop where the soft edge is.
  6. Under Output Settings, consider Decontaminate Colors. It replaces the background color that bleeds into edge pixels with colors from nearby solid subject pixels, which removes green or blue halos from outdoor shots. Because it changes pixel colors, it has to output to a new layer or document.
  7. Set Output To to New Layer with Layer Mask (or Layer Mask if you did not decontaminate), then click OK.

Keep the original layer underneath, switched off, so you can start again from it.

Tips for difficult edges

  • Work at 100% zoom on the edge. At fit-to-screen size most edge problems are invisible.
  • Check on black and on white. A halo that disappears on white often shows up clearly on black, and the other way around.
  • Do not over-feather. A soft mask edge looks natural on hair but makes products look blurry. Products usually need crisp edges; hair needs soft ones.
  • Fix halos with decontamination, not by shrinking the mask. Shrinking cuts into the subject; decontaminating fixes the color instead. The alpha channel guide explains why halos happen.

Exporting a transparent PNG

A masked layer only stays transparent if you save to a format that supports it. JPEG does not, and Photoshop fills transparent areas when you save one. Use PNG for compatibility, or WebP for small files on your own site; see PNG vs JPEG vs WebP.

Export As (most control)

  1. Hide any background or fill layers you added, so the checkerboard shows behind the subject.
  2. Choose File > Export > Export As.
  3. Set Format to PNG and make sure Transparency is checked.
  4. Set the image size if you need a smaller copy, then click Export.

Quick Export as PNG (one step)

File > Export > Quick Export as PNG saves the whole document using your saved export settings. To export a single layer, right-click it in the Layers panel and choose Quick Export as PNG. In the export preferences, the PNG options are Transparency, which produces 32-bit files with an alpha channel, and Smaller File (8-bit). With both off, you get 24-bit files with no transparency, so keep Transparency on for cut-outs.

Saving for marketplaces instead

If the cut-out is going to Amazon, eBay or Walmart, you usually want a white background, not transparency. Add a new layer below the subject, fill it with pure white (RGB 255, 255, 255) and export as JPEG. Check each platform's numbers in the product photo size reference.

Which method to choose

SituationBest method
Clear subject, plain background, need it fastRemove Background quick action
Detection picks the wrong object or misses a partSelect Subject, fix the selection, then mask
Hair, fur, fluffy fabricSelect and Mask with Refine Hair and Smart Radius
Colored halo after maskingSelect and Mask with Decontaminate Colors
Glass, smoke, fine transparent detailsManual masking with brushes, sometimes channels

Whichever you use, keep the mask editable and the original layer intact until the export looks right.

When a one-click tool is faster

Photoshop gives you the most control, but control costs time. If you have a folder of 60 product photos that all need the same thing, or you need a cut-out on a computer without Photoshop, a dedicated background remover is usually faster: removebackground.dev takes JPG, PNG or WebP files up to 25 MB, handles up to 100 images in one go, and gives you transparent PNG or WebP, or JPG on any solid color. You can still open the results in Photoshop for the few images that need manual edge work.

Questions

Where is the Remove Background button in Photoshop?

Select an unlocked pixel layer, then look in the Properties panel under Quick Actions, or in the Contextual Task Bar under the image. You can also find it in the Quick Actions panel by clicking the plus icon and searching for Remove Background.

Why is Remove Background missing or not working?

Usually the layer is locked or not selected. Unlock the Background layer in the Layers panel and select it. If the Quick Actions section is missing entirely, update Photoshop, because older versions do not have it.

How do I remove a background around hair in Photoshop?

Select the subject, open Select > Select and Mask, click Refine Hair with the Object Aware mode, turn on Smart Radius, brush over stray strands with the Refine Edge Brush, and use Decontaminate Colors to remove color halos. Output to a new layer with a layer mask.

How do I save a transparent PNG in Photoshop?

Hide any background layers, then use File > Export > Export As, choose PNG and keep Transparency checked. Quick Export as PNG also works if the PNG export preference has Transparency turned on.

Why is my PNG from Photoshop not transparent?

A visible background or fill layer was included, or the PNG export setting had Transparency turned off, which produces a 24-bit file without alpha. Hide the background and export again with Transparency on.

Try it on your own image

New accounts get 50 free credits. One credit per image, no subscription, and credits never expire.

Remove a background

Sources