Skip to content
SeoWiki

The SEO encyclopedia

On-Page SEO

SEO H1

An H1 tag is the main heading on a webpage that identifies the page's primary topic for users and search engines.

Beginner5 min readUpdated 2026-07-26Reviewed by Lucía Marín

Key takeaways

  • An H1 tag is the main heading that defines the page's topic for users and search engines.
  • Best practice: one H1 per page, with a clear hierarchy (H1 → H2 → H3).
  • H1s are not a direct ranking factor but improve user experience and content structure.
  • Keep H1s concise, descriptive, and aligned with the page content.
  • Avoid multiple H1s, keyword stuffing, and using headings only for styling.

The H1 tag is a fundamental part of on-page SEO, helping both users and search engines quickly grasp the main topic of a page.

Example of a Good H1

  • Page topic: A guide to baking sourdough bread
  • Good H1: "How to Bake Sourdough Bread at Home"
  • Why it works: It clearly describes the page content, includes the primary keyword naturally, and is concise (under 60 characters).
  • Bad H1: "Bread" – too vague, doesn't tell users or search engines what the page is about.

When Should I Use an H1?

  • Every content page: Use an H1 to define the main topic of blog posts, guides, product pages, and landing pages.
  • Once per page: Stick to one H1 to maintain a clear content hierarchy.
  • As the first heading: Place the H1 at the top of the page content, usually above the main body text.
  • When structuring content: Use H2s for major sections and H3s for subsections to create a logical outline.

What an H1 Is Not

  • A ranking factor: Pages can rank well without an H1 or with multiple H1s. It's a best practice, not a strict requirement.
  • A styling tool: Headings should be used for semantic structure, not just to make text bigger or bolder.
  • The same as the title tag: The title tag appears in search results and browser tabs, while the H1 is visible on the page itself.
  • A place for keyword stuffing: Including the primary keyword naturally is good, but overloading the H1 with keywords hurts readability and user experience.

Quick Start: How to Write an Effective H1

  1. Identify the page's main topic – What is the core message or purpose of the page?
  2. Write a clear, descriptive heading – Use natural language that matches user intent.
  3. Include the primary keyword – Place it naturally, without forcing it.
  4. Keep it concise – Aim for 20–70 characters, but prioritize clarity over length.
  5. Use only one H1 per page – Ensure the H1 is the first heading in the content hierarchy.
  6. Check alignment – Make sure the H1 matches the content and the title tag.

Common H1 Mistakes to Avoid

  • Using multiple H1s – Stick to one main heading per page.
  • Skipping heading levels – Don't jump from H1 to H4; maintain a logical hierarchy.
  • Writing vague H1s – Avoid generic headings like "Welcome" or "Services."
  • Keyword stuffing – Overloading the H1 with keywords harms readability and user experience.
  • Using headings only for styling – Use CSS for visual changes; headings are for structure.
  • Ignoring accessibility – Screen readers rely on heading hierarchy to navigate content.

Next step

FAQ

Can I have more than one H1 on a page?

Technically yes, but best practice is to use one H1 per page to maintain a clear content hierarchy. Multiple H1s can confuse both users and search engines.

Does the H1 tag directly affect rankings?

No, the H1 tag is not a direct ranking factor. However, it helps clarify page intent and improves user experience, which can indirectly support SEO.

What is the ideal length for an H1?

There is no hard rule, but many SEOs recommend keeping H1s between 20 and 70 characters. Focus on clarity and relevance over strict length.

Related topics

Sources

  • Google Search Central — Best source for Google's guidance on headings, semantic HTML, and page structure.
  • Moz H1 Tags Guide — Widely cited SEO reference explaining what H1 tags are and how they fit into page structure.
  • Ahrefs H1 Tag Guide — Practical SEO best practices for H1 usage, length, and hierarchy.

Reviewed by Lucía Marín, Founding editor.