Where the IP address lives in your email
An IP address is embedded in the email's header — the technical information that travels with every message but stays hidden by default in most email programs. The header contains routing data showing every server the email passed through, and the sender's IP address usually appears in a field called "Received" or "X-Originating-IP". You cannot find it by reading the message itself; you have to ask your email program to show you the full header.
The IP address you find this way is the address of the device or mail server that sent the email into the internet. For personal emails sent from Gmail, Outlook, or Yahoo, this is often the company's server address rather than the sender's home computer. For emails sent from a business network or a personal mail server, it may be closer to the actual sender's location.
Key Takeaways
- The IP address is stored in the email header, which you must manually display in your email program — it does not show in the message body.
- Gmail, Outlook, Yahoo, and Apple Mail all have different steps to reveal headers, but the process takes under one minute in each.
- The IP address you find belongs to the mail server that sent the email, which may be the sender's ISP, their employer's server, or a webmail company's data center.
- An IP address alone does not identify a person — it identifies a network location, and you would need additional information or cooperation from an ISP to learn who was there.
Viewing 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, then select "Show original" from the dropdown. A new window opens displaying the raw email code, including all headers.
Look for lines that begin with "Received:" — these are stacked from bottom to top, with the oldest at the bottom. The bottom-most "Received:" line, or a field labeled "X-Originating-IP", usually contains the sender's IP address in brackets, like this: [192.0.2.1]. Copy this address if you need it. Close the window when done.
Viewing the full header in Outlook (web and desktop)
In Outlook on the web: Open the email. Click the three dots menu at the top right and select "View message details" or "View message source". The header appears in a panel on the right side. Scroll down to find "Received:" lines and look for the IP address in brackets.
In Outlook desktop (Windows or Mac): Right-click the email in your inbox and select "Properties" (Windows) or "Get Info" (Mac). A window opens showing the full header. The "Received:" fields are near the top. Look for the IP address in square brackets, usually in the first or second "Received:" line from the top.
Viewing the full header in Yahoo Mail and Apple Mail
In Yahoo Mail: Open the email. Click the three dots menu and select "View raw message" or "View full headers". The header displays in a new window or panel. Find the "Received:" lines and locate the IP address in brackets.
In Apple Mail: Open the email. Go to the menu bar and click "Message," then select "Show All Headers" or "Raw Message Source". The full header appears at the top of the email. Scroll to find "Received:" lines and the IP address in brackets. If you do not see a "Message" menu, try right-clicking the email and looking for header options.
Understanding what the IP address tells you
The IP address you extract is the address of the mail server that sent the email, not necessarily the sender's personal computer or phone. If the email came from Gmail, Yahoo, Outlook, or another webmail service, the IP belongs to that company's data center, not the sender. If it came from a business email account, it may belong to the company's mail server. If it came from a personal mail server or a less common email provider, it is closer to the actual sender's location.
An IP address identifies a network location — like a street address for internet traffic — but it does not identify a person. Multiple people can share the same IP (in a home, office, or school), and one person can have many IPs (by moving between networks). To connect an IP address to a specific person, you would need additional information, such as logs from the ISP that owns that IP, which typically requires a court order or law enforcement request.
What to do if you cannot find the IP address
Some emails, especially forwarded messages or messages sent through mailing lists, may have multiple "Received:" lines or may not show a clear originating IP. If you see many "Received:" lines, the bottom one (the oldest) is usually the closest to the original sender. If no IP appears in the header at all, the email may have been sent through an anonymizing service, a VPN, or a forwarding system that strips the original IP.
If the email came from a major webmail provider and you need to report abuse or investigate a security issue, contact that provider directly with the full header. Gmail, Outlook, Yahoo, and others have abuse reporting teams that can access their own server logs and may be able to help if the issue involves fraud, phishing, or harassment.
When you might need this information
Finding an IP address is useful if you are investigating a suspicious email, trying to understand where a message came from, or documenting evidence of harassment or fraud. If you receive a phishing email, a ransom demand, or a message impersonating someone you know, the header information can help you report it to the email provider or to law enforcement. Keep the full header (not just the IP) when you report, because it contains context that investigators use.
If you are trying to locate someone or identify a sender, understand that an IP address alone is rarely enough. It tells you a network location, but not a name or identity. If you need to identify someone, work with the email provider, your IT department, or law enforcement depending on the situation.
Frequently Asked Questions
Can I find someone's home address from their IP address?
No. An IP address shows a network location, not a physical address. Even if you know the IP, you cannot look up a street address without access to the ISP's records, which requires a court order or law enforcement involvement. Websites that claim to show a home address from an IP are either inaccurate or selling information obtained illegally.
What if the email header shows multiple IP addresses?
Multiple "Received:" lines show the path the email took through different mail servers. The bottom line (oldest) is usually closest to the original sender. The top line (newest) is usually your email provider's server. If you are investigating, include all of them when you report to the email provider, as they show the full route.
Does a VPN or proxy hide the IP address in the email header?
A VPN or proxy can mask the sender's real IP, but it does not remove the IP from the header — it replaces it with the VPN or proxy server's IP instead. The header will still contain an IP address; it just will not be the sender's actual network location.
Should I share the IP address if I forward a suspicious email to someone?
Share the full header, not just the IP address. The header contains context that helps the recipient understand the email's route and origin. If you are reporting to an email provider or law enforcement, include the entire raw message or full header, as they need all the information to investigate.
Can I find an IP address from an email that was forwarded to me?
The IP address in a forwarded email belongs to whoever forwarded it to you, not the original sender. Forwarding adds a new "Received:" line at the top. To find the original sender's IP, you would need the email before it was forwarded, or you would need to ask the person who forwarded it for the original message.