How to find your IP address on Android and iPhone
Both kinds of phone show the Wi-Fi address in the Wi-Fi settings. The exact menu names differ a little between phone makers.
Public or private?
Your phone has a private address on the Wi-Fi network it has joined, and the outside world sees the public address of that Wi-Fi's router. On mobile data the phone gets an address from the mobile network instead. The public one is on our home page; the steps below find the private one.
iPhone and iPad
- Open Settings.
- Tap Wi-Fi.
- Tap the blue (i) beside the network you are connected to.
- Under IPv4 Address, the line IP Address is your phone's private address. Router is the router's address, and Subnet Mask is shown between them.
On the same screen, Wi-Fi Address is the MAC address the phone uses on this network. If Private Wi-Fi Address is on, the phone shows each network a different made-up MAC address, to make tracking harder.
Android (Pixel and most phones close to plain Android)
- Open Settings.
- Tap Network & internet, then Internet.
- Tap the gear icon beside the Wi-Fi network you are connected to.
- Scroll down (tap Advanced if you see it). IP address, Gateway, Subnet mask and DNS are listed under network details.
Android (Samsung Galaxy)
- Open Settings, then Connections, then Wi-Fi.
- Tap the gear icon beside the connected network.
- Tap View more. The IP address is in the list.
Another place on most Android phones
Settings › About phone (then Status or Status information on some phones) lists the IP address and the Wi-Fi MAC address together. Menu names vary between makers such as Xiaomi, Vivo, Oppo, Realme and OnePlus; if you cannot find it, type "IP address" into the search box at the top of Settings.
On mobile data
Phones do not show the mobile data address in an easy place, and it would not help much: mobile networks usually give phones a private or shared address and put many customers behind one public address. To see the public address your mobile data is using, switch Wi-Fi off and open our home page. You will often see that it changes from day to day, and that the country or city shown for it is not exact. Our guide to carrier-grade NAT explains why.
What to do with the address once you have it
- Router address (also called gateway): type it into the browser's address bar to open the router's settings page. See logging in to your router.
- Phone's private address: needed when another device on the same Wi-Fi must reach the phone, for example for file sharing apps, screen mirroring or app development.
- Address starting 169.254.: the phone joined the Wi-Fi but got no address. Forget the network, restart the router and join again.
Why does my phone's IP address differ on Wi-Fi and on mobile data?
They are two different networks. On Wi-Fi the address comes from your router. On mobile data it comes from the mobile company. Websites see a different public address for each.
Can I change my phone's IP address?
The private one: yes, in the same Wi-Fi screen, by changing "IP settings" from DHCP to Static (Android) or "Configure IP" to Manual (iPhone). Only do this if you know a free address on your network. The public one: see our guide to changing your IP address.
Is it safe to tell someone my phone's private IP address?
Yes. A private address such as 192.168.1.5 means nothing outside your own Wi-Fi network.