The fastest way to replace sky in Photoshop

Open your photo in Photoshop. Go to Select menu, then choose Subject. Photoshop will automatically select the main subject of your image — usually a person or building. Once that selection is made, go to Select again and choose Inverse. This flips the selection to everything except your subject, which means the sky is now selected.

Now go to Edit menu and choose Fill. A dialog box will open. In the dropdown that says "Contents", select Content-Aware. Click OK. Photoshop will fill the sky area with a solid color or texture based on what it finds nearby. This rarely looks perfect on its own, but it gives you a clean canvas to work with.

To add a new sky, go to File > Place Embedded and select a sky image from your computer. Photoshop will drop it into your document as a new layer. Resize and position it to cover the area where the old sky was. If the new sky looks too bright or too dark compared to your subject, use the Opacity slider on that layer to blend it in, or go to Image > Adjustments > Levels to match the lighting.

Key Takeaways

  • Use Select > Subject, then Select > Inverse to isolate the sky without manually drawing around it.
  • Content-Aware Fill removes the old sky and prepares the area for a replacement.
  • Place your new sky image as an embedded layer so you can resize and reposition it without losing quality.
  • Adjust opacity and lighting on the new sky layer to match the brightness and mood of your original photo.
  • Layer masks let you erase hard edges where the new sky meets your subject, creating a natural blend.

Why Select > Subject works better than manual selection

Manually drawing a selection around a sky — especially around trees, hair, or a jagged horizon — takes time and leaves visible edges. The Subject selection tool uses machine learning to recognize the main object in your frame and select it cleanly, even around complex edges. Because you then invert that selection, you get a sky selection that respects those difficult boundaries automatically.

This method works best when your subject is clearly separated from the background. If you have a person standing in front of a building, the tool might select both. In that case, hold Shift and click on areas you want to add to the selection, or hold Alt and click to remove areas. The selection does not have to be perfect — Content-Aware Fill will handle small mistakes.

Preparing the sky area with Content-Aware Fill

After you invert your selection so the sky is selected, Content-Aware Fill examines the pixels around the edges of your selection and generates new pixels to fill the space. It works by looking at nearby textures and colors. If your sky selection includes part of a building or tree, the fill might extend that texture into the sky area, which is why the result is rarely perfect.

You can undo and try again if the fill looks wrong. Sometimes reducing the selection slightly before filling helps — go to Select > Modify > Contract and enter 5 to 10 pixels. This shrinks your selection inward, so the fill does not try to extend edges that are hard to match. After filling, you can also use the Clone Stamp tool (keyboard shortcut S) to manually paint over any obvious mistakes before you add your new sky.

Choosing and placing a new sky image

You can use any photo or image as your replacement sky — a photo you took yourself, a stock image, or even a gradient you created. The key is that the new sky should match the lighting direction and color temperature of your original photo. If your subject is lit from the left, your new sky should have light coming from the same direction, or the final image will look unnatural.

When you place the new sky, Photoshop puts it on a new layer above your edited background. Use the Move tool (keyboard shortcut V) to position it, and grab the corner handles to resize it. Hold Shift while dragging a corner to keep the proportions locked. If the new sky is much larger than your canvas, you can scale it down without losing quality because it is a placed image, not a rasterized layer.

Blending the new sky so it looks natural

A new sky often looks pasted on because it is too bright, too dark, or the wrong color compared to your subject. The fastest fix is to lower the Opacity of the sky layer. Click on the layer in the Layers panel and drag the Opacity slider down to 70 or 80 percent. This lets the original background show through slightly, creating a blend. If that is not enough, try changing the layer's Blend Mode — click the dropdown that says "Normal" and try Overlay or Soft Light to see how the sky interacts with what is underneath.

For more control, go to Image > Adjustments > Levels while the sky layer is selected. Drag the middle slider (the gray one) to the left to brighten the sky, or to the right to darken it. You can also use Curves for finer adjustments. If the new sky is too saturated or too dull, go to Image > Adjustments > Hue/Saturation and lower the Saturation slider to tone it down.

Using a layer mask to hide hard edges

Even with a good selection, the edge where your new sky meets your subject might look sharp or unnatural. A layer mask lets you erase parts of the sky layer gradually, so the transition is soft. Right-click on the sky layer and choose Add Layer Mask. A white rectangle will appear next to the layer thumbnail. Make sure that rectangle is selected (it should have a white border around it).

Select the Brush tool (keyboard shortcut B) and set your foreground color to black. Lower the brush opacity to 30 or 40 percent so your erasing is gradual. Paint along the edge where the sky meets your subject — the black paint on the mask will make that part of the sky layer transparent, revealing the background underneath. If you paint too much, switch your foreground color to white and paint back over it to restore the sky. This technique creates a natural feather where hard edges would otherwise show.

Common mistakes and how to fix them

The most common mistake is forgetting to invert the selection after using Select > Subject. If you fill without inverting, you will fill your subject instead of the sky. Undo when ready (Ctrl+Z or Cmd+Z) and try again. Another frequent problem is placing a sky that is too small or too large. If your new sky does not cover the entire sky area, resize it by dragging the corner handles. If it covers part of your subject, use the layer mask technique above to erase the overlap.

If the new sky looks completely wrong in terms of lighting or color, do not spend time adjusting it. Delete that sky layer and try a different image. Sometimes the problem is not the adjustment — it is that the sky you chose does not match the original photo's lighting direction or time of day. A sunset sky will never look right on a photo taken at noon, no matter how much you adjust opacity and levels.

Frequently Asked Questions

Can I use this method on a photo where the horizon is not straight?

Yes. The selection and fill will work on any horizon shape. When you place your new sky, you may need to rotate it to match the angle of your horizon. Right-click the sky layer and choose Free Transform, then drag a corner handle while holding Ctrl (or Cmd on Mac) to rotate. After rotating, press Enter to confirm.

What if my subject has a lot of detail, like tree branches or hair?

Select > Subject usually handles complex edges well, but you can refine the selection afterward. Go to Select > Select and Mask to open a panel where you can paint to add or remove parts of the selection. The Refine Edge brush is especially useful for hair and fine details. You can also lower the Feather value to make the edge sharper, or raise it to make the transition softer.

Do I need a special sky image, or can I use any photo?

You can use any image, but the best results come from photos where the lighting matches your original. A sky photo taken at the same time of day and from a similar angle will blend more naturally. Stock sites like Unsplash and Pexels have free sky images you can read. Make sure you understand the license before using someone else's photo commercially.

How do I make the new sky look like it was always there?

Match the lighting direction, adjust the opacity and levels to match brightness, and use a layer mask to soften hard edges. Also check the color temperature — if your original photo is warm (orange-tinted), your new sky should be warm too. If these steps still do not look right, the problem is usually that the sky you chose does not fit the original photo's lighting. Trying a different sky image often solves this faster than adjusting.

Can I undo the sky replacement if I change my mind?

Yes, as long as you saved your file as a Photoshop document (.psd). The layers stay separate, so you can delete the sky layer and go back to your original. If you flattened the image or saved it as a .jpg, you cannot undo the replacement without starting over. Always save your work as a .psd before flattening, so you keep the option to edit later.