Where to find your IP address depends on your operating system
Your computer has an IP address assigned by your router — a unique number that identifies it on your home network. You need this address to troubleshoot connection problems, set up port forwarding, or restrict access to specific devices. The steps to find it differ between Windows, Mac, and Linux, but the address itself is always in the same place: your network settings.
An IP address on your home network typically looks like 192.168.1.100 or 10.0.0.50 — four numbers separated by periods, usually starting with 192.168 or 10.0. This is different from your public IP address (what the outside internet sees), which your router handles. You only need the local one for home network tasks.
Key Takeaways
- Windows users can find their IP address by opening Command Prompt and typing ipconfig, then looking for the "IPv4 Address" line under their active network connection.
- Mac users can open System Settings, go to Network, select their connection, and read the IP address shown in the Details section.
- Linux users can open a terminal and type ip addr show or ifconfig to see all network interfaces and their assigned addresses.
- Your router's admin panel also displays every device on your network and its IP address, useful if you want to see all connected devices at once.
- If your computer shows an IP starting with 169.254, it failed to get an address from your router and needs troubleshooting.
Finding your IP address on Windows
Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Type ipconfig and press Enter. Look for the section labeled with your network connection name — usually "Ethernet" if you are wired or "Wireless LAN adapter" if you are on WiFi.
Under that section, find the line that says IPv4 Address. The number next to it is your local IP address. You will also see a "Default Gateway" line — that is your router's IP address, which you need if you want to log into your router's settings.
If you prefer a graphical method, go to Settings > Network & Internet > WiFi (or Ethernet), click your connection name, then scroll down to "IP assignment" to see the address there. Both methods show the same number.
Finding your IP address on Mac
Click the Apple menu and select System Settings. Click Network in the left sidebar. Select your active connection — WiFi or Ethernet — from the list. Click Details in the window that opens.
Your IP address appears in the TCP/IP tab under "IPv4 Address". Write down the full number. If you need your router's address (the Default Gateway), it is shown on the same screen.
Older Mac versions use System Preferences instead of System Settings, but the path is identical: Apple menu > System Preferences > Network, then select your connection and click Advanced.
Finding your IP address on Linux
Open a terminal window. Type ip addr show and press Enter. Your IP address appears next to "inet" on the line for your active network interface — usually eth0 for wired or wlan0 for WiFi.
If that command does not work on your system, try ifconfig instead. Look for the same "inet" line. The address will be formatted as 192.168.x.x/24 — the number before the slash is your IP address.
Checking your IP address from your router's admin panel
Your router keeps a list of every device connected to it, along with each device's IP address. This is useful if you want to see all connected devices at once or if you need to assign a permanent IP to a specific computer.
Open a web browser and type your router's IP address into the address bar — usually 192.168.1.1 or 192.168.0.1. Log in with your router's username and password (printed on the router itself if you have not changed it). Look for a section called "Connected Devices", "DHCP Clients", or "Device List". Your computer will be listed with its current IP address.
This method also shows you the MAC address of each device, which is useful for setting up static IP assignments or device-based network rules.
What to do if your IP address starts with 169.254
An address starting with 169.254 means your computer failed to get an IP from your router. This happens when your router is offline, your WiFi password is wrong, or your network cable is unplugged.
First, restart your router by unplugging it for 30 seconds, then plugging it back in. Wait two minutes for it to fully boot. If you are on WiFi, forget the network (in your network settings) and reconnect, re-entering the password. If you are wired, unplug the ethernet cable, wait 10 seconds, and plug it back in.
If the address is still 169.254 after these steps, your router may not be assigning addresses correctly. Log into your router's admin panel and check that DHCP is enabled — this is the service that hands out IP addresses to devices. If DHCP is off, turn it on and restart your computer.
Why you might need your IP address
Knowing your computer's IP address is necessary for several home network tasks. If you want to set up port forwarding to run a server or game, you need to tell your router which device to send traffic to — that is your IP address. If you are troubleshooting a slow connection, your router's admin panel shows which device is using bandwidth, identified by IP address.
You also need it to assign a static IP — a permanent address that does not change when your computer restarts. This prevents your device from getting a new address and breaking port forwarding rules or network-attached storage connections. Most routers let you reserve an IP for a specific device in the DHCP settings.
Frequently Asked Questions
Is my IP address the same as my public IP address?
No. Your local IP address (192.168.x.x) is only visible inside your home network. Your public IP address is what websites see when you connect to the internet, and it is assigned by your internet provider. You can find your public IP by searching "what is my IP" in any search engine.
Will my IP address change if I restart my computer?
Usually not. Your router assigns the same address to the same device most of the time. However, if your computer is off for several days or your router restarts, it may get a different address. If you need a permanent address, you can reserve a static IP in your router's DHCP settings.
Can I change my IP address myself?
You can request a new one by releasing your current address and renewing it through your network settings, but your router will likely assign you the same number again. To force a different address, restart your router or wait several days. For a permanent address, reserve a static IP in your router's admin panel instead.
What if I see multiple IP addresses on my computer?
Computers with multiple network adapters (WiFi and Ethernet, or virtual network interfaces) will show multiple addresses. Use the one for the connection you are actually using — check which one is marked "active" or "connected" in your network settings.