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.

Diagram: the private IP 192.168.1.23 of a device changes with DHCP release and renew or a static setting; the public IP 203.0.113.45 of the router changes with a router restart, an ISP request or mobile data
Two different addresses, changed in two different ways. (Example addresses.)

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.

  1. Open this page once: the box above remembers your current IP.
  2. Unplug the router (and the modem, if it's a separate box).
  3. Wait at least 5–10 minutes. Some providers keep your address until the lease expires: leave it off longer, or overnight.
  4. 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.

Diagram of carrier-grade NAT: the home router gets a 100.64.0.0/10 address and the ISP translates it again to a public IP shared by many customers
With CGNAT, your router doesn't hold the public IP: your provider does.

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.

Without a VPN, websites see your provider's IP; with a VPN, they see the VPN server's IP

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.

MethodChangesWorks when
Router restartPublic IPYour provider uses dynamic IPs, no CGNAT
Mobile data / airplane modePublic IPOn a phone or hotspot
VPN or proxyThe IP websites see (any country)Always; your real IP stays the same
Ask your ISPPublic IPBlacklisted IP, static IP, CGNAT
Renew DHCP / static IPLocal IP onlyIP conflicts, port forwarding, printers

Frequently Asked Questions

How do I change my IP address?
For a new public IP, turn your router off for a while (if your provider uses dynamic IPs) or use a VPN. For a new local IP, renew your device's DHCP lease or set a different address in its network settings.
Does a VPN change your IP address?
Websites see the VPN server's IP instead of yours, in the country you pick. Your real IP stays the same; it's hidden behind the VPN.
Does your IP address change on its own?
It can. Most home connections get a dynamic IP that your provider lends for a limited time, so it can change when the lease ends or after the router has been off for a while, though many providers keep the same one for days or longer. Your public IP also usually changes when you join another network, like a friend's Wi-Fi or mobile data, because that network reaches the internet through its own public address.
Why didn't my IP change after restarting the router?
Your provider gave you the same address back (many keep it for days, "sticky" DHCP), or you're behind carrier NAT and share an IP with other customers. Leave the router off longer, ask your provider, or use a VPN.
How do I change my IP address on my phone?
Switch between Wi-Fi and mobile data for a different public IP, or use a VPN. Renewing the Wi-Fi lease changes only the phone's local IP.
What does "your IP has been banned" mean?
The website or game has blocked your IP address, for example after too many requests, a broken rule, or abuse by someone else on the same shared IP (a VPN, public Wi-Fi or a mobile network). Most bans are kept by the site itself, so an IP blacklist check may not show them. Wait for the ban to end or contact the site; if it was caused by a shared IP, a new IP can help. If your account is banned, a new IP won't help, and getting around a ban usually breaks the site's terms.
Is changing my IP address legal?
Yes. In most countries, changing or hiding your IP is legal; using it to dodge a ban, break a site's terms or commit fraud is not. Some countries restrict VPNs.
Can I choose a specific IP address?
On your local network, yes: set a static IP. A public IP you can't pick, but you can get a static one from your provider, or choose the country with a VPN.