The fastest way: use the eraser tool on a layer without a background
To create a transparent background in Photoshop, you need two things: a layer that supports transparency (not a locked background layer), and a way to remove the parts you want to see through. The simplest path is to unlock your layer, then use the eraser tool to delete the background by hand.
Open your image in Photoshop. Look at the Layers panel on the right side of the screen. If your layer says "Background" with a lock icon next to it, double-click the layer name and click OK in the dialog that appears. This converts it to a regular layer that can have transparent areas. If your layer already has a checkerboard pattern visible behind it in the Layers panel, you are ready to erase.
Select the eraser tool from the toolbox on the left (it looks like a pink eraser), or press E on your keyboard. Adjust the brush size using the bracket keys — [ makes it smaller, ] makes it bigger. Click and drag across the background you want to remove. The checkerboard pattern underneath shows where transparency is working.
Key Takeaways
- Photoshop can only create transparency on layers that are not locked as backgrounds, so you must unlock or convert your layer first.
- The eraser tool works by hand but is slow for large areas; the magic wand or select by color tool is faster when the background is a single color.
- When you save a file with transparency, you must use PNG or TIFF format — JPEG does not support transparent areas and will fill them with white or another color.
- The quick selection tool or object selection tool can isolate your subject automatically, then you invert the selection and delete the background in one step.
Using the magic wand when your background is one solid color
If your background is a single color — white, blue, or any uniform shade — the magic wand tool selects it all at once instead of making you erase piece by piece. This is much faster than the eraser for large backgrounds.
Select the magic wand tool from the toolbox (it looks like a wand with sparkles), or press W on your keyboard. Click once on the background color you want to remove. Photoshop selects all connected pixels of that color. If the selection misses some areas, hold Shift and click those spots to add them to the selection.
Once the background is selected, press Delete or Backspace to remove it. The checkerboard pattern shows through where the background was. If you want to undo and try again, press Ctrl+Z (Windows) or Command+Z (Mac).
Using select by color for backgrounds that are not perfectly uniform
The select by color tool works like the magic wand but finds all pixels of a similar color across the entire image, not just connected ones. This helps when your background has slight variations or shadows.
Select the select by color tool from the toolbox (it looks like a hand pointing at colors), or press Shift+O on your keyboard. Click on the background. Photoshop selects all pixels similar to the one you clicked. If too much or too little is selected, adjust the Tolerance slider at the top of the screen — higher numbers select a wider range of similar colors.
Once you have the background selected, press Delete to remove it. If the selection includes parts of your subject you want to keep, hold Alt (Windows) or Option (Mac) and click those areas to subtract them from the selection before you delete.
Using the quick selection tool for complex backgrounds
When your background is complicated — trees, sky with clouds, or a busy pattern — the quick selection tool lets you paint over your subject instead of trying to select the background. Photoshop then inverts the selection so you are removing everything except what you painted.
Select the quick selection tool from the toolbox (it looks like a brush with a dotted circle), or press W and then click the quick selection icon. Paint over the part of your image you want to keep — your subject, your product, your face. Do not worry about being perfect; paint in broad strokes across the area.
Once your subject is selected, go to the Select menu at the top and click Inverse. Now the background is selected instead. Press Delete to remove it. If you deleted too much or too little, press Ctrl+Z (Windows) or Command+Z (Mac) to undo and try again with a different brush size or tolerance.
Saving your image with the transparent background
Photoshop's native format (PSD) keeps transparency, but most uses — websites, email, printing — need PNG or TIFF. JPEG does not support transparency and will fill transparent areas with a solid color, usually white.
Go to File menu and select Export As. In the dialog that opens, change the filename extension from .psd to .png. Click Export. In the PNG options dialog that appears, leave the settings as they are and click Export again. Your file now has a transparent background that will show through on any website or process that supports PNG.
If you need to edit the image later, save the PSD version as well so you can go back and change the layer or erase more. The PNG is your final version for sharing or uploading.
Fixing edges that look rough or fuzzy
When you erase or select a background, the edge of your subject sometimes looks jagged or has a thin halo of the old background color still clinging to it. This happens because the edge pixels are partially transparent, and Photoshop is trying to blend them.
To clean this up, go to the Select menu and choose Refine Edge (or Select and Mask in newer versions). A dialog opens showing your selection with adjustment sliders. Move the Shift Edge slider slightly to the left to shrink the selection away from your subject's edge, removing that halo. Move the Feather slider to the right to soften the edge so it blends better. Click OK when it looks right.
If the edge is still rough after you delete, you can use the eraser tool with a soft brush at low opacity to gently blend the edge by hand. Set the opacity slider at the top of the screen to 30 or 40 percent, use a soft brush, and paint along the edge to fade it gradually.
When to use the object selection tool instead
Photoshop's object selection tool uses artificial intelligence to recognize what your subject is and select it automatically. This is the fastest option if you have a recent version of Photoshop (2020 or newer) and your subject is a clear, distinct object — a person, a product, an animal.
Select the object selection tool from the toolbox (it looks like a rectangle with a plus sign), or press Shift+O and click the object selection icon. Click and drag a rough rectangle around your subject. Photoshop automatically refines the selection to match the edges of what it recognizes. Go to Select menu, click Inverse, then press Delete to remove the background.
This tool is not perfect — it sometimes includes parts of the background or misses parts of your subject — but it is a good starting point. You can refine the selection by holding Shift and clicking areas to add, or holding Alt (Windows) or Option (Mac) and clicking to subtract.
Frequently Asked Questions
Why does my background stay white when I delete it?
Your layer is still locked as a background layer. Double-click the layer name in the Layers panel and click OK to unlock it. Then delete again. If it is already unlocked and still shows white, you may have a white layer underneath. Check the Layers panel and delete any layers below your main image.
How do I make just one color transparent, not the whole background?
Use the select by color tool, click the color you want to remove, then press Delete. Only that color disappears. If the color appears in multiple places — like a logo and the background — it all gets deleted at once. To keep the color in one place, use the eraser tool by hand instead.
Can I undo after I save the file as PNG?
No. Once you export as PNG, that version is final. Always keep your PSD file as a backup so you can reopen it and make changes. If you need to edit the PNG later, you have to start over or work from the PSD.
What if my subject has transparent areas I want to keep, like a window or a hole?
Use the eraser tool by hand and be careful around those areas, or use the quick selection tool to select only your subject, then invert and delete. The quick selection tool is safer because you control exactly what stays and what goes.
Does the transparent background show up on all websites?
Yes, if the website supports PNG files. Social media sites, email, and most web builders handle PNG transparency correctly. If you upload to a site that only accepts JPEG, the transparent areas will turn white or another solid color.