Where your IP address lives on your computer
Your IP address is stored in your network settings, not in a single file you can open. Windows and Mac both show it to you through the same network tools — you just access them differently. On Windows, you'll find it in Settings or through the Command Prompt. On Mac, it's in System Settings or the Terminal. The address you see there is what your router assigned to your computer, and it changes each time you restart or reconnect to the network.
You don't need to memorize it or write it down unless you're troubleshooting a connection problem or setting up a device on your home network. Most of the time, your computer handles this automatically and you never need to look at it.
Key Takeaways
- Windows shows your IP address in Settings under Network & Internet, or when ready in Command Prompt by typing ipconfig.
- Mac displays your IP address in System Settings under Network, or in Terminal by typing ifconfig or ipconfig.
- The address you see is your local IP — the one your router gave your computer — not your public IP that websites see.
- Your local IP usually starts with 192.168 or 10.0 and changes when you restart or reconnect to WiFi.
Finding your IP address on Windows
The fastest way on Windows is to open Command Prompt and type one command. Press the Windows key, type cmd, and press Enter. In the black window that opens, type ipconfig and press Enter. Look for the line that says "IPv4 Address" — that's your local IP address. It will look something like 192.168.1.105.
If you prefer not to use Command Prompt, go to Settings, select Network & Internet, then choose WiFi or Ethernet depending on how you're connected. Click on your network name, scroll down, and you'll see "IPv4 address" listed there. Both methods show the same address — the command line is just faster.
Finding your IP address on Mac
On Mac, open System Settings and click Network on the left side. Select your WiFi or Ethernet connection, and your IP address appears on the right under "IP Address." It will look the same as Windows — usually starting with 192.168 or 10.0.
If you want to use Terminal instead, press Command and Space to open Spotlight, type terminal, and press Enter. In the Terminal window, type ifconfig or ipconfig and press Enter. Look for the line that says "inet" followed by a number — that's your local IP address.
The difference between local and public IP addresses
The address you just found is your local IP address — the one your router uses to talk to your computer inside your home network. It's private and only works on your own network. Your public IP address is different — it's what websites and services on the internet see when you connect to them. Your router handles the translation between the two.
You rarely need your local IP unless you're setting up a printer, connecting a smart home device, or troubleshooting a network problem. Your public IP is assigned by your internet provider and changes periodically, but you don't need to find it for everyday use.
Why your IP address changes
Your local IP address is temporary. When you restart your computer or disconnect and reconnect to WiFi, your router may assign you a different address from its pool of available addresses. This is normal and expected — it doesn't mean anything is wrong. Most routers cycle through addresses in the range 192.168.1.1 to 192.168.1.254, so you'll usually get something in that range.
If you need the same IP address every time — for example, to always reach a printer at the same address — you can set a static IP in your router settings. This tells the router to always give that computer the same address. That's a more advanced step, but it's useful if you're setting up devices that other computers need to find reliably.
What to do if you can't find your IP address
If you follow the steps above and see nothing, check that you're actually connected to your network. On Windows, look for the WiFi icon in the taskbar — it should show a connected network. On Mac, check the WiFi icon in the menu bar. If you're not connected, connect first, then check again.
If you're connected but still see nothing, restart your computer and try again. If Command Prompt or Terminal shows an error, make sure you typed the command correctly — it's ipconfig on both Windows and Mac, not "IP config" or any other variation. If you're still stuck, your network adapter may not be working, and you may need to restart your router or check your network settings.
Frequently Asked Questions
Is my local IP address the same as my public IP?
No. Your local IP (192.168.x.x) is only used inside your home network. Your public IP is what the internet sees, and it's assigned by your internet provider. They're completely different numbers, and your router translates between them.
Will my IP address be the same tomorrow?
Your local IP might change when you restart or reconnect to WiFi — that's normal. Your public IP usually stays the same for weeks or months, but your internet provider can change it without warning. Neither one is permanent.
Can I share my local IP address with someone outside my home?
No, it won't work. Local IP addresses only exist inside your home network. Someone outside your home can't reach your computer using your local IP. They would need your public IP, and even then, your router would have to be set up to allow that connection.
Do I need to write down my IP address?
Only if you're setting up a device like a printer or security camera and need to reach it by address. For normal computer use, you don't need to remember it. You can always find it again in a few seconds using the steps above.