The fastest way: use the Select Subject tool and delete

Open your image in Photoshop. Go to Select > Subject. Photoshop will automatically outline the main object in your photo — usually a person, product, or animal. Once it finishes, go to Select > Invert to flip the selection so the background is selected instead of your subject.

Press Delete or Backspace. If your image has a background layer (not a transparent layer), Photoshop will fill the deleted area with your foreground color. To make it transparent instead, first convert your layer: right-click the layer in the Layers panel and choose Convert to Smart Object, then delete. The background will become transparent, shown as a checkerboard pattern.

If you want a solid color or a different image behind your subject, you can now add a new layer below your subject layer and fill it with color, a gradient, or paste in a new background image.

Key Takeaways

  • The Select Subject tool finds your main object automatically, then you invert the selection to target the background instead.
  • Deleting the background works best on a transparent layer, which shows as a checkerboard pattern in Photoshop.
  • If the automatic selection misses parts of your background, use the Quick Selection tool or Refine Edge to adjust the outline by hand.
  • You can replace the background with a solid color, a gradient, or a different image by adding a new layer underneath your subject.

When automatic selection isn't precise enough

The Select Subject tool works well for clear, straightforward images — a person against a plain wall, a product on white. It struggles with messy backgrounds, hair that blends into the sky, or objects with holes (like a chair back or a wreath).

If the selection includes parts of the background you want to keep, or misses parts you want to remove, use Select > Refine Edge (or Select and Mask in newer versions). A panel opens where you can paint over the edges to adjust them. Paint in red to add to the selection, paint in green to subtract from it. The preview shows you in real time what will be deleted.

For very detailed work — like separating hair from sky — zoom in close and use the Quick Selection tool (keyboard shortcut W) to paint over the areas you want selected. Hold Alt and paint to subtract from the selection. This takes longer but gives you pixel-by-pixel control.

Replacing the background with a solid color or gradient

Once your subject is selected and the background is deleted (or transparent), create a new layer below your subject layer. In the Layers panel, click the plus icon to add a layer, then drag it below your subject in the stack.

To fill it with a solid color: select your new layer, choose a color from the color picker, then go to Edit > Fill and choose Foreground Color. To use a gradient instead, select the Gradient tool from the toolbar, choose a gradient style from the options bar, and drag across your new layer.

If you want a more complex background — a pattern, a texture, or a photo — paste or open that image on your new layer instead. You can scale it with Edit > Transform > Scale to fit behind your subject.

Using the Object Selection tool for tricky backgrounds

If your subject has irregular edges or sits against a complicated background, try the Object Selection tool instead of Select Subject. It is in the toolbar on the left (it looks like a rectangle with a plus sign). Draw a loose box around your subject — you do not have to be precise. Photoshop will find the edge and outline it.

This tool often handles hair, fur, and transparent objects better than Select Subject because it focuses on the shape you indicate rather than guessing what the main object is. Once the outline is drawn, invert the selection as before and delete the background.

Keeping parts of the original background

Sometimes you want to remove only part of the background — say, blur it instead of deleting it, or remove a distracting object but keep the sky. In these cases, make your selection more specific. Use the Lasso tool (keyboard shortcut L) to draw around just the area you want to change, or use Select > Subject and then refine it to exclude the parts you want to keep.

Once you have selected only the part you want to change, you can delete it, blur it with Filter > Blur > Gaussian Blur, or paint over it with the Clone tool. The Clone tool (keyboard shortcut S) lets you copy pixels from one part of the image and paint them over another — useful for removing unwanted objects while keeping the background texture.

Exporting your image with a transparent background

If you removed the background and want to keep it transparent (the checkerboard pattern), you must save as PNG or TIFF, not JPG. JPG does not support transparency and will fill transparent areas with white or your background color.

Go to File > Export As, choose PNG from the dropdown, and click Export. A PNG options dialog will appear — the default settings preserve transparency. If you save as PSD (Photoshop's native format), you can always come back and edit the layers later.

If you added a new background layer and want to flatten everything into one image, go to Image > Flatten Image before exporting as JPG. This merges all layers and fills any transparent areas with your background color.

Common mistakes and how to avoid them

The most common mistake is deleting the background on a regular layer instead of a transparent one, which fills the deleted area with your foreground color instead of making it see-through. Before you delete, check the Layers panel: if your layer says "Background" with a lock icon, right-click it and choose Convert to Smart Object or Layer from Background.

Another mistake is selecting too much or too little. If Select Subject grabs part of your subject, undo (Ctrl+Z or Cmd+Z), then try the Object Selection tool instead. If it misses part of the background, use Refine Edge to paint in the missing areas before you delete.

A third mistake is exporting as JPG when you meant to keep the background transparent. Always check your file format before you export. If you are unsure, PNG is the safer choice — it preserves transparency and quality without the file size of TIFF.

Frequently Asked Questions

Can I undo a background deletion if I already saved the file?

Only if you saved as PSD (Photoshop format) with the layers still separate. If you flattened the image or exported as JPG, the deleted background is gone. Always keep a PSD version with layers intact before you flatten or export, so you can go back and make changes later.

Why does my selection include hair or fur that I want to keep?

Hair and fur are hard for automatic tools because they are thin and blend into the background. Use Refine Edge to paint green over the hair you want to keep, which subtracts it from the selection. Zoom in close and paint carefully along the edges. You may need to do this by hand rather than relying on the automatic selection.

What if the background is the same color as my subject?

Automatic selection will struggle because it cannot tell where one ends and the other begins. Use the Lasso tool to draw around your subject by hand, or use the Quick Selection tool and paint carefully along the edge. This takes longer but gives you control when color similarity confuses the automatic tools.

Can I blur the background instead of deleting it?

Yes. Select the background using Select Subject and Invert, then go to Filter > Blur > Gaussian Blur. Adjust the radius slider to control how blurry it becomes. This keeps the original background but makes it less distracting behind your subject.

What is the difference between PNG and TIFF for transparent backgrounds?

Both preserve transparency, but PNG is smaller and works everywhere (web, email, social media). TIFF is larger and is mainly used for print or archival. For most purposes, PNG is the right choice. Use TIFF only if a printer or designer specifically asks for it.