Devices
How to Find the IP Address on Your Computer
Devices · 5 min read · Updated November 16, 2026
The fastest way to find your computer's IP address depends on which one you need. Your public IP address is what websites see, and you can view it instantly on our homepage. Your private IP address is what your router assigns inside your home network, and you find it in your computer's network settings.
Below are the quickest paths for Windows, Mac, and Linux, with links to full step-by-step guides where you need more detail.
The fastest way: check your public IP online
Open any browser and load our homepage. The large address at the top of the page is your computer's public IP. This is the address the rest of the internet sees when you browse, and it is shared with every device on your home network.
You do not need to install anything or create an account. If you switch from Wi-Fi to a hotspot, this address changes, which is normal.
Which address do you actually need?
Most tasks need one specific address, and picking the wrong one is the main reason people get stuck. If a website, game server, or remote support tech asks for your IP, they almost always mean the public one shown on our homepage.
If you are setting up a printer, a home server, a security camera, or file sharing inside your house, you need the private address from your network settings instead. The private address starts with 192.168, 10, or 172.16 to 172.31, and it only works inside your own network.
There is also a third address you may run into: your router's address, often called the default gateway. You use it to open the router's settings page, not to identify your computer.
Find your private IP on Windows
On Windows 11, open Settings, then Network and internet, then Wi-Fi or Ethernet, and click your connected network. Your IPv4 address is listed there, usually something like 192.168.1.10.
For a quicker route, open Command Prompt and type ipconfig, then look for the IPv4 Address line. The full walkthrough with screenshots of each step is in our Windows IP address guide. On Windows 10 the steps are nearly the same, and our Windows 10 guide covers the small differences.
In the ipconfig results, ignore adapters that say Media disconnected, and skip any address that starts with 169.254. That is a fallback address Windows gives itself when it cannot get a real one from the router, and the troubleshooting section below explains how to fix it.
Find your private IP on Mac
On a Mac, open System Settings, click Wi-Fi (or Network for Ethernet), and click Details next to your connected network. Your IP address appears at the top.
You can also find it in System Settings under General, About, by looking at your network connection. The Mac IP address guide covers both routes in detail, including the Terminal command if you prefer typing.
If your Mac is plugged in with a network cable, check the Ethernet section instead of Wi-Fi. A Mac can have both connections active, and each one gets its own private address.
Find your private IP on Linux
On most Linux systems, open a terminal and type hostname -I or ip addr. The first address shown after your loopback entry is your private IP on the local network.
If you are on Ubuntu, you can also go to Settings, Wi-Fi, click the gear icon on your connection, and read the IPv4 address under Details. Our Linux IP address guide covers the other common desktop environments too.
Troubleshooting: no address, or one that starts with 169.254
An address starting with 169.254 is called a self-assigned or APIPA address. Your computer invented it because the router never answered its request for a real address. Nothing on your network will work properly until this is fixed.
Work through the standard fixes in order: restart the router and the computer, disconnect and reconnect to the Wi-Fi network, and check that a network cable is fully plugged in at both ends. On Windows you can also ask for a fresh address directly, which our release and renew guide walks through.
If every device in the house shows the same problem, the router or the internet connection itself is down. If only one computer is affected, the problem is with that computer's Wi-Fi adapter, cable, or network settings.
Frequently asked questions
Why does my computer have two IP addresses?
Your computer has a public IP address shared by every device in your home, and a private IP address that only works inside your own network. Websites and apps use the public one, while your router uses the private one to send data to the right device.
Does my computer's IP address change?
Yes. Your public IP changes whenever your internet provider reassigns it, which can be every day or every time your router reconnects. Your private IP can also change when you reconnect to a network, unless your router assigns it a fixed address.
Why would I need to know my computer's IP?
Common reasons include connecting to a network printer, accessing a security camera or media server, troubleshooting a connection problem, and forwarding ports for online games. Remote support technicians also ask for it.
Is my computer's IP the same on every network?
No. Your public IP changes with each network you join, since it belongs to the connection, not the computer. Your private IP is also reassigned by each network's router.
Can I find my IP from the command line?
Yes. On Windows use ipconfig, on Mac and Linux use ifconfig or ip addr. These show your private IP. For your public IP, you still need to check a website like ours, because your computer only knows its private address.
What does an IP address starting with 169.254 mean?
It means your computer failed to get an address from the router and made one up as a fallback. Your network connection will not work until it gets a real address. Restarting the router and reconnecting usually fixes it.