The fastest way to change a background in Photoshop

Open your image in Photoshop, then use the Select Subject tool to isolate the person or object you want to keep. Photoshop will automatically detect the edges and select everything except the background. Once the subject is selected, delete the background layer or add a new layer behind it with your chosen color or image. This method works best when your subject has clear edges and contrasts with the background.

If Select Subject does not work cleanly — for instance, if your subject has wispy hair or blends into the background — switch to the Quick Selection Tool or the Magic Wand to manually refine the selection. Both let you click and drag to select the background instead, which is often faster than selecting the subject itself.

The entire process takes between five and fifteen minutes depending on how clean your image edges are and how much manual adjustment you need. You do not need advanced skills; the tools are designed to handle most everyday photos.

Key Takeaways

  • Select Subject is the fastest starting point for most photos because Photoshop detects your subject automatically and selects everything else.
  • If automatic selection leaves rough edges, use Quick Selection or Magic Wand to manually adjust the selection before you delete or replace the background.
  • You can delete the background entirely to make it transparent, or add a solid color or image layer behind your subject.
  • Feathering the selection edge by 1 to 3 pixels before you delete prevents harsh, unnatural-looking borders around your subject.

Using Select Subject for automatic background removal

Open your image in Photoshop. Go to the top menu and click Select, then choose Subject. Photoshop analyzes the image and draws a selection border around the main subject — usually a person, animal, or object — leaving the background unselected.

Once the selection is active, you will see the marching ants (animated dotted line) around your subject. Check the selection carefully. If it includes parts of the background or misses parts of your subject, you can refine it using the Quick Selection Tool. Click the Quick Selection Tool in the toolbox on the left, then paint over the areas you want to add or subtract from the selection.

When the selection looks correct, press Delete to remove the background. If your image has a background layer (indicated by a lock icon in the Layers panel), Photoshop will fill the deleted area with the foreground color. To avoid this, first convert the background layer to a regular layer by double-clicking it in the Layers panel and clicking OK. Then delete again, and the background will become transparent.

Switching to Quick Selection or Magic Wand for difficult edges

Select Subject works well for clear subjects, but fails on images where the subject blends into the background or has soft, detailed edges like hair or fur. In these cases, use the Quick Selection Tool instead. Click the Quick Selection Tool in the toolbox (it looks like a wand with a dotted circle), then click and drag across the background you want to remove. Photoshop expands the selection as you drag, following similar colors and edges.

If Quick Selection selects too much or too little, hold Alt (or Option on Mac) and click to subtract from the selection, or click without holding Alt to add to it. Work in small strokes rather than one long drag; small strokes give you more control. Once the background is fully selected, press Delete to remove it.

The Magic Wand is an older tool that works similarly but selects based on color alone. It is useful when your background is a single solid color or a straightforward gradient. Click the Magic Wand in the toolbox, then click the background color. Adjust the Tolerance setting (at the top of the screen) to control how many similar colors get selected — higher tolerance selects more colors, lower tolerance selects fewer.

Replacing the background with a solid color or image

After you remove the background, you can replace it with a solid color, a gradient, or another image. To add a solid color, create a new layer below your subject layer. Click Layer in the top menu, then New, then Layer. In the dialog, click OK. This new layer appears below your subject in the Layers panel.

With the new layer selected, choose your color from the color picker (the two overlapping squares in the toolbox), then go to Edit and click Fill. Choose Foreground Color and click OK. The new layer fills with your chosen color, and your subject now appears in front of it.

To use an image as the background instead, open that image as a layer. Go to File, then Open as Layers, and select the image file. Photoshop places it as a new layer. Drag this layer below your subject layer in the Layers panel. If the background image is larger or smaller than your canvas, use the Move Tool to position it, or the Scale Tool (Edit > Transform > Scale) to resize it.

Feathering the selection to avoid harsh edges

When you delete a background, the edge between your subject and the new background can look sharp and unnatural, especially if the original background was soft or blurred. To soften this edge, feather the selection before you delete. Feathering blurs the selection border slightly, creating a gradual transition.

After you make your selection with Select Subject or Quick Selection, go to Select in the top menu and click Modify, then Feather. Enter a value between 1 and 3 pixels (start with 2 if you are unsure), then click OK. Now delete the background. The edge will be softer and blend more naturally with whatever background you add.

Feathering is especially important if your original photo had a blurred or out-of-focus background. A sharp edge on your subject will look wrong against a soft new background.

Handling transparent backgrounds and exporting

Once you remove the background, your image has a transparent layer (shown as a checkerboard pattern in Photoshop). You can save this as a PNG file to preserve the transparency, or flatten it onto a solid color before saving as a JPEG.

To save as PNG, go to File, then Export As. Choose PNG from the format dropdown and click Export. PNG preserves transparency and works on websites and in documents that support it.

To flatten the image onto a background color, first add a solid color layer below your subject (as described in the "Replacing the background" section). Then go to Image and click Flatten Image. This merges all layers into one. Now you can save as JPEG or any other format. Flattening is useful if you need a smaller file size or are sending the image to someone who cannot open transparent files.

Common problems and how to fix them

The selection includes part of the background. Use the Quick Selection Tool to subtract the unwanted area. Hold Alt (or Option on Mac) and click or drag over the area you want to remove from the selection. Work in small strokes for precision.

The selection misses part of your subject. Hold Alt and click to add back the missing area. If the selection is too rough overall, start over with Select Subject and adjust the tolerance or threshold settings in the tool options at the top of the screen.

The edge looks jagged or unnatural after deletion. Undo the deletion (Ctrl+Z or Command+Z), then feather the selection by 2 to 3 pixels before deleting again. If the edge still looks rough, use the Eraser Tool with a soft brush to manually blend the edges.

The new background shows through the subject. Check the layer order in the Layers panel. Your subject layer must be above the background layer. Click and drag the subject layer upward if needed.

Frequently Asked Questions

Can I change the background without removing it completely?

Yes. Instead of deleting the background, you can paint over it or blur it. Select the background using the methods above, then use the Blur Tool or explore a filter like Gaussian Blur from the Filter menu. This keeps the original background but makes it less distracting behind your subject.

What if my subject has fine details like hair that the selection tool misses?

Use the Refine Edge option after making your selection. Go to Select > Modify > Refine Edge, then adjust the Radius and Contrast sliders to improve the edge detection. You can also manually paint over missed areas with the Quick Selection Tool while holding Alt to subtract unwanted parts.

How do I make the background transparent instead of a solid color?

After removing the background, do not add a new layer below your subject. Save the file as PNG instead of JPEG. PNG supports transparency; JPEG does not. The checkerboard pattern you see in Photoshop will become transparent when you export.

Can I change the background on a photo with a complex background like trees or buildings?

Complex backgrounds are harder because the selection tools struggle with irregular edges. Use Quick Selection and manually refine the selection by painting over problem areas. For very detailed work, consider using the Pen Tool to draw the selection by hand, though this takes longer.

What file format should I use to save my edited image?

Use PNG if you want to keep the transparent background. Use JPEG if you have added a solid color or image background and want a smaller file size. Use PSD (Photoshop's native format) if you want to save your layers and edit the image again later.