To verify your domain in Google Search Console, you need to prove to Google that you own the domain. The most robust method is adding a TXT record to your DNS zone; the alternative is inserting an HTML meta tag into your site. Both take under 10 minutes to complete.
This guide walks through both methods step by step, explains when to use each one, and covers what to do if verification fails.
Why You Need to Verify Your Domain in Search Console
Google Search Console is Google's free tool for monitoring how your site appears in search results. Before giving you access to your domain's data, Google requires you to prove you own it.
Without verification you can't see:
- The keywords people use to find you.
- Indexing errors and excluded pages.
- Backlinks pointing to your site.
- Manual penalty alerts.
Verifying the domain (as opposed to just a URL prefix) automatically covers all variants: http, https, www, and non-www. It's the recommended option if you have DNS access.
Method 1 — DNS TXT Record (Recommended)
This method works for any website regardless of platform — WordPress, Blogger, static sites, online stores, and more.
Step 1 — Copy the TXT Record from Google
- Go to search.google.com/search-console.
- Click Add property (or use the property selector in the sidebar).
- Choose Domain (not "URL prefix").
- Type your root domain:
yourname.com(no www or https). - Click Continue.
Google will display a TXT record that looks like this:
| Type | Host | Value |
|---|---|---|
| TXT | @ | google-site-verification=xXxXxXxXxXxXxXxXxXxX |
Copy the full value — it is unique to your Google account.
Step 2 — Add the TXT Record at Your Registrar
- Log in to the DNS panel of the registrar where you bought your domain (GoDaddy, Namecheap, Hostinger, etc.).
- Find the DNS Management or DNS Zone section.
- Create a new TXT record with these values:
| Field | Value |
|---|---|
| Type | TXT |
| Host / Name | @ (represents the root domain) |
| Value / Content | google-site-verification=xXxXx… (yours) |
| TTL | 3600 (or the lowest available) |
Save the record. A registrar with a clear DNS panel makes this significantly easier — it's worth keeping in mind when choosing where to register your domain.
Step 3 — Verify in Search Console
- Return to Search Console and click Verify.
- If DNS has propagated, verification completes instantly.
- If it fails, wait 15–30 minutes and try again.
Do not delete the TXT record after verification. Google checks it periodically to confirm you still own the domain. Remove it and you'll lose access to the property.
Method 2 — HTML Meta Tag
If you don't have DNS access but can edit your site's code, use this method. It's ideal for subdomains managed by third parties or when your registrar doesn't support TXT records.
Step 1 — Get the HTML Tag
- On the Search Console verification screen, click Other verification methods.
- Select HTML tag.
- Copy the
<meta>tag Google provides.
The tag looks like this:
<meta name="google-site-verification" content="xXxXxXxXxX" />
Step 2 — Paste It in Your Site's <head>
You need to insert the tag before </head> on your homepage. How to do this depends on your platform:
- WordPress: use a plugin like Insert Headers and Footers, or the theme editor (Appearance → Theme File Editor → header.php).
- Blogger: go to Theme → Edit HTML and paste the tag just before
</head>. - Wix / Squarespace: look for the "Custom Code" or "Meta Tags" section in your site settings.
- Static HTML: edit your
index.htmlfile directly.
Step 3 — Verify in Search Console
- Publish the changes to your site.
- Return to Search Console and click Verify.
- Google will load your page and look for the tag.
Do not remove the tag after verification — Google checks it periodically, just like the TXT record.
Comparing the Two Methods
| Criterion | TXT Record (DNS) | HTML Meta Tag |
|---|---|---|
| Covers all variants (http/https/www) | Yes (domain property) | Only the verified URL |
| Requires DNS access | Yes | No |
| Requires site code access | No | Yes |
| Propagation time | 5 min – 48 h | Immediate |
| Best for | Most sites | Subdomains, CMS without DNS access |
Common Problems and How to Fix Them
Verification fails even though I added the TXT record
DNS hasn't propagated yet. Wait 15 minutes to 1 hour and try again. You can check whether the record is visible using dig TXT yourname.com in a terminal, or an online tool like dnschecker.org.
Google can't find the HTML tag
Confirm the tag is in the <head> of the homepage (not any other page) and that changes are published. Some caching plugins may serve an old version — clear your cache before verifying.
I lost access to the verified property
This happens when someone removes the TXT record or HTML tag. Run through the full verification process again. If you need urgent data access while re-verifying, ask another user with access to re-invite you as an owner.
Key Takeaways
- The Domain (TXT record) verification type is preferred because it covers http, https, www, and non-www with a single property.
- The HTML meta tag is the fallback when you don't have DNS access.
- Never delete the TXT record or HTML tag after verifying — Google checks them periodically.
- If verification fails, DNS propagation is the most likely cause; wait and retry.
- A registrar with a clear DNS panel makes the whole process significantly easier.
If you need a domain with reliable DNS management and support, elenlace.com offers a straightforward panel so you can complete steps like this without any friction.
FAQ
Can I add multiple owners to the same Search Console property?
Yes. Under Settings → Users and permissions in Search Console you can invite others as owners or users with varying levels of access.
How long until Google shows data after verification?
The first performance data can take 24–72 hours to appear. Index coverage and sitemap data are usually available sooner.
Do I need to verify www.yourname.com and yourname.com separately?
Only if you use the URL prefix method. With the Domain method (TXT record), a single property covers all variants automatically.
Will the TXT record affect my website or email?
No. TXT records are informational text used by tools like Google or email services (SPF/DKIM). They do not change how your website loads or affect any existing email configuration.
Prefer it done for you? El Enlace handles hosting and professional web development.
Useful resources
Other providers and guides worth comparing: