The quickest way to find your IP address
Your computer has two IP addresses you might need: a local IP address (used on your home or office network) and a public IP address (how the internet sees you). The local one is what you'll use most often — to connect a printer, access files on another computer, or troubleshoot network problems. Finding it takes under a minute on any operating system.
On Windows, open Command Prompt and type ipconfig, then press Enter. Look for "IPv4 Address" under your active network connection — that's your local IP, usually starting with 192.168 or 10.0. On Mac, go to System Settings > Network, click your active connection, and the IP address appears in the details pane. On Linux, open a terminal and type ip addr or hostname -I to see all your addresses at once.
Key Takeaways
- Your local IP address appears in Command Prompt on Windows (type ipconfig), in System Settings on Mac, or in a terminal on Linux (type ip addr).
- Local IP addresses usually start with 192.168 or 10.0 and are only used within your network, not across the internet.
- Your public IP address (what websites see) is different from your local one and can be found by searching "what is my IP" in any browser.
- If you need to connect devices on your network, use the local IP address, not the public one.
Finding your local IP on Windows
Open Command Prompt by pressing the Windows key, typing "cmd", and pressing Enter. Type ipconfig and press Enter. A list of network connections appears. Find the one labeled "Ethernet" (if you're plugged in with a cable) or "Wireless LAN adapter" (if you're on Wi-Fi). Under that section, look for "IPv4 Address" — that's your local IP.
The address will look like 192.168.1.105 or 10.0.0.50. Write it down if you need it for connecting to a printer, accessing shared files, or setting up a device on your network. If you see multiple network adapters listed, use the one that shows "Media State: Media connected" — that's the one actually in use.
Finding your local IP on Mac
Click the Apple menu and select System Settings (or System Preferences on older versions). Click Network in the left sidebar. Select the connection you're using — either Wi-Fi or Ethernet. Your IP address appears in the details pane on the right, labeled "IP Address". It will look like 192.168.1.105 or similar.
If you're on Wi-Fi, you can also click the Wi-Fi icon in the menu bar at the top, hold Option, and click your network name to see the IP address in a popup. This method is faster if you just need to check it once.
Finding your local IP on Linux
Open a terminal window. Type ip addr and press Enter. Your computer displays all network interfaces and their addresses. Look for the section labeled "inet" under your active connection (usually "eth0" for Ethernet or "wlan0" for Wi-Fi). The address next to "inet" is your local IP.
If ip addr doesn't work, try hostname -I instead — it shows just the IP addresses without extra details. Both commands work on most Linux distributions.
Understanding local versus public IP addresses
Your local IP address only works on your home or office network. It's what your printer, smart TV, or other computer sees when you're all connected to the same router. This address never leaves your network — the outside internet doesn't know about it.
Your public IP address is assigned by your internet service provider and is how websites identify your connection. It's different from your local IP and changes periodically (usually every few months, unless you pay for a static IP). To find your public IP, open any browser and search "what is my IP" — the first result will show it. You don't need your public IP to connect devices on your home network, only your local one.
Why you might need your IP address
You'll use your local IP address when connecting a printer to your network, accessing files on another computer, or setting up a smart home device. Some routers also let you log in to change settings by typing your local IP into a browser — usually something like 192.168.1.1 or 10.0.0.1. Check your router's manual or the sticker on the back to find the exact address.
If you're troubleshooting a network problem, your local IP helps you identify which device is which. If a website or service asks for your IP address, they're asking for your public one, not your local one — you can find that by searching "what is my IP" in your browser.
What to do if your IP address keeps changing
Most home networks use DHCP (Dynamic Host Configuration Protocol), which means your computer gets a new local IP address each time it connects to the router. This is normal and usually not a problem. However, 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.
On Windows, go to Settings > Network & Internet > Advanced Network Settings > More Network Adapter Options. Right-click your connection, select Properties, find IPv4 Properties, and choose "Use the following IP address". On Mac, go to System Settings > Network, click Details, select TCP/IP, and change "Configure IPv4" to "Manually". On Linux, edit your network configuration file (usually in /etc/netplan/ or /etc/network/interfaces) to assign a static address. If this feels complicated, ask your router's support page — many routers let you reserve an IP for a specific device without changing your computer's settings.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No. Your IP address is a number like 192.168.1.105 that changes when you move networks or restart. Your MAC address is a permanent identifier for your network card that stays the same. They serve different purposes — IP addresses route data across networks, while MAC addresses identify devices on the same local network.
Can someone hack me if they know my IP address?
Knowing your public IP alone doesn't let someone access your computer directly — your router's firewall blocks incoming connections by default. However, it does tell them you exist on the internet. Never share your public IP with strangers, and never give out your local IP to anyone outside your home network.
Why do I see multiple IP addresses when I run ipconfig?
You're seeing different network adapters — Ethernet, Wi-Fi, virtual adapters, or VPN connections. Use the IP address under the adapter you're actually using (the one that shows "Media connected" on Windows). If you're unsure which one, unplug your Ethernet cable or turn off Wi-Fi, run the command again, and the remaining address is the one you need.
What if I can't find my IP address using these steps?
Make sure you're connected to the network first — check that Wi-Fi is on or your Ethernet cable is plugged in. On Windows, make sure you opened Command Prompt correctly (not PowerShell). On Mac, confirm you're in System Settings, not System Preferences. If you're still stuck, restart your computer and try again.
Do I need my IP address to use the internet normally?
Your computer handles IP addresses automatically — you don't need to know it to browse the web, send email, or use apps. You only need to find it if you're setting up a device, troubleshooting a network problem, or connecting to another computer on your home network.