What an IP address is and why you need it

Your IP address is a set of numbers that identifies your device on your network — like a mailing address for data. It looks like four numbers separated by dots: 192.168.1.5 or something similar. When you set up a home network, you sometimes need to know this number to log into your router, troubleshoot a connection problem, or give a technician information about which device is having trouble.

Every device connected to your network — your computer, phone, tablet, printer — has its own IP address. Your router also has one. Finding the right address takes less than a minute once you know where to look, and the steps differ slightly depending on whether you are using Windows, Mac, or a phone.

Key Takeaways

  • Your IP address is a four-number identifier that your router assigns to each device on your network.
  • On Windows, you can find it 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 field.
  • On phones and tablets, the IP address appears in Wi-Fi settings under the network you are currently connected to.
  • If you need your router's IP address instead, it is usually printed on a sticker on the back of the router or in your router's manual.

Finding your IP address on Windows

Open the Start menu and type Command Prompt into the search box. Click the Command Prompt app when it appears. A black window will open with a blinking cursor.

Type ipconfig (all lowercase) and press Enter. The window will fill with information about your network connections. 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 is your device's IP address on your home network.

If you see multiple sections, look for the one that matches how you are actually connected. If you are on Wi-Fi, ignore the Ethernet section. The IPv4 Address is the one you need — ignore IPv6 Address, which is a different format used for newer networks.

Finding your IP address on Mac

Click the Apple menu in the top left corner and select System Settings. In the sidebar on the left, click Network.

You will see a list of connection types on the left side. Click the one you are currently using — either Wi-Fi if you are wireless, or Ethernet if you are plugged in with a cable. On the right side of the window, you will see connection details. Look for the field labeled IP Address. The number shown there is your device's IP address.

If the IP Address field is blank or shows "Not Connected", your device is not currently connected to the network. Make sure you are actually connected to your Wi-Fi or that your Ethernet cable is plugged in.

Finding your IP address on iPhone, iPad, or Android

On an iPhone or iPad, go to Settings and tap Wi-Fi. Find the network you are currently connected to — it will have a checkmark next to it. Tap the network name or the information icon (a small circle with an "i" in it) next to it. Scroll down and look for IP Address. The number shown is your device's address on your network.

On Android, go to Settings and tap Wi-Fi. Find the network you are connected to and tap and hold on it, then select Manage or View Details (the exact wording varies by phone). Look for IP Address in the list of information shown.

If you are using a mobile hotspot or cellular data instead of Wi-Fi, your device has a different IP address assigned by your phone carrier, and it will not appear in Wi-Fi settings. The steps above only show the address your device uses on your home network.

Finding your router's IP address

Your router itself also has an IP address, and you may need it to log in to your router's settings page. The easiest way to find it is to look at the back or bottom of the router — most routers have a sticker with information printed on it, including the router's IP address (often labeled as "Gateway" or "Router Address"). Common router IP addresses are 192.168.1.1 or 192.168.0.1, but yours may be different.

If you cannot find the sticker, you can also find your router's IP address through your computer. On Windows, open Command Prompt, type ipconfig, and look for the line labeled Default Gateway — that number is your router's IP address. On Mac, go to System Settings, click Network, select your connection, and look for Router.

What to do once you have your IP address

Write down or take a screenshot of your IP address if you need it for troubleshooting. If a technician asks for your device's IP address, this is what they are asking for. If you need to log into your router to change settings, use the router's IP address (usually 192.168.1.1), not your device's address.

Keep in mind that your device's IP address can change. Your router assigns addresses automatically, and if your device disconnects and reconnects, or if you restart your router, your device may get a new address the next time it connects. The router's IP address itself rarely changes unless you manually alter it.

Frequently Asked Questions

Is my IP address the same as my public IP address?

No. The address you find using these steps is your private IP address — it only works on your home network. Your public IP address is assigned by your internet provider and is what websites see when you browse. To find your public IP, search "what is my IP" in any web browser.

Why did my IP address change?

Your router assigns IP addresses automatically to devices that connect. If your device disconnects from the network or your router restarts, your device may receive a different address when it reconnects. This is normal and usually not a problem unless you have set up port forwarding or other settings that depend on a specific address.

Can I set my device to always have the same IP address?

Yes, through a feature called DHCP reservation in your router settings. You log into your router using its IP address, find the device in the connected devices list, and tell the router to always give that device the same address. This is useful if you are setting up a printer or security camera that needs a stable address.

What if I see multiple IP addresses listed?

Devices sometimes show both an IPv4 address (the standard format like 192.168.1.5) and an IPv6 address (a longer format with letters and colons). Use the IPv4 address unless a technician specifically asks for IPv6. Most home networks still use IPv4 for everyday tasks.