TechBuzzPro

How to Put a Box Around Text in Word: Step-by-Step

· 7 min read · Apps & Browsers

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

This guide shows you how to add a visible border or box around any text in Microsoft Word, whether it's a single word, a paragraph, or a whole page. You'll learn the quickest methods using built-in tools, and we'll cover the most common pitfalls so you can get a clean, professional result every time.

What You'll Need

  • Microsoft Word (2016 or later, including Microsoft 365) installed on your computer.
  • A document with the text you want to box, or a blank document to practice on.

Step-by-Step

Method 1: Box a Single Word or Short Phrase (Using Borders)

  1. Select the text – Click and drag your mouse over the word or phrase you want to box. Make sure only the text you want is highlighted.
  2. Go to the Home tab – In the top ribbon, click the Home tab if it's not already active.
  3. Find the Borders button – Look in the Paragraph group. You'll see a square icon with four lines (it looks like a window pane). It's the Borders button. Click the small arrow next to it to open the dropdown menu.
  4. Choose “Outside Borders” – From the dropdown, select Outside Borders (the icon shows a box with lines on all four sides). Word immediately draws a thin black box around your selected text.
  5. Adjust the border style (optional) – If you want a thicker line, a different color, or dashed lines, click the arrow next to the Borders button again and choose Borders and Shading… at the bottom of the menu. In the dialog box, you can pick a style, color, and width. Click OK to apply.

Method 2: Box a Paragraph or Block of Text (Using Borders)

  1. Select the paragraph(s) – Click and drag over the entire paragraph, or place your cursor anywhere inside the paragraph if you want to box just that one paragraph.
  2. Apply borders – Follow steps 2–4 from Method 1. The border will enclose the whole paragraph, extending from the left margin to the right margin.
  3. Add internal spacing (optional) – If the text touches the border, you can add space inside the box. Open Borders and Shading (as in step 5 above), click the Options… button, and increase the Top, Bottom, Left, and Right margins (e.g., set them to 4 or 6 points). Click OK twice.

Method 3: Box Text Using a Text Box (For More Control)

  1. Insert a text box – Go to the Insert tab and click Text Box (in the Text group). Choose Simple Text Box from the dropdown.
  2. Type or paste your text – A box appears with placeholder text. Replace it with your own text.
  3. Remove the default fill (optional) – By default, the text box has a white background and a border. To make it look like a simple box around your text, right-click the border of the text box and choose Format Shape. In the pane, set Fill to No fill and Line to a solid line (or choose your desired color and weight).
  4. Resize and position – Click and drag the handles on the edges to resize the box. Drag it anywhere on the page.

Method 4: Box an Entire Page (Page Border)

  1. Go to the Design tab – Click Design (or Layout in some versions) in the ribbon.
  2. Click Page Borders – In the Page Background group, click Page Borders.
  3. Choose the border style – In the dialog box, select a style (solid, dashed, artistic), color, and width. The Apply to dropdown lets you choose Whole document, This section, or This section – first page only.
  4. Click OK – The border appears around the entire page margins.

Common Mistakes

  • Selecting the paragraph mark – When you select text, you may accidentally include the pilcrow (¶) at the end of the paragraph. This can cause the border to extend to the next line or behave oddly. Use the selection carefully.
  • Borders not showing on all sides – If you only see a line on some sides, you might have clicked a specific border option (like “Bottom Border”) instead of “Outside Borders”. Always choose the “Outside Borders” option for a full box.
  • Using a text box for a single word – Text boxes are great for layout, but they can make it hard to keep text inline with the rest of your document. For a simple inline box, use the borders method.
  • Forgetting to remove the default fill – If you use a text box and leave the fill white, it will cover any background color or image behind it. Set fill to “No fill” if you want only the border.
  • Applying a page border when you meant a text border – Page borders surround the whole page, not individual text. Make sure you're on the right tab (Design vs. Home).

Tips

  • Use keyboard shortcuts – After selecting text, you can press Ctrl+Shift+W to add a top border, but for a full box, it's easier to use the mouse.
  • Customize the border style – In the Borders and Shading dialog, you can choose from many line styles (dotted, dashed, double) and colors. This is great for making a box stand out.
  • Add shading for emphasis – In the same dialog, go to the Shading tab and choose a light fill color (like light gray) to make the boxed text pop.
  • Copy the formatting – If you want to box multiple paragraphs the same way, select the first boxed paragraph, double-click the Format Painter (in the Clipboard group on Home), then click on the other paragraphs. Press Esc to turn off Format Painter.
  • Use a one-cell table for complex layouts – If you need to place a box around text and also control its position precisely, insert a 1x1 table, type your text, and then remove the table borders except the outside ones. This gives you more layout control.

Troubleshooting

  • No border appears after clicking “Outside Borders” – Make sure you have selected text first. If you're trying to box a paragraph, ensure your cursor is inside the paragraph. Also check that the border color isn't white (set to white by accident). Go to Borders and Shading and set the color to black or your desired color.
  • Border only appears on top and bottom, not left and right – This happens when the paragraph is full-width and the left/right borders are at the page margins, which can be invisible if the text is flush. Increase the paragraph's left and right indents slightly, or add spacing inside the box using the Options button.
  • Border extends across the whole page when you only want a word – This is normal if you've selected a full paragraph. To box just a word, make sure you select only the word, not the entire line. If the word is at the end of a line, the border may still span the line width; use a text box instead for inline short phrases.
  • Text box won't stay where you put it – Text boxes are floating objects. To keep them in place relative to the text, right-click the border, choose Wrap Text, and select In Line with Text. This will treat it like a character.
  • Page border doesn't print – Some printers have a non-printable area at the edges. In the Page Borders dialog, click Options and set the margins to a value larger than the printer's minimum (e.g., 24 points). Also, check the print preview.

Frequently Asked Questions

Can I box only a single letter or number?

Yes, select the letter or number and apply “Outside Borders” as described. The box will be small and fit the character. For a perfect square, you might need to use a text box or a table cell.

How do I remove a box from text?

Select the boxed text, go to the Borders button, and choose No Border from the dropdown. For a text box, select it and press Delete. For a page border, go to Design > Page Borders and choose None.

Can I put a box around text that is already in a table?

Yes. Select the text within the table cell, then apply borders using the same method. You can also use the table's own borders to create a box around the entire cell.

Why does the border not include the space after a period?

Word's borders only cover the selected text or paragraph. If you want the box to include trailing spaces, select them as part of the text. For a paragraph, the border always spans the full paragraph width.

Can I save a custom border style for reuse?

Yes, you can create a new paragraph style with the border applied. Select the boxed text, right-click, choose Styles > Save Selection as a New Quick Style. Give it a name, and it will appear in the Styles gallery for future use.

Does this work in Word for Mac?

Yes, the steps are nearly identical. The Borders button is in the Home tab under Paragraph, and the Page Borders option is in the Layout or Design tab. The dialog boxes look similar.