---
title: "What is a TXT record?"
term: "TXT record"
description: "A TXT record is a type of DNS record that stores text associated with a domain name, commonly used to verify domain ownership and to publish email authentication policies such as SPF, DKIM and DMARC."
url: "https://glossary.io/txt-record/"
published: "2026-11-22T20:46:23.367Z"
updated: "2026-11-22T20:46:23.367Z"
topics:
  - "Web standards and protocols"
wikidata: "https://www.wikidata.org/wiki/Q2386111"
---

# What is a TXT record?

**Definition:** A TXT record is a type of DNS record that stores text associated with a domain name, commonly used to verify domain ownership and to publish email authentication policies such as SPF, DKIM and DMARC.

TXT records were originally meant for human-readable notes about a domain, but today they mostly hold machine-readable data. Services such as Google Search Console and email providers ask site owners to add a TXT record containing a unique code to prove they control a domain in the [Domain Name System](https://glossary.io/dns/).

Email authentication depends heavily on TXT records. A domain's [SPF](https://glossary.io/sender-policy-framework/) record lists the servers allowed to send its mail, DKIM records publish public keys used to verify message signatures, and a [DMARC](https://glossary.io/dmarc/) record tells receiving servers how to handle messages that fail those checks. Gmail and Yahoo now require bulk senders to publish a DMARC policy.

## TXT record resources

- [TXT record on Wikipedia](https://en.wikipedia.org/wiki/TXT_record)

## Related terms

- [DMARC](https://glossary.io/dmarc/)
- [DNS](https://glossary.io/dns/)
- [Sender Policy Framework](https://glossary.io/sender-policy-framework/)

**Topic:** [Web standards and protocols](https://glossary.io/topics/web-standards/)

## Cite this definition

- APA: What is a TXT record? (2026, November 22). Glossary. https://glossary.io/txt-record/
- MLA: “What Is a TXT record?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/txt-record/.
- Chicago: “What Is a TXT record?” Glossary. Coywolf. November 22, 2026. https://glossary.io/txt-record/.

Published November 22, 2026.
