Category:
Summary:
Use Content-Aware Fill in Photoshop to remove objects by making a clean selection, tuning the sampling area, and committing the fill for natural results.

The short version

Content-Aware Fill in Photoshop is a selection-based repair tool. You select the object or the empty strip you want filled, open the Content-Aware Fill workspace, decide which surrounding pixels Photoshop is allowed to sample, then commit the result. Adobe's own help page reduces the whole job to four moves — and the third one carries nearly all of the quality difference.

  1. Select the object
  2. Open Content-Aware Fill
  3. Tune the sampling area
  4. Commit with OK

How Content-Aware Fill Removes an Object in Four Steps

The official Photoshop help page gives the shortest complete version of the workflow. It is genuinely four steps, and everything else in this article is elaboration on step three.

  1. Make a selection around the object — Use the Object Selection tool, the Quick Selection tool, or the Magic Wand tool. The selection defines the hole you are asking Photoshop to fill.
  2. Right-click inside the selection and choose Content-Aware Fill — The context menu entry launches the Content-Aware Fill workspace rather than a simple dialog box.
  3. Adjust the sampling area in the workspace — The sampling area controls which pixels are used for the fill. Change it and the result changes; leave it on the default and you accept whatever Photoshop proposed.
  4. Select OK to commit — OK replaces the selected object with surrounding pixels. Until you press it, nothing has been written to the file.

Make a Selection With Object Selection, Quick Selection, or Magic Wand

Any of the three documented selection tools will start the job, but they are not interchangeable in practice. Object Selection is the one to reach for when you want a single object out of a scene that contains several — drag a loose rectangle or lasso around the item, and the tool identifies the object inside the area you defined and shrinks the selection to the object's edges. You do not have to trace the outline yourself.

Quick Selection suits regions defined by tone and texture rather than clear boundaries: a stretch of wall, a patch of sand, a sweep of sky. Magic Wand suits flat, uniform areas where a single click can pick up a contiguous block of similar colour. Neither gives you the object-detection behaviour of Object Selection, and both will happily grab more than you intended if the tones are close.

What matters downstream is not which tool you used but what the resulting edge looks like. Content-Aware Fill samples from outside the selection and reconstructs inside it, so a selection that cuts through the middle of a soft shadow or a gradient forces the tool to invent a boundary that was never there. A slightly generous selection usually beats a razor-tight one — there is a dedicated section on that below.

Beach photograph of a woman in a white dress, a child in a straw hat, and a dog, used as the starting point for a content aware fill Photoshop selection

Every Content-Aware Fill job starts the same way: a selection around the thing you want gone, made before the workspace ever opens.

Open the Workspace From the Selection or the Edit Menu

There are two documented routes into Content-Aware Fill and they do not read identically:

  • Right-click inside the selection and choose Content-Aware Fill. This is the path Adobe's object-removal page documents.
  • Choose Edit > Content-Aware Fill. This is the path described in the workspace walkthroughs, and it will be familiar to anyone who learned the tool from the menu bar.

Both routes are reachable with an active selection, and on current builds either one will drop you into the same split-view workspace. The practical trap is the older fill dialog, which is a different command: it is a compact box with a Mode dropdown and an opacity slider, and it offers a Content-Aware option in that dropdown. If the panel you opened does not show a green overlay on the left and a live preview on the right, you are not in the workspace. Close it without applying anything and use the other route.

Quick identification

The Content-Aware Fill workspace always shows a two-up view: sampling on the left, preview on the right, with a settings panel down one side. A small floating dialog with a blend-mode dropdown is the legacy fill command, not the workspace.

Set the Sampling Area and Commit the Fill

The sampling area is the single most misunderstood control in the tool. It is not a mask around the object and it is not a feather setting — it is a permissions layer. Everything inside the green sampling region is fair game as material; everything outside it is off-limits, no matter how perfect a match it would have been.

That is why the same selection can produce a clean result and a smeared one on two consecutive attempts: the fill is only as good as the material it was allowed to read. Once the sampling area is right, OK replaces the selected area with surrounding pixels and closes the workspace.


What Content-Aware Fill Actually Does in Photoshop

Strip away the interface and the tool does one thing. As the Photoshop Elements documentation puts it, content-aware fill "seamlessly fills a selected portion of an image with similar image content from surrounding parts of the photo." Photoshop's desktop help describes the same mechanic from the other direction: the point is to remove objects from your images and fill the area with the surrounding pixels.

