What an IP address is and why you need it
An 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 — for example, 192.168.1.5. When you set up a home network or troubleshoot connection problems, you often need to know your own computer's IP address so you can tell your router about it, access your computer remotely, or diagnose why something isn't working.
Your computer actually has two IP addresses: a private IP address used only inside your home network, and a public IP address that the outside internet sees. For home network setup, you need the private one. The private address never changes unless you manually change it or your router forgets it, while the public one can shift whenever your internet provider reassigns it.
Finding your IP address takes less than a minute and requires no special software. The method depends on whether you use Windows, Mac, or Linux, but the steps are straightforward on all three.
Key Takeaways
- Your private IP address is the number your computer uses inside your home network and is what you need for most home network tasks.
- On Windows, open Command Prompt and type ipconfig to see your IP address listed as "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and look for "IP Address" in the details pane.
- On Linux, open a terminal and type hostname -I to display your IP address when ready.
- Write down your IP address or take a screenshot so you have it when you need it for network configuration.
Finding your IP address on Windows
The fastest way on Windows is through Command Prompt. Click the Start button, type cmd into the search box, and press Enter. A black window will open with a blinking cursor.
Type ipconfig and press Enter. The window will display several lines of information. Look for the section labeled with your network connection name (usually "Ethernet" if you use a cable, or "Wireless LAN adapter" if you use WiFi). Under that section, find the line that says "IPv4 Address" — the number next to it is your private IP address. It will look something like 192.168.1.100 or 10.0.0.50.
If you see multiple network sections, you only need the one that shows "Connected" or has an IPv4 address listed. Ignore any section that says "Disconnected" or shows all zeros. Once you have the number, you can close Command Prompt by typing exit and pressing Enter.
Finding your IP address on Mac
On Mac, the IP address lives in System Settings. Click the Apple menu in the top-left corner and select "System Settings" (or "System Preferences" on older versions). In the sidebar, click "Network".
You will see a list of connections on the left side — usually "Wi-Fi" or "Ethernet" depending on how you connect. Click the one you are currently using. On the right side of the window, look for a button or section labeled "Details" or "Advanced". Click it if you see it. Your IP address will appear in the main pane, labeled as "IP Address". Write it down or take a screenshot before you close the window.
If you do not see a Details button, the IP address may already be visible in the main pane. Scroll down if needed — it will be listed near the top of the information shown for that connection.
Finding your IP address on Linux
On Linux, open a terminal window. The method varies by desktop environment, but usually you can right-click on the desktop and select "Open Terminal", or press Ctrl+Alt+T. A terminal window will open.
Type hostname -I and press Enter. Your IP address will appear on the next line. If you have multiple network connections, you may see more than one IP address listed. The one you need is usually the first one, or the one that starts with 192.168 or 10.0 (these are the ranges used for home networks). If you are unsure which one is active, type ip route and press Enter — the address listed after "via" is the one your computer is currently using to reach the internet.
Understanding what the numbers mean
IP addresses in home networks follow a pattern. Most home routers assign addresses that start with 192.168 or 10.0, followed by two more numbers. The first part (192.168 or 10.0) identifies your home network. The last two numbers identify individual devices — your computer, phone, printer, and so on.
The router itself usually has the address 192.168.1.1 or 10.0.0.1 (the last number is 1). Your devices get higher numbers like 192.168.1.100 or 10.0.0.50. This pattern helps you recognize whether an address belongs to your home network or somewhere else. If you see an address that does not follow this pattern, it may indicate a problem with your network setup.
What to do once you have your IP address
Once you know your IP address, you can use it for several home network tasks. You can tell your router to always give your computer the same address (called a static IP or reserved address), which keeps your settings stable if you need to access your computer from another device. You can also use it to access your computer's shared files from another device on the network, or to configure network printers and other devices that need to know where to send information.
If you are troubleshooting a connection problem, your IP address helps you and technical support identify whether your computer is properly connected to the network. If your computer shows an address that starts with 169.254 instead of 192.168 or 10.0, it means the router did not assign an address properly — usually a sign to restart your router and computer.
Checking your public IP address
Your public IP address is different from your private one and is assigned by your internet provider. You do not need it for home network setup, but you may want it for other reasons. To find it, open any web browser and search for "what is my IP" or "my public IP address". The first result will show you the address that the outside internet sees when your computer connects to websites.
Unlike your private IP address, your public IP address can change without warning — sometimes daily, sometimes monthly, depending on your internet provider's policy. If you need a stable public IP address for something like remote access from outside your home, you can contact your internet provider to ask about a static public IP, though this usually costs extra.
Frequently Asked Questions
Why does my IP address start with 169.254?
This means your computer is not receiving an address from your router. Restart your router by unplugging it for 30 seconds, then plug it back in and wait two minutes for it to fully start. Restart your computer as well. If the address still starts with 169.254 after both devices restart, check that your network cable is plugged in firmly or that you are connected to the correct WiFi network.
Can I change my IP address?
Yes, but you usually should not. Your router assigns it automatically and changes it only if you restart your computer or router. If you need the same address every time, you can set a static IP in your router's settings or in your computer's network settings — but this is only necessary if you are accessing your computer from another device and need a stable address to connect to.
Is my IP address private information?
Your private IP address (the 192.168 or 10.0 number) is only visible to devices on your home network, so it is not a privacy concern. Your public IP address can be seen by websites you visit, but it only reveals your internet provider and general location — not your street address or identity. If privacy is a concern, you can use a VPN, but that is separate from your IP address.
What if I have multiple computers on my network?
Each computer gets its own private IP address. Run the steps above on each computer to find its individual address. They will all start with the same first two or three numbers (like 192.168.1) but end with different numbers. This is normal and expected.