How to Add a Border in Word (Page, Text, Picture and Table)

To add a border around a page in Word, select the Design tab, select Page Borders, choose Box under Setting, pick a style, color and width, and select OK. The border appears on every page. To frame a paragraph instead, select it and use the Borders button on the Home tab. Pictures, tables and text boxes each have their own border button, covered below.

Applies to: Word for Microsoft 365 (Windows and Mac), Word 2024, Word 2021, Word 2019 and Word 2016, with notes for Word for the web and older versions. The page border steps follow Microsoft’s page border training page.

Which kind of border do you need?

Word has several separate border tools, and the right one depends on what you want to frame. Picking the wrong one is the most common reason a border ends up in the wrong place.

You want a border aroundUseWhere to find it
The whole page, such as a certificate, flyer or cover pagePage borderDesign > Page Borders
A paragraph, a note or a heading, or a line above or below itParagraph borderHome > Borders
A few words inside a sentenceText borderHome > Borders > Borders and Shading, Apply to: Text
A photo or other imagePicture borderPicture Format > Picture Border
A table, or some of its cellsTable bordersTable Design > Borders
A text box or shapeShape outlineShape Format > Shape Outline

Before you start, make sure you’re in Print Layout view (View > Print Layout). Page borders don’t show in Web Layout, Outline or Draft view, so a border you just added can look like it’s missing.

Add a border around the page

  1. Open your document and click anywhere on the first page you want bordered.
  2. Select the Design tab on the ribbon. In Word 2010 and Word 2007, this command lives on the Page Layout tab instead.
  3. Select Page Borders near the right end of the ribbon, in the Page Background group. The Borders and Shading dialog opens on the Page Border tab.
Word Design tab with the Page Borders button highlighted in the Page Background group
On Design, use Page Borders in the Page Background group. The recreated flyer contains fictional event details.
  1. Under Setting, choose Box for a plain frame. Shadow adds a drop shadow on two sides, 3-D adds a raised look, and Custom lets you set each side separately.
  2. Choose a line Style (solid, dotted, double and so on), a Color and a Width. The Preview on the right updates as you go.
  3. For a decorative border, open the Art list and pick a repeating pattern, such as stars, apples or a geometric design. Art borders suit certificates and party invitations, but they use a lot of ink.
  4. Check Apply to in the lower-right corner. Whole document puts the border on every page. The other choices are explained in the next section.
Borders and Shading dialog on the Page Border tab with Box selected and the Apply to list highlighted
In Page Border, choose Box, a solid dark blue line and 3 pt width. Apply to Whole document covers the flyer; Options adjusts the distance from the page or text. This example is shown before OK.
  1. Select OK.

You should now see the border around the page in Print Layout view. If you only see it on some pages, your document probably has section breaks; see Troubleshooting.

Put a border on only one page

Word stores page borders per section, not per page. A new document is a single section, which is why the border normally lands on every page. The Apply to list gives you four choices:

  • Whole document: every page, in every section.
  • This section: every page of the section your cursor is in.
  • This section – First page only: just the first page of that section. In a one-section document, this is the cover page.
  • This section – All except first page: every page except the first, handy for skipping a title page.

To border a single page in the middle of a document, give that page its own section first:

  1. Click at the very start of the page you want to frame, then select Layout > Breaks > Next Page.
  2. Click at the very start of the following page and insert another Next Page break.
  3. Click on the page you want to frame, open Design > Page Borders, set up the border, and choose This section – First page only (or This section) under Apply to.
Apply to drop-down in the Page Borders dialog listing the section options
Use This section – First page only when the target page is the first page of its own section. The recreated menu also shows the whole-document and other section choices.

Breaks can shift text and headers, so turn on formatting marks (Ctrl + Shift + 8 on Windows, Command + 8 on a Mac) to see exactly where each break sits. The walkthrough on adding a section break in Word explains the break types and what they do to headers and page numbers.

Border only some sides of the page

In the Page Borders dialog, choose a setting and style, then click the top, bottom, left or right edge in the Preview (or the matching buttons beside it) to switch that side off or on. For example, click the left and right sides to leave a border only at the top and bottom. Choosing Custom lets you give each side a different style: pick a style, click a side, pick another style, click the next side.

Move the border closer to the text or the edge

Select Options in the lower-right of the Page Borders dialog. Here you can:

  • Change Measure from: Edge of page (the default) places the border a set distance from the paper edge, while Text places it a set distance outside your text margins.
  • Set the Top, Bottom, Left and Right margins in points. There are 72 points in an inch, so 36 pt is half an inch.
  • When measuring from Text, use the extra check boxes to have the border surround the header and footer, or to line up paragraph borders and table edges with the page border.

Measuring from Text keeps the border inside the area home printers can reach, which is why it’s the usual fix for borders that print with a side missing.

Add a border around a paragraph or some text

Paragraph borders are ideal for a tip box, a warning, a pull quote or a line under a heading.

  1. Select the paragraph or paragraphs you want to frame. To frame just a few words, select only those words.
  2. On the Home tab, in the Paragraph group, select the small arrow next to the Borders button.
  3. Choose Outside Borders for a full box, or Bottom Border or Top Border for a single line.
Recreated Word Home Borders menu beside selected sample paragraph with Outside Borders and Borders and Shading highlighted
Select the paragraph, then use Home’s Borders menu. Outside Borders adds a box; Borders and Shading opens more line, color and width controls. The recreated paragraph is fictional.

A paragraph border stretches from the left margin to the right margin, even if the paragraph is one short line. If you selected only a few words and want the box to hug them, use the dialog instead:

  1. With the text selected, open the Borders menu again and choose Borders and Shading at the bottom.
  2. On the Borders tab, choose Box, then a style, color and width.
  3. Set Apply to to Text for a box around the words only, or Paragraph for a margin-to-margin box.
  4. Optionally, open the Shading tab and pick a fill color to tint the inside of the box, then select OK.

This matches Microsoft’s instructions for adding a border to text. For other boxed looks, including a movable text box, see four ways to put a box around text in Word. If you just need a divider, typing three hyphens on an empty line and pressing Enter creates a bottom border automatically; the horizontal line guide covers the other line shortcuts.

Add a border to a picture

  1. Click the picture to select it. The Picture Format tab appears on the ribbon.
  2. Select Picture Format > Picture Border and choose a color.
  3. Open Picture Border again and use Weight to set the thickness and Dashes to make the line dotted or dashed.

For a one-click frame, pick a design from the Picture Styles gallery on the same tab (select More to see them all). Some styles add a thick white frame, a shadow or rounded corners. Both options are described on Microsoft’s picture borders page. A border also works on a cropped shape: the steps for cropping a picture into a circle end with a round border.

For a text box or a shape, the equivalent button is Shape Format > Shape Outline, with the same color, Weight and Dashes options.

Add borders to a table

  1. Click inside the table. To change only some cells, select those cells.
  2. Select the Table Design tab (called Design under Table Tools in Word 2016 and 2019).
  3. In the Borders group, choose a Line Style, Line Weight and Pen Color first, or pick a ready-made combination from Border Styles.
  4. Select the arrow under Borders and choose where the lines go: All Borders for a full grid, Outside Borders for just a frame, or Inside Horizontal Border for lines between rows.

To restyle individual lines, select Border Painter and click each line you want to change. Press Esc when you’re done. Table borders are one of the few border types you can also add in Word for the web, as listed on Microsoft’s table borders page.

Use your own image as a page border