The workspace adds analysis on top of that. It examines the image to find suitable surrounding detail to intelligently replace the selected area, then hands you controls for fine-tuning what it produced. So there are really two layers to understand: the substitution (pixels from outside replace pixels inside) and the controls that decide which pixels from outside are eligible.

  • Scope — Desktop Photoshop. Photoshop Elements documents a single content-aware fill action rather than the split-preview workspace, so treat the workspace steps here as desktop steps.
  • Version language — The workflow has stayed consistent across recent releases; tutorials recorded for Photoshop 2022 and Photoshop CC 2021 describe the same select-then-fill loop.
  • Prerequisite — An active selection on an editable layer. No selection means no fill target.
  • Output — Pixels inside the selection are replaced. Where those pixels land — current layer or a fresh layer — is a setting, not a fixed behaviour.

One clarification worth making early, because it explains a lot of confused forum threads: the tool does not search the internet, and it does not know what was behind your subject. It reads the pixels in the sampling area and blends a plausible continuation of them. When a photo contains a texture that repeats, that blend is convincing. When it does not, the tool has nothing to work with, and no number of re-runs will create information that was never in the frame.


The Content-Aware Fill Workspace Gives You the Real Controls

The workspace is where the tool stops being a one-click trick and starts being a retouching instrument. Hold one mental model for the whole panel: the left view is permission, the right view is prediction. Everything you do on the left changes what Photoshop is allowed to look at; everything on the right tells you whether that permission produced a usable patch.

A Fast Fill and the Controlled Workspace Solve Different Problems

There is a framing that fits this tool well: two ways to do the same job, where one is just a click or two and mostly automatic, and the other takes longer but gives you more control. That description comes from the simple-versus-advanced breakdown of the tool, and it is a useful way to decide how much time to spend before you start.

Reach for the automatic, selection-and-confirm path when the background behind the object is simple and evenly lit — a plain wall, open sky, sand, calm water. The fill will be close enough that tuning it costs more time than it saves. Open the workspace instead when the background has structure: railing, foliage, brick, fabric folds, architecture, or any gradient that has to continue in a specific direction. Structured backgrounds are exactly where the default sampling area guesses wrong.

Comparison graphic showing the simple Fill dialog and the advanced content aware fill Photoshop workspace side by side

The two paths into the tool: a quick Fill dialog on one side, the full Content-Aware Fill workspace on the other.

The Green Overlay Shows What Photoshop Is Allowed to Sample

In the left view, a green overlay marks the sampling area — the region Photoshop is considering as raw material for the fill. The right view shows a live preview of the fill itself, updating as you refine. Read the green as a shopping list, not as a warning zone.

This has a practical consequence that is easy to miss. If a bright window, a white shirt, or a strongly colour-cast object sits inside the green region, Photoshop may well pull that brightness or that colour cast into the patch. The result is not a bug and it is not random: it is the tool using material you implicitly authorised. Painting that region out of the sampling area is usually faster than re-running the fill and hoping.

Content aware fill Photoshop workspace showing three women on a wooden bridge with a sampling mask applied to one subject

Left side: the green sampling overlay. Right side: the live preview of what the fill would produce. The selection mask sits on the subject in both.

Choose Auto, Rectangular, or Custom Sampling

Three sampling modes control how the green region is defined. They are not difficulty levels — they are different answers to the question "where should the replacement material come from?"

Sampling modes and when each one earns its place

Mode What it does Use it when
Auto Intelligently determines which areas to sample based on colour and texture. Your default first attempt. Good for mixed backgrounds where you cannot easily predict which region holds the matching texture.
Rectangular Creates a rectangular sampling area around the selection. The texture is spatially predictable — a wall running past the subject, a sky that continues horizontally, a floor plane you can extend in one direction.
Custom Removes the current green sampling area so you can paint your own with the Sampling Brush. Auto keeps pulling in a mismatched region — a different material, a strong colour cast, a bright highlight — and you know exactly which area should supply the patch.

The order of operations that wastes the least time: start on Auto, look at the right-hand preview, and only then decide. If the preview reads as the right material but the wrong brightness, that is an adaptation-control problem, not a sampling problem. If the preview reads as the wrong material entirely, change the sampling area before you touch anything else.

