Finding Your IP Address Quickly
Your IP address is a set of numbers that identifies your computer on a network — like a mailing address for data. Every device connected to the internet has one. You may need it to troubleshoot network problems, set up a printer, connect to a VPN, or give to technical support.
The fastest way to find it depends on whether you use Windows, Mac, or Linux. On Windows, you can open Command Prompt and type a single command. On Mac, you go through System Settings. On Linux, you open a terminal and run a command. All three methods take less than a minute.
Key Takeaways
- Your IP address appears in Command Prompt on Windows when you type ipconfig and press Enter — look for "IPv4 Address" in the results.
- On Mac, open System Settings, click Network, select your connection, and the IP address appears under "IP Address" on the right side.
- On Linux, open a terminal and type hostname -I or ip addr show to see your IP address when ready.
- Your IP address may start with 192.168 or 10.0 if you are on a home or office network — these are private addresses that only work inside your network.
- If you need your public IP address (the one the internet sees), search "what is my IP" in any browser or visit a site like whatismyipaddress.com.
Finding Your IP Address on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will open with a blinking cursor. Type ipconfig (all lowercase) and press Enter.
A list of information will appear. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" — whichever matches how you are connected to the network. Under that section, find the line that says "IPv4 Address". The number next to it is your IP address. It will look something like 192.168.1.105 or 10.0.0.50.
If you see multiple adapters listed, use the one that is actually connected. If you are on Wi-Fi, look under the wireless adapter. If you are plugged in with an ethernet cable, look under the ethernet adapter. You can close Command Prompt by typing exit and pressing Enter.
Finding Your IP Address on Mac
Click the Apple menu in the top-left corner and select "System Settings" (or "System Preferences" on older versions). In the left sidebar, click "Network".
On the left side of the Network window, you will see a list of connections. Click the one you are currently using — it will have a green dot next to it. On the right side of the window, your IP address appears next to "IP Address". It will look something like 192.168.1.105.
If you are connected to Wi-Fi, the Wi-Fi connection will be at the top of the list with a green dot. If you are plugged in with an ethernet cable, look for "Ethernet" in the list instead. You can close System Settings when you are done.
Finding Your IP Address on Linux
Open a terminal window. On most Linux systems, you can right-click on the desktop and select "Open Terminal", or press Ctrl+Alt+T. A terminal window will open with a blinking cursor.
Type hostname -I (capital I, not lowercase L) and press Enter. Your IP address will appear on the next line. It will look something like 192.168.1.105. This is the simplest method and works on nearly all Linux distributions.
If that command does not work, try ip addr show instead. This will display more detailed information. Look for a section labeled "inet" (not "inet6") — the number after "inet" is your IP address. You can close the terminal by typing exit and pressing Enter, or by clicking the X button.
Understanding Private vs. Public IP Addresses
The IP address you just found is your private IP address — it only works inside your home or office network. If it starts with 192.168, 10.0, or 172.16, it is private. Your router assigns this number to your computer so devices on your network can find each other.
Your public IP address is different. It is the address the internet sees when you browse websites or send emails. Your internet service provider assigns it to your router, and your router shares it with all devices on your network. To find your public IP address, open any web browser and search for "what is my IP". The first result will show it to you.
You need your private IP address to set up devices on your home network, like printers or smart home equipment. You need your public IP address if someone outside your network needs to reach you — for example, if you are setting up remote access to your computer.
Common Reasons You Might Need Your IP Address
Technical support may ask for your IP address to troubleshoot network problems or confirm which device they are helping. If your internet is slow or dropping, your support team might use it to check your connection from their end.
You may also need it to set up a printer, security camera, or other device on your home network. These devices need to know your computer's private IP address to communicate with it. Some devices ask you to enter an IP address manually instead of finding it automatically.
If you are setting up a VPN, remote desktop connection, or file-sharing service, you might need your public IP address so people outside your network can reach you. Some services also use IP addresses to block or allow certain computers — for example, a work network might only let you log in from specific IP addresses.
What to Do If Your IP Address Changes
Your private IP address can change if you restart your router or if your computer reconnects to the network. This usually is not a problem — most devices will find each other again automatically. If you set up a printer or other device using your old IP address and it stops working, just find your new IP address and update the device's settings.
Your public IP address changes less often, but it can shift if your internet goes down or if your internet service provider updates your connection. If you need a stable public IP address — for example, to run a server or allow remote access — you can contact your internet service provider about a static IP address, though this usually costs extra.
If you want to prevent your private IP address from changing, you can set a static IP address on your computer. This is more advanced and requires changing your network settings or your router's settings. For most home users, letting the address change automatically is simpler and works fine.
Frequently Asked Questions
Why do I have two different IP addresses?
One is your private IP address (used inside your network) and one is your public IP address (used on the internet). The private address starts with 192.168 or 10.0. The public address is what websites see when you visit them. You find the private one in Command Prompt or System Settings; you find the public one by searching "what is my IP" in a browser.
Is my IP address the same as my MAC address?
No. Your IP address is a number that identifies your computer on a network and can change. Your MAC address is a permanent code built into your network card that never changes. They serve different purposes — IP addresses route data across networks, while MAC addresses identify devices on the same local network.
Can someone find me using my IP address?
Someone with your public IP address can see your general location (usually your city or region) and know you are using the internet. They cannot see inside your home or access your files unless you have left a service open and unprotected. Your private IP address only works inside your network, so it is not useful to anyone outside it.
What if the ipconfig command does not show my IP address?
Make sure you are connected to the network — check that Wi-Fi is on or your ethernet cable is plugged in. If you are connected but still do not see an IP address, your network may not be working. Try restarting your computer and router, then run the command again. If it still does not work, contact your internet service provider or network administrator.
Do I need to write down my IP address?
You only need to write it down if you are setting up a device or giving it to technical support. For most daily use, you do not need to remember it. You can find it again anytime using the same steps. If you set up a printer or other device using your IP address, write that down instead — the device's settings will remember it.