Where the IP address lives in your email
Every email carries hidden information called headers — a record of every server the message passed through on its way to your inbox. The sender's IP address is almost always in those headers, but it is not visible in the normal message view. You have to open the full headers to see it.
The IP address appears as a string of four numbers separated by periods, like 192.168.1.1. It is usually attached to the first "Received:" line in the headers, which represents the point closest to where the email originated. Different email services store and display headers differently, so the exact steps depend on which service you use.
Key Takeaways
- Email headers contain the sender's IP address, but you must open the full headers to see it — the normal message view hides this information.
- The IP address usually appears in the first "Received:" line at the top of the headers, shown as four numbers separated by periods.
- Gmail, Outlook, Yahoo, and Apple Mail all store headers the same way but display them through different menu paths.
- Once you have the IP address, you can search it in a public database to learn the general location and internet provider associated with it.
- An IP address alone does not identify a specific person — it identifies a network connection, which may be shared by many users.
How to view headers in Gmail
Open the email and click the three-dot menu in the top right corner of the message. Select "Show original" from the dropdown. A new tab or window will open displaying the raw email code, including all headers.
Scan down from the top until you find the first line that begins with "Received: from". Look for text that says "client IP" or just an IP address in brackets — it often appears as "[192.168.1.1]" or similar. This is usually the sender's IP. If you see multiple "Received:" lines, the topmost one is closest to the original source.
You can also search within this view by pressing Ctrl+F (or Cmd+F on Mac) and typing "client IP" to jump directly to it. Copy the IP address and paste it into a text file so you do not lose it when you close the window.
How to view headers in Outlook and Outlook.com
For Outlook on the desktop, right-click the email in your inbox and select "Message" or "Properties" (the exact name varies by version). A window will open showing the full headers at the bottom. Scroll down to find the "Received:" lines and locate the IP address in the first one.
For Outlook.com in a web browser, open the email and click the three-dot menu. Select "View message details" or "View message source" depending on your version. The headers will display in a panel. Again, look for the first "Received:" line and the IP address in brackets.
How to view headers in Yahoo Mail and Apple Mail
In Yahoo Mail, open the email and click the three-dot menu in the top right. Select "View raw message" or "View full headers." The complete headers will appear in a new window or panel. Find the first "Received:" line and extract the IP address.
In Apple Mail on Mac, open the email and go to the menu bar at the top. Click "Message" and then "Show All Headers." The headers will appear at the top of the message. Look for the first "Received:" line. On iPhone or iPad, open the email, tap "Details" at the top, and scroll to see the headers if available — not all versions of Apple Mail display them on mobile.
What to do once you have the IP address
Copy the IP address and paste it into a public IP lookup tool such as WhatIsMyIPAddress.com, IPQualityScore.com, or MaxMind's GeoIP2. These services will show you the general geographic location (city and country), the internet service provider (ISP) that owns the address, and sometimes the type of connection (residential, business, or data center).
Keep in mind that an IP address points to a network connection, not a specific person. A residential IP might be used by everyone in a household. A business IP might be used by dozens of employees. A data center IP might be used by thousands of users of a web-based email service or VPN. The location is also approximate — it shows where the ISP's server is registered, not necessarily where the device physically sits.
Why headers can be misleading
Email headers can be forged or altered by someone with technical knowledge, though most email services now add their own verification stamps that are harder to fake. If an email came through a forwarding service, a mailing list, or a web form, the IP you find may belong to that intermediary service, not the original sender.
Similarly, anyone using a VPN, proxy, or Tor network will show an IP address belonging to that service instead of their real one. Corporate email systems and large organizations often route all outgoing mail through a single server, so multiple employees may show the same IP. For these reasons, an IP address is a starting point for investigation, not proof of identity.
Frequently Asked Questions
Can I find someone's home address from their IP address?
No. Public IP lookup tools show only the city and country where the ISP's server is registered, which is often not where the person actually lives. Finding a specific home address requires additional information and is not something a public database can provide.
What if I do not see an IP address in the headers?
Some email services strip out IP information for privacy reasons, or the headers may be incomplete. If you see "Received:" lines but no IP addresses, the service may have removed them. Try a different email service or contact the sender directly if you need to verify their location.
Does the IP address tell me if the email is spam or a scam?
Not by itself. A data center IP suggests the email came from a web service rather than a personal computer, which is common for both legitimate bulk mail and spam. You would need to combine the IP information with other signs — like suspicious links, requests for money, or mismatched sender names — to assess whether an email is trustworthy.
Can I report an IP address to the police or my email provider?
Yes. If you believe an email is part of fraud, harassment, or a crime, you can report it to your email provider along with the full headers and the IP address. Law enforcement can subpoena the ISP to learn who held that IP address at a specific time, though this process requires a warrant and is typically used only for serious crimes.
What is the difference between the sender's IP and the server's IP?
The sender's IP is the device or network the email originated from. The server's IP is the mail server that relayed it. The first "Received:" line shows the sender's IP (or the first relay point). Later "Received:" lines show subsequent servers the email passed through. For most purposes, the first one is what you want.