What an IP address is and why you need it
An IP address is a number that identifies your device on your network — like a mailing address for data. Every computer, phone, and printer connected to your home network has one. You need to know your device's IP address when you're troubleshooting network problems, setting up port forwarding, accessing your router's settings, or giving tech support someone specific information about which machine is having trouble.
There are two types: your local IP address (the one inside your home network, usually starting with 192.168 or 10.0) and your public IP address (the one your internet provider assigns, visible to websites you visit). This guide covers finding your local IP address, which is what you need for home network tasks.
Key Takeaways
- On Windows, open Command Prompt and type ipconfig to see your local IP address next to "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and look for the IP address listed there.
- On Linux, open a terminal and type hostname -I or ip addr to display your IP address.
- Your router's admin page shows the IP address of every device connected to your network, useful when you need to find another device's address.
- Write down your IP address or take a screenshot — you'll need it for router settings, port forwarding, or troubleshooting network problems.
Finding your IP address on Windows
The fastest way on Windows is through Command Prompt. Press the Windows key, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter. Look for the section labeled with your network name (usually "Ethernet" 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.105 — that's your local IP address.
If you prefer not to use Command Prompt, you can find it through Settings instead. Open Settings, go to Network & Internet, click on your connection type (Wi-Fi or Ethernet), and scroll down. You'll see "IP address" listed there. Both methods show the same number; Command Prompt is just faster once you know the steps.
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're using — either Wi-Fi or Ethernet. Your IP address appears in the main panel, usually labeled "IP Address" or sometimes under "TCP/IP". It will look like 192.168.1.110 or similar.
If you want to use the terminal instead, press Command + Space, type terminal, and press Enter. Type ifconfig | grep inet and press Enter. You'll see several IP addresses listed; look for the one starting with 192.168 or 10.0 — that's your local address. The others are system addresses you don't need.
Finding your IP address on Linux
Open a terminal window (usually Ctrl + Alt + T, though this varies by distribution). Type hostname -I and press Enter. Your IP address appears on the next line. This is the simplest method and works on nearly all Linux systems.
If that doesn't work, try ip addr instead. This shows more detail. Look for a section labeled "inet" (not "inet6") under your active connection — usually labeled "eth0" for wired or "wlan0" for Wi-Fi. The IP address is the number before the forward slash, like 192.168.1.115/24.
Finding another device's IP address through your router
If you need to find the IP address of a printer, security camera, or another computer on your network, log into your router's admin page. Open a web browser and type your router's address — usually 192.168.1.1 or 192.168.0.1, printed on a sticker on the router itself. Enter your router's username and password (also on the sticker, or the default if you've never changed it).
Once logged in, look for a section called "Connected Devices", "Device List", "DHCP Clients", or "LAN Devices" — the exact name varies by router brand. You'll see a list of everything connected to your network with its IP address next to it. Find the device you're looking for by its name and note the IP address. This is useful when you need to access a device directly or troubleshoot why something isn't connecting.
What to do with your IP address once you have it
Write down or screenshot your IP address and keep it somewhere you can find it. You'll use it when you need to access your device remotely from another computer on the network, set up port forwarding in your router, configure network printers or cameras, or give technical support to someone who needs to know which device is having problems.
If your IP address changes (which happens when your device reconnects to the network or your router restarts), you can find it again using the same steps. If you want an IP address that never changes, you can set a static IP address in your router's settings, but that's a separate task covered in your router's manual or your device's network settings.
Frequently Asked Questions
Why does my IP address start with 192.168 instead of something else?
Your router assigns addresses from a range reserved for home networks. Most home routers use 192.168.1.x or 192.168.0.x, though some use 10.0.0.x. All three ranges are normal and mean the same thing — it's your local address inside your home network, not visible to the internet.
Is my IP address the same as my public IP address?
No. Your local IP address (192.168.x.x) is only used inside your home network. Your public IP address is assigned by your internet provider and is what websites see when you visit them. To find your public IP, search "what is my IP" in any search engine. You don't need your public IP for home network tasks.
What if ipconfig or hostname doesn't show an IP address?
Your device may not be connected to the network. Check that you're plugged in with an ethernet cable or connected to your Wi-Fi network. If you're connected but still don't see an address, restart your device and try again. If the problem continues, your router may not be assigning addresses correctly — restart the router by unplugging it for 30 seconds.
Can I change my IP address?
Your router assigns it automatically, so it changes when you restart your device or router. If you want an address that stays the same, you can set a static IP in your router's settings or in your device's network settings. Your router's manual explains how to do this for your specific model.
Do I need to memorize my IP address?
No. Write it down or take a screenshot when you need it. You can look it up again anytime using the steps in this guide. Most people only need it once or twice for specific tasks like setting up port forwarding or accessing a device remotely.