How to remove a background in Photoshop

Three ways to cut out a subject in current Photoshop versions, how to rescue hair and fur, and how to export a PNG that keeps its transparency.

Updated

The quickest way to remove a background in Photoshop is the Remove Background quick action: select the photo's layer, click Remove Background, and Photoshop finds the subject and hides everything else with a layer mask. When the automatic result needs help, make the selection yourself with Select Subject, fix hair in Select and Mask, and then export a PNG so the transparency survives. The menu names below match current Photoshop versions; older versions may place some buttons differently.

Before you start: unlock the layer

Adobe's instructions ask for the layer that holds your subject to be active and unlocked. A JPG or a camera photo usually opens as a locked layer named Background, so convert it first with Layer > New > Layer From Background. After that the layer can carry a mask and transparent pixels.

Method 1: the Remove Background quick action

The same command sits in three places in recent versions:

Wherever you click it, you get the same result: a layer mask that hides the background. Nothing is erased, so a mistake is a quick fix on the mask rather than a fresh start. Adobe's tip for the best results is a high-contrast photo, where the subject clearly stands out from what is behind it.

Method 2: Select Subject and a layer mask

Select Subject makes the same kind of automatic selection but stops before masking, which gives you a chance to correct it. Choose Select > Subject, or pick the Object Selection or Quick Selection tool and click Select Subject in the options bar. Adobe notes that it selects all the main subjects in a photo; when you want only one of several, use the Object Selection tool on that object instead.

Use Add to selection and Subtract from selection in the options bar to fix what it missed. Then click the Add layer mask button at the bottom of the Layers panel, or choose Layer > Layer Mask > Reveal Selection. In the mask, white shows the subject and black hides the background.

Refining hair and fur with Select and Mask

Automatic cutouts often look fine at a glance and fall apart around hair. With the layer mask thumbnail selected, choose Select > Select and Mask. The Select and Mask button in a selection tool's options bar opens the same workspace.

Device or cloud processing

Photoshop can run Select Subject and Remove Background on your computer or in Adobe's cloud. The setting is in Edit > Preferences > Image Processing on Windows, or Photoshop > Settings > Image Processing on a Mac (Preferences in some versions), in a menu called Select Subject and Remove Background. Adobe's help says Device is the default and offers Cloud as an alternative for improving results.

Exporting a transparent PNG correctly

A mask only becomes real transparency when you export to a format that can store it. PNG can; JPG cannot, which is why a "transparent" JPG always comes out with a white or black background, and why simply converting a JPG to PNG doesn't remove anything by itself.

Before exporting, look at the canvas. Transparent areas show as a checkerboard, which is only how apps display transparency and is not saved in the file. If you see white instead, a layer underneath is still visible. Save a PSD copy as well so the mask stays editable.

Doing it in the browser instead

If Photoshop isn't open or you only need a quick cutout, Background Remover PNG removes backgrounds right in your browser for free, with no signup, and the photo is processed on your own device instead of being uploaded. You get a full-size transparent PNG with no watermark, plus an erase and restore brush for touch-ups. For tips on checking edges and saving correctly, see how to make a background transparent.

How to remove a background in Photoshop

  1. Open your photo and select its layer in the Layers panel. If it is a locked Background layer, choose Layer > New > Layer From Background and click OK.
  2. In the Properties panel, go to Quick Actions and click Remove Background, or click Remove background in the Contextual Task Bar.
  3. Zoom in and check the edge. Photoshop has hidden the background with a layer mask, so nothing has been deleted.
  4. If hair or fur looks choppy, click the layer mask thumbnail, choose Select > Select and Mask, then use Refine Hair or paint along the edge with the Refine Edge Brush tool.
  5. Set Output To to Layer Mask and click OK.
  6. Choose File > Export > Export As, pick PNG in the Format menu, keep transparency turned on, and click Export.

Frequently asked questions

Why does my PNG from Photoshop still have a white background?

Something opaque is still visible behind the subject, usually the original Background layer or a fill layer, or the file was saved as a JPG, which cannot store transparency. Hide or delete the layers underneath until you see the checkerboard, then export again as PNG with transparency turned on.

What is the difference between Remove Background and Select Subject?

Remove Background finds the subject and adds a layer mask in one click. Select Subject only makes the selection, so you can add to it, subtract from it or refine it in Select and Mask before you turn it into a mask.

Does Photoshop upload my photo to remove the background?

It depends on a setting. Under Image Processing in Photoshop's preferences, the Select Subject and Remove Background menu can be set to Device or Cloud, and Adobe's help says Device is the default.

How do I bring back part of the subject that was cut off?

Click the layer mask thumbnail and paint over the missing area with the Brush tool set to white; painting with black hides pixels again. Because the mask only hides the background, the original pixels are still on the layer.

Should I use Export As or Quick Export?

Export As shows the format, transparency and size settings before it saves, so it is the safer choice for a one-off file. Quick Export saves in one step using the format chosen in your Export preferences, which is handy when you export the same kind of file often.

Why is my transparent PNG larger than the original JPG?

PNG is lossless and carries an extra alpha channel for transparency, so it is usually bigger than a JPG with the same width and height. That is expected and does not mean the export went wrong.