Your IP address is in your network settings, not displayed on your desktop
Your computer's IP address lives in the network configuration files your operating system uses to connect to the internet — it is not something you see in a folder or on your screen by default. The address itself is assigned by your internet service provider (for your home network) or by a network administrator (if you are at work or school). To find it, you open your network settings and look at the active connection details. The steps differ between Windows, Mac, and Linux, but the information is always in the same place: your network adapter settings.
You have two IP addresses worth knowing about. Your public IP address is what the rest of the internet sees when you connect — it is assigned to your home router by your ISP. Your private IP address is what your computer uses inside your home or office network — it is assigned by your router to each device. When you troubleshoot a connection problem or set up a printer on your network, you usually need the private address. When you check what the outside world sees, you need the public one.
Key Takeaways
- On Windows, open Settings > Network & Internet > WiFi (or Ethernet) and select your connection to see your private IP address.
- On Mac, open System Settings > Network and click your active connection to view your private IP address.
- Your public IP address (what websites see) is different from your private one and can be found by searching "what is my IP" in any browser.
- The Command Prompt (Windows) or Terminal (Mac/Linux) can show your IP address in seconds using commands like ipconfig or ifconfig.
Finding your IP address on Windows
The easiest route on Windows 10 or 11 is through Settings. Click the Start button, type "Settings," and open it. Go to Network & Internet, then select either WiFi or Ethernet depending on how you are connected. Click on your active connection name, and scroll down — you will see "IPv4 address" listed there. That is your private IP address on your home network.
If you prefer the Command Prompt method, press Windows key + R, type "cmd," and press Enter. In the black window that opens, type ipconfig and press Enter. Look for the line that says "IPv4 Address" under your active connection — that is your private address. This method is faster if you need the address often, and it shows more detail about your network setup if you need to troubleshoot.
Finding your IP address on Mac
On Mac, open System Settings (or System Preferences on older versions) and click Network in the sidebar. Select your active connection — either WiFi or Ethernet — and your private IP address appears on the right side of the window, labeled as "IP Address." This is the address your router assigned to your Mac.
You can also use Terminal for a faster lookup. Open Terminal (search for it in Spotlight), type ifconfig, and press Enter. Look for the section labeled "inet" under your active connection — that is your private IP address. The Terminal method shows additional network information if you are setting up a device or troubleshooting a connection.
Finding your IP address on Linux
On Linux, open a terminal window and type ip addr show or the older command ifconfig (depending on your distribution). Press Enter, and you will see all your network connections listed with their IP addresses. Look for the connection you are using — usually labeled "eth0" for wired or "wlan0" for wireless — and find the line starting with "inet." That is your private IP address.
Some Linux desktop environments also include a graphical network settings tool. Right-click the network icon in your taskbar or system tray and select "Connection Information" or similar — the exact wording varies by desktop environment. This shows your private IP address without opening a terminal.
Understanding the difference between private and public IP addresses
Your private IP address is only used inside your home or office network. It starts with 192.168, 10.0, or 172.16 — these ranges are reserved for private networks and never appear on the public internet. Your router assigns this address to your computer when you connect, and it changes if you restart your router or reconnect to the network. You need this address when you are setting up a printer, accessing a network drive, or troubleshooting why a device cannot see another device on the same network.
Your public IP address is assigned to your home router by your internet service provider. This is the address that websites, streaming services, and other internet services see when you connect to them. It is unique to your internet connection, not to your individual computer — every device in your home shares the same public IP address when they go online. To find your public IP address, open any web browser and search for "what is my IP" or visit a site like whatismyipaddress.com. Your public address can change if your router restarts or if your ISP reassigns it, which happens periodically.
Why you might need to know your IP address
You need your private IP address when you are setting up devices on your home network. If you are installing a network printer, you often enter the printer's private IP address into your computer to connect to it. If you are accessing files on another computer in your home, you might need that computer's private IP address. If your internet is not working, your ISP support team might ask for your private IP address to help you troubleshoot the connection between your computer and your router.
You need your public IP address less often, but it matters if you are setting up remote access to your home computer, reporting abuse or spam to a website, or checking whether your location is being tracked correctly. Some services also block or restrict access based on your public IP address — if a website thinks you are in a different country than you actually are, it might be because your public IP address is registered to a different location. Knowing your public address helps you understand what information about your location is visible to the outside world.
What to do if your IP address keeps changing
Your private IP address changes when you restart your router or when your computer reconnects to the network after being offline. This is normal and expected. If you need a device to stay at the same private IP address — for example, a printer or security camera — you can set a static IP address in your router settings. This tells your router to always assign the same private address to that specific device. The steps vary by router model, but you usually log into your router's admin panel (often at 192.168.1.1 or 192.168.0.1) and look for DHCP settings or device reservation options.
Your public IP address also changes periodically, but less frequently — usually only when your router restarts or after several weeks of continuous use. If you need a stable public IP address for remote access or hosting, you can contact your ISP about a static public IP address, though this usually costs extra per month. For most home users, a changing public IP address is not a problem and requires no action.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No. Your IP address is a network address that identifies your computer on the internet or your home network. Your MAC address is a hardware address that identifies your network card itself. They serve different purposes — your IP address routes data to your computer, while your MAC address identifies your device on a local network. Both can be found in your network settings, but they are completely different numbers.
Can someone find my location from my IP address?
Your public IP address can be looked up to show a general location — usually your city or region, sometimes more precise. Your private IP address cannot be looked up by anyone outside your network. If you want to hide your public IP address from websites, you can use a VPN (virtual private network), which replaces your real IP address with the VPN provider's address. This prevents websites from seeing your actual location.
What if I see multiple IP addresses in my network settings?
You might see both an IPv4 address (the traditional format like 192.168.1.5) and an IPv6 address (a longer format with colons and letters). Both are valid — IPv6 is the newer standard, but most networks still use IPv4. You can use either one to connect to your network. If you are troubleshooting, try the IPv4 address first, as it is more widely supported.
Do I need to hide my private IP address?
Your private IP address is only visible to devices on your home network, so there is no security risk in others seeing it. You only need to protect it if you are concerned about someone on your network accessing your computer without permission — in that case, use your computer's built-in firewall instead of trying to hide the address.