Software & OS

How to Change Margins in Google Docs (Page Setup and Ruler)

To change margins in Google Docs, click File, then Page setup, select Pages at the top of the dialog, change the Margins settings and click OK. For a quick adjustment you can instead drag the triangle on the ruler above the page.

Both methods work in the desktop (browser) version of Google Docs. Which one you pick depends on whether you want exact values for the whole document or a rough change for the text you have selected.

Change margins with Page setup

This is the method Google's help documents first, and the one to use when you need the same margins everywhere.

  1. Open the document on your computer.
  2. Click File, then Page setup.
  3. Select Pages at the top of the dialog.
  4. Change the Margins settings.
  5. Click OK.

The same dialog is where you change page orientation, paper size and page color. If you are fitting a document to a required layout, such as a school or office template, set paper size first, then margins, because the paper size decides how much room the margins leave for text.

Google's help does not describe the individual margin fields or the unit of measurement, so read the labels in your own dialog and enter values in the unit it shows. After clicking OK, scroll through the document and check that headings and tables still sit where you expect.

Change margins with the ruler

The ruler is faster when you only need to nudge a margin. Google's help describes it like this:

  1. Open the document in Google Docs.
  2. Select a section of your text, graphics or images.
  3. At the top, drag the triangle on the ruler to where you want the margin to be.

Note the second step. The ruler change is tied to what you selected, so select first, drag second. If you drag without selecting anything and the result looks wrong, press Ctrl+Z (Cmd+Z on a Mac) to undo it and try again with the text selected. If the ruler is not visible at all, it is a view option: check the View menu for a Show ruler entry.

Use Page setup rather than the ruler when you need the margin to be the same on every page, or when you want to be able to repeat the exact value in another document.

Set different margins for part of a document

Google's help covers changing margins for multiple sections. A section is a part of the document that has its own page settings, and you create one with a section break:

  1. Click where you want the new section to begin.
  2. Click Insert, then Break, then Section break.

Then change the margins for the sections you want:

  1. Click File, then Page setup.
  2. At the top, choose which sections to change.
  3. Set your margins and click OK.

In Google's page setup article the "Apply to" choices are Whole document, This section and This section forward. That article demonstrates them with page orientation, and they sit in the same Page setup dialog as the margins. Use "This section" to change only the section your cursor is in, and "This section forward" to change it and every later section.

Make your margins the default for new documents

If you always want the same margins, set them once. In the Page setup dialog, enter your margins, click Set as default, then click OK. Google's help says this applies your settings to new documents you create. It does not change documents you already made, so you still need to adjust older files one by one.

Why the margin options are missing

If File, Page setup shows no Pages settings, or margin changes seem unavailable, check the document format first. Google's help says that page setup features like margins are not available in pageless format, and that you need to switch to pages format first. In pageless format you can still update the background color, according to the same page.

To switch back to pages, use either route:

  • File, then Page setup, select Pages at the top, and click OK.
  • Format, then Switch to Pages format.

Pages format is also the format in which a document has page numbers, headers and footers, and the page-based layout that print and PDF export follow. If the document will be printed or submitted as a PDF, keep it in pages format and set the margins before you finish editing.

Header and footer margins

Margins for the header and footer are not part of the page margins described above. Google's page-break and margin help points to a separate article on headers, footers and page numbers for moving them, so look there rather than expecting the Margins settings to move them.

On a phone or tablet

Google's help page for the Android app lists the page settings you can change as orientation, paper size and page color. Margins are not in that list. If you need different margins, make the change in a browser on a computer. The document is stored in your Google account, so the new margins will be there when you open it on your phone.

Margins and page count

Smaller margins fit more text on each page, and larger margins fit less, so changing them can add or remove pages. If a change leaves a stray empty page at the end, see how to delete a page in Google Docs. If you are trimming a document to a length limit, check the result with the steps in how to see how many words are on Google Docs. Be careful with extreme margins: many assignments and submission forms specify margin sizes, and squeezing them to hit a page limit can break those requirements.

Quick troubleshooting

  • Nothing changes after OK: check that the "Apply to" choice matches what you wanted, especially if the document has section breaks.
  • Only some pages changed: you probably changed a single section. Reopen Page setup and apply the margins to the whole document.
  • Ruler drag moved the wrong text: undo, select the text you meant to change, and drag the triangle again.
  • Margin settings are missing: switch the document from pageless to pages format.

Frequently asked questions

Where are the margin settings in Google Docs?
On a computer, open the document and click File, then Page setup. Select Pages at the top of the dialog, change Margins, and click OK. The same dialog holds orientation, paper size and page color.
Why can't I change margins in my Google Doc?
The most likely reason is that the document is in pageless format. Google's help says page setup features such as margins are not available there. Click File, then Page setup, select Pages, and click OK, or use Format and choose Switch to Pages format.
Can I make my margin choice the default for new documents?
Yes. In the Page setup dialog, click Set as default before you click OK. Google's help says this applies your settings to new documents you create. Existing documents keep their own settings.
Can I change margins in the Google Docs mobile app?
Google's help page for the Android app lists orientation, paper size and page color as the page settings, and margins are not among them. Make the change on a computer, then reopen the document on your phone.

Sources