The title tag vs H1 question turns up in almost every on-page audit. Some tools flag a mismatch as an error; others flag a match as a wasted opportunity. Both positions assume Google cares about the relationship between the two more than it does.
It does not, by its own account. What does matter is whether the result someone clicks and the page they land on clearly describe the same thing. That is a reader problem first, and it is where the effort belongs.
What Google said
Roger Montti at Search Engine Journal reported the exchange on 14 June 2024, in a piece on whether H1 and title tags should match. Gary Illyes was asked: “is it important for title tags to match the H1 tag?” His answer: “No, just do whatever makes sense from a user’s perspective.”

That is about as direct as Google gets. There is no ranking rule that rewards a match or penalises a difference. The decision is editorial, and it should be made on the basis of what helps someone choosing a result and then reading the page.
The difference between the H1 and the title tag
The two elements live in different places and do different jobs. The title element sits in the <head>; users see it in the browser tab and, most importantly, as a main source for the headline in search results. The H1 sits in the <body> as the visible headline on the page itself.
| Title tag | H1 | |
|---|---|---|
| Where it lives | In the <head> | In the <body> |
| Where people see it | Browser tab and search result title link | At the top of the page |
| Its job | Win the click from the results page | Confirm the reader is in the right place |
| Must it match the other? | No. Illyes: “just do whatever makes sense from a user’s perspective.” | |
| Can Google replace it? | Yes, it may use headings or other page text for the title link | Not applicable |

Google describes title links as “the primary piece of information people use to decide which result to click on”. The H1 does its work after that decision. It is the first thing a visitor reads once they arrive, and it tells them within a second whether the click was worth it. For more on writing that heading, see our guide to the H1 tag in SEO.
In markup, the split looks like this:
Should the title tag and H1 be the same?
They can be the same, and on many sites they are, because the CMS fills both from a single headline field. That is a reasonable default and nothing to fix. But there are good reasons to let them differ.

The title has to work in a crowded results page, where space is limited and the headline competes with nine others. That pushes it towards being shorter, front-loaded with the main topic, and sometimes carrying a brand name. Our guide to SEO title length covers how much room you realistically have. The H1 has no such constraint. It can be fuller, more descriptive, and written for someone who has already chosen your page.
A useful pattern is a shorter, sharper title and a slightly longer H1 that expands on it. “Soil pH test kits compared” in the results; “Soil pH test kits: which home kits match a lab result” on the page. Same topic, same promise, different jobs.
Most WordPress SEO plugins already support this split. The post title becomes the H1, and a separate SEO title field controls the title element. If that field is left empty, the plugin usually falls back to the post title, which is why so many sites end up with identical pairs by default. Fill the field only when the shorter version genuinely serves the results page better.
The real rule: keep them consistent
The mistake worth avoiding is not a mismatch in wording but a mismatch in meaning. If the title promises a comparison of test kits and the H1 announces a general guide to garden soil, the reader feels misled before they have read a sentence. That is a user problem, and it is exactly what Illyes’s answer points at.

There is a search reason too. Google may use headings or other page text for the title link when it judges the title element unsuitable. A title that is vague, stuffed or unrelated to the page makes that more likely, and the H1 is an obvious candidate for the replacement. Keeping the two consistent means that if Google does swap them, the result still says what you intended. The same principle applies to snippets, which Google also rewrites; see why your meta description is not showing.
How to write both
Start with the H1, because it is the honest statement of what the page covers. Then write the title as the version of that statement that will earn the click: put the main topic first, trim anything the results page will cut off, and add the brand only if there is room.

Check the pair together before publishing. Read the title, then the H1, as if you had just clicked. Does the heading confirm what the title offered? If yes, the pair works, whether the words are identical or not. If the H1 contradicts or wanders from the title, fix whichever one is less accurate.
For audits, ignore warnings that only count whether the strings match. Look instead for pages where the title and H1 describe different topics, titles that are duplicated across many pages, and H1s that say nothing, such as “Home” or the site name.

One limitation applies. Illyes’s answer tells you Google has no rule tying the two together; it does not tell you how much either element contributes to ranking, and nobody outside Google can measure that precisely. Reports of rankings lifting after titles and H1s were aligned usually involve other changes shipped at the same time, so treat them with caution.
The practical position is simple. Let the title tag sell the click and the H1 confirm it. Match them when one headline does both jobs well, differ when it does not, and make sure they never describe different pages.
Frequently asked questions
Should the title tag and H1 be the same?
They can be, but they do not have to be. Gary Illyes said there is no need for them to match and to do whatever makes sense from a user’s perspective.
What is the difference between the H1 and the title tag?
The title tag sits in the head and feeds the browser tab and search result title link. The H1 is the visible headline at the top of the page.
Can the title tag and H1 be identical?
Yes. Many sites fill both from one headline field, and that is fine. Let them differ when the title needs to be shorter for search results.
Why did Google change my title in search results?
Google may use headings or other page text for the title link if it judges the title element unsuitable. A clear, accurate title makes that less likely.
The takeaway The title tag and H1 do not need to match. Write the title to win the click and the H1 to confirm it, keep them describing the same page, and ignore audit warnings that only compare the two strings.

