Finding your IP address on Windows
Your PC has an IP address assigned by your router or internet provider. On Windows, the fastest way to find it is to open the Command Prompt and run a single command.
Press the Windows key, type cmd, and press Enter. In the black window that opens, type ipconfig and press Enter. Look for the line that says IPv4 Address — the number next to it (usually starting with 192.168 or 10.0) is your local IP address. This is the address other devices on your home network use to find your PC.
If you need your public IP address instead — the one your internet provider assigns to your whole network — search "what is my IP" in any browser. The first result will show it. Your public IP is what websites see when you visit them.
Finding your IP address on Mac
On Mac, you can find your local IP address through System Settings without opening the terminal.
Click the Apple menu, select System Settings, then click Wi-Fi or Network in the sidebar. Click Details next to your current network. Your IP address appears under IPv4 Address. If you are connected by Ethernet cable instead of Wi-Fi, select Ethernet from the sidebar and follow the same steps.
For your public IP address on Mac, open any browser and search "what is my IP" — the result page will display it at the top.
Key Takeaways
- Your local IP address (the one other home devices use to reach your PC) appears in Command Prompt on Windows after typing ipconfig, or in System Settings on Mac under Wi-Fi or Network details.
- Your public IP address (the one assigned by your internet provider) can be found by searching "what is my IP" in any web browser.
- Local IP addresses usually start with 192.168 or 10.0 and change only when you restart your router or change networks.
- You need your local IP address to connect printers, cameras, or other devices to your PC, or to access your PC remotely from another device on the same network.
Why you might need your IP address
Knowing your IP address matters for several practical reasons. If you are setting up a printer or security camera on your home network, you often need to enter your PC's IP address into the device's setup page. If you want to access files on your PC from another device in your house, you type the IP address into a file manager or remote access program.
Your public IP address is less useful for daily tasks but matters if you are troubleshooting internet problems with your provider or checking whether your location is being tracked by a website.
The difference between local and public IP addresses
Your local IP address is assigned by your router and only works on your home network. Every device connected to your Wi-Fi or Ethernet has its own local IP. These addresses are private and cannot be reached from the internet.
Your public IP address is assigned by your internet service provider to your router. It is the address the outside internet sees. All devices in your home share the same public IP when they connect to the internet. Your public IP changes periodically — sometimes daily, sometimes monthly, depending on your provider.
Static versus dynamic IP addresses
Most home networks use dynamic IP addresses, which means your router assigns your PC a different local IP each time you restart or reconnect. This is the default and requires no setup.
If you need your PC to always have the same local IP address — for example, to reliably access it from another room — you can set a static IP in your router settings. This tells the router to always give your PC the same address. The steps vary by router model, but the option is usually in the router's admin page under DHCP or Local Network settings. Check your router's manual or manufacturer website for exact instructions.
Checking your IP address on a mobile device
If you need to find the IP address of an iPhone, iPad, or Android phone on your network, the steps are different from a PC.
On iPhone or iPad, go to Settings, tap Wi-Fi, tap the network name, and scroll down to see the IP Address field. On Android, go to Settings, tap About Phone or About Tablet, then Status or Network, and look for IP Address. These are local addresses only visible on your home network.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No. Your IP address is a number like 192.168.1.5 that identifies your device on a network. Your MAC address is a different code like 00:1A:2B:3C:4D:5E that identifies your device's network card. They serve different purposes — IP addresses route data across networks, while MAC addresses identify devices on the same local network.
Can someone find my location from my public IP address?
Your public IP can be traced to your internet provider's service area, which is usually a city or region, but not to your exact address or home. Websites can see your public IP and use it to show you local ads or block access by region. Your internet provider knows which customer owns each public IP, but that information is not public.
Why does my IP address keep changing?
If your local IP changes every time you restart your PC, your router is using dynamic assignment — the default setting. If you need it to stay the same, you can set a static IP in your router settings. If your public IP changes frequently, that is normal — most providers reassign public IPs periodically. Contact your provider if you need a static public IP, though this usually costs extra.
What if I cannot find my IP address in ipconfig?
Make sure you are connected to your network — check that Wi-Fi is on or your Ethernet cable is plugged in. If you see multiple IPv4 addresses listed, use the one under your active connection (the one labeled with your network name). If you still see nothing, restart your PC and try again.