What an IP address is and why you need it
An IP address is a number that identifies your computer on your home network — like a mailing address for data. It looks like four numbers separated by dots: 192.168.1.5. When you set up a find home network, you often need to know your PC's IP address to log into your router, assign static addresses to devices, or troubleshoot why something isn't connecting.
Your computer actually has two IP addresses: a private IP address (the one on your home network) and a public IP address (the one the internet sees). For home network setup, you need the private one. The method to find it depends on whether you use Windows, Mac, or Linux.
Key Takeaways
- Your private IP address is a four-number sequence like 192.168.1.5 that identifies your PC on your home network only.
- In Windows, open Command Prompt and type ipconfig to see your IP address listed as "IPv4 Address".
- On a Mac, go to System Settings, click Network, select your connection, and look for the IP address in the details pane.
- In Linux, open a terminal and type hostname -I or ip addr to display your IP address.
- Write down your IP address or take a screenshot — you will need it when you log into your router or configure network devices.
Finding your IP address in Windows
The fastest way in Windows is through Command Prompt. Press the Windows key and type cmd, then press Enter. A black window opens with a blinking cursor.
Type ipconfig and press Enter. A list of information appears. 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 on Wi-Fi). Under that section, find the line that says IPv4 Address. The number next to it — something like 192.168.1.105 — is your private IP address.
If you see multiple network adapters listed, find the one that shows an IPv4 Address. Virtual adapters or disconnected networks may show no address or 0.0.0.0, which you can ignore.
Finding your IP address on a Mac
On a Mac, open System Settings (or System Preferences on older versions). Click Network in the left sidebar.
You will see a list of connections on the left — Wi-Fi, Ethernet, or others. Click the one you are currently using. On the right side, a details pane opens. Look for a line labeled IP Address. The number shown there is your private IP address.
If you are connected to Wi-Fi, make sure Wi-Fi is selected and shows "Connected" in green. If you are using Ethernet, select that instead. Only the active connection will display an IP address.
Finding your IP address in Linux
Open a terminal window. The method varies by desktop environment, but usually you can right-click the desktop and select "Open Terminal" or press Ctrl+Alt+T.
Type hostname -I and press Enter. Your IP address appears on the next line. This command shows all IP addresses assigned to your computer. If you see multiple numbers, the first one is usually your primary private IP address.
If that command does not work, try ip addr instead. This shows more detail. Look for a section labeled "inet" (not "inet6") under your active network interface. The number after "inet" and before the forward slash is your IP address.
What to do once you have your IP address
Write down your IP address or take a screenshot. You will use it when you log into your router to change security settings, when you assign a static IP to a device so it does not change, or when you troubleshoot why a device is not connecting.
Keep in mind that your private IP address can change if your router restarts or if your computer reconnects to the network. If you need an address that never changes, you can set a static IP address in your router settings — most routers let you reserve an address for a specific device so it stays the same.
Your public IP address (the one the internet sees) is different and changes based on your internet provider. You can find it by searching "what is my IP" in any search engine, but you do not need it for home network setup.
Why your IP address might look different
IP addresses on home networks usually start with 192.168 or 10.0, but some routers use 172.16. All of these are normal. The exact range depends on how your router is configured, and you do not need to change it unless you are troubleshooting a specific problem.
If you see an address starting with 169.254, your computer is not properly connected to the network. Restart your computer and your router, wait 30 seconds, and check again. If the problem continues, your network adapter may need troubleshooting.
Frequently Asked Questions
Can I change my IP address?
Yes. You can restart your router and your computer, which often assigns a new address. Or you can set a static IP in your router so the address never changes. Most home users do not need to change it — the address your router assigns works fine for home networks.
Is my IP address the same as my MAC address?
No. Your MAC address is a different identifier that works only on your local network. Your IP address is what lets devices find each other and communicate. Both are useful for network setup, but they are not the same thing.
Why do I need my IP address for router setup?
To log into your router and change security settings, you type your router's IP address into a web browser. Knowing your computer's IP address helps you understand your network layout and troubleshoot connection problems. It also lets you assign static addresses to devices that need them.
What if I see multiple IP addresses on my computer?
You may have multiple network adapters (Wi-Fi and Ethernet, for example) or virtual adapters. Use the address for the connection you are actually using — the one that is active and connected. Ignore addresses for disconnected adapters or virtual networks.