Finding your IP address takes less than a minute on any device
Your system IP address is a number your device uses to communicate on a network. You may need it to troubleshoot connection problems, set up a printer, access your router settings, or share files with another computer. The steps differ slightly depending on whether you use Windows, Mac, or Linux, but all three methods are straightforward and require no special tools.
The address you find using these methods is your local IP address — the one visible only to other devices on your home or office network. This is different from your public IP address, which your internet provider assigns and which websites see when you connect to them.
Key Takeaways
- On Windows, open Command Prompt and type ipconfig to see your IP address listed as "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and look for "IP Address" in the details.
- On Linux, open a terminal and type hostname -I or ip addr to display your IP address.
- Your local IP address (starting with 192.168 or 10.0) is different from your public IP address, which your internet provider assigns.
- If you see an address starting with 169.254, your device is not connected to the network properly.
Finding your IP address on Windows
Open the Start menu and type Command Prompt into the search box. Click the Command Prompt app to open it. At the prompt, type ipconfig and press Enter. Your system will display a list of network information.
Look for the section labeled with your connection type — usually "Ethernet adapter" if you are plugged in with a cable, or "Wireless LAN adapter" if you are using Wi-Fi. Under that section, find the line that says IPv4 Address. The number next to it (something like 192.168.1.100) is your local IP address. This is the address other devices on your home or office network use to reach your computer.
If you prefer a graphical method, you can also right-click the network icon in your system tray (bottom right corner), select "Open Network & Internet settings", click "Advanced network options", then scroll down and click "More network adapter options". Double-click your active connection and click "Details" to see your IP address listed as "IPv4 Address".
Finding your IP address on Mac
Click the Apple menu in the top left corner and select System Settings. In the sidebar, click Network. You will see a list of your network connections on the left side. Click the connection you are currently using — either "Wi-Fi" if you are wireless, or "Ethernet" if you are using a cable.
On the right side of the window, you will see connection details. Look for the line labeled IP Address. The number displayed there is your local IP address. If you need more information about your connection, click the "Details" button to see additional settings like your router address and DNS servers.
Finding your IP address on Linux
Open a terminal window. You can usually do this by right-clicking on the desktop and selecting "Open Terminal", or by searching for "Terminal" in your applications menu. At the command prompt, type hostname -I and press Enter. Your system will display your IP address immediately.
If that command does not work on your system, try typing ip addr instead. This will show more detailed network information. Look for the section labeled "inet" under your active connection — the number after "inet" is your IP address. Ignore any addresses that start with "127.0.1.1", as those are internal system addresses, not your network address.
Understanding local versus public IP addresses
The IP address you find using these methods is your local IP address — the one your device uses within your home or office network. It usually starts with 192.168, 10.0, or 172.16. This address is only visible to other devices on the same network as you.
Your public IP address is different. It is assigned by your internet provider and is what websites and services on the internet see when you connect to them. To find your public IP address, you can search "what is my IP" in any web browser, and the search results will display it. Your public IP address changes periodically, while your local IP address usually stays the same unless you restart your router or your device receives a new one from your router's DHCP server.
What to do if your IP address looks wrong
If your IP address starts with 169.254, your device is not properly connected to the network. This is a self-assigned address that appears when your device cannot reach a DHCP server — the device on your network that hands out IP addresses. Restart your router by unplugging it for 30 seconds, then plug it back in. Once the router restarts, restart your computer and check your IP address again.
If you are using Ethernet and still see a 169.254 address, check that your cable is firmly plugged into both your computer and your router. If you are using Wi-Fi, forget the network in your settings and reconnect to it. On Windows, go to Settings > Network > Wi-Fi > Manage known networks, find your network, and click "Forget". On Mac, go to System Settings > Network > Wi-Fi > Known networks, click the minus button next to your network, then reconnect to it.
Why you might need your IP address
You need your local IP address to access your router's settings page, which usually appears when you type your router's IP address (often 192.168.1.1 or 192.168.0.1) into a web browser. You may also need it to set up network printers, connect to shared files on another computer, or troubleshoot connection problems with your internet provider's support team.
Some applications and games also ask for your IP address to connect directly to another player's computer or to a local server. If you are setting up a home server or network storage device, you will need your IP address to find and configure it on your network.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No. Your IP address is a number that identifies your device on a network and can change. Your MAC address is a permanent hardware identifier built into your network card that does not change. Both are used for network communication, but they serve different purposes.
Will my local IP address ever change?
It can, but usually does not. Your router assigns IP addresses through DHCP, which typically gives your device the same address each time you connect. However, if you restart your router or your device is offline for a long time, you may receive a different address. If you need a permanent address for a device, you can set a static IP address in your router settings.
Can someone find me using my IP address?
Your local IP address is only visible to devices on your home or office network, so it cannot be used to find you on the internet. Your public IP address can be seen by websites you visit, but it only reveals your general location (city or region), not your exact address or identity.
Why does my device show multiple IP addresses?
Devices with multiple network connections — such as a computer with both Ethernet and Wi-Fi — may show more than one IP address. Your device uses whichever connection is active. If both are connected, your device typically uses the wired connection first. You only need the address for the connection you are actually using.
What if I cannot find the IPv4 Address line in Command Prompt?
Scroll up in the Command Prompt window — the output may be longer than what fits on screen. If you still do not see it, make sure you are looking at the correct adapter section. If you are using Wi-Fi, look under "Wireless LAN adapter". If you are using a cable, look under "Ethernet adapter". If neither appears, your device may not be connected to the network.