Open the page setup menu to add a border
To add a border around your page in Google Docs, go to File > Page setup. A dialog box will open with options for margins, page size, and page color. At the bottom of this dialog, you'll see a Border section with a dropdown menu that currently says "None".
Click the dropdown and choose from four border styles: a solid line on all four sides, a solid line on the left only, a solid line on the right only, or no border. Once you select a style, the border appears on every page of your document. The border sits outside your margin area, so it does not reduce the space available for your text.
Key Takeaways
- Page borders are added through File > Page setup, not through the toolbar or Format menu.
- Google Docs offers four preset border options: all sides, left only, right only, or none.
- You can change the border color and width in the same Page setup dialog without reselecting the border style.
- Borders apply to the entire document unless you use section breaks to create different page setups for different parts.
- Borders print by default, but you can uncheck the Print option in the border settings if you want them visible on screen only.
Customize the border color and thickness
After selecting a border style, two additional options appear: Color and Width. Click the color box to choose from Google's standard color palette, or enter a custom hex code if you want a specific shade. The width dropdown lets you pick from thin, medium, or thick — there is no way to enter a custom pixel measurement for the border thickness.
Changes take effect immediately in your document. If you want to see how the border looks before finalizing, click Apply instead of closing the dialog, and the border will appear on your page while the dialog stays open. This lets you preview the color and width combination before you commit to it.
Apply different borders to different sections
If you want some pages to have a border and others not to, you need to break your document into sections with different page setups. Go to Insert > Break > Section break to create a new section. Each section can have its own border settings independent of the others.
After inserting a section break, place your cursor in the section you want to modify, then open File > Page setup again. The settings you change will apply only to that section, not the entire document. This method works for adding a border to just the first page, the last page, or any specific range of pages in the middle of your document.
Remove or change a border you've already added
To remove a border, go back to File > Page setup, click the border dropdown, and select None. This removes the border from all pages unless you are working within a specific section that has its own page setup.
To change an existing border's color or width without removing it, open the Page setup dialog again and adjust the Color or Width settings. You do not need to reselect the border style — just modify the appearance and click OK. The changes apply immediately to your document.
Borders and printing
Page borders print by default when you print or download your document as a PDF. If you do not want the border to appear in the printed version, you can disable it by going to File > Page setup, selecting your border style, and unchecking the Print option at the bottom of the Border section.
This setting is useful if you want a border visible on screen for organizational purposes but prefer a clean printed page. The border will still appear in the Google Docs editor and in any PDFs you share with others, but not in physical printouts or when someone else prints the document from their own copy.
Borders versus tables for page layout
A page border frames the entire page edge, while a table can create borders around specific content. If you want a border around just a paragraph or section of text rather than the whole page, insert a table with one cell instead. Go to Insert > Table, create a 1x1 table, and type your content inside. You can then adjust the table borders through the table menu to get the exact look you want.
For a full-page frame, the page border method is simpler and cleaner because it requires no table structure. For content-specific borders around text, images, or mixed content, a single-cell table gives you more control over where the border appears and how it behaves when you edit the document.
Frequently Asked Questions
Can I add a border to just one page?
Yes, by using section breaks. Insert a section break before and after the page you want to border, then set the border for only that middle section. The pages before and after will have no border.
Why doesn't my border show up when I print?
Check that the Print checkbox is enabled in the Border section of Page setup. If it is unchecked, the border will not appear in printed or PDF versions of your document.
Can I make the border thicker than the "thick" option?
No. Google Docs offers only three preset widths: thin, medium, and thick. You cannot enter a custom pixel measurement for border thickness.
Does a page border affect my margins?
No. The border sits outside your margin area and does not change how much space is available for text. Your margins remain independent of the border.
Can I add a border to the top and bottom only?
The preset options do not include top and bottom only. Your choices are all four sides, left only, right only, or none. For a top-and-bottom border, use a table or draw lines with the drawing tool instead.