Where the IP address lives in your email
The IP address of the person who sent you an email is stored in the email's header — a section your email program hides by default. The header contains routing information that shows every server the message passed through on its way to your inbox. The sender's IP address appears near the top, usually in a line labeled "Received:" or sometimes "X-Originating-IP:". You cannot see this information by opening the email normally; you have to ask your email program to show you the full header.
Different email services store headers differently, and the exact location of the IP address varies depending on the email provider and whether the sender used a corporate mail server, a webmail service, or a phone. The process of finding it is straightforward once you know where to look, but the IP address itself may not tell you who sent the email — it tells you which server or network the message came from.
Key Takeaways
- The sender's IP address is in the email header, which you must manually display in your email program — it does not show by default.
- Gmail, Outlook, Yahoo, and Apple Mail all have different steps to reveal the header, but the process takes under a minute in each one.
- The IP address appears in a "Received:" line and shows the server that sent the message, not necessarily the person's home address or device.
- Once you have the IP address, you can enter it into a free IP lookup tool to see the general location and internet service provider associated with that address.
- An IP address alone rarely identifies a specific person — it identifies a network or server, which may be shared by thousands of users.
How to view the full header in Gmail
Open the email you want to check. Click the three vertical dots (the menu button) in the top right corner of the email. A dropdown menu appears; select "Show original" from the list. Gmail opens a new tab or window displaying the complete email header in plain text.
Look for the topmost "Received:" line — this is the most recent server to handle the message and is closest to the sender. The line will look something like this: Received: from mail.example.com (mail.example.com. [192.0.2.1]). The number in brackets is the IP address. If you see multiple "Received:" lines, the first one at the top is the most relevant. Copy the IP address and move to the lookup step below.
How to view the full header in Outlook and Outlook.com
For Outlook.com (webmail), open the email and click the three dots menu in the top right. Select "View message details" or "View message source" depending on your version. The full header appears in a new window or panel on the right side of the screen.
For Outlook desktop software on Windows, right-click the email in your inbox and select "Properties." A dialog box opens; click the "Message" tab, then look for a button labeled "Internet Headers" or "View Message Source." The header text appears in a new window. Scan for the topmost "Received:" line and extract the IP address in brackets, just as you would in Gmail.
How to view the full header in Yahoo Mail and Apple Mail
In Yahoo Mail, open the email and click the three dots menu. Select "View raw message" or "View full headers." The complete header displays in a new tab or window. Look for the first "Received:" line at the top and note the IP address in brackets.
In Apple Mail on Mac, open the email and go to the menu bar at the top of the screen. Click "Message," then select "Show All Headers" or "Show Raw Message Source." The header appears in the email window itself, usually above the message body. Find the topmost "Received:" line and copy the IP address. On iPhone or iPad, open the email, tap the sender's name at the top, and look for a "Details" or "Info" option; not all versions of Apple Mail show headers on mobile devices.
Understanding what the IP address actually shows
The IP address you find is the address of the mail server that sent the message, not necessarily the sender's personal computer or phone. If someone sent the email from Gmail, the IP belongs to a Google server. If they sent it from a corporate email system, it belongs to that company's mail server. If they used a VPN or proxy service, the IP may belong to that service instead of their actual location.
The IP address is also not precise enough to identify a specific person. It identifies a network or server, which may have thousands of users. A free IP lookup tool will show you the general city or region and the internet service provider, but it cannot tell you which individual on that network sent the message. Law enforcement and internet service providers can trace an IP further, but that requires legal process and access to server logs that are not public.
Using a free IP lookup tool
Once you have the IP address, you can enter it into a free lookup service to see what information is publicly available. Common tools include IP2Location, MaxMind GeoIP2, and AbuseIPDB. Go to any of these websites, paste the IP address into the search box, and click "Lookup" or "Search."
The tool returns the approximate geographic location (usually a city or region), the internet service provider (ISP) name, and sometimes the type of connection (residential, business, datacenter). Some tools also show whether the IP has been reported for spam or abuse. This information is useful for understanding where a message came from, but remember that the location is approximate and the IP may belong to a server rather than the sender's home.
What to do if the header looks empty or confusing
Some emails, especially those forwarded multiple times or sent through mailing lists, have headers that are difficult to read or contain multiple "Received:" lines. If you see many "Received:" lines, start from the very top — that is the most recent server and closest to the original sender. Lines further down show servers the message passed through earlier.
If you see no IP address in brackets, the email may have come through a service that strips that information, or the header may be incomplete. Some corporate systems and mailing list services remove or obscure sender IP information for privacy. In those cases, you may not be able to find the IP address no matter which method you use. If the email is suspicious or you need to identify the sender for legal reasons, contact your email provider's support team or law enforcement.
Frequently Asked Questions
Can I find out who sent an email just from the IP address?
No. An IP address identifies a network or server, not a specific person. Thousands of people may use the same IP address if they are on the same corporate network or using the same webmail service. Only the internet service provider or the company that owns the server can connect an IP address to a specific account, and they require a legal request to do so.
What if I see multiple IP addresses in the header?
Multiple "Received:" lines show the path the email took through different servers. The topmost line is the most recent and closest to the sender. Each line below represents a server the message passed through. The first IP address at the very top is the one you want to look up.
Does viewing the header tell the sender that I looked at it?
No. Viewing the header is a local action on your device — it does not send any signal back to the sender or their server. The sender will not know that you viewed the header or looked up the IP address.
Can I find the IP address from a forwarded email?
A forwarded email contains the header of the person who forwarded it to you, not the original sender. If you want the original sender's IP, you need the email before it was forwarded. Ask the person who forwarded it to send you the original message instead.
What if the email came from a VPN or proxy?
If the sender used a VPN or proxy service, the IP address you find belongs to that service, not the sender's actual location. The lookup tool will show the VPN provider's location, which may be anywhere in the world. This is common for people concerned about privacy, and it makes tracing the actual sender nearly impossible without help from the VPN company or law enforcement.