Paint the Sampling Area With the Sampling Brush

The sampling modes are not the only way to change what gets sampled. The Sampling Brush has add and subtract modes, and it can refine the sampling region on top of Auto, Rectangular, or Custom — you do not have to switch to Custom before you touch it.

In practice, subtract mode is the one you will use most. Keep Auto, then paint away the regions you do not want read: a blown-out window, a watermark, a strongly lit corner, the subject's own cast shadow. Add mode is useful in the opposite direction — dragging an extra patch of the correct texture into the permission set when Auto is being conservative.

Recommended workflow

Run the fill once on Auto. Before committing, look for anything green that should not influence the result — a highlight, a colour cast, a different material. Switch the Sampling Brush to subtract and paint it out, watching the right-hand preview as you go. This is a practical application of the brush's documented add and subtract behaviour rather than an official rule, but it resolves a large share of mismatched fills in one pass.

Match Pattern, Scale, Symmetry, and Color With Four Adaptation Controls

Adaptation controls change how the sampled material is transformed before it is blended in. They are the difference between a patch that looks like a copy and a patch that looks like a continuation. Reach for one at a time and check the preview after each.

Adaptation controls mapped to the situations they fix

Control What it does The situation it fixes
Color Adaptation Adapts the brightness and contrast of the fill to the surroundings. The patch has the right texture but reads lighter, darker, or flatter than the area around it — very common where a gradient crosses the selection.
Rotation Adaptation Rotates the fill to follow a curve. Curved patterns. The documented example is a design running along the edge of a dinner plate, where a straight copy of the pattern breaks the arc.
Scale Resizes the fill to match repeating patterns whose elements differ in size. Receding surfaces. The documented example is a brick walkway shot in perspective, where bricks near the camera are larger than bricks in the distance.
Mirror Flips the fill for horizontally symmetrical elements. Anything with left-right symmetry — a facade, a patterned textile, a product photographed straight-on.

Order matters here. Fix the material first (sampling), then fix the geometry (rotation, scale, mirror), then fix the tone (colour adaptation). Adjusting tone before geometry means you will do the tone work twice.

Refine the Selection Inside the Workspace With Lasso Tools

The workspace carries its own lasso tools, which add to or subtract from the original selection without leaving the panel. This is a small feature that saves a disproportionate amount of time: when your selection was ninety percent right but clipped the edge of a shadow or left a sliver of the object outside the boundary, you fix it in place instead of cancelling, reselecting, and reopening.

If selection edges are the recurring problem rather than the fill itself, the fix usually lives outside the tool — working through a lasso selection workflow and its common failure points before opening Content-Aware Fill tends to produce better results than patching the selection afterwards.

Output to a New Layer and Save as PSD

In the Output settings, choose Output to > New Layer. Pressing OK then closes the workspace and places the result on its own layer in the Layers panel, leaving the original pixels untouched underneath. Save the document as a .PSD file if you want that layer to survive the save — a flattened export takes it with it.

This matters more than it sounds. A fill committed directly to the working layer is destructive: the pixels you removed are gone, and your only recovery is the undo history. A fill on a new layer can be masked back, partially reduced in opacity, or discarded and redone with a different sampling area while the original stays intact. Every time you expect to run two passes on the same area, output to a new layer on both.


Expanding the Selection by a Few Pixels Improves Many Hard-Edge Fills

If you take one technique away from this article, take this one. Object Selection usually produces a tight selection sitting right on the object's edge. Including some of the area around the object in the selection helps Content-Aware Fill build a better patch, because the tool gets a thin strip of real background to blend into rather than having to meet the existing pixel edge exactly.

The method is a menu command most people never open: with the selection active, go to Select > Modify > Expand and enter a few pixels — just enough to create a thin border between the object's edge and the selection boundary.

Tight Object Selection → Select > Modify > Expand → A few pixels → Content-Aware Fill

About the number

"A few pixels" is deliberately vague, and it should stay that way. The right value depends on resolution, the softness of the object edge, and how much clean background surrounds it. Start small — a thin border, not a margin — and increase only if a visible ring of the old edge survives the fill. On a high-resolution file a border that disappears at fit-to-screen zoom may be doing nothing at all.

