·4 min read

H1 Tags and SEO: Why Your Page Needs Exactly One

The H1 tag tells search engines and users what a page is about. Getting it wrong is one of the most common on-page SEO mistakes. This guide covers the rules, the common pitfalls, and how to fix them.

Why exactly one H1?

The H1 is the top-level heading on a page. It establishes the primary topic. Search engines use it as a strong signal for what the page is about, second only to the title tag. Screen readers use it to announce the page to visually impaired users. When a page has zero H1 tags, search engines lose a critical context signal. When a page has multiple H1 tags, the topic becomes ambiguous. One clear H1 per page is the standard.

The heading hierarchy: H1 through H6

Think of headings like an outline. The H1 is the title. H2s are major sections. H3s are subsections within those. You should never skip a level.

<h1>H1 Tag SEO: The Complete Guide</h1>
  <h2>Why Heading Hierarchy Matters</h2>
    <h3>For Search Engines</h3>
    <h3>For Accessibility</h3>
  <h2>Common H1 Mistakes</h2>
    <h3>Multiple H1 Tags</h3>
    <h3>Skipping Heading Levels</h3>
  <h2>How to Fix Your H1</h2>

This structure is clean, scannable, and tells Google exactly how the content is organized.

Three common H1 mistakes

1. Multiple H1 tags

This happens most often when a site logo is wrapped in an H1 in the header, and then the page content also has an H1. The result is two or more H1s on every page. The logo should be a link, not a heading.

Wrong

<!-- header.html -->
<header>
  <h1><a href="/">My Company</a></h1>
</header>

<!-- page content -->
<h1>Our Services</h1>

Correct

<!-- header.html -->
<header>
  <a href="/">My Company</a>
</header>

<!-- page content -->
<h1>Our Services</h1>

2. Skipping heading levels

Jumping from H1 directly to H3 (or from H2 to H4) breaks the outline structure. Search engines and screen readers expect a logical nesting order.

Wrong

<h1>Page Title</h1>
<h3>Subsection</h3>  <!-- skipped h2 -->

Correct

<h1>Page Title</h1>
<h2>Section</h2>
<h3>Subsection</h3>

3. Using H1 for styling instead of semantics

Some developers use H1 or H2 tags just to make text bigger. Headings are for document structure, not visual size. Use CSS classes for styling.

Wrong

<h1>Welcome!</h1>
<h1>Our Latest Blog Posts</h1>
<h1>Contact Us Today</h1>

Correct

<h1>Welcome to Our Agency</h1>
<h2>Our Latest Blog Posts</h2>
<h2>Contact Us Today</h2>

H1 pattern in Next.js

In a Next.js App Router project, each page.tsx should render exactly one H1. The layout should not contain an H1, because the same layout wraps every page in that route group.

// app/(marketing)/blog/[slug]/page.tsx
export default function BlogPost({ params }) {
  const post = getPost(params.slug)

  return (
    <article className="max-w-2xl mx-auto py-16 px-4">
      <h1 className="text-3xl font-bold tracking-tight
        text-zinc-900 mb-4">
        {post.title}
      </h1>
      <div className="prose">
        {post.content}
      </div>
    </article>
  )
}

H1 checklist

  • Exactly one H1 per page.
  • Contains the primary keyword (naturally, not stuffed).
  • Matches the topic of the title tag.
  • No H1 on the logo or site name.
  • Heading levels are sequential: H1, H2, H3. No skipping.
  • Headings describe content structure, not visual size.

FAQ

Does Google penalize pages with multiple H1 tags?

Google has said that multiple H1s are fine from a technical standpoint and will not cause a penalty. However, using a single H1 makes the page topic clearer to both search engines and screen readers. It is a best practice, not a hard requirement.

Should the H1 match the title tag exactly?

Not word-for-word, but they should target the same keyword and topic. The title tag appears in search results and should be concise (under 60 characters). The H1 appears on the page and can be slightly longer or more descriptive.

What is the correct heading hierarchy for SEO?

Start with a single H1 for the page topic. Use H2 for major sections, H3 for subsections within those, and so on. Never skip levels (for example, jumping from H1 to H3 without an H2). This hierarchy helps search engines understand your content structure.

Can SEOLint detect H1 issues automatically?

Yes. SEOLint checks for missing H1 tags, multiple H1 tags, skipped heading levels, and H1 content that does not match the page topic. Each issue includes a fix prompt you can paste into Claude or Cursor to resolve it immediately.

Find every heading issue in 30 seconds

SEOLint scans your pages for missing H1s, duplicates, and broken hierarchy.