To add a top border in Word, select the paragraph, open Home → Borders → Borders and Shading, click the top edge in the Preview box, set line style and color, and click OK. For a one-click rule, use Top Border from the Borders dropdown.
Key Takeaways
Home → Borders → Top Border adds a line above the current paragraph.
Use Borders and Shading when you need custom thickness, color, or spacing.
Apply top borders to table cells to highlight header rows.
WPS Writer mirrors Word’s Borders menu on the Home tab.
Top Border vs. Other Lines in Word
A top border draws a horizontal rule above a paragraph or cell. Users often confuse it with:
| Feature | What it does |
|---|---|
| Top border | Line above paragraph/cell (full width) |
| Bottom border (previous paragraph) | Line below the paragraph above—visually similar |
| Page border | Frame around the entire page (Design → Page Borders) |
| Underline | Line under characters only |
Add a Top Border in Microsoft Word

One-click top border
Place the cursor in the target paragraph.
Home → Borders → Top Border.

Custom top border
Select the paragraph(s).
Home → Borders → Borders and Shading.
In Preview, click the top line position.
Choose Style, Color, Width.
Set Apply to: Paragraph → OK.
Tip: Add spacing before the paragraph (Layout → Spacing → Before) so the line does not sit on the text above.
Add a Top Border in WPS Writer
Open the document in WPS Writer.
Select the paragraph.
Home → Borders → Top Border, or open Borders and Shading for custom lines.
Export or share as .docx to keep top borders intact in Microsoft Word.

Top Border on Table Header Rows
Select the header row.
Table Design → Borders → Top Border (or Borders and Shading → top edge only).
Combine with bottom border on the same row to box the header.

Troubleshooting Top Borders
Line too close to text: increase Spacing Before on the paragraph.
Border on wrong paragraph: ensure only one paragraph is selected; check Apply to: Paragraph.
Cannot see the line: set width to at least ½ pt and use a dark color.
Format Borders with WPS Office
WPS Office includes Writer with Word-compatible border and picture formatting—ideal when you need a free .docx editor on Windows, Mac, or mobile. Borders you apply in WPS open correctly in Microsoft Word.
For a line below text, read how to add a bottom border in Word. To frame photos, see how to add a border to a picture in Word.
FAQs
How do I add a top border to one paragraph only?
Click inside that paragraph → Home → Borders → Top Border, or use Borders and Shading with Apply to: Paragraph.
How do I add a top border in Word for Mac?
Home → Borders → Top Border, or Format → Borders and Shading on older Mac builds.
Top border not printing?
Check File → Options → Display → ensure borders print, and verify Print Preview.
Can I copy top border formatting?
Use Format Painter after applying the border, or save a paragraph style with the top border built in.
Summary
How to add a top border in Word: select the paragraph → Home → Borders → Top Border, or use Borders and Shading to style only the top edge. Use the same workflow in WPS Writer for cross-platform .docx editing.




