Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Add Borders to an Image in Microsoft Paint

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Adding a border to an image in Microsoft Paint is a simple way to frame a photo, create a thumbnail, or make an image stand out. This guide shows you how to add a solid color border, a thicker border, and a border with a custom color using the built-in tools in Paint. You don’t need any additional software or plugins.

What You'll Need

  • A computer with Microsoft Paint installed (comes free with Windows).
  • The image you want to add a border to, saved on your computer.
  • Basic familiarity with using a mouse and the Paint interface.

Step-by-Step

  1. Open the image in Paint. Right-click the image file, select Open with, and choose Paint. Alternatively, open Paint first, then go to File > Open and select your image.
  2. Check the canvas size. Look at the bottom-left corner of the Paint window. You’ll see the width and height in pixels (e.g., 1920×1080). Note these numbers—you’ll need them to set the canvas size.
  3. Decide on border thickness. A common border is 10–20 pixels, but you can choose any thickness. For this example, we’ll use 20 pixels.
  4. Increase the canvas size. Click the Resize button on the toolbar (or press Ctrl+W). In the dialog, select Pixels and uncheck Maintain aspect ratio if it’s checked. Add twice the border thickness to both width and height. For a 20-pixel border, add 40 to each dimension. For example, if your image is 1920×1080, set width to 1960 and height to 1120. Click OK.
  5. Position the original image. After resizing, your image will be in the top-left corner, with a white (or colored) area on the right and bottom. You need to center it. Click the Select tool (the dashed rectangle icon), then click Select all (or press Ctrl+A). The entire canvas is selected.
  6. Move the image to center. With the selection active, click and hold inside the selected area, then drag the image down and to the right until it’s roughly centered. Use the arrow keys for precise pixel-by-pixel movement. The margin on each side should be equal to the border thickness (20 pixels).
  7. Deselect. Click anywhere outside the selection or press Ctrl+D to remove the selection.
  8. Choose the border color. In the Colors palette at the top, click the color you want for the border. If you want a custom color, click Edit colors to mix your own.
  9. Fill the border area. Select the Fill with color tool (the paint bucket icon). Click anywhere in the white (or colored) area around your image. The entire background will fill with the selected color, creating the border.
  10. Save your image. Go to File > Save as and choose a format (PNG is best for images with borders). Give it a new name so you don’t overwrite the original. Click Save.

Common Mistakes

  • Forgetting to uncheck “Maintain aspect ratio”: If you leave it checked, Paint will scale the image instead of just adding space, distorting it.
  • Not centering the image: If you skip the centering step, your border will be uneven—thick on one side and thin on the other.
  • Using the wrong fill tool: The Fill with color tool fills a contiguous area of the same color. If your image has a white background that touches the canvas edge, the fill might bleed into the image. Make sure the background area is a solid, distinct color (usually white) before filling.
  • Overwriting the original file: Always use Save as to keep the original intact.

Tips

  • Use a contrasting color: A border that contrasts with the image edges looks cleaner. For dark images, use a light border; for light images, use a dark one.
  • Keyboard shortcuts: Use Ctrl+A to select all, Ctrl+D to deselect, and arrow keys to nudge the selection for precise centering.
  • Add a double border: After filling the first border, resize the canvas again by another 20 pixels, center the image (which now includes the first border), and fill the new area with a second color.
  • Use the eraser for a quick border: If you just want a thin border, you can use the Brush or Pencil tool with a large size to draw along the edges, but the canvas method is more precise.

Troubleshooting

  • The border is uneven: This means the image wasn’t centered properly. Undo (Ctrl+Z) and repeat steps 5–7, using arrow keys to nudge the selection until the margins are equal.
  • The fill color covers the whole image: This happens when the image background is the same color as the fill color, or if there are gaps in the image. Make sure the background is a different color from the fill color, and check that the image is fully opaque. You can also use the Rectangle tool to draw a border manually instead of filling.
  • The image looks stretched or squished: You probably left Maintain aspect ratio checked. Undo and redo the resize with it unchecked.
  • Can’t see the border after saving: Check that the canvas size was actually increased. If the image fills the entire canvas, there’s no room for a border. Make sure you added extra pixels in step 4.

Frequently Asked Questions

  1. Can I add a border to a transparent PNG? Yes, but the fill tool may not work as expected because transparency is not a color. Instead, use the Rectangle tool with the Shape outline set to a color and Fill set to No fill, then draw a rectangle around the image.
  2. Does Paint support rounded corner borders? No, Paint only supports rectangular borders. For rounded corners, you’d need a more advanced editor like Paint.NET or GIMP.
  3. Can I add a border to just one side? Yes, instead of increasing the canvas on all sides, only increase the width or height for the side you want. Then move the image to the opposite side and fill the new area.
  4. What’s the best file format for a bordered image? PNG is best because it supports lossless compression and transparency. JPEG will also work but may introduce compression artifacts.
  5. How do I make a white border? Simply choose white as the fill color in step 8. White is the default background, so you can also leave it as is.
  6. Can I add a border to an image without changing the canvas size? Yes, you can draw a rectangle using the Rectangle tool, but it will be inside the image, not around it. The canvas method creates a true border outside the original image.