How to Find Your Private IP Address — Step by Step 2026

Your private IP address is the internal number your router assigns to each device on your local network. It's used for communication between devices in your home or office — your phone talking to your printer, your laptop streaming to your smart TV, or your gaming console connecting to your router. Unlike your public IP (which the whole internet can see), your private IP stays within your local network. This guide shows you exactly how to find it on every platform.

Need your public IP instead? Check it instantly at miip.link. For your private IP, follow the steps below.

What Is a Private IP Address?

A private IP address is a non-routable address used within a local network. The Internet Assigned Numbers Authority (IANA) has reserved specific ranges for private use:

If your IP starts with 192.168., 10., or 172.16-31., it's a private IP. Your router assigns these via DHCP (Dynamic Host Configuration Protocol) and uses NAT to connect your devices to the internet through one public IP. For more on public IPs, see How to Find My Public IP Address.

Private IP vs Public IP

FeaturePrivate IPPublic IP
ScopeLocal network onlyGlobal internet
UniquenessOnly unique within your networkGlobally unique
Assigned byYour router (DHCP)Your ISP
Example192.168.1.105203.0.113.42
Visible toYour local devicesEvery website you visit
Used forFile sharing, printing, local streamingInternet access
Can change?Yes, when DHCP lease expiresYes, usually dynamic

Your router creates a bridge between these two worlds. It has both a private IP (like 192.168.1.1) and a public IP assigned by your ISP. Learn more about whether IPs change in Does My IP Address Change?.

How to Find Your Private IP on Windows

Method 1: Using ipconfig (Command Prompt)

This is the fastest and most detailed method on Windows:

  1. Press Win + R, type cmd, and press Enter
  2. Type ipconfig and press Enter
  3. Look for "IPv4 Address" under your active connection
  4. You'll see something like 192.168.1.105
ipconfig

Windows IP Configuration

Ethernet adapter Ethernet:
   IPv4 Address. . . . . . . . : 192.168.1.105
   Subnet Mask . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . : 192.168.1.1

The Default Gateway is your router's private IP — usually where you access its admin panel.

Method 2: Using PowerShell

Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -notlike "*Loopback*"} | Select-Object InterfaceAlias, IPAddress

This gives you a cleaner output showing just the interface name and IP address.

Method 3: Windows Settings

  1. Open Settings → Network & Internet
  2. Click Properties under your active connection
  3. Look for IPv4 address under "Properties"

Method 4: Network Connections

  1. Press Win + R, type ncpa.cpl, press Enter
  2. Right-click your active connection → Details
  3. Find "IPv4 Address" in the list

How to Find Your Private IP on macOS

Method 1: Using ifconfig (Terminal)

Open Terminal and run:

ifconfig | grep "inet " | grep -v 127.0.0.1

This shows all your active private IPs. Look for the one starting with 192.168. or 10..

Method 2: Using ipconfig getifaddr

For a cleaner result specifying your interface:

ipconfig getifaddr en0

en0 is usually Wi-Fi. If you're on Ethernet, try en1.

Method 3: System Settings

  1. Open System Settings → Network
  2. Click your active connection (Wi-Fi or Ethernet)
  3. Click Details
  4. Look for IP address

This is the easiest method if you're not comfortable with Terminal.

How to Find Your Private IP on Linux

Method 1: Using ip command (modern)

ip addr show

Look for inet lines under your active interface. Your private IP appears as inet 192.168.1.105/24.

For a shorter output:

ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}'

Method 2: Using hostname

hostname -I

This outputs only the IP addresses — clean and simple.

Method 3: Using ifconfig (legacy)

ifconfig | grep "inet " | grep -v 127.0.0.1

Note: ifconfig is deprecated on some distributions. Use ip if available.

Method 4: Using nmcli (NetworkManager)

nmcli -p device show

This shows detailed network information including IP addresses, DNS servers, and gateway.

How to Find Your Private IP on Android

