Excel Page Margins: How to Set and Fix Them
In this article
To set page margins in Excel, open the Page Layout tab, click Margins, and choose a preset or click Custom Margins to enter your own values. You can also use Page Layout view to drag the margin boundaries directly. Margins control the blank space around the printed area of each page, so getting them right keeps your spreadsheet from splitting awkwardly across pages or wasting paper. The steps below cover the ribbon method, custom margins, and how to fix common printing problems.
What You'll Need
- Excel for Windows, Mac, or the web (the Page Layout tab is available in all three, though the exact labels may differ slightly by version or region).
- A spreadsheet you want to print or export to PDF.
- Optional: a printer or PDF export tool if you plan to check the result.
Step-by-Step
- Open your workbook and select the sheet you want to adjust. Margin settings apply per sheet, so repeat these steps for each sheet if needed.
- Go to the Page Layout tab on the ribbon. On Windows and Mac, this tab sits next to Formulas and Data. In Excel for the web, the tab is called Page Layout as well.
- Click Margins in the Page Setup group. A dropdown appears with three presets: Normal, Wide, and Narrow. Normal is the default and works for most documents. Wide gives more white space for binding or a cleaner look. Narrow fits more columns on a page.
- Choose a preset if one suits your needs. Excel applies it immediately. You can see the effect in Print Preview (File > Print) or by switching to Page Layout view (View > Page Layout).
- For exact control, click Custom Margins at the bottom of the Margins dropdown. The Page Setup dialog opens to the Margins tab.
- Enter values for Top, Bottom, Left, and Right margins in inches (or your regional unit). You can also set Header and Footer margins to control how far the header or footer sits from the page edge.
- Check the Center on page options if you want the printed data centered horizontally or vertically. This is useful for reports or single-table printouts.
- Click OK to apply. The dialog closes and the new margins take effect.
- Verify in Print Preview by pressing Ctrl+P (Windows) or Command+P (Mac). Look at the page breaks and adjust column widths or margins if content still spills over.
- Repeat for other sheets as needed. To apply the same margins to multiple sheets at once, select the sheet tabs (hold Ctrl or Command and click each tab) before opening the Margins menu, then set the margins. This groups the sheets for that setting.
Common Mistakes
- Setting margins on the wrong sheet. Margins are per-sheet, not global. If you change one sheet and print another, the second sheet keeps its old margins.
- Confusing margins with print area. Margins control blank space around the page; the print area controls which cells print. If data is cut off, check both.
- Ignoring header and footer margins. If your header overlaps the top row of data, increase the Top margin or reduce the Header margin in Custom Margins.
- Using Narrow margins to fix column overflow. Narrow margins help, but if columns are still too wide, adjust column widths or use Fit to Page scaling (Page Layout > Scale to Fit).
- Forgetting that margins affect PDF export. When you export to PDF (File > Export > Create PDF/XPS), the same margins apply. Check the PDF before sharing.
Tips
- Use Page Layout view (View > Page Layout) to see margins as dashed lines and drag them with the mouse. This is faster than opening the dialog for small tweaks.
- Set a slightly larger left margin if you plan to hole-punch or bind the printout.
- For wide tables, try Landscape orientation (Page Layout > Orientation > Landscape) before shrinking margins to extremes.
- If you often use the same custom margins, create a template or copy the sheet to reuse the settings.
- Remember that margin units follow your system's regional settings (inches in the US, centimeters in many other regions).
Troubleshooting
- Margins look different in print than on screen. Check that you are viewing the correct sheet and that no scaling option (Fit to Page) is overriding your margins. Also confirm the printer driver is not adding its own unprintable area.
- Content still splits across pages. Reduce margins further, adjust column widths, or use Scale to Fit (Page Layout > Scale to Fit) to force the sheet onto fewer pages.
- Header or footer is cut off. Increase the Header or Footer margin in Custom Margins, or reduce the Top/Bottom margin.
- Margins revert after reopening. The workbook may be saved in a format that does not retain all print settings, or you may be editing a different sheet. Save as .xlsx to keep settings.
- Cannot set margins in Excel for the web. The web version has limited Page Setup options. Open the file in desktop Excel for full margin control.
Frequently Asked Questions
How do I change margins for all sheets at once?
Select multiple sheet tabs (hold Ctrl or Command and click each tab), then set margins via Page Layout > Margins. The setting applies to all selected sheets.
What is the difference between Normal, Wide, and Narrow margins?
Normal uses standard margins (about 0.75 inches top/bottom and 0.7 inches left/right in many versions). Wide increases them for a more spacious look. Narrow reduces them to fit more data per page.
Can I set margins in centimeters?
Yes. Excel uses your system's regional measurement unit. If your computer is set to metric, the Custom Margins dialog will show centimeters.
Why do my margins not apply when I print?
Check that you are printing the correct sheet, that no scaling option is overriding margins, and that the printer driver is not adding unprintable areas. Also verify the print area includes the cells you expect.
Do margins affect PDF export?
Yes. When you export to PDF, Excel uses the same page setup, including margins. Preview the PDF to confirm the layout.
How do I remove margins completely?
You cannot set margins to zero in Excel; the minimum is a small positive value. For edge-to-edge printing, you would need to adjust the print area and scaling, but some blank space will remain due to printer limitations.