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 connection problems, set up a printer on your home network, or give it 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 one command. On Mac, you go to System Settings. On Linux, you open a terminal and run a similar command. All three methods take less than a minute.

Key Takeaways

  • Windows users can find their IP address by opening Command Prompt and typing ipconfig, then looking for the line labeled "IPv4 Address".
  • Mac users should open System Settings, click Network, select their active connection, and read the IP address shown in the details pane.
  • Linux users can open a terminal and type ip addr or ifconfig to see all network addresses on their system.
  • Your IP address may start with 192.168 or 10.0 if you are on a home or office network, or a different range if you are on a public network.
  • If you see multiple addresses, look for the one labeled as your "local" or "private" address — that is the one your computer uses on your network.

Finding Your IP Address on Windows

Open the Start menu and type cmd or command prompt. Click the Command Prompt app when it appears. A black window will open with a blinking cursor.

Type ipconfig and press Enter. The window will display several lines of information. Look for the section labeled with your network connection name (usually "Ethernet" if you are plugged in with a cable, or "Wireless LAN adapter" if you are on Wi-Fi). Under that section, find the line that says IPv4 Address. The number next to it — something like 192.168.1.5 — is your IP address. Write it down or take a screenshot if you need to keep it.

If you see multiple network sections, you may have more than one connection. The one you are currently using will show an IPv4 Address. Disconnected networks may show "Media disconnected" instead.

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 sidebar on the left, click Network.

You will see a list of network connections on the left side — usually "Wi-Fi" or "Ethernet". Click whichever one shows a green dot or says "Connected". On the right side, you will see details about that connection. Look for the line labeled IP Address. The number there is what you need.

If you are on Wi-Fi, you can also click the Wi-Fi icon in the menu bar at the top of the screen, hold down the Option key, and click your network name. A small window will pop up showing your IP address and other network details.

Finding Your IP Address on Linux

Open a terminal window. On most Linux systems, you can right-click the desktop and select "Open Terminal", or press Ctrl+Alt+T. A text window will open.

Type ip addr and press Enter. You will see a list of all network devices on your computer. Look for the section labeled "inet" — that is your IP address. It will be a number like 192.168.1.10 or 10.0.0.5. Ignore the "inet6" lines; those are a different type of address.

If ip addr does not work on your system, try ifconfig instead. The output will look slightly different, but you are still looking for a number labeled as the IP address. Addresses starting with 127.0.0.1 are your computer talking to itself and are not what you need.

Understanding What You Are Looking At

IP addresses come in two types: public and private. Your private IP address is what your computer uses inside your home or office network. It usually starts with 192.168, 10.0, or 172.16. This is the address you will use to set up printers, cameras, or other devices on your own network.

Your public IP address is what the outside internet sees when you visit a website. You cannot see it from your computer's settings — you would need to visit a website like whatismyipaddress.com to find it. Most of the time, when someone asks for "your IP address", they mean your private one.

If you are on a school or work network, your private address may follow a different pattern. Ask your IT department if you are unsure which address to use.

What to Do If You Cannot Find Your IP Address

If the commands above do not show an IP address, your computer may not be connected to a network. Check that your Wi-Fi is turned on or that your ethernet cable is plugged in. Wait a few seconds and run the command again — sometimes it takes a moment for a connection to register.

If you are connected but still see no address, restart your computer and try again. If the problem continues, your network may have a problem assigning addresses. Restart your router (unplug it for 30 seconds, then plug it back in) and wait two minutes before trying again.

On Windows, if you see "Media disconnected" next to your network name, your device is not currently connected. On Mac, if no connection shows a green dot, click the Wi-Fi icon and select your network to connect.

Common Reasons You Might Need Your IP Address

Technical support staff often ask for your IP address to help diagnose connection problems. Knowing how to find it quickly saves time during a support call. You may also need it to set up a device on your home network — for example, to tell your computer where to find a networked printer or security camera.

If you are setting up remote access to your computer from another location, you will need your public IP address, not your private one. If you are connecting devices within your home, use your private address. When in doubt, ask whoever is helping you set up the device which type they need.

Frequently Asked Questions

Is my IP address the same every time I turn on my computer?

Your private IP address usually stays the same, but it can change if you restart your router or if your network settings change. Your public IP address changes more often — sometimes daily — depending on your internet provider. If you need a permanent address for a device, ask your IT person about setting a "static IP".

Why do I see multiple IP addresses when I run the command?

You may have more than one network connection active — for example, both Wi-Fi and ethernet. Each one gets its own address. Look for the connection you are actually using. If you are on Wi-Fi, find the wireless adapter. If you are plugged in, find the ethernet section.

Can someone harm my computer if they know my IP address?

Your private IP address is only visible to devices on your own network, so it is not a security risk. Your public IP address is visible to websites you visit, but it does not directly expose your computer to attack. A firewall and up-to-date software protect you far more than keeping your IP address secret.

What if my IP address starts with 169.169?

That means your computer could not reach your router or network server to get a proper address. Check that your router is on and that you are in range of the Wi-Fi signal. Restart your router and reconnect. If the problem continues, your network may not be set up correctly.