Move, hide, or invert a selection

You can move a selection border around an image, hide a selection border, and invert a selection so that the previously unselected part of the image is selected.


To move the selection itself, not the selection border, use the Move tool. See Move a selection.

Move a selection border

  1. Using any selection tool, select New Selection  from the options bar, and position the pointer inside the selection border. The pointer changes  to indicate that you can move the selection.
  2. Drag the border to enclose a different area of the image. You can drag a selection border partly beyond the canvas boundaries. When you drag it back, the original border reappears intact. You can also drag the selection border to another image window.
    Photoshop Moving selection border
    Original selection border (left), and selection border moved (right)


    You can apply geometric transformations to change the shape of a selection border. (See Apply transformations.)

Control the movement of a selection

  • To constrain the direction to multiples of 45°, begin dragging, and then hold down Shift as you continue to drag.
  • To move the selection in 1‑pixel increments, use an arrow key.
  • To move the selection in 10‑pixel increments, hold down Shift, and use an arrow key.

Hide or show selection edges

Do one of the following:

  • Choose View > Extras. This command shows or hides selection edges, grids, guides, target paths, slices, annotations, layer borders, count, and Smart Guides.
  • Choose View > Show > Selection Edges. This toggles the view of the selection edges and affects the current selection only. The selection edges reappear when you make a different selection.

Select the unselected parts of an image

  • Choose Select > Inverse.


    You can use this option to select an object placed against a solid-colored background. Select the background using the Magic Wand tool and then invert the selection.

Adjust selections manually

You can use the selection tools to add to or subtract from existing pixel selections.

Before manually adding to or subtracting from a selection, you may want to set the feather and anti-aliasing values in the options bar to the same settings used in the original selection.

Add to a selection or select an additional area

  1. Make a selection.
  2. Using any selection tool, do one of the following:
    • Select the Add To Selection option  in the options bar, and drag to add to the selection.

    • Hold down Shift, and drag to add to the selection.

A plus sign appears next to the pointer when you’re adding to a selection.

Subtract from a selection

  1. Make a selection.
  2. Using any selection tool, do one of the following:
    • Select the Subtract From Selection option  in the options bar, and drag to intersect with other selections.

    • Hold down Alt (Windows) or Option (Mac OS), and drag to subtract another selection.

A minus sign appears next to the pointer when you’re subtracting from a selection.

Select only an area intersected by other selections

  1. Make a selection.
  2. Using any selection tool, do one of the following:
    • Select the Intersect With Selection option  in the options bar, and drag.

    • Hold down Alt+Shift (Windows) or Option+Shift (Mac OS) and drag over the portion of the original selection you want to select.

An “x” appears next to the pointer when you’re selecting an intersected area.

Photoshop Intersected selections
Intersected selections

Expand or contract a selection by a specific number of pixels

  1. Use a selection tool to make a selection.
  2. Choose Select > Modify > Expand or Contract.
  3. For Expand By or Contract By, enter a pixel value between 1 and 100, and click OK.

    The border is increased or decreased by the specified number of pixels. (Any portion of the selection border running along the canvas’s edge is unaffected by the Expand command.)

Create a selection around a selection border

The Border command lets you select a width of pixels inside and outside an existing selection border. This can be useful when you need to select a border or band of pixels around an image area, rather than the area itself, for example to clean up a halo effect around a pasted object.

Photoshop Border command
Original selection (left), and after Border command: 5 pixels (right)

  1. Use a selection tool to make a selection.
  2. Choose Select > Modify > Border.
  3. Enter a value between 1 and 200 pixels for the border width of the new selection, and click OK.

    The new selection frames the original selected area, and is centered on the original selection border. For example, a border width of 20 pixels creates a new, soft-edged selection that extends 10 pixels inside the original selection border and 10 pixels outside it.

Expand a selection to include areas with similar color

Do one of the following:

  • Choose Select > Grow to include all adjacent pixels falling within the tolerance range specified in the Magic Wand options.
  • Choose Select > Similar to include pixels throughout the image, not just adjacent ones, falling within the tolerance range.

    To increase the selection in increments, choose either command more than once.


You cannot use the Grow and Similar commands on Bitmap mode images or 32‑bits-per-channel images.

Clean up stray pixels in a color-based selection

  1. Choose Select > Modify > Smooth.
  2. For Sample Radius, enter a pixel value between 1 and 100, and click OK.

    For each pixel in the selection, Photoshop examines the pixels around it, to the distance you specify in the radius setting. If more than half of these surrounding pixels are selected, the pixel remains in the selection, and the unselected pixels around it are added to the selection. If less than half the surrounding pixels are selected, the pixel is removed from the selection. The overall effect is to reduce patchiness and smooth sharp corners and jagged lines in the selection.

Refine selection edges

Video tutorial: Make perfect selections

Video tutorial: Make perfect selections
Infinite Skills

The Refine Edge option improves the quality of selection edges, letting you extract objects with ease. You can also use Refine Edge options to refine a layer mask. (See Adjust mask opacity or edges.)

  • Click Refine Edge in the options bar, or choose Select > Refine Edge. Then set the following options:

