What you can actually learn from an email header

When you open an email's full headers, you see a chain of servers that handled the message on its way to you. Each server stamps the date, time, and its own address into the header. The Received lines show this path. What you cannot do is walk backward through those lines and knock on someone's door — the IP address you find belongs to a mail server, not a person's computer, and mail servers handle thousands of messages a day from different senders.

The sender's name and address line at the top of an email can be faked in seconds. The headers are harder to forge, but they still do not give you a home address or a phone number. What they do give you is a starting point: the mail provider they used, the approximate time they sent it, and sometimes the location of the server that relayed it. That information is useful for deciding whether an email is spam, phishing, or worth investigating further — but it is not the same as identifying a person.

Key Takeaways

  • Email headers contain server addresses and timestamps, but the IP address belongs to a mail server, not the sender's personal device.
  • You can view full headers in Gmail, Outlook, Apple Mail, and most other email clients by looking for a "Show original" or "View message source" option.
  • Free IP lookup tools tell you the general location and provider of a mail server, but not the identity of the person who sent the message.
  • If an email is threatening, fraudulent, or part of a crime, forward the full headers to the FBI's Internet Crime Complaint Center or your local police department rather than investigating on your own.
  • Spam and phishing emails often use spoofed headers or relay through compromised servers, so a suspicious origin does not always mean the sender is who they claim to be.

How to view email headers in the most common email services

Gmail: Open the email. Click the three dots in the top right corner. Select "Show original." A new tab opens with the full header text. Copy everything you see — you will need it if you want to look up the IP address or report the email.

Outlook (web version): Open the email. Click the three dots in the top right. Select "View message details" or "View message source." The header appears in a pop-up or new window.

Apple Mail: Open the email. Go to the menu bar and click Mail, then Preferences. Under the Viewing tab, check "Show all headers." Close Preferences. The headers now appear at the top of every email you open.

Thunderbird: Open the email. Press Ctrl+U (Windows) or Cmd+U (Mac). A new window shows the full message source, including headers.

Reading the headers to find the mail server address

The Received lines are what you are looking for. They appear in reverse chronological order — the bottom one is the first server to touch the message, and the top one is the last. Each line includes a server name or IP address in square brackets, like [192.0.2.45]. The IP address closest to the top of the header stack is the one that delivered the message to your inbox.

Look for a line that says something like Received: from mail.example.com [203.0.113.50]. That IP address is what you will use in the next step. If you see multiple IP addresses, start with the one from the server that is closest to your own mail provider — usually the last Received line before your mail server's name appears.

You may also see a Return-Path header, which shows where bounce-back messages go if delivery fails. This is sometimes different from the sender's address and can be a clue that the email is spoofed, but it is not a reliable way to identify the real sender on its own.

Using an IP lookup tool to find the server location and provider

Once you have an IP address, paste it into a free IP lookup tool. Common ones include IP2Location, MaxMind GeoIP2, AbuseIPDB, and WHOIS lookup services. These tools tell you the country, city, and internet service provider (ISP) that owns the IP address. They also show whether the IP has been reported for spam or abuse by other users.

The location shown is the data center or office where the mail server is physically located, not where the sender is sitting. A mail server in Singapore does not mean the sender is in Singapore — it means the email provider or the person who sent it chose to route the message through a server there. Large providers like Gmail, Outlook, and Yahoo have servers all over the world, so the location tells you very little about the sender's actual whereabouts.

If the IP address is flagged in AbuseIPDB or similar databases as a known source of spam or phishing, that is a strong signal the email is not legitimate. If it belongs to a major email provider like Google or Microsoft, the email came through official channels, though that does not mean the sender's account was not compromised.

When to stop investigating and report instead

If the email threatens you, asks for money, claims you have won a prize, or requests passwords or financial information, stop here. Do not reply, do not click links, and do not try to contact the sender. Forward the full email headers to the FBI's Internet Crime Complaint Center (IC3) at ic3.gov, or to your local police department's cybercrime unit if one exists.

If you work for a company and the email appears to come from a coworker or manager but something feels off, forward it to your IT department or security team instead of investigating yourself. They have tools and authority you do not, and they can check whether the sender's account was actually compromised.

Tracing an email is not the same as proving who sent it. Even with headers and IP addresses, you have circumstantial evidence at best. Law enforcement and email providers have access to logs, account information, and legal tools that you do not. If the email is part of a crime or a serious threat, let them do the work.

Why spoofed and relay emails make tracing harder

A spoofed email has a fake sender address in the "From" line, but the headers still show the real mail server that sent it. Someone can make an email appear to come from your bank, your boss, or anyone else, but the Received lines will not lie — they will show which server actually relayed the message. This is why checking headers is more reliable than trusting the sender's name.

A relay email is one that passes through multiple servers before reaching you. This is normal for legitimate mail, but spammers and phishers also use relay services, compromised servers, and open proxies to hide their tracks. If you see a long chain of Received lines from unfamiliar servers, or if the path jumps between countries in ways that do not make sense, the email is likely spam or phishing.

Some email providers and services intentionally hide the sender's IP address in the headers for privacy reasons. ProtonMail, for example, does not include the sender's server IP in the Received lines. In those cases, you will not be able to trace the message further — and that is by design.

What to do if you find the mail server but still do not know who sent it

If the IP address belongs to a small ISP or a company's own mail server, you could try contacting that organization's abuse department. Most ISPs and hosting providers have an abuse email address, usually abuse@[domain name]. Send them the full headers and explain that you received a suspicious or threatening email from their network. They may investigate on their end, though they are not required to share the results with you.

If the email came from a major provider like Gmail or Outlook, contacting the provider directly will not help — they handle millions of messages a day and do not investigate individual complaints from non-customers. If the email is spam or phishing, report it to the provider using their built-in abuse reporting tools instead. If it is a threat or a crime, report it to law enforcement.

Frequently Asked Questions

Can I find someone's home address or phone number from their email IP address?

No. The IP address in an email header belongs to a mail server, not a person's computer or phone. Mail servers are located in data centers and handle messages from thousands of users. Even if you find the server's location, it will not tell you where the sender lives or who they are.

What if the email headers look normal but I still think it is fake?

Check the sender's email address carefully — scammers often use addresses that look similar to legitimate ones, like "amaz0n.com" instead of "amazon.com". Look for spelling mistakes, unusual requests, or links that do not match what the sender claims. If something feels wrong, it probably is. Do not click links or read attachments.

Can I trace an email that was sent anonymously or through a VPN?

A VPN on the sender's computer does not hide the mail server's IP address in the headers. However, if someone uses an anonymous email service, a temporary email address, or a relay service, the headers will show that service's server instead of their personal ISP. You will know the message came through that service, but not who used it.

Is it illegal to trace someone's email?

Looking at your own email's headers and using public IP lookup tools is not illegal. Attempting to access someone else's email account, hacking into a server, or using someone's personal information without consent is illegal. If you need to identify someone who sent you a threatening or fraudulent email, contact law enforcement instead of investigating on your own.

Will the sender know if I view their email headers?

No. Viewing headers on your end does not send any signal back to the sender. They will not know you looked at the full message source. However, if you reply to the email or click a link in it, they will know you opened and read it.