How to create a shadow border in Photoshop

This tutorial will show you how to add canvas space and drop shadows to your photos in Photoshop to create a simple yet stylish photo border. We start by creating a basic effect with a white border and black shadow. The tutorial will then show you how to customize the effect by selecting border and shadow colors directly from the photo itself.

Step 1: Open the image in Photoshop

Start by opening your photo. For this example, we'll use this photo from Adobe Stock:

How to create a shadow border in Photoshop
Original image opened in Photoshop

Step 2: Unlock the Background layer

In the Layers panel, the image appears on the Background layer. And at this point, the Background layer is locked, indicated by the lock icon to the right of the layer name:

How to create a shadow border in Photoshop
Photoshop's Layers panel shows the image on the Background layer.

To put a border around the image, we need to add a new layer below the image. But we can't do that when the Background layer is locked. So to unlock it, click on the lock icon.

Or if you're using an older version of Photoshop and clicking the lock icon doesn't work, press and hold the Alt (Win) / Option (Mac) key on your keyboard and double-click the lock icon:

How to create a shadow border in Photoshop
Unlock the Background layer.

Photoshop renames the layer from Background to Layer 0 and the lock icon disappears:

How to create a shadow border in Photoshop
The Background layer has been renamed and unlocked.

Step 3: Add a Solid Color fill layer

To create the image border, we will use the Solid Color fill layer.

Click the New Fill or Adjustment Layer icon  at the bottom of the Layers panel:

How to create a shadow border in Photoshop
Click the New Fill or Adjustment Layer icon.

And select Solid Color from the list:

How to create a shadow border in Photoshop
Add a Solid Color fill layer.

Then, in the Color Picker, select white by setting the R, G, and B values ​​to 255. We'll use white as the outline color for now and will show you how to change it later. Click OK when you're done:

How to create a shadow border in Photoshop
Choose white for the image border color from Photoshop's Color Picker

Back in the document, the white from the fill layer temporarily blocks the image from view:

How to create a shadow border in Photoshop
Result after adding Solid Color fill layer.

Step 4: Move the fill layer below the image

To fix that, click on the Solid Color fill layer in the Layers panel and drag it below the image:

How to create a shadow border in Photoshop
Drag the Solid Color fill layer below the image in Photoshop's Layers panel

Release the mouse button to drop it into place:

How to create a shadow border in Photoshop
Photoshop's Layers panel shows the Solid Color fill layer below the image.

And now, let's go back to viewing the image, with the fill layer hidden behind it:

How to create a shadow border in Photoshop
The image is displayed again in the Photoshop document.

Step 5: Open the Canvas Size dialog box

Next, we need to add more canvas space around the image. The extra space will become the border. And since we want the border to be the same size on all four sides, the best way to do this is to use Photoshop's Canvas Size command.

Go to the Image menu in the Menu Bar and select Canvas Size :

How to create a shadow border in Photoshop
Select the Canvas Size command from Photoshop's Image menu.

Step 6: Increase the width and height of the canvas

In the Canvas Size dialog box, click the Relative option . This option tells Photoshop to start with the current canvas size and the values ​​we enter for Width and Height will be added to that.

In the Anchor grid , make sure the middle box is selected so that the extra spacing will be added evenly at the top, bottom, left, and right:

Select the Relative option and the Anchor box in the middle in Photoshop's Canva Size dialog box

Next, enter a size for the border in the Width and Height fields. But remember that the values ​​you enter will be divided equally on both sides. So, for example, entering 2 inches for Width will create a 1-inch border on the left and right sides of the photo. And entering 2 inches for Height will create a 1-inch border on the top and bottom.

For the example image, a 1-inch border would be a bit too wide. A 3/4-inch border would look better. So to add a 3/4-inch border to the left and right of the image, the Width would need to be set to double that amount, which would be 1.5 inches. And to keep the border the same size everywhere, the Height would need to be set to 1.5 inches as well.

Click OK when you're done to close the Canvas Size dialog box :

How to create a shadow border in Photoshop
Enter dimensions for the image border in the Width and Height fields of the Canvas Size dialog box.

Photoshop adds additional canvas space around the image, creating a border for the image. Although the additional space is actually transparent, it appears white because the Solid Color fill layer below the image is showing through:

