To find your IP address on Windows 11 or Windows 10, open Settings > Network & internet, select Wi-Fi and your connected network (or Ethernet), and read the IPv4 address. Or open Command Prompt, type ipconfig and press Enter. That number is your local (private) address. Websites see a different, public address that only your router knows, and choosing the right one depends on what you need it for.
Local vs public IP: which one do you need?
Every home network has at least two kinds of address. Your router hands each device a local (private) IP address, such as 192.168.1.25, that only means something inside your home or office. Your internet provider gives the router one public IP address, which every website and online service sees, and which all your devices share. Windows only knows the addresses of its own network adapters, so it can show you the local one but not the public one.
| What you’re doing | Address you need | Fastest place to find it |
| Adding a printer, sharing files, mapping a drive or using Remote Desktop between two devices at home | The PC’s local IPv4 address | Settings or ipconfig |
| Opening your router’s settings page | The default gateway (the router’s local address) | ipconfig, on the Default Gateway line |
| A game server, website or support agent asks for “your IP” | The public IP address | The router’s status page, or a web search |
| Checking every address on a PC with several adapters, or scripting | All IPv4 and IPv6 addresses | PowerShell |
Both methods below work the same way on Windows 11 and Windows 10, and Microsoft’s network settings help documents the Settings route for both. Windows 10 reached end of support on October 14, 2025, so a Windows 10 PC no longer gets security updates unless it’s enrolled in Extended Security Updates.
The methods compared
| Method | Shows | Best for |
| Settings | Local IPv4 and IPv6, DNS servers | A quick look without typing commands |
| ipconfig | Local IPv4 and IPv6, subnet mask, default gateway, for every adapter | Finding the router’s address too |
| ipconfig /all | Everything above plus DHCP status, DNS servers and MAC address | Troubleshooting and support requests |
| PowerShell | Every address as a filterable table, and whether it was assigned automatically | PCs with several adapters, scripts |
| Control Panel | Local IPv4, subnet mask, gateway in a small window | People used to older Windows versions |
| Router status page | Public (WAN) address, plus every device’s local address | The public IP and reserved addresses |
| Web search | Public address only | A quick public IP check from any device |
Find your local IP in Settings
Windows 11
- Select Start > Settings > Network & internet. You can also right-click the network or Wi-Fi icon on the taskbar and select Network and internet settings.
- For Wi-Fi, select Wi-Fi, then select the network you’re connected to (it may show as a Properties link beside the network name). For a cable connection, select Ethernet.
- Scroll to the list of details and read the value next to IPv4 address. IPv6 address and the DNS servers appear in the same list, and on most current versions a Copy button beside the list copies it all as text, which is handy for a support request.
To see every adapter at once, go to Settings > Network & internet > Advanced network settings. On recent versions of Windows 11 it has a properties page (usually named Hardware and connection properties) that lists Wi-Fi, Ethernet and any VPN or virtual adapters together.
Windows 10
- Select Start > Settings > Network & Internet.
- Select Wi-Fi in the left pane and then your connected network, or select Ethernet and then your connection.
- Scroll to Properties and read the value next to IPv4 address.
Microsoft’s help also points to a Properties option beside your connected network at the top of the Network & Internet page, which opens the same details. These only appear once the PC is on a network; if it isn’t yet, first connect to Wi-Fi on Windows 10 from the taskbar Network icon.
Find your local IP and router address with ipconfig
ipconfig is the best choice when you also need the router’s address, and it’s identical on Windows 11 and 10. Microsoft’s ipconfig reference says that run without options it shows the IPv4 and IPv6 addresses, subnet mask and default gateway for every adapter.
- Select Start, type cmd and open Command Prompt. Windows Terminal or PowerShell works too, and there are other ways to open Command Prompt on Windows 10, including the Run box.
- Type ipconfig and press Enter.
- Find the section for the connection you use: Wireless LAN adapter Wi-Fi for Wi-Fi or Ethernet adapter Ethernet for a cable. Sections for unused adapters show no address.
- Read the IPv4 Address line, for example 192.168.1.25. That’s your PC’s local address.
- Read the Default Gateway line in the same section, for example 192.168.1.1. That’s your router.
Type ipconfig /all for the full picture, including whether DHCP is enabled, the DHCP server, the DNS servers and each adapter’s physical address. If it’s that hardware address you need rather than the IP, see finding your MAC address on Windows. A related switch, ipconfig /flushdns, empties the cache of saved website lookups, as explained in the steps to clear the DNS cache on Windows 10.
Find every address with PowerShell
PowerShell lists addresses as a table, which helps on a laptop with Wi-Fi, Ethernet and a VPN all present.
- Right-click Start and open Terminal (or search for PowerShell).
- Type Get-NetIPAddress -AddressFamily IPv4 and press Enter. Leave out -AddressFamily IPv4 to include IPv6.
- Find the row whose InterfaceAlias is Wi-Fi or Ethernet and read the IPAddress value. Ignore 127.0.0.1, which is the PC talking to itself (loopback).
Add -InterfaceAlias “Wi-Fi” to see one adapter (wildcards such as “Wi*” work). The PrefixOrigin column shows where an address came from: Dhcp means the router assigned it, Manual means someone typed it in, and WellKnown covers fixed addresses such as loopback. For a summary closer to ipconfig, Get-NetIPConfiguration shows the IP configuration of each connected adapter in one block, and Get-NetIPConfiguration -Detailed adds details such as the DHCP status and the adapter’s link-layer (MAC) address.
Find it in Control Panel or Task Manager
Microsoft’s help pages now point to Settings, but the older Network Connections window still opens on Windows 11 and 10:
- Press Windows + R, type ncpa.cpl and press Enter.
- Double-click the adapter you’re using (Wi-Fi or Ethernet).
- Select Details and read the IPv4 address, subnet mask and default gateway.
Task Manager usually offers a quick glance too: open it with Ctrl + Shift + Esc, select Performance, then the Wi-Fi or Ethernet graph, and look for the IPv4 address in the details under the graph. If any of these windows look different on your PC, use Settings instead.
Find your public IP address
No Windows setting or command shows the public address, because it belongs to the router. You have two reliable options:
- Your router. Type the Default Gateway address from ipconfig into a web browser, sign in with the router’s admin password, and open its status, internet or WAN page. If your provider supplied the router, its app or your online account may show the address too. The wireless settings on that same page usually show the Wi-Fi password, and a PC that has already joined can display it as well, as explained in finding a saved WiFi password in Windows 11.
- A web search. Searching for “what is my IP” in Bing or another search engine usually shows your public address at the top of the results. It’s quick, but it reflects whatever path your traffic takes, so a VPN or proxy changes the answer.
If the address on your router’s WAN page starts with 10., 172.16. to 172.31., or 192.168., or falls between 100.64. and 100.127., it isn’t truly public: another router or your provider’s equipment sits in front of yours. That matters for things like hosting a game, because the outside world can’t reach that address directly.
Reading the numbers
- IPv4 address: four numbers from 0 to 255 separated by dots, such as 192.168.1.25. Most printers, games and apps ask for this one.
- IPv6 address: a longer address of letters and numbers separated by colons. Windows uses IPv6 alongside IPv4 when your network supports it, so seeing both is normal. A line starting with fe80 is a link-local IPv6 address used only on your local network.
- Default gateway: your router’s local address. Everything bound for the internet goes through it.
- Subnet mask: usually 255.255.255.0 at home. It tells Windows which addresses are on the same local network.
- Private ranges: addresses starting with 10., 172.16. to 172.31. and 192.168. are reserved for private networks by the internet standard RFC 1918. Many homes use the same numbers, which is fine, because they never leave your network.
- Dynamic vs static: most home networks use DHCP to hand out addresses automatically, so a PC’s local address can change over time. A static (manual) address stays the same.
A worked example: Jordan’s ipconfig shows IPv4 Address 192.168.1.42 and Default Gateway 192.168.1.1. Jordan types 192.168.1.42 into Remote Desktop on a second PC at home, and 192.168.1.1 into a browser to reach the router. A friend across town can’t use 192.168.1.42; they would see Jordan’s public address instead.
When the address looks wrong or is missing
It starts with 169.254
Microsoft explains that a PC set to get its address automatically gives itself an address in the 169.254.0.0 to 169.254.255.255 range when no DHCP server answers. This is called Automatic Private IP Addressing (APIPA), and in practice it means the router isn’t handing out an address, so there’s no internet.
Warning: don’t run the next steps on a PC you’re controlling remotely. ipconfig /release discards the adapter’s address, which drops the remote connection.
- Open Command Prompt, type ipconfig /release and press Enter. The connection drops for a moment.
- Type ipconfig /renew and press Enter. Windows asks the router for a new address.
- Run ipconfig again. If the address still starts with 169.254, restart the router and modem, wait for them to come back, and check that the PC is on the right network.
There’s no IPv4 address at all
- Check that you’re reading the adapter you actually use. A laptop on Wi-Fi shows nothing under Ethernet.
- Make sure the PC is connected; if not, see connecting to Wi-Fi on Windows 11 first.
- Disconnect any VPN app for a moment. VPNs add their own adapter, which can make the list confusing.
The address keeps changing
That’s normal with DHCP. If a printer, game or Remote Desktop setup needs a fixed address, use one of the options in the next section. When connecting with Remote Desktop from a Windows 11 Home PC, the PC name usually works on a home network, so the address matters mainly when the name doesn’t.
Keep the same local IP address
The safest route is a DHCP reservation on your router: you tell the router to always give your PC the same address, and Windows stays on automatic. The setting’s location varies by router, so check your router maker’s help pages. Most routers identify the PC by its MAC address for this, so find the MAC address in Windows 11 first and turn off random hardware addresses for that network.
You can also set a manual address in Windows. Before you do, write down your current IPv4 address, subnet mask, gateway and DNS servers so you can go back. In Settings > Network & internet, select Ethernet, or Wi-Fi > Manage known networks and your network, then select Edit next to IP assignment and switch from Automatic (DHCP) to Manual. Microsoft marks Automatic (DHCP) as the recommended choice, and a typo or an address another device already uses can cut off your internet. To undo, select Edit again and choose Automatic (DHCP). If websites stop loading after changing network settings, changing your DNS servers in Windows is the next thing to check.
Check that the address works
Open Command Prompt, type ping followed by your default gateway (for example, ping 192.168.1.1) and press Enter. Lines starting with Reply from mean your PC and router can talk. Request timed out on every line points to a connection problem, or a router that ignores pings, so try loading a website as well. When the router answers but one website still won’t open by name, clearing the DNS cache with ipconfig /flushdns is a quick next step.
Common questions about IP addresses on Windows
Is it safe to share my IP address?
Your local address is only useful inside your own network, so giving it to a family member or support agent is harmless. That local address is also what you type into Remote Desktop Connection when you use Remote Desktop on Windows 10 and the PC name doesn’t work. Your public address is seen by every website you visit, but there’s no reason to post it publicly, and you should never open router ports or put a PC in a router’s DMZ just because someone online asks for your IP. That same local address can stand in for a computer name when you map a shared folder to a drive letter in Windows 11.
Does a VPN change my IP address?
A VPN changes the public address websites see. Your local address on the home network usually stays the same, though ipconfig will also list a separate adapter for the VPN with its own address.
Why does a Mac or phone show a similar number?
Your router hands out addresses from one private range, so devices typically share the first three numbers (for example 192.168.1.x) and differ in the last one. Two devices with exactly the same local address on one network is a conflict, and one of them will lose its connection.
Can I use the IP address to reach my PC from a Mac?
Yes, on the same network. Remote Desktop clients on a Mac accept the PC’s local IPv4 address in place of its name; the steps to Remote Desktop from a Mac to Windows show where to type it.
Next step
Write down your local IPv4 address and default gateway from ipconfig. If you need that address to stay put for a printer or Remote Desktop, set up a DHCP reservation on your router so you never have to look it up again.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.