Email headers, server logs, command-line tools, and more. 6 methods that actually work, plus common scams debunked.
Whether you're a parent trying to monitor your child's online safety, a business owner investigating fraud, or just someone curious about who's behind an IP address — finding someone's IP address is a topic surrounded by myths, scams, and genuine methods that actually work. This guide covers the six legal and technically valid ways to find someone's IP address in 2026, along with clear explanations of what's illegal, what's a scam, and what you should do instead in various scenarios.
Important Disclaimer: Legal and Ethical Boundaries
Before we begin, let's be clear about the legal landscape. Finding someone's IP address through normal online interaction is generally not illegal — IP addresses are transmitted as part of standard internet communication. However, what you do with that information matters enormously. Using someone's IP for DDoS attacks is a federal crime in the US. Using it for stalking, harassment, or doxxing violates laws in most jurisdictions. Attempting to hack or gain unauthorized access using someone's IP is illegal everywhere.
The methods below are for legitimate, legal purposes. You can check what your own IP reveals at TraceMyIPOnline.com.
Method 1: Check Email Headers (Most Reliable for Emails)
When someone sends you an email, their IP address is often embedded in the email's headers — the technical metadata that travels with every email message. This is one of the most reliable methods because it uses data that's automatically included in the email.
How to Find IP in Gmail
Step 1: Open the email you want to investigate.
Step 2: Click the three dots (More menu) in the top right corner of the email.
Step 3: Select "Show original" — this opens the full email header.
Step 4: Look for lines that say "Received: from" — the IP address listed here is often the sender's IP or their email server's IP.
How to Find IP in Outlook
Step 1: Open the email.
Step 2: Click "File" then "Properties."
Step 3: The email headers appear in the "Internet headers" box at the bottom.
Step 4: Search for "Received: from" lines to find IP addresses.
Limitations
Major email providers like Gmail, Yahoo, and Outlook now strip the sender's original IP from headers for privacy protection. What you'll often see instead is the IP of the email provider's servers. This method works best with emails sent from personal or business email servers, corporate email systems, or smaller email providers that don't strip header information.
Method 2: Run a Server or Website They Visit
If you operate a website, blog, or any online service, every visitor's IP address is automatically logged in your server's access logs. This is a completely standard and legal part of web hosting — every website in the world does this.
How It Works
Every web server maintains access logs that record the IP address of every visitor, the time and date of the visit, which pages they accessed, and their browser and operating system information. If someone visits your website, their IP is recorded automatically. Website analytics platforms like Google Analytics also record visitor IP data, though Google Analytics now anonymizes the last octet of IPv4 addresses for privacy compliance.
Server Log Example
A typical Apache or Nginx server log entry looks like: the IP address, followed by the date and time, the page requested, and the user agent string. If you have hosting access, you can view these logs through your hosting control panel (cPanel, Plesk) or via SSH.
Method 3: Use Command-Line Network Tools (For Direct Connections)
When you have a direct connection with someone — such as through a peer-to-peer game, file sharing, or certain voice chat applications — their IP address may be visible through command-line network tools.
Using Netstat on Windows
Step 1: Open Command Prompt (search "cmd" in Start menu).
Step 2: Establish the direct connection (join the game, start the file transfer, etc.).
Step 3: Type netstat -an and press Enter.
Step 4: Look at the "Foreign Address" column for IP addresses you don't recognize. The ones that aren't known services (Google, Microsoft, etc.) may be the other person's IP.
Important Limitations
This method only works with peer-to-peer connections. Most modern communication platforms (Discord, WhatsApp, Instagram, Facebook Messenger) route traffic through their servers, meaning netstat will show the platform's server IPs, not individual user IPs. This method works best with direct game connections (some Minecraft servers, older multiplayer games), peer-to-peer file sharing, and certain VoIP calls that use direct connections.
Method 4: Use Your Router's Admin Panel (For Your Network)
If you want to find the IP addresses of devices connected to your own network (your family's phones, IoT devices, etc.), your router's admin panel shows all connected devices.
Step 1: Open a browser and go to your router's admin page — typically 192.168.1.1 or 192.168.0.1.
Step 2: Log in with your admin credentials.
Step 3: Look for a section called "Connected Devices," "Client List," "DHCP Clients," or similar.
Step 4: You'll see every device on your network with its local IP address, MAC address, device name, and connection type.
This shows local (private) IP addresses, not public ones. All devices on your network share the same public IP, which you can check at TraceMyIPOnline.com.
Method 5: Use IP Geolocation Lookup (For IPs You Already Have)
If you already have someone's IP address — from server logs, email headers, or any other legitimate source — you can look up information about it using IP geolocation tools.
Visit TraceMyIPOnline.com and enter the IP address. You'll see the approximate geographic location (city/region), the ISP or hosting provider, the connection type (residential, business, mobile, VPN), the autonomous system number (ASN), and whether the IP is associated with known VPNs or proxies.
Remember that IP geolocation shows approximate location only — typically accurate to the city level. It will never reveal a street address, name, or other personal information.
Method 6: Legal Channels (For Serious Situations)
If you're dealing with harassment, threats, fraud, or other criminal activity, law enforcement has the ability to trace IP addresses to specific individuals through ISP records. This is the only method that can definitively connect an IP address to a real person.
Step 1: Document all evidence — screenshots of threats, emails, timestamps, any IP addresses you've collected through legitimate means.
Step 2: File a report with local law enforcement or the FBI's Internet Crime Complaint Center (IC3) for US-based crimes.
Step 3: Law enforcement can subpoena the ISP that owns the IP address to reveal the subscriber's identity, address, and account information.
This process takes time but is the only legal way to identify a specific person behind an IP address. Private individuals cannot subpoena ISPs.
Methods That DON'T Work (Scams to Avoid)
Social Media IP Finders
Any website claiming to find someone's IP address from their Instagram, Facebook, Twitter, Snapchat, or TikTok username is a scam. These platforms use server-routed architecture that prevents users from seeing each other's IPs. These scam sites typically generate fake "results" and then ask you to complete surveys, download apps, or pay money.
IP Resolver Tools for Discord/Skype
Discord IP resolvers haven't worked since Discord moved to server-routed connections years ago. While Skype resolvers worked in the past, Microsoft has since patched this vulnerability. Any current "resolver" site is a scam.
Phone Number to IP Converters
There is no technology that converts a phone number into an IP address. These are entirely fictional tools designed for ad revenue and data theft.
IP Hacking Services
Services claiming to "hack" someone's IP address for a fee are scams. They'll take your money and provide nothing, fake results, or stolen data from breaches.
What to Do With an IP Address Once You Have It
If you've legitimately obtained someone's IP address, here's what you can and should do with it. Look up the location and ISP using TraceMyIPOnline.com to understand where the connection originates. Check if it's a VPN or proxy — if the IP belongs to a VPN provider, the person's real location is hidden. Document it with timestamps if it's related to harassment or criminal activity. Provide it to law enforcement if the situation warrants legal action.
What you should NOT do: attempt to hack or gain unauthorized access to the IP, use it for DDoS attacks or any form of retaliation, publish it online to encourage others to target the person (doxxing), or use it for stalking or ongoing surveillance.
Frequently Asked Questions
Can I find someone's exact address from their IP?
No. IP geolocation provides approximate city-level location only. The exact address is known only by the ISP and requires a legal warrant to obtain. No public tool can provide this information.
Is it illegal to look up someone's IP address?
Looking up information about an IP address using public geolocation tools is legal. The legality issues arise from how you obtain the IP (deceptive methods may violate laws) and what you do with the information (attacks, harassment, stalking are illegal).
Can I find the IP address of someone who called me?
Phone calls use the telephone network, not the internet, so traditional calls don't involve IP addresses. However, VoIP calls (Skype, WhatsApp, FaceTime) do use IPs, but these are typically routed through the service provider's servers and are not visible to you.
How accurate is IP geolocation?
In urban areas of developed countries, IP geolocation is typically accurate to the city level about 72-85% of the time. In rural areas, accuracy drops significantly. It will never pinpoint a specific building or address. Mobile IPs are generally less accurate than residential broadband IPs. Test the accuracy for yourself at TraceMyIPOnline.com.
Can I find the IP of a Facebook/Instagram user?
Not through the platform itself. Facebook, Instagram, and other Meta platforms route all traffic through their servers, so you never connect directly to other users. The only way to get their IP would be through a tracking link sent via DM (ethically questionable and legally gray) or through law enforcement cooperation with Meta.
What if the IP belongs to a VPN?
If the IP traces back to a VPN provider (NordVPN, ExpressVPN, etc.), you've found the VPN server's IP, not the person's real IP. The person's actual IP is hidden behind the VPN. Only the VPN provider knows the real IP, and reputable VPNs with no-logs policies don't retain this information.
Can I find someone's IP from a phone number?
No. Phone numbers and IP addresses are completely separate systems. There is no legitimate tool or technology that converts between them. Any service claiming to do this is a scam.