What Is My Local IP Address?
Find your local (private) IP address and default gateway on Windows, Mac, iPhone, Android and Linux.
How to find your local IP address
Windows
Press Win + R, type cmd, then run ipconfig. Your local IP is the IPv4 Address; the router is the Default Gateway.
macOS
System Settings โ Wi-Fi โ Details โ TCP/IP. Or run ipconfig getifaddr en0 in Terminal.
iPhone / iPad
Settings โ Wi-Fi โ tap โ next to your network โ IP Address.
Android
Settings โ Network & internet โ Internet โ tap your network โ IP address (may be under Advanced).
Linux
Run hostname -I or ip addr.
Local IP vs public IP
Your local IP (e.g. 192.168.1.23) only works inside your home network and is assigned by your router via DHCP. Your public IP is shared by every device in your home and is what the internet sees. Learn more about private IP ranges.
Frequently asked questions
What is a local IP address?
A private address such as 192.168.1.23 that your router assigns to each device inside your network.
Why does the tool show a .local address?
Modern browsers hide local IPs behind random mDNS names for privacy. Use the step-by-step instructions on this page to read the real address from your device.