How to Check Your IP Address on Windows, Mac & Mobile
In this article
You can check your current IP address by visiting a dedicated website like whatismyipaddress.com or by using built-in system commands. This process reveals both your local (private) IP address assigned by your router and your public IP address visible to the internet, which is essential for troubleshooting connectivity issues or configuring network settings.
What You'll Need
- A device with an active internet connection (Windows PC, Mac, smartphone, or tablet).
- A web browser (Chrome, Safari, Edge, etc.) or command line access.
- No special software installation is required for the methods described below.
Step-by-Step
- Determine Which IP You Need: Understand that your public IP is the address websites see, while your local IP is the address your router assigns to your device. For most general checks, you want the public IP. For local network setup, you need the private IP.
- Check Your Public IP via Web Browser (Easiest Method):
- Open any web browser on your device.
- Navigate to a trusted site such as
whatismyipaddress.com,ipinfo.io, or simply search "what is my ip" in Google. - The page will immediately display your public IPv4 and/or IPv6 address.
- Note: This method works identically on desktops, laptops, iPhones, and Android devices.
- Check Local IP on Windows:
- Press the Win + R keys simultaneously to open the Run dialog.
- Type
cmdand press Enter to open the Command Prompt. - Type
ipconfigand press Enter. - Look for "IPv4 Address" under your active network adapter (usually labeled "Wi-Fi" or "Ethernet Adapter"). This is your local IP.
- Check Local IP on macOS:
- Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions).
- Select Network from the sidebar.
- Click on your active connection (Wi-Fi or Ethernet). Your local IP address will be displayed prominently on the right side or in the details pane.
- Check Local IP on iPhone/iPad (iOS):
- Open the Settings app.
- Tap Wi-Fi.
- Find your connected network and tap the blue (i) icon next to it.
- Scroll down to the "IPV4 ADDRESS" section. Your local IP is listed there.
- Check Local IP on Android:
- Open Settings.
- Tap Network & Internet (or Connections on some Samsung devices).
- Select Wi-Fi.
- Tap the gear icon next to your connected network.
- Scroll down to find IP address. Note: Some Android skins may require tapping "Advanced" to reveal this field.
Common Mistakes
One of the most frequent errors is confusing the local IP with the public IP. If you are trying to port forward for gaming or remote access, you must use the public IP found via a web browser, not the local IP found in your computer's settings. Another common mistake is assuming the IP address never changes. Most residential connections use dynamic IPs, meaning your public IP can change periodically when your router reboots or after a set lease time from your ISP.
Tips
If you need to know your IP for a specific application, ensure you are connected to the correct network. Devices often have separate Wi-Fi adapters and Ethernet ports; if one is disconnected, the IP shown might be stale or incorrect. Additionally, if you are traveling or using public Wi-Fi, your public IP will reflect the location of the network provider, not your physical home address. Always clear your browser cache if a "what is my IP" site displays outdated information.
Troubleshooting
If you cannot retrieve your IP address, start with the simplest checks first. Ensure your device is actually connected to a network; try loading a different website to confirm internet access. If using command line tools on Windows or Terminal on Mac, verify you have administrator privileges. On mobile devices, toggle Airplane Mode on and off to reset the network stack if the IP address appears blank or invalid. If your public IP seems incorrect or stuck, restart your modem and router, as this forces your ISP to assign a new IP address. Never attempt to manually change your public IP without understanding ISP policies, as this can lead to service suspension.
Frequently Asked Questions
Is my IP address static or dynamic?
Most home users have a dynamic IP that changes occasionally. Businesses often pay for a static IP that remains constant.
Can someone track me using my IP address?
Your IP provides a general geographic location (city/region), but it does not reveal your exact street address or identity.
Why do I have two IP addresses?
You have a local IP for your internal network and a public IP for the internet. They serve different routing purposes.
Does checking my IP change it?
No, merely viewing your IP address does not alter it. Only restarting your router or contacting your ISP can change it.
How do I hide my IP address?
To mask your IP, use a Virtual Private Network (VPN) or the Tor browser, which routes your traffic through other servers.
What is IPv6 and why might I see it?
IPv6 is the newer version of IP addressing. It provides a vastly larger pool of addresses and is increasingly standard on modern networks.