Where to find your IP address depends on your operating system
Your computer has an IP address assigned by your router or network. On Windows, you find it in Settings under Network & Internet, or by opening Command Prompt and typing ipconfig. On Mac, go to System Settings, then Network, and click your active connection to see the IP listed as "IPv4 Address". On Linux, open a terminal and type ip addr or ifconfig depending on your distribution.
You will see two different addresses: your private IP address (the one your router assigned, usually starting with 192.168 or 10.0) and potentially your public IP address (the one your internet provider assigned to your router). Most of the time you need the private IP — that is what other devices on your home network use to find your computer.
Key Takeaways
- Windows users can find their private IP by opening Command Prompt and typing ipconfig, then looking for the IPv4 Address line.
- Mac users go to System Settings, select Network, click their active connection, and read the IPv4 Address field.
- Linux users open a terminal and type ip addr or ifconfig to see all network interfaces and their assigned addresses.
- Your private IP address (192.168.x.x or 10.0.x.x) is what devices on your home network use; your public IP is what the internet sees.
Finding your IP address on Windows
Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Type ipconfig and press Enter. Look for the line labeled "IPv4 Address" under your active network connection — this is your private IP address. It usually looks like 192.168.1.100 or 10.0.0.50.
If you prefer not to use Command Prompt, go to Settings, select Network & Internet, then click on your active connection (Wi-Fi or Ethernet). Scroll down and you will see "IPv4 address" displayed on the right side of the window. Both methods show the same information; use whichever feels more comfortable.
Finding your IP address on Mac
Click the Apple menu in the top-left corner and select System Settings. Click Network in the left sidebar. Select your active connection — either Wi-Fi or Ethernet depending on how you are connected. The IPv4 Address field appears on the right side of the window and shows your private IP address.
If you want to see more detail, click the Advanced button at the bottom right. This shows additional network information including your subnet mask and router address. For most purposes, the IPv4 Address shown in the main Network window is all you need.
Finding your IP address on Linux
Open a terminal window. Type ip addr and press Enter. This shows all network interfaces on your computer. Look for the one labeled "inet" (not "inet6") — the address next to it is your private IP. On older systems, you can type ifconfig instead, which displays similar information in a different format.
If you have multiple network interfaces, look for the one that is marked "UP" and has an inet address assigned. Loopback (127.0.0.1) is your computer talking to itself and is not the address you need. The address you are looking for usually starts with 192.168, 10.0, or 172.16.
Understanding private versus public IP addresses
Your private IP address is assigned by your router and is only used on your local network. It lets your computer talk to your printer, phone, and other devices at home. This address never changes unless you manually configure it or your router reassigns it after a restart.
Your public IP address is assigned by your internet service provider to your router. Websites and online services see this address, not your private one. To find your public IP, visit a site like whatismyipaddress.com in your web browser — it will display the address your router is using to connect to the internet. Your public IP can change periodically depending on your internet service provider's policy.
Why you might need your IP address
You need your private IP address when setting up a printer on your network, accessing your computer remotely from another device on the same network, or troubleshooting network connection problems. You also need it if you are port forwarding on your router or setting up a static IP so your address does not change.
You need your public IP address when you want to access your computer from outside your home network, or when you need to provide it to someone for remote support. Some online services also ask for your public IP for security or location purposes, though this is less common.
What to do if your IP address keeps changing
By default, your router assigns your computer a new private IP address each time it connects or restarts. If you need the same address every time, you can set a static IP on your computer or configure DHCP reservation on your router. DHCP reservation is easier — it tells your router to always give your computer the same address without you having to configure anything on the computer itself.
To set DHCP reservation, log into your router's admin panel (usually at 192.168.1.1 or 192.168.0.1 in your web browser), find the DHCP or Reserved IPs section, and add your computer's MAC address with the IP you want it to use. The exact steps vary by router model, so check your router's manual or manufacturer website for specific instructions.
Frequently Asked Questions
Is my private IP address the same as my public IP address?
No. Your private IP is assigned by your router and only works on your home network. Your public IP is assigned by your internet provider to your router and is what the internet sees. You can find your public IP by visiting whatismyipaddress.com in your browser.
Why does my IP address change?
Your router assigns private IP addresses using DHCP, which means they can change when your computer restarts or reconnects to the network. Your public IP can also change if your internet provider reassigns it, which happens periodically on most home internet plans. If you need a stable address, set up DHCP reservation on your router.
Can I see the IP addresses of other devices on my network?
Yes. On Windows, type arp -a in Command Prompt to see devices that have recently communicated with your computer. On Mac or Linux, type arp -a in the terminal. You can also log into your router's admin panel to see all connected devices and their IP addresses.
What if I cannot find my IP address using these methods?
Make sure you are connected to your network — if you are offline, you will not have an active connection to check. If you are using a VPN, it may show a different IP address. Restart your computer and try again. If you still cannot find it, restart your router and reconnect.
Do I need to remember my IP address?
For most everyday tasks, no. You only need to write it down if you are setting up a printer, configuring remote access, or troubleshooting a network problem. Once you finish that task, you can forget it — your computer will find the address again the next time you need it.