BlogEmail headers
How to read email headers (and find them in Gmail and Outlook)
Your mail app shows four headers: From, To, Date and Subject. The full header has dozens more, added by the sender's app and by every server on the way. You need them when an email arrives late, lands in spam, or claims to come from someone it didn't. Most of the time, a handful of those lines tell you what happened.
Short answer
Email headers are hidden lines in every message that record who sent it, which servers handled it, and its SPF, DKIM and DMARC results. In Gmail, open the email, click More next to Reply, then Show original. In Outlook, choose More actions, View, View message details. Read the Received lines from the bottom up to follow the message's path. Then check your own provider's Authentication-Results line to see if the sender is genuine.
What an email header is
Every email has two parts: the header and the body. The header is a list of fields, one per line, each with a name, a colon and a value, such as Subject: Invoice 1042. The body is the message itself.[4]
The sender's app writes some fields: From, To, Subject, Date and Message-ID. Servers add others on the way. Each mail server that accepts the message adds a Received line at the top, and the last server adds Return-Path. The receiving provider also adds the results of its security checks.Sources[5]RFC 5321: trace information and Return-Path[6]RFC 8601: Authentication-Results header field
How to find email headers in Gmail
To find email headers in Gmail, open the message in a computer browser, click More next to Reply, then Show original. The full header opens in a new tab.[1]
- Step 1
Open the email
Open Gmail in a browser on your computer and open the message.
- Step 2
Choose Show original
Next to Reply, click More (the three dots), then Show original.
- Step 3
Copy the header
The full header opens in a new tab. Click Copy to clipboard to paste it into an analyzer or a support ticket.
Google documents these steps for Gmail in a computer browser only. On a phone, open Gmail in a browser or wait until you are at a computer.[1]
How to view email headers in Outlook
To view email headers in Outlook, open the message and use View message details in new Outlook and on the web, or File, Properties in classic Outlook for Windows.[2]
- New Outlook for Windows, Outlook on the web and Outlook.com: open the message, select More actions at the top, then View, then View message details.
- Classic Outlook for Windows: double-click the message so it opens in its own window, then click File, Properties. The header is in the Internet headers box. Copy it from there with Ctrl+C.
How to see email headers in Apple Mail and iCloud
To see email headers in Apple Mail on a Mac, choose View, Message, All Headers. In iCloud Mail in a browser, select the email, then More and Show All Headers.Sources[3]Apple Support: show detailed headers in Mail on Mac[9]Apple Support: View all email headers in Mail on iCloud.com
- Mail on a Mac: open the message and choose View, Message, All Headers. Choose View, Message, Default Headers to go back to the short version.
- iCloud Mail in a browser: go to
icloud.com/mail, select the email, select the More button, then Show All Headers.
How to view email headers in Shipmail
Open Show original on any message. Shipmail shows the raw source with every header line. You can copy it or download the message as an .eml file for a support ticket.[10]
The header fields that matter
The email header fields that matter most are From, Return-Path, Received, Authentication-Results, DKIM-Signature and Message-ID. Together they show who claims to have sent the message, which servers handled it, and whether it passed SPF, DKIM and DMARC.Sources[4]RFC 5322: Message-ID and trace fields[5]RFC 5321: trace information and Return-Path[6]RFC 8601: Authentication-Results header field[7]RFC 6376: DomainKeys Identified Mail (DKIM) signatures
From: the author shown in your inbox. The sender's app writes it, so it can say anything. Treat it as a claim until the checks below confirm it.Return-Path: where bounces go. It holds the envelope sender, which can be a different domain from the From address, for example when a newsletter service sends on someone's behalf.Received: one line per server that handled the message, with the server's name, its IP address and a timestamp.Authentication-Results: the receiving provider's verdicts, such asspf=pass,dkim=passanddmarc=pass. The name at the start shows which provider wrote it.DKIM-Signature: the sender's digital signature.d=is the domain that signed the message ands=is the selector that points to its public key in DNS.Message-ID: a unique identifier for the message, usually a random string, an@and the sending system's domain. Support teams ask for it to find one message in their logs.
Read Received lines from the bottom up
Each server adds its Received line above the ones already there. That puts the newest hop at the top and the first hop at the bottom. To follow the message from sender to you, start at the lowest Received line and read upward.[5]
- The bottom line usually shows the sender's own server or app handing the message over.
- The lines in the middle are relays, spam filters and the receiving provider's internal servers.
- The top line is the server that delivered the message to your mailbox.
- Compare the timestamps of neighboring lines to find a delay. A gap of minutes or hours between two hops shows where the message waited.
Only the top lines, written by your own provider, are certain. Anything below the first server you trust was supplied by someone else, and a spammer can add fake Received lines to confuse you. The standard calls these fields strictly informational.[4]
How to spot a spoofed email in the headers
To spot a spoofed email in the headers, find your own provider's Authentication-Results line and check dmarc=. A dmarc=fail result is a strong sign the From address is forged.Sources[6]RFC 8601: Authentication-Results header field[8]RFC 7489: Domain-based Message Authentication, Reporting and Conformance (DMARC)
- Step 1
Find your provider's Authentication-Results
Use the
Authentication-Resultsline whose name matches your own provider. The standard tells receiving servers to remove copies that claim to be theirs, so this is the one to trust. - Step 2
Check dmarc=
dmarc=passmeans SPF or DKIM passed for a domain that matches the From address.dmarc=failmeans neither did, which is a strong sign the From address is forged. - Step 3
Compare the domains
Look at the From domain, the DKIM
d=domain and theReturn-Pathdomain. Be suspicious of a message from your bank signed by an unrelated domain. - Step 4
Check the first Received line
A big company's email does not start at a home connection or an unrelated host. If the first hop is one, the email is not from that company.
Analyze email headers with a free tool
Reading raw headers by hand is slow. Shipmail's free email header analyzer puts the Received hops in order, shows the delay at each one, and reads the SPF, DKIM and DMARC results. It runs in your browser, so the header you paste is not uploaded. Google's Admin Toolbox Messageheader tool does the same job.[1]
Sources10 sourcesVerified 2026-10-15
- [1]Gmail Help: trace an email with its full headers
On a computer, open the email, click More next to Reply, then Show original; the full header opens in a new window with a Copy to clipboard button. Google suggests pasting it into the Google Admin Toolbox Messageheader tool. The steps are for Gmail in a computer browser.
support.google.com · 2026-10-15
- [2]Microsoft Support: view internet message headers in Outlook
New Outlook and Outlook on the web: More actions at the top of the message, then View, then View message details. Classic Outlook for Windows: double-click the message to open it in its own window, then File, Properties; the headers are in the Internet headers box. Headers show details such as the sender, the software used and the mail servers the message passed through, and can reveal whether the address differs from how it appears.
support.microsoft.com · 2026-10-15
- [3]Apple Support: show detailed headers in Mail on Mac
In Mail on Mac, choose View, Message, All Headers to show all header fields; View, Message, Default Headers returns to the short view. On 2026-10-15 the unversioned guide URL redirected to the Mail guide home page, so this cites Apple's versioned Mail guide page, which still loads.
support.apple.com · 2026-10-15
- [4]RFC 5322: Message-ID and trace fields
Section 3.6.4: Message-ID MUST be a globally unique identifier for a message, usually a unique value, an @ and a domain name. Section 3.6.7: trace fields are an optional Return-Path and one or more Received fields, kept in blocks prepended to the message and strictly informational. Section 3.6.2: From names the author; Sender names the agent responsible for the actual transmission.
rfc-editor.org · 2026-10-11
- [5]RFC 5321: trace information and Return-Path
Section 4.4: every SMTP server that accepts a message MUST insert a Received (time stamp) line at the beginning of the message content; the server that makes final delivery inserts a Return-Path line at the beginning holding the reverse-path from the MAIL command.
rfc-editor.org · 2026-10-11
- [6]RFC 8601: Authentication-Results header field
Authentication-Results records the results of message authentication checks such as SPF and DKIM so mail clients and filters can use them. The receiving server that performed the checks adds it at the top of the message; the first element is the authserv-id naming that service. Before adding its own, a server should remove instances claiming to come from its own trust boundary. Results include pass, fail, softfail (SPF), neutral, none, temperror and permerror.
rfc-editor.org · 2026-10-11
- [7]RFC 6376: DomainKeys Identified Mail (DKIM) signatures
Section 3.5: the signature is stored in the DKIM-Signature header field; d= is the signing domain, s= the selector, bh= the body hash and b= the signature data. Section 3.6.2.1: the public key is a DNS TXT record at selector._domainkey.domain. Section 3.5: h= lists the header fields that were signed; Section 5.4: the From header field MUST be signed. Section 3.6.1: key record tags v=DKIM1, k (default rsa) and p, where an empty p= means the key was revoked. Section 3.1: selectors allow several keys per domain and routine key replacement. Section 3.11: DKIM itself does not require d= to match any other header. Relays that do not change the content preserve the signature.
rfc-editor.org · 2026-10-11
- [8]RFC 7489: Domain-based Message Authentication, Reporting and Conformance (DMARC)
Section 6.1: the DMARC record is a TXT record at _dmarc.domain. Section 6.3: p=none requests no specific action, p=quarantine asks receivers to treat failing mail as suspicious, such as filing it in spam, p=reject asks them to refuse it; pct sets the percentage of mail the policy applies to, default 100. Sections 3.1 and 4.2: a message passes DMARC when SPF or DKIM passes for a domain aligned with the From domain.
rfc-editor.org · 2026-10-11
- [9]Apple Support: View all email headers in Mail on iCloud.com
In Mail on iCloud.com, select an email, select the More button, then Show All Headers. Show Default Headers in the same menu hides them again.
support.apple.com · 2026-10-15
- [10]Shipmail inbox docs
The Shipmail inbox groups email into conversations, so a message and all of its replies stay together in one row per mailbox. Turning on Track reply before sending puts a conversation in the Waiting view of the Follow-up section until the other person replies or you mark it done; automated replies such as out-of-office notices do not end the wait. Show original on any message displays its raw source, with a copy option and an .eml download.
shipmail.to · 2026-10-15
Questions worth answering
Common questions about email header.
How do I find the email header in Gmail?
How do I view the full email header in Outlook?
How do I see full email headers in iCloud Mail?
icloud.com/mail, select the email, select the More button, then Show All Headers. In Mail on a Mac, choose View, Message, All Headers.Sources[9]Apple Support: View all email headers in Mail on iCloud.com[3]Apple Support: show detailed headers in Mail on MacCan email headers be faked?
From and can add fake Received lines below the real ones. The lines your own provider adds at the top, including Authentication-Results, are the ones to trust.Sources[4]RFC 5322: Message-ID and trace fields[6]RFC 8601: Authentication-Results header fieldDoes an email header show the sender's IP address?
Received line shows the server or connection that handed the message over.[5]What does dmarc=fail mean in an email header?
Related guides
More on Shipmail pricing, comparisons, and team workflows.
Email, newsletters and booking pages on your own domain, in one plan.
Get started for free