
Google Site Verification TXT Record: How to Add It, Check It, and Fix It When It Fails
How to add the google-site-verification TXT record for Search Console, what goes in the host field, how to check it is live, and how to fix the two DNS errors.
November 25, 2026 · 8 min read
The Google site verification TXT record is a single line of DNS text that proves to Search Console you control a domain. It looks like google-site-verification= followed by a long string Google generates for your account, and it's the only way to verify a Domain property in Search Console.
Here's the short version: copy the value from Search Console, add it as a TXT record with the host field left blank or set to @, wait for your DNS provider to serve it, click Verify, and never delete it. Almost every failure comes from one of those five steps going slightly wrong.
This post is the hands-on companion to our guide to Google Search Console verification, which compares every method. Here we stay on the DNS record: where to put it, how to confirm it's live, and what each error message means.
What the Record Actually Is
A TXT record is a free-text DNS entry attached to a domain name. Search Console uses one as an ownership token: only someone who can edit your DNS could have added it, so its presence counts as proof.
Search Console generates a unique verification record for each owner who verifies. That matters in two ways:
- If a colleague also verifies the same domain, they add a second TXT record with their own value. Google's only warning is not to overwrite other owners' tokens.
- If you take over a site, you can remove a previous owner's verification by deleting their TXT record — Google lists removing a token as the way to unverify an owner.
A domain can hold many TXT records at the same name, and they don't conflict. Our own domain is a working example: a lookup on trafficmonitor.app returns two TXT records side by side — one starting with google-site-verification= and one starting with v=spf1 for email. Adding the verification record never requires editing or replacing an SPF record. If your DNS panel seems to only allow one TXT record, add a new record rather than appending text to the existing one.
How to Add the TXT Record, Step by Step
- Add a Domain property in Search Console (for example
example.com, with nohttps://and nowww). Search Console picks the DNS method automatically for this property type. - Check whether your provider is listed. If Search Console shows your registrar in its list, choose it and click Start verification. Google says you'll sign in to your provider "after which verification should occur immediately." No copy-pasting needed.
- Otherwise, choose "Any DNS provider" and select TXT as the record type. Copy the full value, including the
google-site-verification=prefix. - Create a new TXT record at your DNS host:
- Host / Name: leave it blank or enter
@, whichever your provider uses for the root domain. Google's instructions say exactly this. - Value / Content: paste the string from Search Console, unchanged.
- TTL: the provider's default is fine.
- Host / Name: leave it blank or enter
- Click Verify in Search Console.
One host-field mistake causes a lot of quiet failures. Many DNS panels automatically add your domain to whatever you type in the Name field. If you type example.com there, the record can end up at example.com.example.com — a name Google never checks. Blank or @ avoids that.
When to use a CNAME record instead
Search Console also offers a CNAME option. Google says to check your domain first: if a CNAME lookup on it returns nothing — the most common case — use TXT. Use CNAME only when a CNAME exists and points to a parent domain. A Search Console CNAME record is a name/value pair whose value includes dv.googlehosted.com. For most blogs on a root domain, TXT is the right choice.
How to Check Whether Google Can See It
Search Console doesn't show you what it found. It just passes or fails. So check the record yourself before you click Verify a second time.
Google Admin Toolbox. Google's help page points to the Dig tool in the Google Admin Toolbox. Enter the bare domain (example.com, not https://example.com), click TXT, and look for a line starting with google-site-verification=.
From a terminal. Any machine with dig installed can do the same check:
dig TXT example.com +short
You should see your verification string in quotes, alongside any other TXT records the domain already has.
What the result tells you:
| What you see | What it means | What to do |
|---|---|---|
| Your exact string is listed | The record is live | Click Verify again |
| No verification string at all | The record isn't being served yet, or it's on the wrong host name | Wait, then check the host field |
| A different google-site-verification string | That's another owner's token, or an old one | Copy your value from Search Console again |
| Your string with extra characters | The value was edited while pasting | Replace it with an exact copy |
If the record shows up in the toolbox but verification still fails, wait a little longer and retry. DNS answers are cached for the length of the record's TTL, so a change can take time to reach every resolver.
The Two DNS Errors and How to Fix Each
Google documents two errors specific to DNS verification.
"Your verification DNS TXT record was not found"
Google can't see any matching record yet. The usual cause is time. Google says that for manually added records, "it can take up to two or three days for your provider to start serving the record," and advises waiting a day or two before trying again.
If a couple of days have passed and the lookup above still shows nothing, the record is almost certainly in the wrong place: the host field contains your domain name, the record was added at a different DNS provider than the one your domain actually uses, or it was saved as a draft and never published. Look up which nameservers your domain uses and make sure you edited the DNS zone at that provider.
"Your verification record did not match"
Google found TXT records, but none of them is the one issued to you. Google's fix is to use the record from the verification page exactly, with the host field left blank. In practice this happens when:
- someone else's token is present and yours isn't;
- the value was truncated when pasting;
- the prefix
google-site-verification=was left out.
You can see the value Search Console expects at any time: open the property's ownership verification settings, then click Details next to DNS TXT record.
The general verification errors also apply. "We encountered an error looking up your site's domain name" and "Could not find your domain" both point to DNS that isn't resolving at all. That's a domain-level problem to fix before the TXT record can matter.
Keep the Record: What Happens If You Delete It
Verification isn't checked once and forgotten. Google says Search Console "periodically checks if your verification token is still present and valid," and if it can't confirm it, you're notified and your permissions expire after a grace period. Google's DNS instructions are blunt: "don't remove the DNS record from your provider, even after verification succeeds."
That makes the TXT record the most likely thing to get deleted by accident during routine housekeeping. Three habits help:
- Label it if your DNS panel allows notes, so nobody cleans it up as an unknown record.
- Carry it over whenever you switch DNS providers or nameservers. Some providers import existing records for you; check that this one came across. If you're also changing the domain itself, our guide to changing your domain name without losing SEO covers the rest of that move.
- Add a second method where you can. Google allows several methods on one property in case one fails. Our website migration SEO checklist covers keeping Search Console access through a rebuild.
If you only need to give someone access, they don't need their own TXT record. A verified owner can add them as a user with the right permission level.
Quick Answers
Can I have more than one TXT record on my domain? Yes. The verification record sits alongside SPF and other TXT records without conflict. Add it as a new record.
Does the TXT record verify subdomains too? Verifying a root domain also verifies its subdomains, according to Google. Verifying blog.example.com doesn't verify example.com.
How long does it take? Sometimes it's immediate, especially when Google adds the record through your provider. For manual records, Google says up to two or three days.
What should I check once I'm in? Start with the Sitemaps report and a few URL Inspection checks on your key pages. After that, the work is watching the numbers. Traffic Monitor signs in with Google, requests read-only access to your Search Console data, and updates clicks, impressions, and CTR per post daily, so you can see what's moving without re-opening the reports yourself.
Related posts
Google Indexing API: What It's Actually For (And Why It Isn't a Shortcut for Blog Posts)
What the Google Indexing API does, which pages it officially supports, what a 200 response really means, and what bloggers should use instead.
How to Ask Google to Recrawl Your Site (And When Request Indexing Is the Wrong Tool)
The two ways Google officially lets you request a crawl, what each actually does, why repeating Request Indexing won't help, and what to fix instead.
Track your blog rankings automatically
Connect Google Search Console and get daily alerts, keyword research, and AI diagnostics — free to start.
Start free →