Guides / How to find your DKIM selector

How to find your DKIM selector

Updated December 3, 2026

Short answer: send yourself an email from the address you want to check, open the raw message (Show original in Gmail, View message source in Outlook), find the DKIM-Signature header, and read the s= value. That's your selector. The d= value next to it is the domain that signed. The public key then lives at selector._domainkey.yourdomain.com in DNS. Below: what a selector is, the exact steps, where Google Workspace and Microsoft 365 put theirs, why a checker can't simply list them, and how to check that the key behind it is valid.

Check your domain nowFree SPF, DKIM, DMARC, MX and blacklist check. No signup.

What a DKIM selector is

A domain can have several DKIM keys at once, one per sending service or one per key rotation. The selector is the name that tells a receiver which key to use. RFC 6376, section 3.1, says the key namespace "is subdivided using 'selectors'" so a domain can have "multiple concurrent public keys", and that the number of selectors "is determined by the domain owner".

Every signed message names its selector in the s= tag of its DKIM-Signature header (section 3.5: s= is "REQUIRED"). The receiver then looks up the key in DNS. Section 3.6.2.1 gives the rule: with d=example.com and s=foo.bar, "the DNS query will be for 'foo.bar._domainkey.example.com'".

The surest way: read s= from a message you sent

  1. Send an email from the mailbox or sending tool you want to check to a Gmail or Outlook address you can open.
  2. In Gmail, open the message, click the three-dot menu and choose Show original. In Outlook on the web, open the message, click the three-dot menu and choose View, then View message source.
  3. Find the line that starts with DKIM-Signature:. It looks like this: DKIM-Signature: v=1; a=rsa-sha256; d=example.com; s=s1; c=relaxed/relaxed; ...
  4. The value after s= (s1 here) is the selector. The value after d= is the signing domain. Your key record is at s1._domainkey.example.com.
  5. If there is more than one DKIM-Signature header, each one has its own d= and s=. Usually one is your domain and another is your sending tool's own domain.

Check the d= domain while you're there

The selector only helps you if d= is your own domain (or a subdomain of it). If the only DKIM-Signature on your cold email has d= set to your sending tool's domain, your domain isn't signing yet: DKIM can pass for the tool's domain but won't count for your DMARC, because DMARC needs the DKIM domain to match the From domain. See SPF and DKIM pass but DMARC fails.

Gmail's Show original page also has a summary at the top. You want DKIM: 'PASS' with domain yourdomain.com.

Where Google Workspace and Microsoft 365 put their selectors

  • Google Workspace: Google's help page on generating a DKIM key says "The default prefix selector is google", so the record is a TXT at google._domainkey.yourdomain.com. You can pick a different prefix when you generate the key, so check the Admin console (Apps > Google Workspace > Gmail > Authenticate email) if google._domainkey is empty. See DKIM selector not found in Google Workspace.
  • Microsoft 365: Microsoft's DKIM documentation uses two CNAME records, selector1._domainkey and selector2._domainkey, pointing at keys Microsoft hosts, so it can rotate between them. Microsoft's docs say the selector used to verify a message is in its s= value (their example is s=selector1-contoso-com) and that you should copy the exact CNAME values from the Defender portal or PowerShell. See DKIM setup for a custom domain in Microsoft 365.
  • Cold email tools and other services: the domain setup page in the tool shows the DKIM record it wants you to publish. The selector is the part of the host name before ._domainkey. If the tool gives you a CNAME, publish it exactly as shown; the key sits on the tool's side.

Why a checker can't just list your selectors

DNS has no ordinary way to ask "what names exist under _domainkey.example.com?". A lookup needs the exact name, so a checker can only try selectors it already knows. The DKIM standard expects this: section 3.1 says some domains "will want to take care not to allocate selector names in a way that allows harvesting of data by outside parties".

That's why the free checker at the top of this page tries a list of common selectors and says "could be a false alarm" when it finds none. If yours isn't on the list, type it into the selector box (just s1, or paste s1._domainkey.example.com) and it checks that exact key.

Check the key behind the selector

Look up the TXT record at selector._domainkey.yourdomain.com. A working key looks like "v=DKIM1; k=rsa; p=MIIBIjANBg..." with a long p= value. A CNAME that leads to such a record is fine too.

An empty p= means the key is switched off. RFC 6376 section 3.6.1 says: "An empty value means that this public key has been revoked", and receivers should return an error for mail signed with it. You can see this on old Gmail selectors: on 2026-12-03, Google Public DNS returned "v=DKIM1; k=rsa; p=" for 20230601._domainkey.gmail.com. If the selector in your own headers points at a record like that, your mail fails DKIM.

While you're there, check the key length: 2048-bit RSA is the recommended size. See DKIM key length: 1024 vs 2048 bits.

Common mistakes

  • The record is published but nothing signs with it. In Google Workspace, adding the TXT record isn't enough: you also click Start authentication.
  • The host name was doubled. Many DNS panels add your domain to the host name automatically, so typing s1._domainkey.example.com creates s1._domainkey.example.com.example.com. Enter just s1._domainkey.
  • An old selector was reused or removed too early. Section 3.1 advises that signers "are ill-advised to reuse selectors for new keys" and that "a better strategy is to assign new keys to new selectors", keeping the old key published while mail signed with it may still be in transit.
  • The key was pasted with a line break or a missing character, so the p= value doesn't decode. Copy it again from the provider's setup page.

Keep an eye on it

Selectors and keys change when you switch tools or a provider rotates keys. OutboxWatch checks SPF, DKIM (including the selectors you give it), DMARC, MX and blocklists on your sending domains every day and emails you when something changes, so a removed or revoked key gets caught before replies drop.

Frequently asked questions

How do I find my DKIM selector?

Send yourself an email, open the raw message (Show original in Gmail, View message source in Outlook), find the DKIM-Signature header and read the s= value. The key is then at that selector followed by ._domainkey and your domain, for example s1._domainkey.example.com.

What is the default DKIM selector for Google Workspace?

google. Google's help page says the default prefix selector is google, so the TXT record is at google._domainkey.yourdomain.com, unless you chose a different prefix when you generated the key.

What are the DKIM selectors for Microsoft 365?

selector1 and selector2. You publish CNAME records at selector1._domainkey and selector2._domainkey that point at keys Microsoft hosts; copy the exact values from the Defender portal or Exchange Online PowerShell.

Can I look up all DKIM selectors for a domain?

No. DNS lookups need the exact name, and there is no ordinary way to list the names under _domainkey. Checkers try common selectors; to be sure, read the s= value from a message the domain actually sent.

What does an empty p= in a DKIM record mean?

The key has been revoked. RFC 6376 says an empty p= value means the public key has been revoked, so mail signed with that selector fails DKIM. Sign with a selector whose record has a full key.

Find out what is wrong with your domainRun the free checker, or let OutboxWatch watch your domains daily and alert you when something changes.
Free weekly report for your domainOne email every Monday with your SPF, DKIM, DMARC, MX and blacklist status and what changed since last week. No card.
See the free weekly report

Related guides