Your IP address is a number that identifies your device on a network, the same way a street address identifies your house in a city
An Internet Protocol address, or IP address, is a set of numbers separated by periods — something like 192.168.1.5 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Every device that connects to the internet or to a local network gets one. Your phone, laptop, printer, and smart TV all have IP addresses. Without one, other devices would have no way to send information to your device or receive information from it.
Think of an IP address like a mailing address. When you send a letter, the postal service needs to know where to deliver it. When your device sends data across the internet — a request for a web page, a video stream, an email — the network needs to know where to send the response back. The IP address is how the network finds your device among millions of others.
Your device may have more than one IP address depending on how it connects. A laptop connected to your home Wi-Fi has one address on your home network. If you take that same laptop to a coffee shop and connect to their Wi-Fi, it gets a different address on their network. Some devices also have a separate address for a wired ethernet connection.
Key Takeaways
- An IP address is a numerical identifier that lets other devices and networks find and communicate with your device.
- Your device gets a local IP address on your home network (usually starting with 192.168) and a public IP address from your internet service provider that identifies you on the wider internet.
- Most home devices receive their IP addresses automatically from your router through a system called DHCP, so you rarely have to set one manually.
- You can find your device's IP address in your network settings, and your home network's public IP address by searching "what is my IP" in a web browser.
The difference between your local IP address and your public IP address
Your device actually has two different IP addresses, and they serve different purposes. Your local IP address is the one your device uses to talk to other devices inside your home network — your router, your printer, your smart speaker. This address usually starts with 192.168 or 10.0. It only works inside your home network. If you tried to use it from outside your house, it would mean nothing.
Your public IP address is the one your internet service provider assigns to your home network as a whole. This is the address that identifies you on the wider internet. When you visit a website, that website's server sees your public IP address, not your local one. Your public IP address is what lets websites, streaming services, and other internet services know where to send data back to you. You can find your public IP address by opening a web browser and searching for "what is my IP."
Your router sits between these two worlds. It has a local IP address (usually something like 192.168.1.1) so devices in your home can reach it, and it connects to your internet service provider using your public IP address. When your laptop requests a web page, the router translates that request from your local address to your public address, sends it out to the internet, and then translates the response back so your laptop can understand it.
How your device gets an IP address
Most of the time, you do not have to do anything to get an IP address. Your router hands them out automatically using a system called DHCP (Dynamic Host Configuration Protocol). When your phone or laptop connects to your Wi-Fi, it sends out a request asking for an address. Your router responds by assigning it a local IP address from a pool of available numbers, usually for a set period of time — often 24 hours or a few days.
This automatic system is why your device's local IP address can change. When the time period expires, your router may assign your device a different address the next time it connects. For most people and most devices, this does not matter. Your device handles the change automatically, and you never notice.
Some devices and situations call for a static IP address — one that does not change. If you have a printer on your home network and you want to make sure it always has the same address so other devices can find it reliably, you can set it to a static address. Some people also use static addresses for security cameras, network storage, or gaming consoles. Setting a static address usually means going into your device's network settings or your router's settings and manually assigning a specific number.
Where to find your device's IP address
The steps to find your IP address depend on what device you are using. On a Windows laptop or desktop, you can open the Command Prompt and type ipconfig, then press Enter. Look for the line that says "IPv4 Address" — that is your local IP address. On a Mac, open System Preferences, go to Network, select your connection, and click Advanced. Your local IP address appears under TCP/IP.
On an iPhone, go to Settings, tap Wi-Fi, select the network you are connected to, and look for the IP Address field. On Android, go to Settings, tap About Phone, then Status, and scroll down to find IP Address. On a printer or other networked device, the IP address is often printed on a status page that you can access through the device's menu or web interface.
To find your home network's public IP address — the one that identifies you to the outside internet — open any web browser and search for "what is my IP." Several websites will display it when ready. This is the address that your internet service provider assigned to your home, and it may change periodically depending on your service plan.
Why IP addresses matter for your home network
IP addresses are the foundation of how your home network works. Without them, your router would have no way to know which device requested a web page and where to send the response. Your printer would not know which computer sent a print job. Your smart home devices could not communicate with each other or with your phone.
Understanding IP addresses also helps when something goes wrong. If a device is not connecting to your network, checking its IP address can tell you whether it successfully got one from your router. If a device is not responding, you can use its IP address to reach it directly. If you want to set up port forwarding to let someone access a device from outside your home, you need to know its local IP address.
IP addresses also connect to security and privacy. Your public IP address can reveal your approximate location to websites you visit. Some people use VPN services to hide their public IP address for privacy reasons. Understanding how IP addresses work helps you make informed choices about your network's security.
IPv4 versus IPv6: the two versions of IP addresses
There are two versions of the Internet Protocol in use today: IPv4 and IPv6. IPv4 addresses are the older format and look like four numbers separated by periods: 192.168.1.5. IPv6 addresses are newer and use a longer format with letters and numbers separated by colons: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
IPv4 was designed in the 1980s when the internet was much smaller. It can create about 4.3 billion unique addresses. As the internet grew and more devices came online, that number became insufficient. IPv6 was created to solve this problem. It can create roughly 340 undecillion unique addresses — enough for every device on Earth to have trillions of addresses each.
Most home networks still use IPv4 as their primary system, though many now support IPv6 as well. Your router and devices may have both types of addresses at the same time. For practical purposes, you do not need to choose between them — your network handles both automatically. However, if you are setting up a static address or troubleshooting a connection, you may encounter both formats.
Frequently Asked Questions
Can someone find my home address from my IP address?
Your public IP address can reveal your approximate location — usually your city or region — but not your street address. Websites can see your public IP and use it to estimate where you are, which is why some sites show you local content or ads. Your internet service provider knows the exact address associated with your public IP, but they do not share that information publicly.
Why does my device's IP address keep changing?
Your router assigns local IP addresses temporarily through DHCP. When the lease period expires, your device may get a different address the next time it connects. This is normal and does not affect how your device works. If you want a device to keep the same address, you can set it to a static IP in your device's network settings or your router's settings.
What does it mean if a device has no IP address?
If a device shows no IP address or an address starting with 169.254, it means the router did not successfully assign one. This usually means the device is not properly connected to your network or your router's DHCP system is not working. Try disconnecting and reconnecting to Wi-Fi, restarting the device, or restarting your router.
Is my IP address the same as my MAC address?
No. Your IP address is a number that identifies your device on a network and can change. Your MAC address is a permanent identifier built into your device's network hardware. Your router uses your MAC address to assign you an IP address, but they are two different things.