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 tech 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 displays in the window.
  • Linux users can open a terminal and type ip addr or ifconfig to see all network information including the IP address.
  • Your local IP address (the one inside your home network) is different from your public IP address (the one the internet sees).
  • If you see 169.254.x.x on Windows or a similar unusual range, your computer is not connected to the network properly.

Finding Your IP Address on Windows

Open the Start menu and type cmd into the search box. Click "Command Prompt" when it appears. A black window will open.

Type ipconfig (all lowercase) and press Enter. The window will fill with network information. Look for the line that says "IPv4 Address" — the number next to it is your local IP address. It usually looks like 192.168.x.x or 10.0.x.x, where x is a number between 0 and 255.

If you see multiple "IPv4 Address" entries, you likely have more than one network connection. The one under "Ethernet adapter" is your wired connection; the one under "Wireless LAN adapter" is your Wi-Fi connection. Use whichever one you are actually using.

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, click "Network".

You will see a list of connections on the left — Wi-Fi, Ethernet, or both. Click the one you are currently using. On the right side of the window, your IP address appears next to "IPv4 Address". It will look similar to Windows addresses: 192.168.x.x or 10.0.x.x.

If you are using Wi-Fi, make sure the Wi-Fi icon shows a checkmark or "Connected" status. If you are using Ethernet, the cable must be plugged in and the connection must show as active.

Finding Your IP Address on Linux

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

Type ip addr and press Enter. The output will show all network interfaces and their IP addresses. Look for the section labeled "inet" — the number after it is your local IP address. Ignore lines that show "127.0.0.1" (that is your computer talking to itself) or "::1" (the same thing for IPv6).

If ip addr does not work, try ifconfig instead. Older Linux systems use this command. The output format is slightly different but the IP address still appears next to "inet".

Understanding Local vs. Public IP Addresses

The address you just found is your local IP address — the one your computer uses inside your home network or office network. Every device on that network has one, and they all start with the same first numbers (like 192.168).

Your public IP address is different. It is the address the internet sees when your computer sends data outside your network. Your router assigns this address to you, and your internet service provider controls which public addresses are available. You cannot find your public IP address on your computer the same way — you need to visit a website like whatismyipaddress.com or search "what is my IP" in a search engine.

Most of the time, you need your local IP address. You use it to connect to printers, cameras, or other devices on your home network. Tech support may ask for your public IP address if they are troubleshooting internet-wide connection problems.

What to Do If Your IP Address Looks Wrong

If your IP address starts with 169.254 on Windows or shows an unusual range on Mac or Linux, your computer is not properly connected to the network. This usually means the router is not assigning an address correctly.

First, restart your router. Unplug it for 30 seconds, plug it back in, and wait two minutes for it to fully restart. Then check your IP address again. If it still shows the wrong range, restart your computer as well.

If the problem continues, check that your network cable is plugged in firmly (on wired connections) or that you are connected to the correct Wi-Fi network (on wireless connections). If you are still seeing the wrong address after these steps, your network hardware may need repair or replacement.

Frequently Asked Questions

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

Usually yes, but not always. Your router assigns local IP addresses, and it typically gives the same address to the same device each time. However, if you are away from your home network or if your router resets, you may get a different local IP address. Your public IP address changes less often but can shift if your internet service provider reassigns it.

Can someone use my IP address to hack me?

Your local IP address is only useful on your home network, so it is not a security risk by itself. Your public IP address is visible to websites you visit, but it does not directly expose your personal information. However, it is still good practice not to share either one with people you do not trust.

Why do I have multiple IP addresses listed?

You may have multiple network connections — for example, both Wi-Fi and Ethernet plugged in at the same time. Each one gets its own IP address. You only need the address for the connection you are actually using. If you are not using one, you can ignore it.

What if I need to change my IP address?

On most home networks, you cannot change your local IP address directly — your router assigns it automatically. If you need a specific address for a device, you can usually set it in that device's network settings or in your router's admin panel. For your public IP address, contact your internet service provider; they control which addresses are assigned to your account.