How to create a shadow border in Photoshop
Image border appears after adding canvas space in Photoshop

How to adjust image borders on screen

If the border is too large to fit the screen, go to the View menu in the Menu Bar and select Fit on Screen :

How to create a shadow border in Photoshop
Select the Fit on Screen command from Photoshop's View menu.

How to change border size

The downside to Photoshop's Canvas Size command is that there's no way to preview the new size before committing to it. So if the border is too wide or too narrow, go to the Edit menu and choose Undo Canvas Size :

How to create a shadow border in Photoshop
Select the Undo Canvas Size command from Photoshop's Edit menu.

Then go back to the Image menu , go back to Canvas Size , try again with different Width and Height values :

How to create a shadow border in Photoshop
Reselect the Canvas Size command from Photoshop's Image menu

Step 7: Select the image layer

We've added a border, now we need to add a drop shadow. In the Layers panel, click on the image layer to select it:

How to create a shadow border in Photoshop
Select the image layer in Photoshop's Layers panel

Step 8: Add a drop shadow effect

Then click on the fx icon at the bottom:

How to create a shadow border in Photoshop
Click the layer effects icon in Photoshop's Layers panel

And select Drop Shadow from the list:

How to create a shadow border in Photoshop

Step 9: Adjust Drop Shadow settings

The options for Drop Shadow open in Photoshop's Layer Style dialog box. And the three main options are Angle, Distance , and Size . Angle controls the direction of the light source, Distance is how far the shadow extends from the subject, and Size controls the softness of the shadow edges:

How to create a shadow border in Photoshop
Angle, Distance, and Size options for Drop Shadow in Photoshop's Layer Style dialog box

Angle and Distance options

The quickest way to set the Angle and Distance of a drop shadow is to simply click inside the document, hold down the mouse button, and drag the drop shadow to position it. As you drag, the Angle and Distance values ​​in the dialog box will change.

Here, the example is dragging the shadow down and to the right:

How to create a shadow border in Photoshop
Drag the shadow to set the Angle and Distance.

Or you can enter specific Angle and Distance values. The example will set the Angle to 135 degrees and the Distance to 80 px. The values ​​you need, especially Distance and Size, will depend on your image:

How to create a shadow border in Photoshop
Enter the Angle and Distance values ​​in the dialog box.

Here are the results so far:

How to create a shadow border in Photoshop
Result after setting Angle and Distance of the shadow.

Size Options

Then increase the Size value to soften the shadow edges. The example will set the value to 60 px, but again this will depend on your image:

How to create a shadow border in Photoshop
Set the Size value for the Drop Shadow.

And here is the result with the edges now softer:

How to create a shadow border in Photoshop
The result after increasing the Drop Shadow Size value to soften the edges.

Opacity option

You can also adjust the strength of the shadow using the Opacity slider. Higher Opacity values ​​will darken the shadow, and lower values ​​will lighten the shadow. For example, lowering the value to 30% would be:

How to create a shadow border in Photoshop
Brighten the shadow by lowering the Opacity value.

When you're happy with the results, click OK to close the Layer Style dialog box :

How to create a shadow border in Photoshop
Close Photoshop's Layer Style dialog box.

And here is the result after lowering the shadow opacity:

How to create a shadow border in Photoshop
Original shadow border effect.

How to customize border color and shadow

At this point, the main effect is complete. We've added a border around the image and a drop shadow behind it. But instead of using a white border and black drop shadow, we can customize the effect by picking a color directly from the image. Here's how to do it.

Step 10: Double click on the fill layer color swatch

To change the border color, double-click the fill layer's color swatch in the Layers panel:

How to create a shadow border in Photoshop
Double-click the color swatch of the Solid Color fill layer.

Step 11: Sample new border color from image

This will reopen the Color Picker. But instead of selecting a new color from the Color Picker itself, hover your mouse over the image and click on a color to sample it.

The example would be clicking on the woman's shoulder:

How to create a shadow border in Photoshop
Sample border color from image.

The color you sampled immediately becomes the new outline color. You can continue clicking different areas of the image to find the best match. When you're done, click OK to close the Color Picker.

