The quickest way to find your IP address
Your computer has an IP address right now — it's the number your device uses to talk to other computers on your network and the internet. On Windows, the fastest way to see it is to open Command Prompt and type ipconfig, then look for the line that says "IPv4 Address". On Mac, open System Settings, click Network, select your connection, and the IP address appears in the details pane. On Linux, open a terminal and type ip addr or ifconfig to see all your addresses listed.
You'll likely see two different IP addresses: one that starts with 192.168 or 10.0 (your local IP address, used only on your home or office network) and possibly another one if you look at your router's status page (your public IP address, which the rest of the internet sees). Most of the time, you need the local one.
Key Takeaways
- Windows users can find their local IP address by opening Command Prompt and typing ipconfig, then looking for the IPv4 Address line.
- Mac users can find their IP address in System Settings under Network, in the details pane for their active connection.
- Linux users can type ip addr or ifconfig in a terminal to see all network addresses on their machine.
- Your local IP address (starting with 192.168 or 10.0) is what you need for most home networking tasks like connecting to a printer or accessing a device on your network.
Finding your IP address on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will open. Type ipconfig and press Enter. You'll see a list of network adapters on your computer.
Look for the section labeled "Ethernet adapter" (if you're plugged in with a cable) or "Wireless LAN adapter" (if you're on WiFi). Under that section, find the line that says "IPv4 Address" — the number next to it is your local IP address. It will look something like 192.168.1.105 or 10.0.0.50. Write it down if you need it for a specific task, like setting up a printer or accessing a device on your network.
If you want to see your public IP address instead (the one the internet sees), you can visit a website like whatismyipaddress.com in your browser. That site will display your public IP immediately.
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. You'll see a list of your network connections — select the one you're currently using (usually "Wi-Fi" or "Ethernet").
On the right side of the window, click the Details button. A new panel will open showing information about your connection. Your IP address appears near the top, labeled as "IPv4 Address". It will be a number like 192.168.1.110 or 10.0.0.75. If you don't see a Details button, your IP address may already be visible in the main Network pane.
Older versions of macOS use System Preferences instead of System Settings, but the steps are the same — look for Network, select your connection, and click Advanced or Details to see your IP address.
Finding your IP address on Linux
Open a terminal window (usually by right-clicking on the desktop or using your application menu). Type ip addr and press Enter. You'll see output that lists all network devices on your computer, with their IP addresses shown next to "inet".
Look for the device you're using — usually eth0 for a wired connection or wlan0 for WiFi. Next to "inet" you'll see your local IP address. If the ip addr command doesn't work, try ifconfig instead — it's an older command but works on most Linux systems. The IP address will appear next to "inet addr:" in the output.
Why you might need to find your IP address
The most common reason is to connect a device to your network — like setting up a printer, accessing a security camera, or troubleshooting a connection problem. When something on your network isn't working, support staff often ask for your IP address to help diagnose the issue. You might also need it to access your router's settings page, which usually requires typing your IP address into a web browser.
If you're setting up port forwarding on your router (to let someone outside your network access a device inside it), you'll need your local IP address. The same goes for assigning a static IP address to a device, which keeps it from changing every time you restart your computer.
The difference between local and public IP addresses
Your local IP address is assigned by your router and only works on your home or office network. It's the address other devices on your network use to find your computer. These addresses always start with 192.168, 10.0, or 172.16 — they're reserved for private networks and never appear on the public internet.
Your public IP address is assigned by your internet service provider and is how the rest of the internet identifies your network. When you visit a website, the website sees your public IP, not your local one. Your public IP changes periodically (sometimes daily, sometimes monthly, depending on your ISP), while your local IP usually stays the same until you restart your router or your computer gets reassigned by the DHCP server.
For most tasks — connecting to a printer, accessing a device on your network, or troubleshooting at home — you need your local IP address. You only need your public IP if you're trying to understand how the internet sees your network, or if you're setting up remote access to your home network from outside.
What to do if your IP address keeps changing
Local IP addresses are assigned automatically by your router using a system called DHCP. Most of the time this works fine, but if you need a device to always have the same IP address (like a printer or security camera), you can assign it a static IP address instead.
The process varies by device, but usually involves either setting a static IP directly on the device itself, or configuring your router to always give that device the same address. Check your device's manual or support page for instructions. If you're doing this on your computer, you can also set a static IP in your network settings, though this is less common — most people just note their current IP address and update it if it changes.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No — they're completely different. Your IP address is a number like 192.168.1.100 that identifies your device on a network. Your MAC address is a code like 00:1A:2B:3C:4D:5E that identifies your device's network card itself. You rarely need your MAC address unless you're setting up MAC filtering on your router or configuring DHCP reservations.
Can someone hack me if they know my IP address?
Knowing your IP address alone doesn't let someone hack you — it's like knowing someone's street address but not having keys to their house. They would still need to find an open port or vulnerable service running on your computer. A firewall (which Windows, Mac, and Linux all have by default) blocks most of this traffic. Your public IP is visible to every website you visit, so it's not secret.
Why do I see multiple IP addresses when I run ipconfig or ip addr?
Your computer may have multiple network adapters — one for WiFi, one for Ethernet, one for a VPN, or virtual adapters for other software. Each one gets its own IP address. Use the one that matches the connection you're actually using right now. If you're on WiFi, look under the wireless adapter section; if you're plugged in with a cable, look under the Ethernet section.
What's the 127.0.0.1 address I see in the list?
That's your computer talking to itself — it's called the loopback address and is used for testing your network connection. You don't need it for anything practical. Ignore it and use the address that starts with 192.168 or 10.0 instead.
Does my IP address change when I restart my computer?
Usually not — your router remembers which device you are and gives you the same local IP address. However, if your router is restarted or if you don't connect for a long time, the DHCP server may assign you a different one. If you need the same address every time, set a static IP address on your device or configure a DHCP reservation in your router settings.