Where to find your IP address depends on your operating system

Your computer's IP address is stored in your network settings, not in a single file you can open. On Windows, you find it through Settings or Command Prompt. On Mac, it lives in System Settings under Network. On Linux, you use the terminal. The address you see will be either your local IP address (the one your router assigned, starting with 192.168 or 10.0) or your public IP address (the one your internet provider assigned to your modem). Most of the time when you need to find your IP address, you need the local one — the address that identifies your computer on your home network.

The fastest way on any system is to search for "IP address" in your system's search bar, which usually opens the right settings panel in seconds. If that does not work, the steps below show you the exact path for each operating system.

Key Takeaways

  • Your local IP address (192.168.x.x or 10.0.x.x) identifies your computer on your home network and is what you need most often.
  • On Windows 10 or 11, open Settings, go to Network & Internet, then Status to see your local IP address when ready.
  • On Mac, open System Settings, click Network, select your connection, and your IP address appears in the details panel.
  • On Linux, open a terminal and type hostname -I to see your local IP address in one line.
  • To find your public IP address (assigned by your internet provider), search "what is my IP" in any web browser.

Finding your IP address on Windows 10 and 11

The simplest route is Settings. Click the Windows Start button, type "IP address" into the search box, and click "View your PC name and IP address" — Windows will open the System settings page that shows both your computer name and your local IP address in one place. You will see a line that says "IPv4 address" followed by four numbers separated by periods, like 192.168.1.105. That is your local IP address.

If you prefer using Command Prompt, right-click the Start button, select "Terminal (Admin)" or "Command Prompt (Admin)", and type ipconfig then press Enter. Look for the line labeled "IPv4 Address" under your active network connection — it will be the same address you saw in Settings. This method is useful if you need to check your IP address quickly without opening the full Settings menu.

Finding your IP address on Mac

Open System Settings (the gear icon in your dock or Applications folder). Click "Network" in the left sidebar. Select the connection you are using — either "Wi-Fi" if you are wireless or "Ethernet" if you are plugged in with a cable. Your local IP address appears in the details panel on the right side, labeled "IP Address". It will look like 192.168.1.50 or similar.

If you use the terminal instead, click the Spotlight search icon (magnifying glass in the top right), type "terminal", and press Enter. Type ifconfig | grep "inet " and press Enter. You will see several IP addresses listed — look for the one that starts with 192.168 or 10.0, which is your local address. The others are system addresses you do not need.

Finding your IP address on Linux

Open a terminal window (usually Ctrl+Alt+T on most Linux distributions, or find Terminal in your applications menu). Type hostname -I and press Enter. Your local IP address will appear on the next line as a single number like 192.168.1.42. This is the fastest method on Linux and works on nearly every distribution.

If that command does not work, try ip addr show instead. This shows more detail — look for the line that starts with "inet" (not "inet6") under your active connection. The IP address is the first number after "inet", before the forward slash.

Understanding what you are looking at

The address you find in your system settings is your local IP address — the one your router assigned to your computer. It stays the same most of the time, but your router can change it if you restart your computer or if your router restarts. This is the address you use when you need to connect to your computer from another device on your home network, or when you need to log into your router's settings.

Your public IP address is different — it is assigned by your internet provider to your modem, and it is what websites see when you visit them. To find your public IP address, open any web browser and search "what is my IP". The first result will show your public address. You do not need to dig into your computer's settings for this one.

Why you might need your IP address

You need your local IP address when you are troubleshooting network problems, setting up a printer or smart home device on your network, or logging into your router to change Wi-Fi settings. You also need it if you want to access your computer remotely from another device on the same network, or if a technician asks you for it while helping you fix a connection issue.

Your public IP address matters less often, but you might need it if you are setting up port forwarding, running a server, or if a service asks for your "external IP" to whitelist your connection. Most of the time, you do not need to know either address — your computer and router handle the details automatically.

What to do if you cannot find your IP address

If the steps above do not show an IP address, your computer is not connected to the network. Check that your Wi-Fi is turned on (look for the Wi-Fi icon in your system tray), or if you are using Ethernet, make sure the cable is plugged in on both ends. Restart your computer and try again — sometimes the network connection needs a moment to establish.

If you are connected but still do not see an address, restart your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully restart. Then check your computer's network settings again. If the problem persists, your router may not be assigning addresses correctly, and you may need to restart it or check its settings.

Frequently Asked Questions

Can my IP address change?

Yes. Your local IP address can change if you restart your computer or router, or if your router's lease expires (usually after several days or weeks). Your public IP address can change if your modem restarts or if your internet provider reassigns it. If you need a stable local address for a device like a printer, you can set a static IP in your router settings.

Is my IP address private information?

Your local IP address is only visible to devices on your home network, so it is not a privacy concern. Your public IP address is visible to websites you visit, but it only identifies your internet connection, not you personally — websites see your public IP, not your name or location. Your internet provider can connect your public IP to your account, but most websites cannot.

What if I see multiple IP addresses?

If you see more than one address, you may have multiple network connections active (Wi-Fi and Ethernet at the same time, for example). Use the address for the connection you are actually using. If you see an address starting with 169.254, your computer is not connected to the network properly — check your Wi-Fi or cable connection.

Do I need to memorize my IP address?

No. You only need to know how to find it when you need it. Write it down or take a screenshot if a technician asks for it, but you do not need to remember it day to day. Your computer and router handle IP addresses automatically in the background.