View Mode

From the pop-up menu, choose a mode to change how the selection is displayed. For information about each mode, hover the pointer over it until a tool tip appears. Show Original displays the original selection for comparison. Show Radius displays the selection border where edge refinement occurs.

Edge Detection

Refine Radius and Erase Refinements tools

These tools let you precisely adjust the border area in which edge refinement occurs. To quickly toggle from one tool to the other, press Shift+E. To change the brush size, press the bracket keys.


Brush over soft areas such as hair or fur to add fine details to the selection.

Smart Radius

Automatically adjusts the radius for hard and soft edges found in the border region. Deselect this option if the border is uniformly hard- or soft-edged, or if you want to control the Radius setting and refinement brushes more precisely.


Determines the size of the selection border in which edge refinement occurs. Use a small radius for sharp edges, and a large one for softer edges.

Adjust Edge


Reduces irregular areas (“hills and valleys”) in the selection border to create a smoother outline.


Blurs the transition between the selection and surrounding pixels.


When increased, soft-edged transitions along the selection border become more abrupt. Typically, the Smart Radius option and refinement tools are more effective.

Shift Edge

Moves soft-edged borders inward with negative values or outward with positive ones. Shifting these borders inward can help remove unwanted background colors from selection edges.


Decontaminate Colors

Replaces color fringes with the color of fully selected pixels nearby. The strength of color replacement is proportionate to the softness of selection edges.


Because this option changes pixel color, it requires output to a new layer or document. Retain the original layer so you can revert back to it if needed. (To easily see changes in pixel color, choose Reveal Layer for the View Mode.)


Changes the level of decontamination and fringe replacement.

Output To

Determines whether the refined selection becomes a selection or mask on the current layer, or produces a new layer or document.

Soften the edges of selections

You can smooth the hard edges of a selection by anti-aliasing and by feathering.


Smooths the jagged edges of a selection by softening the color transition between edge pixels and background pixels. Because only the edge pixels change, no detail is lost. Anti-aliasing is useful when cutting, copying, and pasting selections to create composite images.

Anti-aliasing is available for the Lasso tool, the Polygonal Lasso tool, the Magnetic Lasso tool, the Elliptical Marquee tool, and the Magic Wand tool. (Select a tool to display its options bar.)


You must specify this option before using these tools. After a selection is made, you cannot add anti-aliasing.


Blurs edges by building a transition boundary between the selection and its surrounding pixels. This blurring can cause some loss of detail at the edge of the selection.

You can define feathering for the Marquee tools, the Lasso tool, the Polygonal Lasso tool, or the Magnetic Lasso tool as you use the tool, or you can add feathering to an existing selection.


Feathering effects become apparent only after you move, cut, copy, or fill the selection.

Select pixels using anti-aliasing

  1. Select the Lasso tool, the Polygonal Lasso tool, the Magnetic Lasso tool, the Elliptical Marquee tool, or the Magic Wand tool.
  2. Select Anti-aliased in the options bar.

Define a feathered edge for a selection tool

  1. Select any of the lasso or marquee tools.
  2. Enter a Feather value in the options bar. This value defines the width of the feathered edge and can range from 0 to 250 pixels.

Define a feathered edge for an existing selection

  1. Choose Select > Modify > Feather.
  2. Enter a value for the Feather Radius, and click OK.


    A small selection made with a large feather radius may be so faint that its edges are invisible and thus not selectable. If you see the message “No pixels are more than 50% selected,” either decrease the feather radius or increase the size of the selection. Or click OK to accept the mask at its current setting and create a selection in which you cannot see the edges.

    Photoshop Selection with and without feathering
    Selection without feathering and with feathering

    A. Selection with no feather, same selection filled with pattern B. Selection with feather, same selection filled with pattern 

Remove fringe pixels from a selection

When you move or paste an anti-aliased selection, some of the pixels surrounding the selection border are included with the selection. This can result in a fringe or halo around the edges of the pasted selection. These Layer > Matting commands let you edit unwanted edge pixels:

  • Color Decontaminate replaces background colors in fringe pixels with the color of fully selected pixels nearby.

  • Defringe replaces the color of fringe pixels with the color of pixels farther in from the edge of the selection that lack the background color.

  • Remove Black Matte and Remove White Matte are useful when a selection is anti‑aliased against a white or black background and you want to paste it onto a different background. For example, anti‑aliased black text on a white background has gray pixels at the edges, which are visible against a colored background.


You can also remove fringe areas by using the Advanced Blending sliders in the Layer Styles dialog box to remove, or make transparent, areas from the layer. In this case, you would make the black or white areas transparent. Alt-click (Windows) or Option-click (Mac OS) the sliders to separate them; separating the sliders allows you to remove fringe pixels and retain a smooth edge.

Decrease fringe on a selection

  1. Choose Layer > Matting > Defringe.
  2. Enter a value in the Width box to specify the area in which to search for replacement pixels. In most cases, a distance of 1 or 2 pixels is enough.
  3. Click OK.

Remove a matte from a selection

  • Choose Layer > Matting > Remove Black Matte or Layer > Matting > Remove White Matte.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy