Where to find an email's IP address
The IP address that sent an email is stored in the email's header — the technical information that sits above the message itself. You cannot see it in the normal message view. You have to open the full header, which every email client lets you do, though the steps differ depending on whether you use Gmail, Outlook, Apple Mail, or another program.
The IP address appears as a string of four numbers separated by periods, like 192.168.1.1. It shows up in a line that starts with "Received:" and will be labeled as either the sender's IP or the mail server's IP. If an email passed through multiple servers before reaching you, you will see several "Received:" lines, each with a different IP address, showing the path the message took.
Finding the IP is straightforward once you know where to look. The harder part is understanding what the IP actually tells you — which comes later in this guide.
Key Takeaways
- The IP address is hidden in the email header, not visible in the normal message view, and you must open the full header to see it.
- Gmail, Outlook, Apple Mail, and other clients all store the IP in the header but require different steps to display it.
- An email typically shows multiple IP addresses because the message passed through several mail servers on its way to you.
- The IP address alone does not prove who sent the email — it only shows which server the message came from at that moment.
How to view the full header in Gmail
Open the email you want to check. Click the three dots in the top right corner of the message, then select "Show original" from the dropdown menu. A new window will open showing the complete header and message body in plain text.
Look for lines that begin with "Received:" — these contain the IP addresses. The first "Received:" line at the top shows the most recent server (usually Gmail's), and each line below shows an earlier step in the email's journey. The IP address appears after "from" or "by" in each line. For example: "from mail.example.com (mail.example.com. [203.0.113.45])". The number in brackets is the IP address.
How to view the full header in Outlook
Open the email and click "File" in the top menu. Select "Properties" (on Windows) or "Get Info" (on Mac). A window will open showing message details. Look for a section labeled "Internet Headers" or "Message Headers" — this contains all the header information including the IP addresses.
On some versions of Outlook, you may need to click a button labeled "Message" or "Actions" first, then look for "View Message Details" or similar. The exact wording changes between Outlook versions, but the principle is the same: you are looking for a way to see the raw header text rather than the formatted message.
How to view the full header in Apple Mail
Open the email. Go to the "View" menu at the top of your screen and select "Message" then "All Headers". The header will now display above the message body. Scroll through the "Received:" lines to find the IP addresses, which appear in the same format as Gmail and Outlook.
If "All Headers" is not visible in the View menu, try right-clicking on the email itself and looking for "View All Headers" or similar in the context menu.
How to view the full header in other email clients
Most web-based email services (Yahoo Mail, ProtonMail, etc.) have a "Show Original" or "View Source" option similar to Gmail's. Look for a menu icon (three dots or a gear) near the top of the message and search for options containing the words "original," "source," "header," or "details."
Desktop clients like Thunderbird typically have a "View" menu where you can toggle "Message Body As" to "Plain Text" or select an option like "View Headers: All." If you cannot find the header option, check the client's help documentation — the feature exists in every email program, but the menu location varies.
What the IP address actually tells you
The IP address shows which mail server sent the message to you, but it does not prove who wrote it. Someone can send an email through a mail server they do not own, and the IP will belong to that server, not the sender's computer. A person using Gmail will have a Gmail server IP in their header, but a person using a spoofed email address might have any IP depending on which server they routed the message through.
The IP is useful for checking whether an email came from where it claims to come from. If an email says it is from your bank but the IP belongs to a completely different country or a known spam server, that is a red flag. You can search an IP address online using tools like whois.com or ip-lookup.net to see what organization owns it and where it is located.
The IP alone is not proof of fraud or identity — it is one piece of information among many. Phishing emails often use legitimate-looking IPs because they come through real mail servers. The header also contains other clues like the "From:" address, the "Return-Path:", and authentication records (SPF, DKIM, DMARC) that together paint a more complete picture of where an email actually came from.
Why emails show multiple IP addresses
An email rarely travels directly from sender to recipient. It bounces through multiple mail servers, and each one adds a "Received:" line to the header. The first "Received:" line at the top is the most recent (the server that delivered it to you), and each line below represents an earlier hop backward through the chain.
Reading the header from bottom to top shows the email's journey from start to finish. The bottom "Received:" line is closest to the original sender, and the top line is closest to you. If you see an IP address that looks suspicious, check which position it is in the chain — an odd IP at the very bottom might indicate the sender routed through an unusual server, while an odd IP in the middle might just be a mail relay.
Frequently Asked Questions
Can I find out who sent an email just from the IP address?
Not directly. The IP tells you which mail server handled the message, but not who used that server. If the email came from Gmail, the IP belongs to Google, not the sender. You would need additional information like the sender's account name or logs from the mail provider to identify the person.
What if the email header shows a private IP address like 192.168.x.x?
Private IP addresses are used on local networks and should not appear in email headers sent over the internet. If you see one, it usually means the email was forwarded or the header was altered. The legitimate public IP should appear somewhere else in the chain.
Can I use the IP address to report spam or phishing?
The IP is one piece of information that spam filters and security teams use, but it is not enough on its own. Include the full header when reporting phishing to your email provider or to organizations like the Anti-Phishing Working Group. They have tools to trace the IP and take action against the server if it is being abused.
Does viewing the header change anything about the email?
No. Viewing the header is read-only — it does not modify the email, mark it as read, or alert the sender. You can safely open the header on any email without consequences.
Why does the header show different dates than the message date?
The "Date:" field in the message is set by the sender's email client and can be wrong or deliberately altered. The "Received:" timestamps in the header are set by mail servers as the message passes through, so they are more reliable for determining when an email actually arrived.