The exception is when the object's edge is genuinely the boundary you want preserved — a hard architectural line, for instance. Expanding past a straight edge that must stay straight can drag background pixels into the boundary and soften it. In those cases keep the selection tight and let the sampling controls do the work.


Extending a Background Uses Crop, Marquee, and Content-Aware Fill

Extending a canvas is a different job from removing an object, and it needs one extra step before the fill: you have to create somewhere for the fill to happen. The toolchain is Crop Tool, then Rectangular Marquee Tool, then Content-Aware Fill.

  1. Enlarge the canvas with the Crop Tool — Drag the crop handles outward past the image boundary to add empty canvas on one or more sides. This step produces the blank strip the fill will work on.
  2. Select the empty strip with the Rectangular Marquee Tool — Keep the selection to the new blank area, with a small overlap into the existing image so the fill has real texture to read.
  3. Run Content-Aware Fill on the selection — Either the context-menu route or Edit > Content-Aware Fill opens the workspace. Because there is nothing inside the selection to remove, the job here is purely generative: continue the background across the new area.

That Crop Tool plus Rectangular Marquee sequence is the one described in a short canvas-extension walkthrough, which frames it as suitable for photo editing, background extension, and creative design work. A separate background-extension tutorial reaches the same place through a selection tool plus the Content-Aware Fill menu entry, and names studio portraits, environmental portraits, and other image types as the natural candidates. Its speed claim — "a couple of minutes" for "professional looking results" — is the tutorial's framing of the workflow, not a measured benchmark, so treat it as an indication of effort rather than a stopwatch reading.

A rule of thumb, not an official one: let the selection overlap the existing image by a noticeable margin rather than butting it exactly against the edge. Content-Aware Fill needs usable texture inside the sampling area, and a strip of selection that contains mostly blank canvas gives it very little to work with once the sampling region is constrained. If the first attempt produces a wash of flat colour, widen the selection slightly into the original image and try again.

Woman on a beach with arms raised, framed by vertical lines showing how to extend a background in Photoshop with content aware fill

Background extension starts by enlarging the canvas with the Crop Tool, then selecting the new strip with the Rectangular Marquee Tool before filling.

If canvas expansion is becoming a regular part of your workflow, the Rectangular Marquee selection is worth tightening up separately — the marquee tool's basic and advanced behaviour determines how cleanly the new strip is defined, and a ragged selection edge shows up in the result. There are also several distinct approaches to the wider problem; this comparison of five ways to extend a background in Photoshop is useful for deciding whether Content-Aware Fill is the right method for a particular frame.


Content-Aware Fill Has Clear Strengths, but Structurally Unique Areas Are the Limit Case

The tool performs strongly on a specific class of background, and the adaptation controls are a map of exactly which class that is. Curved patterns that need rotation. Repeating patterns that change scale with distance. Horizontally symmetrical elements. Repeating texture of any kind, provided the texture in the sampling area actually matches the texture inside the selection.

Tutorials lean into that strength. One describes the effect as working "on almost anything, cars, clothes, buildings, etc." — a broad claim from a two-minute tutorial that is fair as far as it goes, but it is a generalisation, not a guarantee. The same tool produces visibly poor results on backgrounds that break every one of the patterns above.

"This effect works on almost anything, cars, clothes, buildings, etc."

A tutorial framing of the tool's range, not a statement about edge cases.

The limit case is structural uniqueness. If the area you are filling sits in front of one-of-a-kind content — a specific building facade with irregular windows, a face in a group photo, a room whose every element is different — there is no matching texture for the algorithm to find, and repeated runs will keep producing the same soft, smeared approximation. The signal to stop is simple: if three passes with different sampling areas all look wrong in the same way, the problem is the content, not the settings.

Where to go instead

When Content-Aware Fill cannot find matching material, switch to a manual method that lets you choose the pixels yourself. A non-destructive clone stamp workflow keeps the source visible and the result on its own layer, which is the right shape for hard-edged or irregular repairs.

It is also worth being clear about what the tool is not for. Content-Aware Fill removes what sits behind a subject; it does not isolate the subject itself. When the job is a cutout rather than a removal — hair, a product on a busy background, a sprite sheet that needs splitting — a dedicated panel such as Layerbench runs Photoshop's own Select Subject to build the mask, trims to the subject's bounds, and can either export a transparent PNG in one action or stop at the mask and leave the PSD editable for hand refinement.


