How Do You Add a TXT Record to WordPress DNS?
Find your domain’s DNS host, add the TXT value, and check that the record works.
What a TXT Record Does
A TXT record stores text in your domain’s DNS settings. It often proves domain ownership or supports email security rules. To add one for a WordPress site, first find who manages your domain’s DNS. That may be WordPress.com, your domain registrar, or a separate DNS host.
WordPress itself does not always control DNS. A WordPress.org site usually runs on hosting you chose, while its domain may sit elsewhere. A WordPress.com site may have domain tools in its account, depending on where you bought the domain. Add the record at the provider that hosts the domain’s active name servers.
The service asking for verification will give you a TXT record value. It may also give a host or name field. Copy both exactly, since an extra space or missing character can stop verification from working.
- Name or host: The domain or subdomain the record applies to.
- Value: The text string supplied by the service.
- TTL: How long DNS systems may keep a saved copy.
Where to Find DNS Settings for WordPress
Start by logging into the account that manages your WordPress domain. In WordPress.com, open the account’s domain area. Choose Domains, select the domain, and look for its DNS or name server settings. Menu names can vary as the control panel changes.
If you cannot find DNS controls there, check the domain registrar or your hosting provider. Search the account for “DNS,” “manage records,” or “zone editor.” The domain’s name server details can help identify the active DNS provider. If another company hosts those name servers, make changes there instead.
Do not change name servers just to add a TXT record. Name server changes can move all DNS management to another provider. That can affect your website and email if the new provider lacks matching records.
WordPress.com explains how its users can manage custom DNS records. Use that route only when WordPress.com manages the domain’s DNS. For domains managed elsewhere, use that provider’s own panel.

How to Add a TXT Record
Before you begin, get the exact record details from the service requesting verification. Keep the page open so you can compare each field. The steps below fit most registrar and DNS hosting panels, though labels may differ.
- Sign in: Open your domain management account.
- Choose the domain: Go to Domains, then select the domain to edit.
- Open DNS records: Find DNS settings, DNS management, or a zone editor.
- Start a new record: Select the option to add a record.
- Choose the type: Pick TXT from the record type list.
- Enter the host: Copy the name or host value supplied by the service.
- Enter the value: Paste the full TXT record value into the text field.
- Set the TTL and save: Keep the default TTL unless the service gives another value.
Some providers expect an at sign for the root domain. Others leave the host field blank or add your domain automatically. Follow the provider’s field hints, and avoid typing the domain twice.
A verification service may give a value such as site-verification=abc123. This is only an example; use the full value from your own account. Do not add quote marks unless the DNS panel asks for them.

How to Check That the Record Works
First, return to the DNS record list and confirm the TXT entry appears under the right domain. Check the type, host, and full value against the source instructions. If the panel shows a saved status, that confirms the record was stored, but it does not prove that it has spread across DNS yet.
Next, use the verification service’s check button. Some services detect the record within minutes. Others need longer because DNS updates can take time to reach different networks. The TTL and provider setup can affect how quickly a change appears.
You can also check the record with a DNS lookup tool or a command line tool such as dig. Query the exact host name and choose a TXT lookup. If the result does not appear right away, wait and check again rather than adding duplicate records.
Google’s guide to verifying a domain with a TXT record shows one common verification flow. The exact steps vary by service, so use its record value and instructions.

Common Problems and Fixes
A record that does not verify may still be saved correctly. DNS changes can take time to show across networks. Wait at least a short while, then repeat the lookup or verification check. If the provider lists a longer update window, follow that estimate.
Check the host field carefully. A provider may append your domain name automatically, which can create a doubled name if you enter the full domain. Also check that the value has no missing characters, added spaces, or unwanted quotation marks.
Some services require more than one TXT record. Keep existing records unless the provider tells you to remove one. Several TXT records can share a host name, but avoid creating the same value twice without a clear reason.
- Confirm you edited DNS at the active provider.
- Check that the record type is TXT, not another type.
- Compare the host and value character by character.
- Wait for DNS updates before repeating verification.
- Ask the DNS provider for help if the saved record stays missing.

Helpful DNS Habits for WordPress Sites
Keep a simple list of your domain’s key DNS records and why each one exists. Include website records, mail records, and verification entries. This makes it easier to spot a record that should not be deleted during later changes.
Only change the records needed for the task. TXT records usually do not control where your website loads, but edits to address records or name servers can take a site offline. Save the current values before making changes so you can restore them if needed.
Reducing DNS lookups is a separate performance task from adding a TXT record. Review external scripts, fonts, and services that call other domains. Fewer third-party domains can mean fewer lookups, but do not remove a service your site needs.
If you use a DNS host or caching tool, keep its settings aligned with your registrar’s name server setup. When in doubt, ask the provider that currently hosts your DNS records. This helps avoid edits in the wrong control panel.
Step-by-step
- 01 Sign in to the domain manager
Log into the account that controls the domain’s active DNS. This may be WordPress.com, a registrar, or another DNS host.
- 02 Open the domain’s DNS records
Choose Domains, select the domain, and open its DNS settings or record editor.
- 03 Add the TXT entry
Choose TXT, then enter the supplied host and full value. Keep the default TTL unless the service gives a different setting.
- 04 Save and verify the record
Save the entry and use the service’s check tool or a TXT lookup. Wait for updates if the record does not appear yet.
Frequently asked questions
- Where is the DNS configuration in WordPress?
- For WordPress.com domains, sign in and open Domains, then select your domain. If another provider manages its name servers, edit DNS in that provider’s account.
- How do I add a TXT record to WordPress DNS?
- Open the domain’s DNS records, add a new record, choose TXT, and enter the supplied host and value. Save the change, then check it with the requesting service.
- How long does a TXT record take to work?
- Some updates appear within minutes, while others take longer to spread. Check the DNS host’s update guidance and retry verification after waiting.
- Should I put quotation marks around a TXT record value?
- Usually, you should paste the value as supplied without adding quotes. Follow the DNS provider’s field instructions if it handles quotes in a special way.
- Can I add more than one TXT record?
- Yes. A domain can have multiple TXT records, including records with the same host. Keep existing entries unless the service or DNS provider says to remove one.
Related reading
How to Export Orders from WooCommerce
Export WooCommerce orders with useful filters, clean files, and repeatable steps.
How to Add and Manage WordPress Shortcodes
Find, add, edit, and troubleshoot WordPress shortcodes with confidence.
How to Add and Customize a Top Bar in WordPress
Add, fill, and style a WordPress top bar that works on mobile.