Finding your local IP address depends on your operating system
Your local IP address is the number your device uses to communicate with other devices on your home or office network. It looks like 192.168.1.100 or 10.0.0.50 — four groups of numbers separated by periods. This is different from your public IP address, which is what websites see when you visit them.
The steps to find it differ slightly between Windows, Mac, and Linux, but the process takes less than a minute on any system. You do not need special software or administrator access on most devices.
Key Takeaways
- On Windows, open Command Prompt and type ipconfig to see your local IP address listed as "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and look for "IP Address" in the details.
- On Linux, open a terminal and type hostname -I or ip addr to display your local IP address.
- Your local IP address usually starts with 192.168, 10.0, or 172.16 and changes only when you reconnect to your network or restart your router.
Finding your local IP on Windows
Open the Start menu and type "Command Prompt" into the search box. 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 a list of network information. Look for the section labeled with your connection type — usually "Ethernet adapter" if you are plugged in with a cable, or "Wireless LAN adapter" if you are using Wi-Fi. Under that section, find the line that says "IPv4 Address". The number next to it is your local IP address.
If you see multiple adapters listed, look for the one that shows an IPv4 Address. Virtual adapters or disabled connections may appear in the list but will show "Media disconnected" — skip those and find the one with an actual address.
Finding your local IP on Mac
Click the Apple menu in the top-left corner and select "System Settings". In the sidebar, click "Network". You will see a list of connection types on the left side of the window.
Click the connection you are currently using — either "Wi-Fi" if you are wireless, or "Ethernet" if you are plugged in with a cable. The right side of the window will show details about that connection. Look for the line labeled "IP Address". The number shown there is your local IP address.
If you do not see an IP Address line, your device may not be connected to the network yet. Make sure you are connected to Wi-Fi or plugged in with an Ethernet cable, then check again.
Finding your local IP on Linux
Open a terminal window. The method varies by desktop environment, but you can usually right-click on the desktop and select "Open Terminal", or search for "Terminal" in your applications menu.
Type hostname -I and press Enter. Your local IP address will appear on the next line. This command works on most Linux distributions and shows only the IP address without extra information.
If that command does not work, try ip addr instead. This will show more detailed network information. Look for the section labeled "inet" under your active connection — the number after "inet" and before the forward slash is your local IP address. Ignore lines that show "127.0.0.1", as that is your computer talking to itself.
Understanding what your local IP address tells you
Local IP addresses follow patterns based on your router's settings. Most home networks use addresses starting with 192.168 or 10.0. Business networks sometimes use 172.16. The last one or two numbers are usually assigned by your router and change based on the order devices connect.
Your local IP address is stable as long as you stay connected to the same network. If you disconnect and reconnect, or restart your router, your device may receive a different local IP address — though many routers try to give the same address back to the same device. If you need an address that never changes, you can set a static IP address in your router's settings, but that is a separate process.
You need your local IP address to access your router's settings, connect to a printer on your network, or troubleshoot network problems. Websites and online services do not see this address — they see your public IP address instead.
Why you might need your local IP address
Knowing your local IP address is useful for several common tasks. If you want to log into your router to change Wi-Fi settings or check connected devices, you usually type your router's IP address into a web browser — and your router's address is often close to your device's local IP address.
If you are setting up a network printer, a security camera, or other devices that connect to your home network, you may need to enter your computer's local IP address. Some games or applications that work over a local network also require you to know your IP address to connect to other players or devices on the same network.
Local IP addresses are also the first thing to check when you are troubleshooting network problems. If your device shows no local IP address, it is not connected to the network at all. If it shows an address starting with 169.254, your device is connected but did not receive an address from your router.
Frequently Asked Questions
Is my local IP address the same as my public IP address?
No. Your local IP address is used only on your home or office network. Your public IP address is what websites see and is assigned by your internet service provider. You can see your public IP by searching "what is my IP" in any search engine.
Will my local IP address change if I restart my computer?
Not usually. As long as you stay connected to the same network, your local IP address remains the same after a restart. It may change if you disconnect from the network and reconnect, or if you restart your router, but many routers reassign the same address to the same device.
Can I change my local IP address?
Your router assigns local IP addresses automatically. You can request a static IP address in your router's settings if you need one that never changes, but this requires accessing your router's admin panel — a separate process from finding your current address.
What if I see multiple IP addresses when I run ipconfig or ip addr?
Multiple addresses appear when you have multiple network connections active — for example, both Wi-Fi and Ethernet plugged in at the same time. Use the address for the connection you are actually using. If you are on Wi-Fi, look under the wireless adapter section. If you are plugged in, look under the Ethernet section.
Why does my local IP address start with 169.254?
An address starting with 169.254 means your device is connected to the network hardware but did not receive an address from your router. Restart your router and reconnect your device. If the problem continues, your router's DHCP service may not be working correctly.