What to Do When Content-Aware Fill Fails

Failures here are unusually hard to diagnose alone, because the tool gives very little feedback about what went wrong. One Photoshop user who hit several problems in sequence put the situation plainly: "Web searches so far have not indicated any problems with this tool. I've contacted Adobe but they have not yet responded." That thread on the Lightroom Queen forum is worth reading in full, and the four failures reported there are covered below. Treat them as one user's reported experiences rather than universal behaviour — but each has a diagnostic path that is worth working through before you give up on the tool.

Photoshop content aware fill interface being used to remove a person from a forest scene

When the fill runs but the result looks wrong, or when nothing changes at all, work through layer, selection, and sampling area in that order before re-running.

Why Does Nothing Change After You Click OK?

Reported symptom

The operation appears to run — the workspace opens, the preview looks fine — but after pressing OK the edit or deletion simply does not occur. The file looks exactly as it did before.

Diagnostic order

  • Confirm a selection is still active when you open the workspace. A deselected document gives the tool nothing to fill.
  • Check whether the working layer is locked, hidden, or a layer type that will not accept pixel edits.
  • Check whether you are committing the fill or only updating the preview. The preview panel updates continuously; OK is the write step.
  • Duplicate the layer and run the fill on the copy, so you can see immediately whether the result landed somewhere you were not looking.

The workaround that resolves most cases is to change the output target. Set Output to > New Layer and run the fill again — the result appears as a new layer above the original, visible in the Layers panel whether or not the original layer was cooperating. That is diagnostic guidance rather than a documented fix, but it separates "the fill did not work" from "the fill worked and you could not see it."

Why Is the Preview Window Blank?

Reported symptom

No preview of the proposed deletion appears at all, so there is no way to judge the fill before committing it.

Diagnostic order

  • Toggle the preview display off and back on to force a redraw.
  • Reselect the sampling area — switch modes and then switch back.
  • Test a much smaller selection over a simple background. If the preview returns, the trigger is the size or complexity of the region rather than the tool itself.

The most reliable workaround is to take manual control of the material: switch to Custom sampling and paint a smaller, tighter sampling area with the Sampling Brush. A constrained and predictable region gives the preview less to compute and gives the fill a better-defined source, which frequently brings the preview back as a side effect.

Why Is the Lasso Selection Smaller Than You Drew?

Reported symptom

The area selected by the lasso tool ends up slightly but noticeably smaller than the area the tool's action defined. The user who reported this believed it was new behaviour that appeared after an update.

Diagnostic order

  • Before opening the workspace, check the marching ants against a known straight edge in the image to confirm the difference is real.
  • Zoom to 100 percent. A one- or two-pixel discrepancy is invisible at fit-to-screen and obvious at full magnification.
  • Once in the workspace, look at the green sampling overlay — it shows the region Photoshop actually believes it has, which may differ from what the ants suggested.

The practical workaround is to compensate before you fill: after making the lasso selection, expand it by a few pixels using Select > Modify > Expand, then confirm in the workspace that the intended area is covered. Expanding also happens to be the right move for fill quality generally, so the compensation and the improvement are the same action. Keep the framing honest — this is a reported discrepancy and a workaround, not a confirmed defect.

Why Does Re-Running the Fill Smudge the Result?

Reported symptom

Running Content-Aware Fill a second time on a previous result produces what the user described as a smudged or damaged look in the frame. Their own hypothesis was that it was some kind of layer issue.

Diagnostic order

  • Check which layer is active. If the second pass is reading pixels the first pass already generated, the algorithm is sampling a synthetic patch and treating it as real texture.
  • Check the sampling area. If it still contains the region you just filled, the second pass will pull its material from a patch that has already been smoothed.
  • Check whether the first pass was committed to the working layer. If it was, the original background pixels behind it no longer exist as a fallback.

The workaround is structural rather than procedural: never re-sample a previous fill. Run each pass on its own new layer so the earlier result can be masked, reduced, or thrown away, re-specify the sampling area each time rather than accepting the same region, and avoid running Auto over ground that a previous pass has already reconstructed. This is a recommendation built out of the tool's documented output and sampling controls, not a documented fix — but it removes the conditions under which the smudging is reported to appear.