Skip to content

How To Extend The Background Of A Photo In Photoshop

A storm cloud over a flat open field with a power pole on the horizon
Photo: Sunset Storm by Duncan Rawlinson. 55mm, f/8, 1/80, ISO 400. Shot at 55mm, f/8, 1/80, ISO 400; a plain sky and open field like this is the easiest kind of background to extend.

You need more sky above a subject, more room on one side for a headline, or a different shape for a print or a social post. Extending the background means adding canvas around the photo and then making new pixels that match what is already there. In recent versions of Photoshop you can do it in about a minute. How well it works depends mostly on what is at the edge of your photo, so this page covers both the steps and how to choose a photo that will extend cleanly.

What extending a background actually does

Your photo has a fixed number of pixels. To make it bigger without stretching it, Photoshop has to invent the new area. There are three ways to do that, and they suit different photos:

  • Generative Expand uses generative AI to build new content from the edge of your picture. It handles complex scenes best, such as clouds, foliage, water, walls and sky. It needs an internet connection and an Adobe account with generative credits.
  • Content-Aware Fill samples pixels already in your photo to fill the new area. It works offline and has no AI invention in it, so it suits repeating textures like grass, sand, a plain wall or a smooth sky.
  • Manual extension means copying, flipping and blending your own pixels with layers and masks. It is slow but it gives you full control, and it is how you fix the places where the first two get it wrong.

Before you start, one honest question: is the result still a photograph of what happened? Extending a sky is a common, accepted edit. Adding things that were not there changes what the picture says. Photo retouching ethics covers where to draw that line, and it matters more if the image is for news or documentary use.

Choose a photo that will extend well

The new area has to continue something. Look at the edge you want to push out and ask what continues past it.

  • Good edges: open sky, soft clouds, out-of-focus backgrounds, a seamless studio backdrop, water, grass, sand, a blurred wall.
  • Hard edges: a person cut off at the arm or head, a straight building line, a horizon that is not level, text, repeating patterns like fences, and anything with a strong perspective that has to keep converging.
  • Shallow depth of field helps. A background that was already blurred in the camera is simple to continue. A busy, sharp background shows every mistake. See composition for why photographers leave space around a subject in the first place.

Extend by a modest amount. Adding 10 to 30 percent of the original size in one direction usually works. Doubling the canvas asks Photoshop to invent most of the picture, and the seam between old and new gets harder to hide.

Method 1: Generative Expand with the Crop tool

This is the fastest route in recent versions of Photoshop.

  1. Open the photo. If you shot raw, open it through Camera Raw first and do your tone and colour work. Generative results are built from the pixels you give it, so edit before you extend. See raw files if you are not sure why.
  2. Pick the Crop tool (shortcut C).
  3. In the options bar, set Fill to Generative Expand. If you do not see it, update Photoshop and check that you are signed in.
  4. Drag a crop handle outward past the edge of the photo. Hold Alt (Windows) or Option (Mac) to push both sides out evenly. To reach an exact shape, type a ratio in the options bar first. Aspect ratio explains the common shapes: 4:5 for many social posts, 16:9 for screens, 3:2 for most cameras and prints.
  5. Press Enter to commit the crop. Photoshop shows a prompt in the Contextual Task Bar (or, in some versions, the Properties panel).
  6. Leave the text prompt empty for a plain extension, then click Generate. A short prompt such as “more of the same cloudy sky” can steer it, but an empty prompt is usually the most faithful.
  7. The result arrives as a new layer with three variations. Switch between them in the Properties panel and keep the one whose edges match best. Click Generate again for more.

The generated layer is a layer with a mask, so you can paint the mask to bring back some of the original or hide a bad patch. If your version labels a button or panel differently, look for the same two things: a Fill option on the Crop tool and a Generate button that appears after you commit.

Method 2: Content-Aware Fill without AI

Use this when you want no generative step, or the photo is mostly texture.

  1. Duplicate the background layer (Ctrl+J or Cmd+J). Keep the original untouched. This is the habit behind non-destructive editing.
  2. Choose Image, then Canvas Size. Tick Relative, enter the amount to add, click the anchor square on the side opposite the one you want to grow, and set the extension colour to transparent or any colour. Click OK.
  3. Pick the Magic Wand and click the new empty area. Choose Select, then Modify, then Expand by 5 to 10 pixels so the selection overlaps the photo slightly. That overlap gives the fill something to blend with.
  4. Choose Edit, then Content-Aware Fill. In the workspace, the green overlay shows which pixels Photoshop may sample from. Paint away anything you do not want copied, such as a person, a pole or a bright cloud edge.
  5. Set Output To to New Layer and click OK.

Run it again on any small patches that look repeated. Content-Aware Fill copies from your picture, so a one-off object near the edge can appear twice. That is the most common tell.

Method 3: Extend by hand

For a clean studio backdrop or a flat sky, you can do this with plain layers and no fill tools:

  1. Add canvas with Canvas Size as above.
  2. Duplicate the photo layer and drag it so a clean strip lines up with the new empty area.
  3. Flip it (Edit, Transform, Flip Vertical or Horizontal) so the edges meet in a mirror, which hides any step in brightness.
  4. Add a layer mask and paint with a large, soft, black brush at low opacity (10 to 20 percent) along the join until it disappears.
  5. Add a Gradient Map or a Curves adjustment clipped to the new area to match the tone. Our guide to layers and masks in Photoshop covers the masking part in detail.

Check the seam and fix what looks wrong

  • Zoom to 100 percent and look along the join. A line of different brightness, noise or colour gives it away.
  • Match the noise and grain. Generated areas are often cleaner than the original. Add a small amount of noise on a separate layer (Filter, Noise, Add Noise, with Monochromatic ticked) at a low value until the new area feels like the old one.
  • Look for repeats. The same cloud puffing twice, the same bush, a tile pattern. Mask one out or run the fill again.
  • Check the horizon. Any line that leaves the original photo must still be straight and at the same angle.
  • Check the light. If the sun is at the left, the new area must not have a shadow falling the wrong way.

Common mistakes

  • Extending a person. Never ask Photoshop to invent more of a face or body. Extend the background around them, and keep the crop tight to their edge.
  • Going too far. If more than about a third of the final picture is invented, you are probably better off reshooting or using a different photo. A wider frame is easier to get in camera, and stitching a panorama adds real pixels instead of invented ones.
  • Extending before editing. Do tone and colour first so the new area is built from your finished look.
  • Flattening too early. Keep the generated layer separate so you can mask it or redo it.
  • Saving over the original. Save as a layered file, and export a copy for the web. Exporting photos covers size and format.

Try this

Pick a photo with a soft sky or blurred background and extend one side by 20 percent using Generative Expand. Then undo it and do the same edge with Content-Aware Fill. Compare the two seams at 100 percent. You will quickly learn which kind of edge each tool prefers.

Not sure you should extend at all, or crop in instead? See how to crop photos.

Want the whole canvas wider with real pixels? Read how to shoot and stitch a panorama.

Wondering how far an edit can go before it stops being a photograph? See photo retouching ethics.

Want more Photoshop skills for photos? Go to Photoshop for photographers.