How to Change Your IP Address
Get a new public or local IP, then check here that it really changed.
Reading your IP address… See it on the homepage.
To change (reset) your public IP address, turn your router off for a few minutes or connect to a VPN; to change your device's local IP, renew its DHCP lease or set a new one in network settings. The box above confirms whether your IP changed.
Which IP Do You Want to Change?
Your public IP is what websites see; your local IP is your device's address at home. They change in different ways.
All your devices at home share one public IP, given by your provider to your router. Each device also has
a local (private) IP like 192.168.1.23, given by the router. Not sure which is which? See
public vs private IP.
Change Your Public IP: Restart Your Router
Switch the router off for 5–10 minutes (sometimes overnight); with a dynamic IP, your ISP may give you a new one.
- Open this page once: the box above remembers your current IP.
- Unplug the router (and the modem, if it's a separate box).
- Wait at least 5–10 minutes. Some providers keep your address until the lease expires: leave it off longer, or overnight.
- Plug it back in, wait until you're online, and reload this page.
Still the same IP? Many providers hand the same address back to the same router ("sticky" DHCP), and some never change it (a static IP; check yours in the static vs dynamic guide). On some connections, especially mobile and some fibre, you share one public IP with other customers through carrier-grade NAT (CGNAT): a restart can't change it, because the address belongs to your provider's equipment.
To check for CGNAT, open your router's status page (how to open it) and
compare its WAN or Internet IP with the IP above. A WAN address from 100.64.0.0 to
100.127.255.255 means CGNAT (RFC 6598). Another private WAN address, like 192.168.x.x, means a second
router sits in front of yours (double NAT): restart that box, the one that holds the public IP, or put it in bridge mode.
With CGNAT, only a VPN or your provider can give you a different public IP (more in What Is CGNAT?).
A public WAN address that differs from the IP above can also just mean a VPN or proxy is on. On mobile data, turning airplane mode on and off often
gives you a new one.
Does a VPN Change Your IP Address?
Yes: websites see the VPN server's IP instead of yours, in the country you choose; your real IP doesn't change, it's hidden.
Connect the VPN and reload this page: the box should show a new IP, and usually "looks like a VPN or datacenter network". Also check that your real IP doesn't leak through WebRTC with the WebRTC leak test, or run every check at once with the VPN & Proxy Checker. A proxy, Tor or iCloud Private Relay changes the IP websites see in the same way; the hide your IP guide compares them, and what is a VPN explains how it works.
How to Change Your IP Address on iPhone
For a new public IP, switch Wi-Fi off to use mobile data or use a VPN; for a new local IP, Settings › Wi-Fi › (i) › Renew Lease.
- New local IP: Settings › Wi-Fi › tap ⓘ next to your network › Renew Lease.
- Set a local IP yourself: same screen › Configure IP › Manual, then enter the address, subnet mask and router.
- New public IP: turn Wi-Fi off to switch to mobile data (or back), toggle airplane mode on mobile data, or connect a VPN.
How to Change Your IP Address on Android
Forget and rejoin the Wi-Fi network, or set a static IP under the network's advanced settings (names vary by brand); mobile data gives a different public IP.
- New local IP: Settings › Network & internet (or Connections) › Wi-Fi › your network › Forget, then join it again.
- Set a local IP yourself: your network's settings › Advanced (or the pencil icon) › IP settings › Static.
- New public IP: switch between Wi-Fi and mobile data, toggle airplane mode on mobile data, or connect a VPN.
Do it yourself
How to Change Your IP Address on Windows 11 and Mac
Windows: ipconfig /release then ipconfig /renew; Mac: System Settings ›
Network › Details › TCP/IP › Renew DHCP Lease.
Windows New local IP
ipconfig /release
ipconfig /renew
Run them in Command Prompt or PowerShell. To set an address yourself: Settings › Network & internet › Wi-Fi or Ethernet › your connection › IP assignment › Edit › Manual.
macOS New local IP
System Settings › Network › Wi-Fi (or Ethernet) › Details › TCP/IP › Renew DHCP Lease. To set it yourself, change Configure IPv4 to Manually. In Terminal:
sudo ipconfig set en0 DHCP
en0 is the Wi-Fi interface on most Mac laptops; networksetup -listallhardwareports lists the name of each port.
Linux New local IP
nmcli connection down "Wi-Fi name" && nmcli connection up "Wi-Fi name"
These change only the local IP: websites, and the box above, keep seeing the same public IP. To pick a fixed local address, choose one in your router's range but outside its DHCP pool, or reserve it in the router.
Ask Your ISP for a New IP
If your public IP is blocked or blacklisted, your ISP can assign a new one; mention the reason.
Check first with the IP blacklist checker: a listed IP is a good reason to ask, and support will often swap it. You can also ask for a static IP (usually paid) or to be taken off CGNAT if you need port forwarding.
| Method | Changes | Works when |
|---|---|---|
| Router restart | Public IP | Your provider uses dynamic IPs, no CGNAT |
| Mobile data / airplane mode | Public IP | On a phone or hotspot |
| VPN or proxy | The IP websites see (any country) | Always; your real IP stays the same |
| Ask your ISP | Public IP | Blacklisted IP, static IP, CGNAT |
| Renew DHCP / static IP | Local IP only | IP conflicts, port forwarding, printers |