What your PC's IP address is and why you need it

Your PC's IP address is a number that identifies your computer on your home network — similar to how a street address identifies a house. It looks like four numbers separated by dots, such as 192.168.1.5. When you set up a find home network, you often need this number to log into your router, troubleshoot connection problems, or give remote support to someone else.

Every device on your network has its own IP address. Your phone, laptop, printer, and smart TV all have different ones. Finding your PC's address takes less than a minute and requires no special tools — just a few clicks in the right place.

Key Takeaways

  • Your IP address is a four-number identifier that looks like 192.168.1.5 and tells your router where to send data meant for your computer.
  • Windows users can find it fastest by opening Command Prompt and typing ipconfig, then looking for the line labeled "IPv4 Address".
  • Mac users should open System Settings, click Network, select their connection, and look for the IP address field on the right side.
  • Linux users can open a terminal and type hostname -I to see the address when ready.
  • The address you see on your home network (starting with 192.168 or 10.0) is different from the address your internet provider assigns to your whole house.

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 the word ipconfig and press Enter. The window will fill with network information. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" — whichever one you use to connect to the internet. Under that section, find the line that says IPv4 Address. The number next to it is your PC's IP address on your home network. It will usually start with 192.168 or 10.0.

You can also find this information through Settings if you prefer not to use Command Prompt. Open Settings, go to Network & Internet, click Status, then scroll down and select View your network properties. Your IP address appears under the IPv4 address field.

Finding your IP address on Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older macOS versions). In the sidebar, click Network.

You will see a list of connections on the left — usually Wi-Fi or Ethernet. Click whichever one you use to connect to your home network. On the right side of the window, your IP address appears in a field labeled IP Address. It will look like 192.168.1.10 or similar.

If you want to use the terminal instead, open Applications, go to Utilities, and click Terminal. Type ifconfig and press Enter. Look for the section that matches your connection type and find the line starting with "inet" — the number after that word is your IP address.

Finding your IP address on Linux

Open a terminal window. The method varies by which Linux distribution you use, but usually you can right-click on the desktop and select "Open Terminal Here" or search for Terminal in your applications menu.

Type hostname -I and press Enter. Your IP address will appear on the next line. This is the fastest way to see the address on Linux systems. If you want more detailed network information, type ifconfig or ip addr instead, and look for the line starting with "inet" under your active connection.

Understanding the difference between local and public IP addresses

The address you just found — the one starting with 192.168 or 10.0 — is your local IP address. It only works on your home network. Other devices in your house use it to send data to your PC.

Your internet provider also assigns a different IP address to your whole house, called your public IP address. This is the address that websites see when you visit them. It is different from your local address and changes periodically. For setting up your home network and accessing your router, you only need the local address you found above.

What to do if your IP address keeps changing

Every time your PC connects to the network, your router assigns it an IP address from a pool of available numbers. Usually the router remembers which address it gave to each device and assigns the same one each time. But sometimes a device gets a different address, which can cause problems if you wrote down the old one.

If you need your PC to keep the same IP address, you can set up DHCP reservation in your router settings. This tells the router to always give your PC the same address. The steps vary by router brand, but you usually log into your router's admin page, find the DHCP or Local Network settings, and add your PC's current address to a reservation list. Your router's manual or support page will have the exact steps for your model.

Checking your IP address on a network you do not control

If you are on a work network, school network, or public Wi-Fi, the same steps above will show you the address that network assigned to your PC. However, you may not have permission to change router settings or access certain network features.

If you need to troubleshoot a connection problem on a network you do not own, contact the network administrator or IT support for that location — they can tell you whether the problem is with your PC or with the network itself. They may also be able to assign you a static address if you need one for a specific reason, such as setting up a printer or accessing a shared drive.

Frequently Asked Questions

Why does my IP address start with 192.168 instead of something else?

Your router reserves certain number ranges for home networks. Addresses starting with 192.168, 10.0, or 172.16 are set aside for private networks and cannot be used on the public internet. Your router automatically assigns addresses from these ranges to devices on your home network.

Is it safe to share my local IP address with someone?

Your local IP address only works on your home network, so sharing it with someone outside your house does not let them access your PC. However, do not share it with people you do not trust, since someone on your network could potentially use it to target your device. Your public IP address is more sensitive — websites can see it, but it does not directly reveal your location or personal information.

What if I see multiple IP addresses when I run ipconfig or ifconfig?

You may see addresses for different network adapters — one for Wi-Fi, one for Ethernet, one for a virtual network, or others. Use the address for whichever connection type you actually use to reach the internet. If you are connected by Wi-Fi, use the address under the Wi-Fi adapter. If you are plugged in with an Ethernet cable, use the address under the Ethernet adapter.

Can I change my IP address myself?

You can request a new address by unplugging your PC from the network for a few minutes, then plugging it back in — your router will assign a new one. You can also set a static IP address in your network settings, which means your PC keeps the same address even after restart. However, most home users do not need to do this. If you need a static address for a specific reason, your router's manual will explain how to set it up.