How to Remove the Header and Footer When Printing in Firefox

To remove the header and footer when printing in Firefox, press Ctrl + P (Command + P on a Mac), click More settings in the print panel, and uncheck Print headers and footers. Then click Print, and the page title, web address, date, and page numbers no longer appear on the paper or PDF.

These steps are for the current version of Firefox on Windows, Mac, and Linux, which uses a print preview with a settings panel. They follow Mozilla’s How to print web pages in Firefox article. Older Firefox releases used a separate Page Setup window, covered further down.

What Firefox Adds to the Header and Footer

When you print a web page, Firefox adds small lines of text in the top and bottom margins of each sheet. By default these are the page title, the web address (URL), the date, and the page number. They come from the browser, not from the website, which is why the website can’t hide them and the browser setting can.

Turning the setting off removes all of these fields at once. In the current print panel there is no option to keep the page numbers and drop the URL, for example. If you need that, see the advanced method below.

How to Remove the Header and Footer When Printing

  1. Open the page you want to print.
  2. Press Ctrl + P on Windows or Linux, or Command + P on a Mac. You can also click the menu button (three lines) in the top-right corner and choose Print. A preview of the page opens, with settings on the right side.
  3. Scroll down the settings panel and click More settings. More options open below it.
  4. Uncheck Print headers and footers. The preview updates, and the text in the top and bottom margins disappears.
Firefox print preview with Print headers and footers unchecked under More settings
Clear Print headers and footers under More settings, then click Print.
  1. Check the preview to make sure the rest of the page looks right.
  2. Click Print.
Card showing steps to remove headers and footers when printing in Firefox
Illustration: the steps to remove headers and footers when printing in Firefox.

Save a Web Page as a PDF Without the Header and Footer

The same checkbox works when you make a PDF instead of printing on paper.

  1. Press Ctrl + P (Command + P on a Mac).
  2. Next to Destination, choose Save to PDF.
  3. Click More settings and uncheck Print headers and footers.
  4. Click Save, then choose a folder and file name.

The PDF has clean margins with no URL, date, or page numbers.

What This Setting Doesn’t Remove

The checkbox only controls text the browser adds. A website’s own logo bar, navigation menu, cookie banner, or footer links are part of the page, so they still print. A quick test: uncheck Print headers and footers and watch the preview. Anything that disappears came from Firefox. Anything that stays came from the website.

To get rid of the website’s clutter as well, use one of these:

  • Simplified format: in the print panel, click More settings, and under Format choose Simplified. Mozilla’s simplified printing article explains that this prints a clutter-free version of the article. The Format choice is missing when Firefox can’t make a simplified version of the page. Simplified also turns off Print backgrounds.
  • Reader View: click the Reader View icon in the address bar (it appears only on pages that support it), or press Ctrl + Alt + R (Command + Option + R on a Mac), then press Ctrl + P. Mozilla notes that if Reader View is already on, the Format option doesn’t appear, because the page is already simplified.
  • Pages: in the print panel, set Pages to a custom range to skip the last sheets, which often hold only comments and site footers.
Card listing Firefox options for printing a cleaner page: Simplified format, Reader View, backgrounds, and resetting print settings
Illustration: options for printing a cleaner page in Firefox.

Does the Setting Stay Off?

Firefox saves print settings you change, so the box normally stays unchecked the next time you print. Mozilla’s Fix printing problems article confirms this when it describes how to clear those saved settings. Saved settings can be tied to a specific printer, though, so if you switch from your printer to Save to PDF, check the box again.

If your printer is missing from the Destination list, this article on printing on Windows 11 covers setup and fixes.

Some users on Mozilla’s forums report the headers coming back on later print jobs. If that happens to you, clear the header and footer text itself with the advanced method below.

Advanced: Blank the Header and Footer Fields in about:config

Firefox stores the text for each of the six header and footer positions (left, center, and right, top and bottom) as preferences. Emptying them stops Firefox from printing anything there, even when the checkbox is on. A volunteer answer on Mozilla’s support forum, marked as the solution, describes this fix. It isn’t part of Mozilla’s official documentation and could change in a future version, so use the checkbox first.

  1. Type about:config in the address bar and press Enter.
  2. Click Accept the Risk and Continue.
  3. In the search box, type print_header.
  4. For each result that has text in it, such as print.print_headerleft or print.print_headerright, click the pencil (edit) button, delete the value, and click the check mark to save.
  5. Search for print_footer and repeat for every footer preference.

You may see the same preferences repeated with your printer’s name in them, such as print.printer_ followed by the printer name. Empty those too, since they apply to that printer.

To undo this, click the reset (arrow) button next to each preference you changed, or use the reset steps below.

How to Reset Firefox Print Settings

If print settings keep coming back wrong, or you want to start over:

  1. Click the menu button, then Help (shown as Help and Report in some versions), and choose More Troubleshooting Information. The about:support page opens in a new tab.
  2. Scroll to the Printing section.
  3. Click Clear saved print settings.

This removes all modified print settings in Firefox. The next time you print, headers and footers are back on by default, so uncheck them again.

Older Versions of Firefox

Before the current print preview, Firefox had a Page Setup window under the File menu with a Margins & Header/Footer tab. Each of the six header and footer positions had a drop-down menu, and choosing the blank option removed that field. Many older tutorials still show this window. If your Firefox shows the preview panel described above, use the checkbox instead. If you are on a very old version, update Firefox to get the current print panel and security fixes.

Other Print Settings in Firefox

The print panel includes these settings:

Setting What it does
Destination Choose a printer, or Save to PDF to create a file
Copies Number of copies to print
Orientation Portrait or Landscape
Pages All pages, or only the pages you choose
Color mode Color or Black and white, if your printer allows it
More settings Paper size, Scale, Pages per sheet, Margins, Format, two-sided printing, Print headers and footers, Print backgrounds

Websites can set themselves up to look different on paper than on screen, so the preview is the best guide to what will print.

When Headers and Footers Still Print

There’s no Print headers and footers option

Make sure you’re in Firefox’s own print preview, with settings on the right side, and not your computer’s system print window. Click More settings and scroll to the bottom of the panel. If your window is small, the option may be below the visible area.

Text still prints at the top or bottom

Uncheck the box and look at the preview again. If the text is still there, it’s part of the web page. Try Simplified format or Reader View. If you used the about:config method, also check the printer-specific preferences.

Headers come back every time

Check the box once more, print, and see if it sticks. If not, blank the header and footer preferences in about:config, or clear saved print settings and set them again.

Firefox doesn’t show my printer

On Ubuntu, a Snap version of Firefox may need the Print documents permission connected in Ubuntu Software. On other systems, try printing the same page from another browser to see whether the problem is the printer or Firefox.

Firefox Print Header Questions

Can I keep page numbers but remove the URL?

Not with the checkbox, which turns everything off together. Leave the box checked and blank only the preferences you don’t want in about:config. For example, empty the preference that holds the URL and leave the page number preference alone.

Can a website remove Firefox’s headers and footers for me?

No. Site owners can hide their own menus and footers when a page is printed with print style rules, but the title, URL, date, and page numbers come from the browser. Only the person printing can turn them off.

Can I edit the page before I print it?

Yes, with an add-on. Print Edit WE, for example, can remove or change parts of a page before printing.

Is there a faster way to reach Print?

Yes. Besides Ctrl + P, you can add a Print button to the toolbar. Click the menu button, choose More tools > Customize toolbar, drag Print onto the toolbar, and click Done. Mozilla’s toolbar customization guide has the details.

If you also print from Chrome, here’s how to print in black and white there. For another Firefox setting, here’s how to show the menu bar.