How to Change Margins in Google Docs (2 Methods)

Updated 5 min read

Quick answer

To change margins in Google Docs, click File → Page setup, choose Pages, type new Top, Bottom, Left and Right values, and click OK. For a quick visual change, drag the margin edge on the ruler instead. Margins aren't available in pageless documents, so switch to Pages format first.

Margins are the blank space between your text and the page edge. Google Docs applies them only in Pages format, and they also control how wide your columns, tables and images can be.

Methods in this guide:

Changing margins using Page setup

Use this when you need exact numbers, such as a 1-inch margin for a school or style-guide requirement.

  1. Open the document in Google Docs on your computer.

  2. Click File → Page setup.

  3. At the top of the dialog, select Pages. (If you only see pageless options, see Pageless format below.)

  4. Under Apply to, check the scope. Depending on your document, the list can include Whole document, This tab, This section, This section forward or Selected content.

  5. Under Margins, type values for Top, Bottom, Left and Right.

    Google Docs Page setup dialog on the Pages tab, with Apply to set to This tab and the Top, Bottom, Left and Right margin fields highlighted

  6. Optional: click Set as default so new documents you create use the same settings.

  7. Click OK.

Result: The margins change right away for the scope you chose. The same dialog also lets you change one page to landscape or change the paper size.

Tip: Common values are 1 inch on all sides (the usual requirement for MLA and APA papers) and 0.5 inch for “narrow” layouts that fit more on each page.

Different margins for one part of the document

Use this when only one section, such as an appendix or a wide table, needs different margins.

  1. Click where the new section should start.
  2. Click Insert → Break → Section break (next page) or Section break (continuous).
  3. Place the cursor inside the new section.
  4. Open File → Page setup and set Apply to to This section (or This section forward).
  5. Enter the margins and click OK.

To see where sections start and end, click View → Show section breaks. Google’s help on page and section breaks covers each break type.

Changing margins using the ruler

Use this when you want a quick visual adjustment and don’t need the same value on every side.

Google Docs horizontal ruler with the gray margin area at each end and the white text area between them

  1. If the rulers are hidden, click View → Show ruler.

  2. Find the margin edge: the line between the gray area at the end of the ruler and the white text area.

    • The top ruler controls the left and right margins.
    • The ruler on the left side controls the top and bottom margins.
  3. Move the pointer over the margin edge until it becomes a two-sided arrow (↔).

  4. Drag the edge left or right on the top ruler. The text reflows as you drag.

    Google Docs with horizontal ruler above the document and vertical ruler along the left; gray margin bands and the page edge boundary visible for drag adjustments

  5. Optional: on the left ruler, drag the edge up or down to change the top or bottom margin.

Result: The margins move to where you release the mouse. Opposite sides may no longer match.

Tip: Drag the margin edge, not the small blue triangle and rectangle. Those are indent markers that control paragraph indents, not margins.

Note: If the ruler doesn’t respond, turn on View → Show print layout and check that the document is in Pages format.

Comparing the two methods

MethodBest forWorks on
File → Page setupExact values, sections, and a default for new documentsGoogle Docs on a computer, Pages format
RulerQuick visual tweaks while you look at the layoutGoogle Docs on a computer, Pages format

A practical workflow: drag on the ruler to get the look you want, then open File → Page setup to read off the exact numbers.

Pageless format and document tabs

Margins behave differently depending on the document format and how it’s organised.

  • Pageless format: Google’s Page setup help says page size, margins and orientation aren’t available in pageless documents. Click Format → Switch to Pages format, then set margins. See pages vs pageless for what else changes.
  • Document tabs: In a document with tabs, Apply to can be set to This tab, so margins can differ from tab to tab. Check the scope before you click OK, then open your other tabs from Show tabs & outlines to confirm.
  • Mobile apps: Page setup in the Android and iPhone apps covers orientation, paper size and page color, not margins.

Troubleshooting

  • Page setup has no Margins fields. The document is pageless. Switch to Pages format.
  • Margins changed in the wrong place. Check Apply to and where your cursor was. Turn on View → Show section breaks to see the sections.
  • Only one paragraph moved. You dragged an indent marker, not the margin edge. Undo with Ctrl + Z (Windows) or Cmd + Z (Mac).
  • The PDF has different margins. The browser’s print dialog has its own Margins setting. To keep the document’s margins, export the document as a PDF with File → Download instead.

Once margins are set, you can split the page into two columns within them or frame the page with a border. Working in Word as well? See how to change margins in Microsoft Word, or browse more Google Docs layout guides.

Frequently asked questions

What are the default margins in Google Docs?

New documents typically use 1-inch margins on all four sides. You can change the default for your own new documents with File → Page setup → Set as default.

How do I set 1-inch margins in Google Docs?

Open File → Page setup, type 1 in the Top, Bottom, Left and Right fields, and click OK. Click Set as default first if you want new documents to start with 1-inch margins.

Why can't I change margins in Google Docs?

The document is probably in pageless format, where margins aren't available. Click Format → Switch to Pages format, then open File → Page setup again.

Can I change margins for just one page or section?

Yes. Insert a section break with Insert → Break → Section break, place the cursor in that section, then choose This section under Apply to in Page setup.

Can I change margins in the Google Docs mobile app?

Google's help for the Android and iPhone apps lists orientation, paper size and page color under Page setup, but not margins. Change margins on a computer instead.