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

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.

How to Fix Microsoft Teams Đăng nhập Error (Login)

How to Fix Microsoft Teams Đăng nhập Error (Login)

Struggling with Microsoft Teams "Đăng nhập" login error? Discover step-by-step fixes for smooth sign-in. Clear cache, update app, and more – no tech skills needed! Works on Windows, Mac, and web.

Solving Microsoft Teams Web Error 503 Service Unavailable

Solving Microsoft Teams Web Error 503 Service Unavailable

Tired of Microsoft Teams Web Error 503 Service Unavailable blocking your meetings? Discover quick, step-by-step fixes to resolve the 503 error fast – no tech skills needed! Clear cache, check status, and get back to collaborating seamlessly.

Troubleshooting Microsoft Teams Update Error 0x80070002

Troubleshooting Microsoft Teams Update Error 0x80070002

Stuck with Microsoft Teams Update Error 0x80070002? Discover proven troubleshooting steps to resolve this frustrating issue quickly and get your Teams app updated seamlessly for uninterrupted collaboration.

Solving Microsoft Teams Error AADSTS50020: User Account Conflict

Solving Microsoft Teams Error AADSTS50020: User Account Conflict

Tired of Microsoft Teams Error AADSTS50020 blocking your sign-in? Discover step-by-step fixes for user account conflicts, backed by the latest Azure AD solutions. Get back to work fast!

How to Fix Microsoft Teams Microphone Error No Sound

How to Fix Microsoft Teams Microphone Error No Sound

Tired of Microsoft Teams microphone error with no sound? Discover quick, step-by-step fixes for Teams mic not working on Windows, Mac, and more. Restore crystal-clear audio in minutes!

How to Fix Microsoft Teams Task Management Error

How to Fix Microsoft Teams Task Management Error

Tired of the Microsoft Teams "Task Management" Error disrupting your workflow? Discover proven fixes like clearing cache, updating Teams, and troubleshooting permissions to get back to seamless collaboration in minutes. Updated with the latest solutions.

How to Fix Microsoft Teams How to Teams Help Error

How to Fix Microsoft Teams How to Teams Help Error

Frustrated by the Microsoft Teams 'How to Teams' Help Error? Discover proven, step-by-step solutions to fix it quickly and restore smooth help access. Latest 2026 updates included for seamless teamwork.

Solving Microsoft Teams Room Error Syncing

Solving Microsoft Teams Room Error Syncing

Struggling with Microsoft Teams "Room Error" Syncing? This ultimate guide provides step-by-step fixes for Microsoft Teams Room Error Syncing issues, ensuring seamless meetings and quick resolutions. Updated with the latest tips.

Troubleshooting Microsoft Teams Workflows Power Automate

Troubleshooting Microsoft Teams Workflows Power Automate

Master troubleshooting Microsoft Teams Workflows Power Automate issues with step-by-step fixes for common errors. Get your automations running smoothly – no more frustration! Proven solutions for triggers, permissions, and more.

Solving Microsoft Teams Restart Error (2026)

Solving Microsoft Teams Restart Error (2026)

Struggling with Microsoft Teams "Restart Error" in 2026? Discover proven, step-by-step fixes to resolve the endless restart loop quickly. Clear cache, reset app, and more for seamless collaboration. Get back online fast!

How to Create Breakout Rooms in Microsoft Teams Before a Meeting

How to Create Breakout Rooms in Microsoft Teams Before a Meeting

Master how to create breakout rooms in Microsoft Teams before a meeting with this easy guide. Pre-assign participants, boost collaboration, and elevate your virtual sessions effortlessly.

How to Fix Microsoft Teams Layout Error: Sidebar Missing

How to Fix Microsoft Teams Layout Error: Sidebar Missing

Tired of Microsoft Teams sidebar missing? Get instant fixes for layout errors. Step-by-step guide with latest tips to restore your Teams sidebar fast and frustration-free.

Solving Microsoft Teams Download Error for Macbook

Solving Microsoft Teams Download Error for Macbook

Struggling with Microsoft Teams Download Error on MacBook? Get step-by-step fixes for smooth installation on the latest macOS. Solve download failed issues quickly and easily.

Solving Microsoft Teams Error J Accounts

Solving Microsoft Teams Error J Accounts

Tired of Microsoft Teams Error J blocking your accounts? Get instant fixes for Error J in Teams with step-by-step guides, cache clears, and account resets. Regain access fast—no tech skills needed!

Rethinking Document Management to Streamline Your Workflow

Rethinking Document Management to Streamline Your Workflow

Work slows down when files sit in too many places, approval steps feel confusing, and people spend more time searching than actually finishing tasks. Strong document management can bring order back without making daily work feel complicated.