The Art list in Page Borders only offers Word’s built-in patterns. If you have a border image of your own (for example a floral frame saved as a PNG, which you have the right to use), you have two practical options:

  • As a picture watermark: select Design > Watermark > Custom Watermark, choose Picture watermark, select your image, clear the Washout check box, and select OK. The image repeats on every page behind the text. To resize it, double-click the header area, then drag the image’s corner handles to fit the page.
  • As a picture behind the text: insert the image with Insert > Pictures, select Layout Options > Behind Text, and stretch it over the page. This version appears only on the page where you placed it.

Either way, keep the frame inside the printable area, or the outer edge will be cut off when you print. The guide to adding a watermark in Word explains how picture watermarks are positioned.

Word for Mac and Word for the web

Word for Mac uses the same commands: Design > Page Borders for page borders, Home > Borders for paragraphs and text, Picture Format > Picture Border for images and Table Design > Borders for tables. Dialog layouts differ slightly, but the Setting, Style, Art and Apply to options are the same.

Word for the web keeps borders made in the desktop app, but according to Microsoft it can’t add, edit or delete borders around text. Microsoft’s comparison of the browser and desktop versions also lists page layout and page background settings as kept but not editable online, so expect to add page borders in the desktop app too. Microsoft suggests putting the text in a one-cell table and bordering the table as a workaround. For a real page or paragraph border, select Editing > Open in Desktop App and add it in Word for Windows or Mac.

Troubleshooting

The border doesn’t print, or one side is missing

Most printers can’t print right up to the paper edge, so a border close to the edge gets clipped. Open Design > Page Borders > Options and set Measure from to Text, or increase the margin values. If that isn’t enough, widen the page margins under Layout > Margins > Custom Margins on the side that’s missing. Microsoft explains this in why page borders aren’t printing. Check File > Print to preview the result before you print.

The border shows on the wrong pages

Your document has more than one section. Turn on formatting marks to find the section breaks, click in the section you want, and reopen Page Borders to check the Apply to setting. To start over, choose Whole document.

The border overlaps the text or the header

A page border doesn’t change your margins; it’s drawn on top of the layout. If it crowds the text, increase the margins, lower the Width (Art borders in particular can be very wide), or use Options to move the border outward.

Bordered paragraphs merge into one big box

Word joins adjacent paragraphs that have identical border settings. To keep them separate, put an empty paragraph with No Border between them, or give one of them slightly different settings.

Every new paragraph gets a border

Pressing Enter inside a bordered paragraph carries the border to the new line. Click in the new paragraph and choose Home > Borders > No Border.

I see faint lines that aren’t a border

Gray lines around the text area are text boundaries, an on-screen guide that never prints. Turn them off under File > Options > Advanced by clearing Show text boundaries.

Check the result and undo it

Use File > Print to see a preview of every page, which is the quickest way to confirm the border is on the right pages and isn’t clipped. To undo a border you just added, press Ctrl + Z (Command + Z on a Mac).

To remove one later, reopen the same tool and choose the “none” option: None under Setting in Page Borders (with the same Apply to choice you used), No Border on the Home tab Borders menu, or No Outline under Picture Border or Shape Outline. If a line still won’t go away, it may be a different kind of line altogether; the guide to removing a border line in Word helps you identify and delete it.

Frequently asked questions

How do I make a page border thicker?

In the Page Borders dialog, pick a larger value from the Width list. Line borders top out at a few points, so for something bolder try a double or thick-thin line style, or choose an Art border, which accepts much larger widths.

Can I add a colored background inside a page border?

Yes, but it’s a separate setting. Page color is under Design > Page Color, and it fills the whole sheet, not only the area inside the border. The page color guide explains how to make that color print, since Word skips background colors when printing by default.

Will the border stay if I save as a PDF?

Yes. Page, paragraph, picture and table borders are all part of the document layout, so File > Save As > PDF keeps them. Unlike a printer, a PDF isn’t limited by a printable area, so a border near the edge appears in full.

Next step

Once the border looks right in the print preview, save the document as a template (File > Save As, then choose Word Template) if you’ll reuse the same frame for certificates or flyers. Every new document made from that template starts with the border already in place.