What an IP address is and why you need it
An IP address is a number that identifies your computer on your network, the same way a street address identifies a house. It looks like four numbers separated by periods: 192.168.1.5. When you set up a home network or troubleshoot a connection problem, you often need to know your own computer's IP address or find the address of another device on your network.
Your computer actually has two IP addresses: a local IP address that only works inside your home network, and a public IP address that identifies you to the internet. For home network setup and security, you almost always need the local one. The local address is what you use to access your router settings, connect devices to each other, or give to a technician who is helping you troubleshoot. Finding your IP address takes less than a minute and requires no special tools — just a few clicks or typed commands depending on whether you use Windows, Mac, or Linux.
Key Takeaways
- Your local IP address is the number your computer uses inside your home network, and it is different from your public IP address that the internet sees.
- On Windows, you can find your local IP by opening Command Prompt and typing ipconfig, then looking for the line that says "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and look for the IP address listed in the details pane.
- If you need to find another device's IP address on your network, you can check your router's connected devices list or use a network scanning tool.
Finding your IP address on Windows
The fastest way on Windows is to use Command Prompt. Press the Windows key and type cmd, then press Enter. A black window will open. Type ipconfig and press Enter. You will see a list of information. Look for the section labeled with your network connection name (usually "Ethernet" if you are plugged in with a cable, or "Wireless LAN adapter" if you are using WiFi). In that section, find the line that says "IPv4 Address" — the number next to it is your local IP address.
If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, then select WiFi or Ethernet depending on how you are connected. Click on your connection name, scroll down, and you will see "IPv4 address" listed there. Both methods show the same information; choose whichever feels more comfortable to you.
Finding your IP address on Mac
On Mac, open System Settings (or System Preferences on older versions). Click Network in the left sidebar. Select the connection you are using — WiFi or Ethernet. In the right pane, you will see your IP address listed directly under the connection name. It will be labeled as "IP Address" or sometimes "IPv4 Address".
If you do not see the information when ready, make sure your connection is selected and active. If you are using WiFi, the network name should show "Connected" next to it. The IP address appears in the details section below, usually near the top of the information panel.
Finding your IP address on Linux
Open a terminal window. Type hostname -I and press Enter. Your local IP address will appear on the next line. This works on most Linux distributions. If that command does not work, try ip addr show instead, which will display more detailed information. Look for the line that starts with "inet" (not "inet6") — the number after "inet" and before the forward slash is your IP address.
The hostname -I command is the simplest because it shows only your IP address with no extra text. The ip addr show command is more detailed and useful if you are troubleshooting multiple network connections on the same machine.
Finding another device's IP address on your network
If you need to find the IP address of another computer, phone, or device on your home network, the easiest method is to check your router. Log into your router by opening a web browser and typing your router's address (usually 192.168.1.1 or 192.168.0.1 — check the sticker on the back of your router). Enter your router's username and password. Look for a section called "Connected Devices", "Device List", or "DHCP Clients". This page shows every device currently on your network and its IP address.
If you do not want to log into your router, you can use a network scanning tool. On Windows, tools like Angry IP Scanner or Advanced IP Scanner will scan your network and list all devices and their addresses. On Mac or Linux, you can use a terminal command like arp -a to see devices that have recently communicated with your computer, though this shows fewer devices than a full network scan. The router method is more reliable because it shows all connected devices, not just the ones your computer has recently talked to.
What to do once you have the IP address
Once you know your computer's IP address, you can use it to access your router's settings, connect to your computer remotely from another device on the network, or give it to someone helping you troubleshoot. Write it down or take a screenshot — it may change if your router restarts, though most home routers keep the same address for the same device over time.
If you are setting up a find home network, you may want to assign a static IP address to certain devices so the address does not change. This is done in your router settings under DHCP or Reserved IP addresses. A static address makes it easier to remember which device is which and prevents connection problems if a device's address shifts unexpectedly. This is especially useful for devices you access frequently, like a computer you use for remote work or a printer everyone on the network needs to find.
Frequently Asked Questions
Will my IP address change if I restart my computer?
Your local IP address usually stays the same when you restart your computer, because your router remembers which address it gave you. However, if your router restarts or if you do not connect for a long time, you may get a different address. If you need an address that never changes, ask your router to assign a static IP to that device.
Is my public IP address the same as my local IP address?
No. Your local IP address (like 192.168.1.5) only works inside your home network. Your public IP address is what websites and internet services see, and it is assigned by your internet provider. You can find your public IP by searching "what is my IP" in any search engine.
Why does my IP address start with 192.168 or 10.0?
These ranges are reserved for private networks and are used by almost all home routers. They are not routable on the internet, which is why they are safe to use inside your home. Your router translates between these private addresses and your public IP when you access the internet.
Can I find someone else's IP address without logging into the router?
On your own network, yes — you can use network scanning tools like Angry IP Scanner on Windows or the arp -a command on Mac and Linux. On someone else's network or across the internet, you cannot find their local IP address without their permission or access to their router.