How to Change Margins in Google Docs

Google Docs lets you set exact margins through File > Page setup on a computer. Choose Pages, enter the top, bottom, left, and right margins, then click OK. If those controls are missing, the document may be in Pageless format.

The Android, iPhone, and iPad apps don't offer the same margin fields in Page setup. For precise values, use the Docs website from a computer, including a Chromebook.

Set all four margins through Page setup

Start with the file whose page layout needs changing. Make sure your signed-in account has permission to edit that file. Page settings can't be changed with view-only access.

  1. Click File > Page setup.
  2. Select Pages at the top of the dialog.
  3. If Apply to appears and the change should affect everything, choose Whole document.
  4. Enter the required values in Top, Bottom, Left, and Right under Margins.
  5. Click OK and review the document.
Drawing of the Google Docs Page setup dialog with Pages and margin fields highlighted

Read the unit shown beside the margin controls. A request for one-inch margins means entering 1 when the controls use inches. For a centimeter-based requirement, use the equivalent value in the units the document's dialog shows.

For example, 1 inch equals 2.54 centimeters. Don't enter 2.54 into fields marked inches when the requirement is 2.54 centimeters. It's easy to get the wrong margins if you check the number but miss the unit.

Changing margins changes the available space for the document's contents. Narrower margins leave more room, while wider margins can push words onto another line and increase the page count.

Google lists the numeric margin controls in Page setup. They're the clearest route when a teacher, client, or submission form specifies exact measurements.

Switch out of Pageless when margins are missing

A Pageless document scrolls without fixed paper pages. It doesn't have the same page margins, paper size, or orientation controls. Changing the zoom or browser width won't bring those fields back.

Return to File > Page setup, select Pages, and make your margin changes there. This switches the document to a layout based on sheets of paper, which is the format needed for ordinary print margins.

Review wide tables and pictures after switching. A wide table or picture that fit the scrolling document now has to fit the paper size and margins you've chosen.

For online reading, you may prefer Pageless. Its reading width isn't the same as print margins. Choose between a scrolling document and fixed paper pages before switching formats.

Keep paragraph indents separate from page margins

A paragraph that starts farther inward than the others can have an indent even when the page margin is correct. Changing the whole document's left margin shifts the space available for text, including paragraphs that were already right.

Check whether every paragraph has the same unwanted gap. If just one paragraph or a short selection is shifted, inspect its paragraph formatting rather than changing all four page margins.

The ruler can help explain the difference. Indent markers control where selected paragraphs begin or end. The boundary between the ruler's gray and white areas marks the edge of the page's writing area.

For an exact assignment requirement, I'd enter the margins in Page setup first. Then correct any remaining paragraph indents separately. That avoids guessing whether a small ruler movement changed the margin or only the current paragraph.

If text has been pasted from another app, look at several paragraphs before deciding the whole page is wrong. Imported formatting can make one part of a document look narrower even though the page settings are the same.

For Word files opened in Docs, the Word document opening guide explains the difference between editing the Office file and creating a Google document copy.

Apply the change to the whole document

For a document with sections, check the Apply to choice when it is available in Page setup. Whole document is the right choice when every page should follow the same formatting requirement.

Page layouts can differ between sections. If some pages still look different, click View > Show section breaks to see where those sections begin and end. Don't delete breaks just to hide the difference before checking what they do.

A landscape table page among portrait pages isn't automatically a margin problem. Orientation and paper size also change the space available for text, even when the margin measurements match.

Review the first page, a middle page, and any page after a section break. You'll catch more layout differences this way than by looking only at the page where your cursor was when you opened Page setup.

Header and footer placement is another separate setting. A line near the top or bottom can be part of a header or footer rather than ordinary body text inside the page margins.

Save defaults only for future documents

Set as default in Page setup applies the selected page settings to new documents you create. Use it if you repeatedly start documents with the same paper and margin requirements.

It doesn't update all the older documents in your account. Open an existing document and change its own page settings when that file needs different margins.

Check the paper size and orientation before setting a default. Page setup saves these settings together. If you usually write in portrait, don't use a special landscape document to set your everyday defaults.

Shared files also deserve their own check. A document opened from someone else's template can arrive with its own layout, regardless of what you normally use when starting a blank document.

Handle the Android, iPhone, or iPad app

In Android Docs, open the document, tap Edit, then More > Page setup. The available settings include orientation, paper size, and page color. The desktop margin fields aren't included in that list.

With a file open in Docs for iPhone or iPad, tap More > Page setup. It also offers orientation, paper size, and page color, but not exact top, bottom, left, and right margins.

Use a computer to set the measurements, then reopen the same document on your phone. In the mobile app's More menu, turn on Print layout to review how the pages are arranged.

For a Mac where edits won't paste into the document, the Docs copy and paste guide handles that editing problem separately from page layout.

Check the printed result before submitting

To display page boundaries on a computer, enable View > Show print layout. Then open print preview and compare the page count and positions of headings, tables, and pictures with the document.

Check the printer's paper size as well. Letter and A4 aren't the same sheet, so a mismatch can make an otherwise correct document print differently from what you expected.

If changes won't save, check editing access and whether you're working in the intended account and file. For a shared school or work document, request an editable copy or permission from its owner before altering the layout.

If the problem continues, use Docs Help or its help community. Include whether the file uses Pages or Pageless, your device, and whether the margin numbers change after you click OK.

The Short Version

Open File > Page setup > Pages in the computer browser, enter all four margin values, and click OK. Choose Whole document when needed, then review the finished pages in print layout.

Checked November 29, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment