What an IP address is and why your device has one

An IP address is a number that identifies your device on a network — like a mailing address for data. Every device connected to your home network (your computer, phone, printer, smart TV) gets one so the router knows where to send information. Your device may have two different IP addresses: one for your home network (called a private or local IP address) and one for the internet (called a public IP address). The private one is what you need most often when setting up devices at home.

Your router assigns private IP addresses automatically using a system called DHCP. This happens in the background — you do not have to do anything. However, some devices (like printers or security cameras) work better when you give them a fixed address that does not change. That is when you need to know what address your device currently has.

Key Takeaways

  • Your private IP address is a number like 192.168.1.5 that identifies your device only on your home network, and your router assigns it automatically.
  • On Windows, open Command Prompt and type ipconfig; on Mac or Linux, open Terminal and type ifconfig or ip addr.
  • On a phone or tablet, go to Settings, then Network or Wi-Fi, and look for IP address or IPv4 address in the connection details.
  • Your public IP address (the one the internet sees) is different from your private one and changes periodically; you can see it by searching "what is my IP" in any browser.
  • If a device keeps losing its connection or stops responding, assigning it a static IP address through your router settings can solve the problem.

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. You will see a list of network connections. Look for the section labeled "Ethernet" (if you are plugged in with a cable) or "Wireless LAN adapter Wi-Fi" (if you are on Wi-Fi). Next to "IPv4 Address" you will see a number like 192.168.1.5 or 10.0.0.3. That is your private IP address.

If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties." Look for "IPv4 address" in the Wi-Fi or Ethernet section, depending on how you are connected.

Finding your IP address on Mac

On Mac, open System Preferences (or System Settings on newer versions), click Network, and select your connection (Wi-Fi or Ethernet) from the list on the left. Your private IP address appears on the right side, labeled "IP Address." It will look like 192.168.1.10 or similar.

If you want to use Terminal instead, press Command + Space, type terminal, and press Enter. Type ifconfig and press Enter. Look for the section that matches your connection type. Under "inet" you will see your private IP address. Ignore the "inet6" line — that is a different type of address.

Finding your IP address on phones and tablets

On an iPhone or iPad, open Settings, tap Wi-Fi, and tap the name of your network. Scroll down and you will see "IP Address" listed under the network details. On Android, open Settings, tap Network & Internet (or Connections), tap Wi-Fi, tap the network you are connected to, and look for "IP address" in the details. Some Android phones show this under "Advanced" — if you do not see it when ready, tap the three dots or look for an Advanced section.

The address you see here is your private IP address on your home network. It will be different from the address shown on your computer, even though you are on the same network.

Understanding private versus public IP addresses

Your private IP address (192.168.x.x, 10.x.x.x, or 172.16.x.x) only works inside your home network. Websites and internet services never see it. Instead, they see your public IP address, which is assigned by your internet service provider. Your public IP address is what the outside internet uses to find your home network.

To see your public IP address, open any web browser and search "what is my IP." The first result will show a number like 203.0.113.42. This number changes periodically (usually every few days or weeks, depending on your provider) and is shared by your entire household — all your devices appear to the internet as coming from this one address. You do not need to do anything with this number for home network setup; it is just useful to know the difference.

When and why you might need to set a static IP address

Most of the time, letting your router assign addresses automatically works fine. However, some devices benefit from a static IP address — one that stays the same instead of changing. Printers, network cameras, and smart home devices often work better this way because you can bookmark or remember their address, and they do not disappear from your network when the router restarts.

You can set a static address in two ways. The easier method is through your router's settings: log into your router (usually by typing 192.168.1.1 or 192.168.0.1 in a browser), find the DHCP or Reserved Addresses section, and tell the router to always give a specific device the same address. The harder method is to set it directly on the device itself, but this can cause conflicts if you are not careful. If a device keeps losing connection or stops responding after a few days, a static address often fixes it.

Troubleshooting when you cannot find your IP address

If you run ipconfig or check Settings and see an address starting with 169.254 (like 169.254.1.5), your device is not connected to the network properly. Restart your device and reconnect to Wi-Fi, or unplug and replug your ethernet cable. Wait 30 seconds and check again.

If you see no IP address at all, your device is not connected. Check that Wi-Fi is turned on, that you are connected to the correct network, and that you entered the password correctly. On a wired connection, make sure the cable is plugged in firmly at both ends. If the problem persists, restart your router by unplugging it for 10 seconds, plugging it back in, and waiting two minutes for it to fully start up.

Frequently Asked Questions

Can someone use my IP address to hack me?

Your private IP address is only visible inside your home network, so it is not a security risk by itself. Your public IP address is visible to websites, but it only identifies your home network, not your specific device or personal information. However, an open network or weak router password can let someone connect to your network and see your private addresses, which is why the security setup from your previous guide matters.

Why does my IP address keep changing?

Your router is reassigning addresses automatically through DHCP. This is normal and usually happens when you restart your device or your router restarts. If you need an address to stay the same, set it as static through your router settings instead of letting DHCP assign it.

Is 192.168.1.1 always my router's address?

Usually, but not always. Most home routers use 192.168.1.1 or 192.168.0.1, but some use 10.0.0.1 or other numbers. Check your router's manual or the sticker on the back of the device. You can also type ipconfig on Windows and look for "Default Gateway" — that is your router's address.

What is the difference between IPv4 and IPv6?

IPv4 addresses look like 192.168.1.5 (four numbers separated by dots). IPv6 addresses look like 2001:0db8:85a3::8a2e:0370:7334 (letters and numbers with colons). IPv6 is newer and provides more addresses, but most home networks still use IPv4. For home setup, you only need to worry about IPv4.