The fastest way to remove a white background
Use the Select Subject tool if your image has a clear subject against a white background. Go to Select > Subject, and Photoshop will automatically detect and select the main object. Then go to Select > Inverse to select the background instead, and press Delete. This works best when there is strong contrast between your subject and the white background.
If Select Subject does not isolate your object cleanly, use the Magic Wand (also called the Fuzzy Select tool). Click on the white background once, and it will select all connected white pixels. Adjust the Tolerance slider at the top if it selects too much or too little — higher numbers select similar colors across the whole image, lower numbers select only very similar shades. Once the background is selected, press Delete to remove it.
Before you delete anything, make sure your layer has transparency enabled. If your image is a locked Background layer, double-click it in the Layers panel and click OK to convert it. Photoshop cannot delete pixels on a locked layer — it will fill the deleted area with your foreground color instead.
Key Takeaways
- Convert your Background layer to a regular layer by double-clicking it in the Layers panel, or the Delete key will fill the area with color instead of creating transparency.
- Select Subject (Select > Subject) works fastest when your object has clear edges and strong contrast against white.
- The Magic Wand tool selects all connected white pixels at once; adjust Tolerance to include or exclude similar shades of near-white.
- For ragged edges or fine details like hair, use the Quick Mask mode to paint your selection by hand before deleting.
Using the Magic Wand for precise control
The Magic Wand is more predictable than Select Subject when you have an off-white or slightly textured background. Click the Magic Wand tool in the toolbox (it looks like a wand with sparkles), then click once on the white background in your image. The tool will select all connected pixels of similar color.
The Tolerance setting at the top controls how similar a pixel must be to the one you clicked. A tolerance of 10 selects only very similar whites; a tolerance of 50 selects a wider range of near-white shades. If your first click misses some white areas, hold Shift and click on the missed areas to add them to the selection. Hold Alt (or Option on Mac) and click to subtract from the selection.
Once the white background is fully selected, press Delete to remove it. If some white remains, go to Select > Modify > Expand, enter 1 or 2 pixels, and delete again to catch the edges.
Removing backgrounds with the Quick Mask for detailed edges
When your subject has fine details — like hair, fur, or thin branches — the automatic tools often leave white halos or cut into the edges. The Quick Mask mode lets you paint your selection by hand for pixel-level control.
First, make a rough selection of the background using Magic Wand or Select Subject. Then press Q to enter Quick Mask mode. Your image will show a red overlay over the unselected areas. Use the Paintbrush tool to paint over any white you want to remove — paint red over it to add it to the selection, or hold Alt and paint to remove areas from the selection. Adjust your brush size and hardness at the top as needed.
When your selection looks right, press Q again to exit Quick Mask and return to the normal selection. Press Delete to remove the background. This method takes longer but gives you the cleanest results on complex edges.
Handling backgrounds that are not pure white
If your background is off-white, cream, or has a slight gradient, the Magic Wand may leave patches behind. Increase the Tolerance value — start at 30 and click on the background. If it still misses areas, undo (Ctrl+Z or Cmd+Z) and try a higher tolerance like 50 or 60.
Another option is the Select by Color tool, which works across the entire image rather than selecting only connected pixels. Click Select by Color in the toolbox, then click on the background. Adjust Tolerance the same way. This is useful when your background has multiple disconnected white areas or slight color variations.
If your background has a soft shadow or gradient that fades to white, neither tool will catch it cleanly. In that case, use Quick Mask to paint over the remaining background by hand, or use the Eraser tool set to a low opacity (20–40%) to gradually fade out the remaining white.
Saving your image with transparency
Once you have deleted the background, you need to save in a format that preserves transparency. Photoshop's native PSD format keeps transparency, but so do PNG and GIF. Do not save as JPEG — JPEG does not support transparency and will fill the transparent area with white or your background color.
To save as PNG, go to File > Export As, choose PNG from the Format dropdown, and click Export. PNG is the standard format for images with transparent backgrounds and works on websites, in presentations, and in design software.
If you are sending the file to someone else or using it in another program, PNG is the safest choice. If you need to make more edits later, keep a copy in PSD format so you can reopen the layers and selection.
Fixing halos and rough edges after deletion
After you delete the background, you may see a thin white or gray line around your subject — this is called a halo. It happens because the original background color was partially mixed into the edge pixels. To remove it, go to Layer > Matting > Defringe. Set the width to 1 or 2 pixels and click OK. Photoshop will blend the edge pixels to remove the halo.
If the edges still look rough or jagged, use the Eraser tool with a soft brush at low opacity (30–50%) to gently erase any remaining white pixels. Work slowly and zoom in (Ctrl+Plus or Cmd+Plus) to see the edges clearly. A soft brush will feather the edge and make it blend better when you place the image on a new background.
For a more polished look, you can also add a slight blur to the edge. Select the edge area with the Lasso tool, go to Filter > Blur > Feather, and set the radius to 1 or 2 pixels. This softens the transition between your subject and whatever background you place it on later.
Frequently Asked Questions
Why does the Delete key fill the area with color instead of making it transparent?
Your layer is locked as a Background layer. Double-click the Background layer in the Layers panel and click OK to unlock it. Once it is a regular layer, Delete will create transparency instead of filling with color.
Can I remove a white background from a photo with people or objects in front of it?
Yes, but it depends on the edges. If the person or object has clean, simple edges, Select Subject or Magic Wand will work. If there is hair, fur, or fine details, use Quick Mask mode to paint the selection by hand for better control over what stays and what goes.
What if my background is not pure white but off-white or slightly gray?
Use the Magic Wand or Select by Color tool and increase the Tolerance value to 40–60 to catch the range of near-white shades. Test on a small area first by undoing if the selection is too broad. You can also use Quick Mask to paint over any remaining background by hand.
Should I save as PNG or PSD after removing the background?
Save as PNG if you are using the image on a website, in a presentation, or sending it to someone else. PNG preserves transparency and works everywhere. Keep a PSD copy if you might need to edit the layers again later. Never save as JPEG — it does not support transparency.
How do I fix the white halo around my subject after deleting the background?
Go to Layer > Matting > Defringe and set the width to 1–2 pixels. This blends the edge pixels to remove the halo. If the edges still look rough, use the Eraser tool with a soft brush at low opacity to gently clean them up, or apply a slight feather blur to soften the transition.