How to Change a Background in Photoshop

Change a background in Photoshop with a layer mask — or do it in one click.

7 min read · 换背景教程

How to Select Your Subject in Photoshop

Changing a background in Photoshop comes down to two jobs: separate your subject from the old background, then drop in a new one. The separation is the hard part, and Photoshop's AI selection tools do most of it for you.

Open your image (File ▸ Open). Go to Select ▸ Subject — Photoshop detects the main object and builds a selection around it. For busy photos, refine it with the Object Selection tool (W) brushed over the subject. The 'marching ants' now trace your subject.

In the Select and Mask workspace (Select ▸ Select and Mask), set Smooth to 2–3 and Feather to 1–2 px for a clean edge, then output the result to a Layer Mask. Your subject is now isolated, non-destructively — the original pixels are untouched.

How to Hide the Old Background with a Layer Mask

With the subject selected, click the Add Layer Mask button at the bottom of the Layers panel. A black-and-white thumbnail appears next to your image: white shows the subject, black hides the background. The old background is now gone, replaced by transparency (shown as a checkerboard).

Because a mask hides rather than deletes, every step is reversible. Paint with a black brush on the mask to hide more, a white brush to bring it back. This is what makes background changes safe to refine.

How to Change the Background Color

To change the background color, add a Solid Color fill layer: Layer ▸ New Fill Layer ▸ Solid Color, and drag it below your subject layer. Pick any color — pure white, soft cream, neutral grey — and it fills the background instantly.

Changing the background color to white is the most common case, since Amazon, Shopify, and eBay all ask for white-background listings. One fill layer and the subject sits on clean white.

How to Change the Background to Another Picture

To place the subject on a new photo, open the new background image (File ▸ Open), drag its layer into your document, and send it below the masked subject. Resize it with Free Transform (Ctrl/Cmd+T) so it fills the frame.

For a believable composite, match the lighting: add a Curves or Color Balance adjustment clipped to the subject layer so its brightness and color temperature match the new background, and paint a soft contact shadow beneath it.

How to Export the Finished Image

When the new background is in place, export the result. Use File ▸ Export ▸ Export As and choose PNG to keep any transparency, or JPG for a flat, shareable file.

Keep the original .psd so you can swap backgrounds again later without re-selecting — the mask and layers stay editable.

Photoshop vs a One-Click AI Background Changer

Photoshop gives you total control, but selecting, masking, color-matching, and shadow-painting take 5 to 15 minutes per image and real practice to look natural.

An AI background changer like deervo does all of it in one click: it cuts out the subject, swaps in the new background — color, studio, or a described scene — and relights the subject to match. Upload, pick, download. Try it free with no signup required.

Frequently asked questions

How do I change the background in Photoshop?

Open the image, use Select ▸ Subject (or the Object Selection tool) to grab your subject, invert the selection so the background is selected, add a Layer Mask to hide the old background, then place a new background layer beneath and export as PNG or JPG.

How do I change the background color in Photoshop?

Select your subject, invert so the background is selected, add a Layer Mask, then add a Solid Color adjustment layer (Layer ▸ New Fill Layer ▸ Solid Color) below the subject. Pick any color and it fills the background instantly.

How do I change a photo background to white?

Select the subject, add a Layer Mask to cut it out, then create a white Solid Color fill layer underneath. The subject now sits on pure white — the standard for Amazon and marketplace listings.

How do I change the background of a picture to another picture?

Cut out the subject with Select Subject and a Layer Mask, open your new background image as a layer, and drag it below the subject layer. Resize and reposition it, then match the lighting with a Curves or Color Balance adjustment.

What is the fastest way to change a background?

A one-click AI background changer. Upload the photo, pick a color or describe a scene, and the tool cuts out the subject and composites it onto the new background — including relighting — in seconds, with no mask to paint.

How do I remove a background in Photoshop?

Use Select ▸ Subject, then click the Add Layer Mask button in the Layers panel. The background disappears, leaving the subject on transparency. Export as PNG to keep it transparent, or place a new background beneath.

Does changing the background in Photoshop lose quality?

No. Using a layer mask (not deleting pixels) is non-destructive, so the original stays intact. Keep the mask soft by feathering the edge 1–2 px so the subject blends onto the new background.

Photoshop vs an AI background changer?

Photoshop gives full manual control but takes several minutes per image and practice to get clean edges and matching light. An AI background changer like deervo handles cut-out, compositing, and relighting in one click — try it free with no signup.

How do I change the background in Canva?

In Canva, select the photo and use the Background Remover effect (a Canva Pro feature), then drag a new image or color behind it. For a free path, use a dedicated background changer, then bring the result back into Canva.

Can I change the background of an image online for free?

Yes. deervo's background changer has a free demo mode — no signup, no install. Upload a photo, pick a new background, and download. For AI-grade cut-outs and relighting, add a Replicate key.

Related searches
how to change background in photoshopchange background in photoshophow to change background color in photoshopchange background photoshophow to change a background in photoshophow to change the background in photoshophow to change background of photo in photoshophow to change background to white in photoshophow to change background color in photoshop to whitehow to change background of a picture in photoshophow to change background picture in photoshophow to change the background of a photo in photoshophow to change background image in photoshopphotoshop change backgroundphotoshop background changechange background color photoshophow to remove background in photoshophow to change background in canvahow to change photo background to whitechange background online freebackground changerchange background of photohow to change backgroundai background changerfree background changer