Where to find your IP address
Your IP address is visible in a few places depending on what you're trying to see. If you want to know the address your internet provider assigned to you — the one websites see when you visit them — you can find it by visiting a site like whatismyipaddress.com or ipinfo.io in any web browser. These sites display your public IP address instantly, with no signup required.
If you need to find the IP address of the device itself (the address it uses on your home network), the steps differ by operating system. On Windows, you open Command Prompt and type ipconfig. On Mac or Linux, you open Terminal and type ifconfig or ip addr. Both show you a list of addresses; the one you want usually starts with 192.168 or 10.0 and appears next to "IPv4 Address" or similar.
On a phone or tablet, the process is simpler. On iPhone or iPad, go to Settings > Wi-Fi, tap the network you're connected to, and look for "IP Address" in the details. On Android, go to Settings > About Phone > Status, or Settings > Network & Internet > Wi-Fi, tap your network, and scroll down to find it.
Key Takeaways
- Visit whatismyipaddress.com or ipinfo.io in your browser to see the public IP address that websites see when you visit them.
- On Windows, open Command Prompt and type ipconfig to see your device's local network address.
- On Mac or Linux, open Terminal and type ifconfig to find the same information.
- On iPhone, iPad, or Android, the IP address appears in your Wi-Fi settings under network details.
Understanding public versus local IP addresses
When you search for "my IP address," most results show you your public IP address — the one assigned by your internet service provider. This is the address that websites, apps, and online services see. It's tied to your home or office network as a whole, not to a single device. If you have five devices on your Wi-Fi, they all share the same public IP address when they talk to the outside internet.
Your local IP address (also called a private IP address) is different. It's assigned by your router to each device on your home network and is only visible to other devices on that same network. Your laptop might be 192.168.1.5, your phone 192.168.1.8, and your printer 192.168.1.10. These addresses never leave your home — websites cannot see them.
Most people need to know their public IP address for troubleshooting internet problems or checking their location. You need the local address only if you're setting up a device on your network, forwarding ports to a specific device, or connecting to a printer or security camera on your home network.
Finding your IP address on Windows
On Windows, the quickest way is through Command Prompt. Press the Windows key, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter. You'll see a list of network connections.
Look for the section labeled "Ethernet adapter" (if you're plugged in with a cable) or "Wireless LAN adapter" (if you're on Wi-Fi). Next to "IPv4 Address," you'll see a number like 192.168.1.100. That's your local IP address. If you see "Default Gateway" listed, that's your router's address.
If you want more detail, type ipconfig /all instead. This shows additional information like your MAC address (the hardware identifier of your device) and your DNS servers, which can be useful for network troubleshooting.
Finding your IP address on Mac and Linux
On Mac, open Terminal (find it in Applications > Utilities or search for "Terminal"). Type ifconfig and press Enter. Look for the section labeled "en0" or "en1" (these are your network connections). Next to "inet," you'll see your local IP address.
On Linux, the command is the same: open a terminal and type ifconfig. If that doesn't work, try ip addr instead — newer Linux systems use this command. Look for the section labeled "inet" under your active connection (usually "eth0" for wired or "wlan0" for Wi-Fi).
Both commands show the same information as Windows's ipconfig. If you want to see only your IP address without the extra details, you can type ifconfig | grep inet on Mac or Linux to filter the output.
Finding your IP address on iPhone and iPad
On any iPhone or iPad, go to Settings and tap Wi-Fi. Find the network you're currently connected to and tap the information icon (the small circle with an "i" inside it) next to the network name. A details screen opens showing your IP Address, Subnet Mask, Router, and other network information.
This method only works when you're connected to Wi-Fi. If you're on cellular data, your device doesn't have a local IP address on a home network — it only has a public IP assigned by your mobile carrier, which you can see by visiting an IP lookup site on your phone's browser.
Finding your IP address on Android
The exact steps vary slightly by Android version and manufacturer, but the general path is consistent. Open Settings and look for "Network & Internet" or "Connections." Tap Wi-Fi, then tap the network you're connected to. A details screen appears with your IP Address listed.
On some Android phones, you may need to go to Settings > About Phone > Status instead. Scroll down until you see "IP Address." If you're having trouble finding it, search your phone's Settings for "IP address" — most Android phones have a search function at the top of Settings.
Like iPhone, this shows your local IP address only when connected to Wi-Fi. On cellular data, you have a public IP assigned by your carrier, visible only through an IP lookup website.
What to do once you have your IP address
Knowing your public IP address is useful for a few practical reasons. If you're troubleshooting a connection problem with a service, they may ask for it to see where the connection is coming from. If you're setting up remote access to your home computer or network, you need it. Some people check it to see what city or region their internet provider associates with their address (though this is often inaccurate).
Your local IP address matters when you're setting up devices on your home network. If you're port forwarding to reach a security camera or game server from outside your home, you need the local address of that specific device. If a printer or smart home device isn't connecting, you might need to manually enter its local IP address to configure it.
In either case, write down the address or take a screenshot if you need it later. Your public IP can change if you restart your modem or if your internet provider reassigns it (though many providers keep it stable for months or years). Your local IP can change if you restart your device or router, though most home routers keep devices on the same local address unless you change the settings.
Frequently Asked Questions
Is it safe to share my IP address?
Your public IP address is already visible to every website you visit, so sharing it with a trusted service for troubleshooting is generally safe. However, don't post it publicly online or share it with unknown people, as it can be used to target your network with attacks or to narrow down your physical location. Your local IP address should never be shared outside your home network.
Why does my IP address keep changing?
Your public IP address can change when you restart your modem, when your internet provider reassigns addresses, or after a period of inactivity. Most home internet plans use dynamic IP addresses, which change periodically. If you need a stable address, contact your provider about a static IP, though this usually costs extra. Your local IP address changes less often but can shift if you restart your router or if your device reconnects to the network.
Can I hide my IP address?
Yes, using a VPN (virtual private network) masks your public IP address and replaces it with the VPN provider's address. This prevents websites from seeing your real IP. Tor Browser also hides your IP by routing traffic through multiple servers. Both methods slow your connection slightly but add privacy. Your local IP address cannot be hidden from other devices on your home network — it's necessary for your devices to communicate with each other.
What's the difference between IPv4 and IPv6?
IPv4 addresses are the older format (like 192.168.1.1) and are running out of available numbers. IPv6 is the newer format (like 2001:0db8:85a3::8a2e:0370:7334) with far more possible addresses. Most home networks still use IPv4, but IPv6 is becoming more common. Your device may have both addresses at once. For everyday purposes, you only need to know your IPv4 address.
Do I need to change my IP address?
For most people, no. Your public IP is assigned by your provider and changes naturally over time. Your local IP is managed by your router and rarely needs adjustment. You might manually set a local IP address if you're configuring a specific device (like a printer) to always be at the same address on your network, but this is optional and only necessary for advanced setups.