What is my private IP?

Most internet-connected computers have a private IP address and a public IP address. The public IP address is what is seen by the world, such as web servers. The private IP address is used within your own network to allow private communication between local devices.

Web pages can't see your private IP address: browsers hide it, so that sites can't use it to track you. Your device shows it in its network settings. Private addresses usually start with 192.168., 10. or 172.16. to 172.31. (and IPv6 ones with fe80:).

Windows

Open Settings, choose Network & internet, then Wi-Fi or Ethernet, and select your connection. The address is listed as IPv4 address. Or open Command Prompt and type ipconfig.

macOS

Open System Settings, choose Wi-Fi (or Network), then click Details next to your network. The address is under TCP/IP. Or open Terminal and type ipconfig getifaddr en0.

iPhone and iPad

Open Settings, tap Wi-Fi, then tap the i next to the network you're connected to. The address is listed as IP Address.

Android

Open Settings, go to Network & internet (or Connections), then Wi-Fi, and tap the network you're connected to. The address is under IP address, sometimes behind Advanced. The exact names vary by phone maker.

Linux

Open a terminal and type hostname -I or ip address.

Your public IP address, the one websites see, is on our What is my IP? page.