In short
Ahrefs reports "H1 tag missing or empty" for pages with an empty or missing <h1> tag. Ahrefs recommends a unique H1 on every page, consistent with the title but not necessarily the same. It's usually a quick template fix: mark the page's main visible headline as the H1.
The H1 is the visible headline of a page. Most pages that "miss" one actually have a headline. It just isn't marked up as an H1, so crawlers and screen readers can't tell it's the main heading.
Why it matters
For Google: Google uses headings to understand page structure. It also lists the main visual title and heading elements among the sources it uses for title links, and recommends a prominent main title such as the first visible H1.
For accessibility: screen reader users often jump to the H1 to confirm they're on the right page.
Priority: Ahrefs' Patrick Stox called a missing H1 "usually a quick fix", worth doing but not among the most important issues.
Common causes
| Cause | Example |
|---|---|
Headline styled with a <div> or <p> instead of <h1> |
<div>Emergency Plumber in Leeds</div> |
| The theme uses H1 for the logo only on the home page | Inner pages get no H1 at all |
| Page builder's hero block set to H2 by default | The first heading on the page is an H2 |
| Empty H1 left in the template | <h1></h1> on pages without a title field |
| Headline added by JavaScript after load | View-source shows no H1 |
Free SEO audit
Not sure which issues matter on your site?
I'll review your site and send you the fixes that matter most, in plain English.
How to fix it
Open a flagged page and view source. Search for
<h1.Find the visible headline and check which tag it uses.
Change that tag to
<h1>in the template or block settings, and make sure there's one H1 per page.
WordPress: in the block editor, select the heading block and set its level to H1, or use the theme's title display. In page builders such as Elementor, set the heading widget's HTML tag to H1.
Shopify: check the section that shows product or page titles. Most themes use <h1> in main-product and main-page sections. If a custom section changed it, set it back.
Webflow: select the headline element and change its tag to Heading 1 in the settings panel.
Wix: select the text and choose Heading 1 from the text theme options. Keep one per page.
Custom builds: render the page title as <h1> in the page layout on the server. Keep the logo as a link or image, not an H1, on inner pages.
A worked example
A design agency's site uses large, styled <div> headlines because the designer wanted full control over fonts. Every page looks like it has a headline, but Ahrefs flags all of them. Changing the CSS class to apply to an <h1> element instead keeps the exact same design, and the issue clears across the site in one template change.
Common mistakes
Adding a hidden H1 with
display: nonejust to satisfy the audit. Hidden headings help no one and can look manipulative.Making the logo the H1 on every page, so every page's H1 reads like your brand name.
Copying the title tag word for word into the H1 on every page. They should match in topic, but the H1 can be more natural.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Ahrefs Help, "H1 tag missing or empty" warning (checked Dec 1, 2026)
Google Search Central, Influencing your title links in search results (updated Dec 10, 2025)
Patrick Stox (Ahrefs), What I learned from auditing over 1,000,000 websites, SERP Conf 2024

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