Method 1: Settings (most common)

  1. Open Settings
  2. Go to Network & Internet (or Connections on Samsung)
  3. Tap Wi-Fi
  4. Tap the gear icon next to your connected network
  5. Look for IP address (usually under "Network details")

Your IP will look like 192.168.1.x or 10.0.x.x.

Method 2: Using Terminal Emulator

If you have Termux installed:

ifconfig wlan0

Or:

ip addr show wlan0

How to Find Your Private IP on iPhone (iOS)

Method 1: Settings

  1. Open Settings
  2. Tap Wi-Fi
  3. Tap the "i" icon next to your connected network
  4. Look for IP Address in the details

iOS shows your private IPv4 address (and IPv6 if available).

Method 2: Using Shortcuts app

  1. Open the Shortcuts app
  2. Create a new shortcut
  3. Add "Get Current IP Address" action
  4. Select "Local IP Address"
  5. Add "Show Result" action
  6. Run the shortcut

How to Find Your Private IP from a Router

Your router's admin page shows all connected devices and their private IPs:

  1. Open a browser and go to your router's IP (usually 192.168.1.1, 192.168.0.1, or 10.0.0.1)
  2. Log in with admin credentials
  3. Look for Connected Devices, DHCP Client List, or Device Map
  4. You'll see a list of all devices with their private IPs, MAC addresses, and hostnames

Common router admin addresses by brand:

BrandDefault IPDefault Login
TP-Link192.168.1.1 or 192.168.0.1admin / admin
Netgear192.168.1.1 or routerlogin.netadmin / password
ASUS192.168.1.1 or router.asus.comadmin / admin
Linksys192.168.1.1admin / admin
D-Link192.168.0.1admin / (blank)

Static vs Dynamic Private IPs

By default, your router assigns private IPs dynamically via DHCP. This means your device might get a different IP each time it reconnects. For some applications, you need a static private IP:

How to set a static private IP

  1. Find your current IP, subnet mask, gateway, and DNS (from ipconfig or ifconfig)
  2. Choose an IP outside the DHCP range (usually 192.168.1.200-250)
  3. On your device: Set the IP manually in network settings
  4. Or on your router: Reserve a specific IP for your device's MAC address

The router method (DHCP reservation) is recommended because your device doesn't need manual configuration.

Common Private IP Problems and Solutions

Why You Might Need Your Private IP

Knowing your private IP is essential for many everyday networking tasks:

For tasks involving the internet at large, you'll need your public IP instead.

FAQ

What's the difference between 192.168.0.x and 192.168.1.x?

They're different subnets. Your router defines which one your network uses. 192.168.0.x and 192.168.1.x are both valid private ranges — the choice depends on your router manufacturer's default settings. They can't communicate directly without a router bridging them.

Can two devices have the same private IP?

No — within the same network, each device must have a unique private IP. If two devices somehow get the same IP, you'll experience an IP conflict with connectivity problems on both devices. Restart them or assign different static IPs.

Is my private IP visible on the internet?

No. Your private IP is only visible within your local network. Websites and online services see your public IP address, which is shared by all devices on your network.

Why does my private IP keep changing?

Your router uses DHCP to assign IPs with a lease time (often 24 hours). When the lease expires, your device may receive a different IP. To prevent this, set a static IP or configure a DHCP reservation on your router. Read more in Does My IP Address Change?.

What is 169.254.x.x?

This is an APIPA (Automatic Private IP Addressing) address. Windows assigns this when it can't reach a DHCP server (your router). It means your device couldn't get a proper IP. Restart your router and device to fix it.

How do I access my router using my private IP?

Open a browser and type your gateway IP (usually 192.168.1.1 or 192.168.0.1). This is your router's private IP, not your device's. You can find it by running ipconfig (Windows) or netstat -nr | grep default (Mac) and looking for "Default Gateway."

Can someone hack me using my private IP?

Your private IP alone is not accessible from the internet. However, if an attacker is on your same local network (e.g., public WiFi), they could potentially target your private IP. Use a VPN on public networks and keep your firewall enabled.

Check your public IP at miip.link and compare it with your private IP to understand the difference.