What you can actually extract from an email header

An email header contains routing information that shows the path your message took from sender to your inbox. The IP address — a string of numbers like 192.168.1.1 — appears in the header lines labeled "Received:" and sometimes "X-Originating-IP:". These lines are usually hidden by default in Gmail, Outlook, Apple Mail, and most other email clients, which is why you have to unhide them first.

The IP address you find is real, but it often belongs to the sender's email provider (Gmail's servers, Microsoft's servers, a company mail server) rather than the sender's personal computer or phone. If someone sent mail through Gmail, you will see a Google data center IP. If they used their workplace email, you will see their company's mail server IP. This matters because you cannot always trace an IP directly back to a person — you can trace it to an organization or service.

Finding the IP is straightforward. Reading it correctly and understanding what it tells you is where most people get stuck.

Key Takeaways

  • Email headers are hidden by default in most email clients; you must unhide them to see the IP address lines.
  • The IP address in an email header usually belongs to the sender's email provider, not their personal device.
  • Multiple "Received:" lines show the path the email took; the first one (at the top) is closest to the original sender.
  • An IP address alone does not identify a person — it identifies a server or network, and only the organization that owns it can connect it to an account.

How to view the full header in Gmail

Open the email you want to examine. Click the three vertical dots (the menu icon) in the top right corner of the email. Select "Show original" from the dropdown. A new tab or window will open showing the complete email source code, including all headers.

Look for lines that start with "Received:". There will usually be several of them, stacked in reverse chronological order. The topmost "Received:" line is the one closest to where the email originated. Within that line, search for an IP address — it will look like four numbers separated by periods, such as 203.0.113.45. You may also see "X-Originating-IP:" which sometimes contains the sender's actual device IP, though this is less common and not always present.

Copy the IP address and note which "Received:" line it came from. If there are multiple IPs, the first one is the most relevant to the sender's origin point.

How to view the full header in Outlook (web and desktop)

In Outlook on the web, open the email and click the three dots menu at the top right. Select "View message details" or "View message source" depending on your version. The full header will display in a panel or new window.

In Outlook desktop (Windows or Mac), right-click the email in your inbox and select "Properties" (Windows) or "View Full Header" (Mac). A window will open showing the complete header information. Scroll through and locate the "Received:" lines, then find the IP address in the topmost one.

The format is the same as Gmail: look for four numbers separated by periods within the first "Received:" line.

How to view the full header in Apple Mail

Open the email. Go to the menu bar at the top of your screen and click "Mail" (on Mac) or use the menu options (on iPhone/iPad). Select "Preferences" or "Settings". Find the "Viewing" tab and check the box that says "Show all headers" or "Display all headers". Close the preferences window and return to your email — the full header should now be visible above the message body.

On iPhone and iPad, open the email, tap "Details" or the sender's name at the top, and look for an option to show the full header or message details. The exact wording varies by iOS version.

Once headers are visible, search for "Received:" and the IP address within it.

What the IP address actually tells you

An IP address is a network location, not a person's name. When you find an IP in an email header, you know the message passed through a server at that address. You do not know who was sitting at a keyboard. The sender could be the account owner, someone with access to that account, or someone who compromised it.

If the IP belongs to a major email provider like Gmail, Yahoo, or Outlook, the only organization that can connect that IP to a specific account is that provider — and they will only do so with a valid legal request (subpoena, warrant, or law enforcement inquiry). You cannot make that connection yourself.

If the IP belongs to a company or organization, you can sometimes contact that organization's IT department and describe the situation. They may be willing to investigate whether the email came from a legitimate employee or a compromised account. Many organizations take this seriously if the email appears to be fraud or harassment.

How to look up who owns an IP address

Use a free IP lookup tool such as WHOIS (whois.net or similar), IP2Location, or MaxMind GeoIP. Enter the IP address you found and the tool will return the organization or internet service provider that owns that IP block, the country and city where it is registered, and sometimes the hosting provider.

This tells you whether the IP belongs to a data center (suggesting a web-based email service), a residential internet provider (suggesting a personal computer or home network), or a corporate network. It does not tell you the sender's name or exact location, but it narrows down the type of network the email came from.

If the lookup shows a company name you recognize, that is a starting point for contacting them. If it shows a generic data center or hosting provider, the email likely came through a commercial email service and you will need that service's cooperation to go further.

When you should report the email instead of investigating

If the email is phishing, spam, or harassment, do not spend time tracing the IP. Report it to your email provider instead. Gmail, Outlook, Yahoo, and others have abuse teams that investigate suspicious emails at scale. They have access to logs and account information you do not.

In Gmail, click the three dots menu and select "Report phishing" or "Report spam". In Outlook, right-click the email and select "Junk" or "Report". In Apple Mail, select the email and go to Mail menu > Junk Mail > Mark as Junk. These reports go directly to the provider's security team and help them identify and shut down fraudulent accounts.

If the email contains threats or appears to be part of a crime, report it to the FBI's Internet Crime Complaint Center (IC3) at ic3.gov or to your local law enforcement. Provide them with the full email header and any context about why you believe it is criminal. They have the legal authority to subpoena email providers for account information.

Frequently Asked Questions

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

Not reliably. If someone sent email from their personal computer using their own internet connection, the IP might be their home IP. But most people use Gmail, Outlook, or their phone's data connection, so the IP in the header belongs to the email provider's server, not their home. Even if you find a residential IP, it belongs to an internet service provider account, not a person — only the ISP can connect it to a customer.

What if the email header shows multiple IP addresses?

Each "Received:" line represents one hop the email took. The topmost line is closest to the original sender. Lower lines show the path through your email provider's servers. Focus on the first one. If it looks suspicious or unfamiliar, that is the one to investigate with an IP lookup tool.

Does hiding my IP address prevent someone from tracing my email?

No. Your email provider's IP address will always appear in the header, regardless of whether you use a VPN or proxy. The only way to hide your identity is to use an anonymous email service that does not log IPs or account details, but even then, the service itself knows who you are if you created an account.

Can I trace an email if it came through a VPN or proxy?

The IP address in the header will be the VPN or proxy provider's IP, not the sender's real IP. You can look up who owns that IP, but you cannot go further without the VPN provider's cooperation — and most VPN services do not keep logs or will not share them without a legal order.

What should I do if I find the sender's IP address?

If the email is legitimate and you are just curious, you now know which service or network it came from. If the email is suspicious, report it to your email provider and law enforcement rather than investigating on your own. If you believe you can identify the sender's organization, you can contact their IT or security team with the IP and a description of the email, but do not expect them to confirm or deny anything without a formal legal request.