Multiple H1 tags: what actually goes wrong, and what does not
Short answer: one H1 per page is the recommended practice, but a second H1 is not an error that gets a page penalised. The useful question is why the page has several, because the reason is often a template mistake that also confuses readers.
In this guide
What the standards and search documentation say
MDN summarises the current HTML standard plainly: several H1 elements on one page are allowed, as long as they are not nested, but they are not considered best practice. A page should generally have one H1 that describes its content, much like the title element.
Older versions of the standard allowed H1s inside nested sections, on the theory that browsers would build an outline from them. Browsers never did, and that pattern is now non-conforming. If a theme uses an H1 inside every section, it is relying on something that never worked.
Google’s SEO starter guide asks for headings that help readers understand the page. It does not set a required number of H1 elements. So the rule is not a single-H1 rule. The rule is that the page has a clear main heading.
When more than one H1 is fine
A page that genuinely presents several peer subjects can survive several H1s, provided each one has distinct wording and introduces content the reader can actually see.
Test it the way a screen-reader user would: jump from heading to heading. If every H1 tells you what follows and none repeats another, the extra H1s are not hurting anyone. Most sites still gain clarity by keeping one H1 and demoting the rest to H2.
When it signals a real problem
In practice, multiple H1s usually come from templates rather than from editorial choices. These are the patterns worth fixing.
| Pattern in the source | Usual cause | What to do |
|---|---|---|
<h1>Title</h1> twice | Desktop and mobile headers both render the page title | Turn the hidden copy into a non-heading element |
<h1><img alt="Brand"></h1> | The global template wraps the logo in an H1 | Make the logo a link or paragraph; keep the H1 for the page topic |
<h1> in a widget | A plugin, sidebar or comment block ships its own H1 | Demote widget headings to H2 or H3 |
<h1></h1> | A heading image without alt text, or an empty placeholder | Add a text alternative or remove the element |
Try it: separate a template bug from deliberate sections
Paste this HTML into the local input of H1 Tag Checker. It contains a logo H1, the same page title twice and one real section. The checker reports three H1s and groups the two identical titles together, so you can see that one problem is duplication and the other is the logo.
The fix is two small template changes, not a rewrite: render the title once, and stop wrapping the logo in a heading. After that the page has one H1 that matches its title.
<title>Opening times</title>
<h1><img src="logo.svg" alt="City Museum"></h1>
<h1>Opening times</h1>
<h1>Opening times</h1>
<h2>Holiday hours</h2>Why audits flag it anyway
A single H1 makes the page topic easy to identify, for software and for a human reviewer. That is a reasonable default, so many audit tools turn it into a pass or fail rule.
The weakness is that most of them only count H1 elements. They do not tell you whether the second H1 repeats the first, or whether it is the logo. Treat a multiple-H1 warning as a prompt to look at the actual headings before deleting anything.
How extra H1s affect people using screen readers
Screen-reader users often move through a page by heading, and many jump straight to the first H1 to find the main content. If that first H1 is the logo, they land on the site name instead of the article. If the same title appears twice, they hear it twice and wonder whether they skipped something.
W3C’s heading tutorial frames headings as a map of the page. A map with two identical labels, or a label on the wrong place, is harder to use. That is the practical cost of a careless H1, and it is the same confusion a search engine faces when it tries to work out the page topic.
Fixing a theme that adds H1s for you
Start by finding which component prints each H1. In the page source, the surrounding class names usually reveal it: a header, a logo block, a hero section, a sidebar widget. Change the component once and every page that uses it is fixed.
Change the element, not the styling. If the logo looks right as an H1, keep the same CSS class on a link or a span so nothing moves visually. If a mobile header duplicates the title, render a non-heading element in that header, or render the title only once and let CSS position it for each screen size.
Then check three different page types, such as the home page, an article and a category page, because templates often differ between them. A fix on one type can leave another with no H1 at all.
H1 and the title element are different jobs
The title element names the page in the browser tab and is one of the sources Google may use for the title link in search results. The H1 is the visible heading at the top of the content. They usually say nearly the same thing, and that is fine.
Where they should differ is length and context. A title can carry the brand and more keywords, while the H1 can be shorter and written for someone already on the page. What you want to avoid is a title and H1 that describe different topics.
The rule worth keeping
Every page should have one main heading that a reader recognises at a glance, and it should agree with the title element. Check that first. Whether it is technically the only H1 matters much less than whether it is clear.
Frequently asked questions
Will multiple H1 tags hurt my rankings?
There is no documented penalty for a second H1, and the HTML standard allows several when they are not nested. The real risk is indirect: repeated or meaningless H1s make the page topic less clear. Fix duplicates and logo H1s, and keep one clear main heading.
Should I remove every extra H1?
Look before you remove. An H1 repeated by a template, or one wrapping the logo, should go. A deliberate second H1 with distinct wording can usually be demoted to H2 without any loss.
Is the logo allowed to be the H1?
It is valid HTML, but on most pages it wastes the main heading on the site name. Put the page topic in the H1 and keep the logo as a link.
How do I count the H1s on a page?
Paste the URL or HTML into H1 Tag Checker, which lists every H1 to H6 and groups repeated H1 text. To include headings added by JavaScript, also check in the browser console.