Here is the result with the border set to the new color:

How to create a shadow border in Photoshop
Results with custom photo border color in Photoshop.

Step 12: Reopen Drop Shadow settings

Then, to choose a new color for the shadow, double-click the Drop Shadow layer effect below the image layer:

How to create a shadow border in Photoshop
Reopen the Drop Shadow layer effect in Photoshop's Layers panel

And in the Layer Style dialog box , click the shadow color swatch:

How to create a shadow border in Photoshop
Click the Drop Shadow color swatch in Photoshop's Layer Style dialog box

Step 13: Sample new shadow color from image

Once the Color Picker opens, hover your mouse over the image and click on a color to sample. For example, we'll click on the woman's shoulder again:

How to create a shadow border in Photoshop
Samples a color from an image to use as the Drop Shadow color.

Step 14: Adjust the brightness and saturation of the color

The shadow color needs to be dark and highly saturated. So before closing the Color Picker, increase the Saturation (S) value of the color to 100% or close to that number.

Then darken the color by reducing the Brightness (B) value of the color. For example, we'll reduce the value to 30% so the shadow doesn't look too dark, but you may want to darken it even more depending on your image:

How to create a shadow border in Photoshop
Increases the saturation and decreases the brightness of the sampled color.

Click OK to close the Color Picker and you're done! Here's the final result using the custom border and new color for the shadow:

How to create a shadow border in Photoshop
Image borders and shadows use custom colors from the image.

Video tutorial on how to create a shadow border in Photoshop

Sign up and earn $1000 a day ⋙

Leave a Comment

What is the best AI photo background remover?

What is the best AI photo background remover?

People spend too much time manually removing backgrounds, and AI isn't always the magic it claims to be.

How to Turn a Photo into a Pencil Sketch in Photoshop

How to Turn a Photo into a Pencil Sketch in Photoshop

This tutorial will show you how to easily turn a photo into a pencil sketch using Adobe Photoshop.

How to Resize Images Properly in Photoshop

How to Resize Images Properly in Photoshop

Many people used to find resizing images very annoying until they learned about Photoshop's simple channel-based protection method.

How to create poster effect for photos in Photoshop

How to create poster effect for photos in Photoshop

Add a quick and easy poster effect to your images using Photoshop to recreate the classic look of posters printed with limited ink colors.

6 AI Photo Editing Tools Better Than Photoshop

6 AI Photo Editing Tools Better Than Photoshop

There are many AI photo editors that make Photoshop a second choice and AI features are useful tools for editing photos without having to learn complex Photoshop.

3 Most Favorite Features in Photoshop 2025

3 Most Favorite Features in Photoshop 2025

Photoshop 2025 packs new AI tools, smarter selections, and features you didn't know you needed until now.

How to Create a Monochrome Color Effect in Photoshop

How to Create a Monochrome Color Effect in Photoshop

This tutorial will show you a quick and easy way to add a monochrome color effect to an image using Adobe Photoshop.

Why is Lens Blur a Photoshop tool used for artistic photo editing?

Why is Lens Blur a Photoshop tool used for artistic photo editing?

Adobe's Lens Blur tool makes it easy to review your photos, adding depth and focus to your photos.

Not AI, Actions is the Photoshop feature that users love

Not AI, Actions is the Photoshop feature that users love

Hidden away in the app, Photoshop Actions is a beloved feature of the popular photo editing tool, meant to speed up workflows without the need for AI.

Why is using both Lightroom and Photoshop overkill for most photographers?

Why is using both Lightroom and Photoshop overkill for most photographers?

Lightroom and Adobe Photoshop are two of the best photo editing tools, but while many professionals use both together, you only need Lightroom if you're an amateur photographer.

How to create Picture in Picture effect in Photoshop

How to create Picture in Picture effect in Photoshop

This tutorial will show you how to create a cool Picture in Picture effect with Adobe Photoshop by taking a single photo and creating the illusion that a smaller, cropped version of the same photo is inside it.

5 Reasons Why Photoshops Generative Workspace Is Adobes Best Feature

5 Reasons Why Photoshops Generative Workspace Is Adobes Best Feature

Generative Workspace is one of the top AI features announced at Adobe Max 2024. It will be the new home for your Generative AI images and files.

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

How to Create a Water Reflection Effect Using Generative Fill in Photoshop

With Generative Fill, powered by Adobe's Generative AI called Firefly, anyone can add realistic water reflection effects to their photos simply by drawing a selection, typing a few words, and clicking a button.

How to Paste an Image into a Selection in Photoshop

How to Paste an Image into a Selection in Photoshop

This tutorial will show you how to copy an image and paste it into a selection in another image using the Paste Into command in Adobe Photoshop.

Difference between regular TV and Smart TV

Difference between regular TV and Smart TV

Smart TVs have really taken the world by storm. With so many great features and the ability to connect to the Internet, technology has changed the way we watch TV.

Why doesnt the freezer have a light but the refrigerator does?

Why doesnt the freezer have a light but the refrigerator does?

Refrigerators are familiar appliances in families. Refrigerators usually have 2 compartments, the cool compartment is spacious and has a light that automatically turns on every time the user opens it, while the freezer compartment is narrow and has no light.

2 Ways to Fix Network Congestion That Slows Down Wi-Fi

2 Ways to Fix Network Congestion That Slows Down Wi-Fi

Wi-Fi networks are affected by many factors beyond routers, bandwidth, and interference, but there are some smart ways to boost your network.

How to Downgrade from iOS 17 to iOS 16 without Losing Data using Tenorshare Reiboot

How to Downgrade from iOS 17 to iOS 16 without Losing Data using Tenorshare Reiboot

If you want to go back to stable iOS 16 on your phone, here is the basic guide to uninstall iOS 17 and downgrade from iOS 17 to 16.

What happens to the body when you eat yogurt every day?

What happens to the body when you eat yogurt every day?

Yogurt is a great food. Is it good to eat yogurt every day? What will happen to your body when you eat yogurt every day? Let's find out together!

Which type of rice is best for health?

Which type of rice is best for health?

This article discusses the most nutritious types of rice and how to maximize the health benefits of whichever rice you choose.

How to wake up on time in the morning

How to wake up on time in the morning

Establishing a sleep schedule and bedtime routine, changing your alarm clock, and adjusting your diet are some of the measures that can help you sleep better and wake up on time in the morning.

Rent Please! Landlord Sim Tips for Beginners

Rent Please! Landlord Sim Tips for Beginners

Rent Please! Landlord Sim is a simulation mobile game on iOS and Android. You will play as a landlord of an apartment complex and start renting out an apartment with the goal of upgrading the interior of your apartments and getting them ready for rent.

Latest Bathroom Tower Defense Codes and How to Enter Codes

Latest Bathroom Tower Defense Codes and How to Enter Codes

Get Bathroom Tower Defense Roblox game codes and redeem them for exciting rewards. They will help you upgrade or unlock towers with higher damage.

Structure, symbols and operating principles of transformers

Structure, symbols and operating principles of transformers

Let's learn about the structure, symbols and operating principles of transformers in the most accurate way.

4 Ways AI Is Making Smart TVs Better

4 Ways AI Is Making Smart TVs Better

From better picture and sound quality to voice control and more, these AI-powered features are making smart TVs so much better!

Why ChatGPT is better than DeepSeek

Why ChatGPT is better than DeepSeek

DeepSeek initially had high hopes. As an AI chatbot marketed as a strong competitor to ChatGPT, it promised intelligent conversational capabilities and experiences.

Meet Fireflies.ai: The Free AI Secretary That Saves You Hours of Work

Meet Fireflies.ai: The Free AI Secretary That Saves You Hours of Work

It's easy to miss important details when you're jotting down other essentials, and trying to take notes while chatting can be distracting. Fireflies.ai is the solution.

How to raise Axolotl Minecraft, tame Minecraft Salamander

How to raise Axolotl Minecraft, tame Minecraft Salamander

Axolot Minecraft will be a great assistant for players when operating underwater if they know how to use them.

A Quiet Place: The Road Ahead PC Game Configuration

A Quiet Place: The Road Ahead PC Game Configuration

A Quiet Place: The Road Ahead's configuration is rated quite highly, so you will need to consider the configuration before deciding to download.