Skip to main content

How To Remove All Headers And Footers In Word?

Author: Sun Last Modified: 2020-05-08

Normally, you can quickly remove all the headers and footers from a Word document just by double-clicking the header or footer field, and then remove them at once. But, if there are multiple various headers and footers in one document, how to remove all of them at once?

Remove the header and footer from the first page in active document

If you just want to remove the header and footer from the first page of current document and keep others, please do as this:

1. Open the Word file and go to the first page that you want to remove the header and footer, and then double-click the header area into editing mode.

2. Then, check Different First Page under the Header & Footer tab, see screenshot:

3. And then, click Close Header and Footer to exit the editing mode, and the header content in page one has been removed at once. See screenshot:


Tips: To remove the footer from the first page, please repeat the above steps.

Remove all headers and footers in active document

If the whole document contains only one type header and footer, to remove all of them, the below steps can help you to solve it quickly and easily.

1. Double-click the header in any one page to go to the editing mode, and then, select the content of the header, see screenshot:

2. Then, press Delete key on keyboard, and then click Close Header and Footer to exit the editing mode, all headers in this current document have been deleted immediately.

Tips: To remove all footers from this document, please repeat the above steps.

Remove all various headers and footers in active document with VBA code

Supposing, your document has been divided into multiple sections, and every section has each header or footer. So, there are multiple various headers or footers in active document, to remove all these various headers or footers, you need to apply the above method for deleting the headers or footers over and over again. Here, I will introduce a VBA code for dealing with this task.

1. Open the Word file that you want to remove all the headers and footers, and then hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following macro in the Module Window.

VBA code: Remove all various headers and footers in current document:

Sub RemoveHeadAndFoot()
'Update by Extendoffice
    Dim oSec As Section
    Dim oHead As HeaderFooter
    Dim oFoot As HeaderFooter
    For Each oSec In ActiveDocument.Sections
        For Each oHead In oSec.Headers
            If oHead.Exists Then oHead.Range.Delete
        Next oHead
        For Each oFoot In oSec.Footers
            If oFoot.Exists Then oFoot.Range.Delete
        Next oFoot
    Next oSec
    ActiveWindow.ActivePane.View.SeekView = wdSeekCurrentPageHeader
    Selection.ParagraphFormat.Borders(wdBorderBottom).LineStyle = wdLineStyleNone
    ActiveWindow.ActivePane.View.SeekView = wdSeekMainDocument
End Sub

3. Then press F5 key to run this code, all various headers and footers are deleted at once.

Office Tab - Brings Tabbed Interface To Office, Make Your Work Much Easier!

Office Tab: Increases your productivity by 50% when viewing and editing multiple documents, helps to reduce thousands of tedious mouse clicks, free trial in 30-day! Click to free trial Now!

Remove all various headers, footers and watermarks in active document with Inspect Document feature

If you are not familiar with the VBA code, you can also use the Inspect Document feature of Word to remove all headers and footers with ease. Please do with the following steps:

1. Click File > Info > Check for Issues > Inspect Document, see screenshot:

2. In the popped-out Document Inspector dialog box, only check the Header, Footers, and Watermarks option in the dialog box, make sure other options unchecked. See screenshot:

3. Then, click Inspect button, after inspecting the document, click Remove All button in the dialog box, see screenshot:

4. And then, click the Close button, all headers, footers as well as the watermarks have been removed from the whole document.

Note: If there are watermarks in the document, they will be removed as well.

Remove all header lines in active document with an amazing feature

Sometimes, you just want to remove the horizontal line under the header content, in this case, I will introduce a use tool-Kutools for Word, with its Clear Header Lines feature, you can remove all horizontal header lines from the header with only one click.

For using this feature, please download and install Kutools for Word firstly!

After downloading and installing Kutools for Word, please do as this:

1. Click Kutools > Remove > Clear header Lines, see screenshot:

2. And then, a prompt box is popped out, please click Yes button, see screenshot:

3. And all the horizontal header lines under the header have been removed at once.


More relative headers and footers articles:

  • Add Chapter Title To Header Or Footer In Word Document
  • Normally, you can insert the header or footer with document path, name quickly and easily in a Word file. But, have you ever tried to insert the chapter title to header or footer, so that, the content of the header or footer is depended on what chapter the page is in. This article, I will talk about how to solve this job in Word document.
  • Print Word Document Without Header And Footer
  • If there are header and footer in your Word document, when printing this document, the header and footer will be printed as well by default. But, sometimes, you needn’t the header and footer to be printed. In this case, the method in this article may help you.
  • Copy Page With Header And Footer In Word
  • In general, you can copy a page from one Word document to another easily. However, the page header and footer won’t be copied with page content simultaneously. Comparing to copying the page header and footer manually, this article will introduce a tricky way to copy page with header and footer in Word.

Best Office Productivity Tools

Kutools for Word - Elevate Your Word Experience with Over 100 Remarkable Features!

🤖 Kutools AI Assistant: Transform your writing with AI - Generate Content  /  Rewrite Text  /  Summarize Documents  /  Inquire for Information based on Document, all within Word

📘 Document Mastery: Split Pages  /  Merge Documents  /  Export Selection in Various Formats (PDF/TXT/DOC/HTML...)  /  Batch Convert to PDF  /  Export Pages as Images  /  Print Multiple Files at once...

Contents Editing: Batch Find and Replace across Multiple Files  /  Resize All Pictures  /  Transpose Table Rows and Columns  /  Convert Table to Text...

🧹 Effortless Clean: Sweap away Extra Spaces  /  Section Breaks  /  All Headers  /  Text Boxes  /  Hyperlinks  /  For more removing tools, head to the Remove group...

Creative Inserts: Insert Thousand Separators  /  Check Boxes  /  Radio Buttons  /  QR Code  /  Barcode  /  Diagonal Line Table  /  Equation Caption  /  Image Caption  /  Table Caption  /  Multiple Pictures  /  Discover more in the Insert group...

🔍 Precision Selections: Pinpoint Specific Pages  /  Tables  /  Shapes  /  Heading Paragraphs  /  Enhance navigation with more Select features...

Star Enhancements: Navigate to Any Location  /  Auto-Insert Repetitive Text  /  Toggle Between Document Windows  /  11 Conversion Tools...

👉 Want to try these features? Kutools for Word offers a 60-day free trial, with no limitations! 🚀
Free Download     Read More     Buy Now
Comments (17)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Why do you make it so difficult. All I am trying to do is number the pages of a word document, but unwanted header and footers positions are inserted. The back button refused to work. Why can't I just press the back button to remove these unwanted header and footer positions?
This comment was minimized by the moderator on the site
Спасибо, с макросом получилось быстро!
Rated 5 out of 5
This comment was minimized by the moderator on the site
method 3 did not work for me....
This comment was minimized by the moderator on the site
Thank you. Work requires us to add a footer and header, which completes screws up my labels.
This comment was minimized by the moderator on the site
Thank you so much. This has saved me, method 3 is so perfect. BLESS
This comment was minimized by the moderator on the site
I have Word 2013 and access to Word Professional 2019.
I am using word files which has over 200 sections. There are multiple files
It is cumbersome to go and delete each section Header & footer.
The code given by you remove header and footer content but the section frames remain.
How to remove all section frames? Pl suggest.

I have tried :
1. Goto Insert - Header/Footer and remover Header/Footer. But it works for each section. - Too cumbersome if I have over 200 sections.
2. I tried editing header & footer but again it works per section only.
3. I tried Inspection option also. But it corrupts the Header & footers but frames remains.

Now Please suggest any other method to remove all section Header & footers
This comment was minimized by the moderator on the site
This does not work. It deletes the text in the footers and headers, but does not remove the formatting itself. I use Google Docs in my personal life and Microsoft Office at work. I gave up on Office a long time ago because of BS like this. It shouldn't be this difficult to use. I'm going to have to rewrite the entire 42-page document. I will get done sooner doing that than I will trying to undo Microsoft's formatting.
This comment was minimized by the moderator on the site
I have so many problems with office, to be honest it works horrible and other programs work way better than this, the also dont want you to get a subscription to use there horrible programs with high prices. I'll rate it a 3/10, I hope they fix their shit and more big problems like this one
This comment was minimized by the moderator on the site
Thanks a lot, headers and footers has been a headache for me.
This comment was minimized by the moderator on the site
not worked
This comment was minimized by the moderator on the site
Method 3 Solved my problem!! Thank you so much! : )
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations