In this guide · 8 sections
- 01What a verification TXT record is
- 02Find where your DNS is actually hosted
- 03How to add the TXT record, step by step
- 04Several TXT records can live together
- 05Check the record is live before pressing Verify
- 06Can I delete old verification TXT records?
- 07Do it yourself or get help?
- 08Frequently asked questions
Short answer
Copy the TXT value the service gives you, log in to wherever your domain's DNS is hosted (often your registrar, or Cloudflare), add a TXT record with Host @ (or blank) and the value pasted exactly, save, wait a few minutes, then press Verify. Leave other TXT records alone.
What a verification TXT record is
A TXT record is a DNS record that holds text. Services use it as proof: only someone who controls your domain's DNS can publish the exact string they gave you. Our guide to DNS records explained covers how TXT fits with A, CNAME and MX records.
| Service | What the value looks like | Where you get it |
|---|---|---|
| Google Workspace / Search Console | google-site-verification=... | Admin console setup, or Search Console when adding a Domain property |
| Microsoft 365 | MS=ms followed by numbers | Microsoft 365 admin centre, when you add a domain |
| Meta (Facebook, Instagram) | facebook-domain-verification=... | Meta Business Suite settings, Brand safety, Domains |
| Email senders and other tools | Their own prefix and code | The tool's domain settings page |
For Meta's full process, see our Meta domain verification guide. Copy the value from the service's own screen every time. The code is unique to your account, so a value from someone else's guide or an old setup won't work.
Find where your DNS is actually hosted
This is the step people get wrong. You must add the record at your DNS host, which may differ from the registrar where you bought the domain. If your domain's nameservers point to Cloudflare, your web host or Microsoft, records added at the registrar are ignored.
- Run a nameserver (NS) lookup for your domain with a free tool such as Google Admin Toolbox Dig.
- Nameservers ending in cloudflare.com mean Cloudflare hosts your DNS.
- Nameservers named after your registrar or web host mean you edit DNS in that company's control panel.
- If you don't know who set it up, check old invoices or the emails from when the website was built.
Google's domain verification help notes that your domain registrar is usually the company where you bought your domain or the one hosting your website, and links to a tool to identify it.
How to add the TXT record, step by step
The menus differ by provider, but the fields are the same everywhere.
Copy the value from the service
Use the copy button rather than selecting text by hand, so you don't miss characters or add spaces.
Open your DNS host's record editor
In Cloudflare, go to DNS, Records, then Add record, per Cloudflare's DNS records guide. Other providers call it DNS Management, Zone Editor or Advanced DNS.
Choose type TXT
Not CNAME, not SPF. Some old control panels list SPF as a separate type; don't use it for verification.
Set the Host or Name field
For the root domain, enter @ or leave it blank, as your provider expects. Google's Search Console help says the same. Enter a subdomain name only if the service asks you to verify a subdomain.
Paste the value exactly
Paste the full string. If the provider adds quotation marks, that's fine; Cloudflare adds them automatically for new TXT records. Don't add your own extra quotes.
Leave TTL on the default and save
Automatic or one hour is fine. A lower TTL doesn't speed up the first appearance of a new record.
Wait, then press Verify
Give it a few minutes, check the record is visible (next section), then press Verify in the service.
Several TXT records can live together
A busy domain often has five or more TXT records at the root: Google, Microsoft, Meta, an email platform, and SPF. That is normal. Each verification record is separate, and services look only for their own string.
The one exception is SPF. RFC 7208, the SPF standard, says a domain must not have multiple SPF records, so there must be only one TXT record starting with v=spf1. When a new tool asks you to add SPF, merge its include into your existing record instead of adding a second one. Our SPF too many lookups guide shows how.
Check the record is live before pressing Verify
Use a public lookup so you see what the internet sees, not a cached copy on your computer.
- Open Google Admin Toolbox Dig, choose TXT and enter your domain.
- Look for your exact string in the results. If it's there, press Verify.
- If it's missing after 30 minutes, check the Host field and that you edited DNS at the right provider.
Timing varies by service. Google says adding the Workspace record takes about 10 minutes and confirmation can take up to an hour after it is active. Meta's domain verification guide says it usually takes minutes but can take up to 72 hours.
Can I delete old verification TXT records?
Not blindly. Some services check the record repeatedly and drop your verification if it disappears.
| Service | What its help says about removing the record |
|---|---|
| Google Search Console | Keep it: Google says to stay verified, don't remove the DNS record, even after verification succeeds |
| Meta | Mixed: the developer guide says leave it as it may be checked periodically; a Business Help page says removing it won't affect verification. Keep it to be safe |
| Microsoft 365 | Check Microsoft's current guidance before removing; leaving it does no harm |
| Tools you no longer use | Safe to remove once you've confirmed the account is closed |
Before removing any TXT record, find out which service it belongs to. Deleting the wrong one can unverify a domain in Search Console, break email authentication if it was SPF or DMARC, or stop a certificate renewal that relies on DNS validation. If you're adding a domain to Microsoft 365, our Microsoft 365 add domain guide covers the other records that follow.
Do it yourself or get help?
If you can log in to your DNS host, adding one TXT record takes five minutes. Problems come from editing at the wrong provider, the Host field, or touching the SPF record.
TXT verification checklist
If you'd rather not touch DNS, our Domain & DNS Setup (S$99) puts your domain in your name, sets up DNS records for your website and email, checks SSL and redirects, and turns on auto-renew. IT Sorted is a Singapore-based team of developers with over 10 years of experience; you pay upfront online and send us the records in writing.
Frequently asked questions
For the root domain, use @ or leave the field blank, depending on what your DNS provider expects. Google's Search Console help gives the same advice. Don't type your full domain name, because many providers add it automatically and you end up with a record for the wrong name. Use a subdomain only when the service asks to verify that subdomain.
Yes. A domain can have many TXT records at the root, for example Google, Microsoft, Meta and an email platform, and each service only looks for its own string. The exception is SPF: the SPF standard says a domain must not have more than one SPF record, so merge new SPF includes into the existing v=spf1 record.
Usually a few minutes once the record is saved at the right DNS host. Google says adding its Workspace verification record takes about 10 minutes and confirmation can take up to an hour. Meta says verification usually takes minutes but can take up to 72 hours. Check the record in a public TXT lookup before pressing Verify.
The most common causes are adding the record at the registrar when DNS is hosted elsewhere, such as Cloudflare, typing the domain name into the Host field, copying the value incompletely, or choosing the wrong record type. Run a public TXT lookup on your domain; if your string is missing, the record isn't where the internet looks.
Usually keep it. Google says to keep the Search Console DNS record or you lose verification, and Meta's developer guide says to leave the record because it may be checked again. The records are harmless. Only remove TXT records for services you no longer use, after confirming what each one is for.