What your IP address is and why you need it
Your PC's IP address is a set of numbers that identifies your computer on your network — like a mailing address for data. It looks like four numbers separated by dots, such as 192.168.1.5. You need this number when you're troubleshooting network problems, setting up a printer or router, connecting to a work network remotely, or giving technical support to someone helping you fix something.
There are two IP addresses your computer has: a local IP address (the one on your home or office network) and a public IP address (the one your internet provider assigns, which the outside world sees). This guide covers finding your local IP address, which is what you'll need most often.
Key Takeaways
- On Windows, open Settings, go to Network & Internet, then Status to see your local IP address instantly.
- On Mac, open System Settings, click Network, select your connection, and look for the IP address field.
- You can also open Command Prompt on Windows or Terminal on Mac and type a single command to see your IP address.
- Your local IP address starts with 192.168 or 10.0 and changes only when you restart your router or manually change your network settings.
Finding your IP address on Windows 10 and 11
The fastest way is through Settings. Click the Windows Start button, type "Settings" and open it. Then select Network & Internet from the left menu.
Click Status at the top of the list. Scroll down to the section labeled "IP settings" and you'll see your local IP address listed next to "IPv4 address". Write it down or take a screenshot if you need it for later.
If you're connected to Wi-Fi, you'll see this information under the Wi-Fi section. If you're plugged in with an ethernet cable, look under "Ethernet" instead. Either way, the process is identical.
Finding your IP address on Mac
Open System Settings (in newer macOS versions) or System Preferences (in older versions). Click Network in the sidebar.
Select the connection you're using — either Wi-Fi or Ethernet depending on how you're connected. Your local IP address appears in the main panel next to "IP Address". It will be a four-part number like 192.168.1.10.
Using Command Prompt on Windows
If the Settings method doesn't work or you prefer typing commands, this method is faster once you know it. Right-click the Windows Start button and select Terminal (Admin) or Command Prompt (Admin). If you see neither option, search for "Command Prompt" in the Start menu, right-click it, and choose "Run as administrator".
Type this exactly and press Enter: ipconfig
Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on your connection type. Find the line that says "IPv4 Address" — the number next to it is your local IP address. Ignore any addresses that start with 127.0 or 169.254, as those are not your real network address.
Using Terminal on Mac
Open Terminal (search for it in Spotlight by pressing Command + Space, type "Terminal", and press Enter). Type this command and press Enter: ifconfig
You'll see several sections. Look for either "en0" (ethernet) or "en1" (Wi-Fi) depending on how you're connected. Find the line that starts with "inet" — the number after it is your local IP address. Skip any line that shows 127.0.0.1, as that's your computer talking to itself, not your network address.
What to do if you see multiple IP addresses
Your computer might show more than one IP address if you're connected to both Wi-Fi and ethernet at the same time, or if you have a virtual network set up. Use the one that matches your connection method — if you're on Wi-Fi, use the address from the Wi-Fi section. If you're plugged in with a cable, use the ethernet address.
The correct address will start with 192.168, 10.0, or 172.16. Any address starting with 127.0 or 169.254 is not your real network address and won't help you connect to other devices.
Why your IP address might change
Your local IP address usually stays the same until you restart your router or your computer. Some routers are set to hand out new addresses automatically after a certain amount of time, which means your IP address might be different tomorrow than it is today.
If you need the same IP address to stay put — for example, to set up port forwarding or connect to your computer remotely — you can set a static IP address in your router settings. This tells your router to always give your computer the same number. Your router's instruction manual or support website will explain how to do this, since the steps vary by brand.
Frequently Asked Questions
Is my IP address the same as my public IP address?
No. Your local IP address (192.168.x.x) is only visible on your home or office network. Your public IP address is what websites see when you visit them. To find your public IP, search "what is my IP" in any search engine and the first result will show it.
Can I share my local IP address safely?
Yes. Your local IP address is only useful on your own network, so sharing it with someone helping you troubleshoot is safe. Your public IP address is more sensitive — avoid sharing it unless you trust the person completely.
What if I can't find the IPv4 address in Settings?
Make sure you're looking at the right connection type. If you're on Wi-Fi, check the Wi-Fi section, not Ethernet. If you're still not seeing it, try the Command Prompt or Terminal method instead — it's more reliable when Settings isn't showing the information clearly.
Does restarting my computer change my IP address?
Usually not. Restarting your computer keeps the same IP address. Restarting your router is more likely to change it, since that's when your router hands out new addresses to all connected devices.