Your IP address is a number that identifies your computer on a network

Your computer has an IP address — a set of numbers separated by periods, like 192.168.1.5 — that lets other devices and websites know where to send information back to you. You may need to find it to troubleshoot connection problems, set up a printer on your home network, or give it to technical support. The steps differ depending on whether you use Windows, Mac, or Linux, but the process takes less than a minute on any of them.

Your computer actually has two IP addresses: a local IP address that identifies it within your home or office network, and a public IP address that identifies your entire network to the internet. Most of the time you need the local one. This guide covers how to find both.

Key Takeaways

  • Your local IP address appears in Windows Settings under Network & Internet, or in Mac System Settings under Network, and is usually a number starting with 192.168 or 10.
  • On Windows, you can also open Command Prompt and type ipconfig to see your IP address instantly.
  • On Mac, open System Settings, click Network, select your connection, and look for the IP address field.
  • 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 give your IP address to someone else, clarify whether they need your local address (for home network devices) or public address (for internet access).

Finding your IP address on Windows

The fastest way on Windows is through Command Prompt. Right-click the Start button, select "Windows Terminal (Admin)" or "Command Prompt (Admin)", and type ipconfig then press Enter. Look for "IPv4 Address" in the results — that is your local IP address. It usually starts with 192.168 or 10.

If you prefer not to use Command Prompt, you can find it in Settings instead. Open Settings, go to Network & Internet, then select your connection type (Wi-Fi or Ethernet). Scroll down and you will see "IPv4 address" listed there. This method takes a few more clicks but shows the same number.

Finding your IP address on Mac

Open System Settings and click Network in the sidebar. Select the connection you are using — either Wi-Fi or Ethernet — and you will see your IP address displayed in the details panel. It appears next to "IP Address" in the connection information.

If you use Terminal instead, open Applications > Utilities > Terminal and type ifconfig then press Enter. Look for "inet" followed by a number — that is your local IP address. The Terminal method shows more technical detail but both ways give you the same address.

Finding your IP address on Linux

Open a terminal window and type ip addr show or hostname -I then press Enter. Either command displays your local IP address. The ip addr show command shows more detail, including which network interface the address belongs to, while hostname -I gives you just the address itself.

Some Linux systems also have a graphical network settings tool. The exact name and location depend on your desktop environment, but it usually appears in your system settings under Network or Connections and shows your IP address the same way Mac and Windows do.

Understanding the difference between local and public IP addresses

The address you find in Settings or Command Prompt is your local IP address — it only works within your home or office network. If you need to set up a printer, connect a smart home device, or let someone on your Wi-Fi access a shared folder, you give them this address.

Your public IP address is what the internet sees when you visit a website or send an email. It is assigned by your internet service provider and is shared by every device in your home. To find it, open any web browser and search for "what is my IP address" — the first result will show it. You need this address only if someone outside your network needs to reach your computer directly, which is rare for most people.

When you need to know your IP address

You need your local IP address when setting up devices on your home network — printers, security cameras, network storage drives, or smart home hubs often ask for the IP address of the computer you are configuring them from. You also need it if technical support asks you to check your network settings, or if you are troubleshooting why a device cannot connect to your computer.

You need your public IP address much less often. It matters if you are hosting a game server, running a web server from home, or setting up remote access to your computer from outside your network. For most everyday tasks, your local address is what you are looking for.

What to do if your IP address keeps changing

Your local IP address can change if your router restarts or if you disconnect and reconnect to the network. If you need an address that stays the same — for example, to always reach a printer at the same number — you can set a static IP address in your router settings. This tells your router to always give that device the same address.

Your public IP address changes less often, usually only when your modem restarts or after several days of being offline. If you need a public IP address that does not change, contact your internet service provider about a static public IP — this is a paid service on most home internet plans. For most people, the default behavior is fine.

Frequently Asked Questions

Is my IP address private information I should hide?

Your local IP address is only useful to devices already on your network, so there is no security risk in sharing it. Your public IP address is visible to every website you visit, but it only identifies your network, not your specific computer or location precisely. You do not need to hide it for basic security, though some people prefer not to share it unnecessarily.

Why does my IP address look different when I search for it online?

The address you see in Settings is your local IP address (used only on your home network), while the one you find by searching "what is my IP" is your public IP address (what the internet sees). They are two different numbers serving two different purposes. Both are correct — they just apply to different networks.

Can I change my IP address?

Your local IP address can be changed in your router settings or your computer's network settings, though there is usually no reason to unless you are troubleshooting a conflict. Your public IP address is assigned by your internet service provider and changes automatically over time. You cannot choose a different one unless you pay for a static IP service.

What if I cannot find my IP address using these steps?

If the address does not appear where these steps say it should, check that you are looking at the right connection — make sure you selected Wi-Fi if you are on Wi-Fi, or Ethernet if you are plugged in with a cable. If you are still not seeing it, restart your computer and try again. If the problem continues, your network connection may not be working properly.

Do I need my IP address to connect to Wi-Fi?

No. Your IP address is assigned automatically when you connect to a network. You only need to know it if you are troubleshooting, setting up another device, or following specific instructions from technical support. For normal Wi-Fi use, you never need to look at it.