How to change your IP address
Updated December 3, 2026
You have two IP addresses. The public one is what websites see, and it belongs to your router or your phone network. The local one is what your router gives your device inside your home. Most people who want to change their IP mean the public one, so that is where we start.
Change your public IP address
1. Switch networks
The quickest way. Turn off Wi-Fi on your phone and use mobile data, or the other way round. A phone network and a home connection always have different public addresses. It changes your location as websites see it only as far as the other network goes, usually the same city.
2. Restart your router
Unplug the router for a few minutes and plug it back in. Many home internet providers hand out a new public address when the router reconnects, but many keep the same one for weeks, so it may not work. If it does not, your provider can tell you whether your address is fixed.
3. Turn on iCloud Private Relay (iPhone, iPad, Mac)
With an iCloud+ subscription, Private Relay sends Safari traffic through two relays, so sites see a temporary address instead of yours. You can keep a location close to yours or pick a broader one with the same country and time zone. It covers Safari, not every app, and it is not available in every country. Turn it on in Settings, then your name, then iCloud, then Private Relay.
4. Use a VPN
A VPN sends all of your device's traffic through its server, so every app and website sees the server's address, in the country you choose. It is the only option here that lets you pick a country. Proton VPN has a free plan; paid services include NordVPN , Surfshark and Mullvad . The NordVPN link is an affiliate link: if you buy, we may earn a commission. It does not change what we write.
5. Ask your provider
If you need a new address because of a ban or an attack on your connection, your internet provider can usually assign one. Some sell a fixed address; others can move you to a new one.
Change your local IP address
Your router chooses local addresses. To get a new one, reconnect to Wi-Fi or renew the lease:
- Windows: open Command Prompt and run
ipconfig /release, thenipconfig /renew. - Mac: System Settings, Network, your connection, Details, TCP/IP, then Renew DHCP Lease.
- iPhone and Android: forget the Wi-Fi network and join it again.
A new local address does not change what websites see. See what is my local IP for the difference.
Check that it worked
Open myiplens.com before and after, then press Check again. The panel shows whether the address and location changed, and whether WebRTC still reveals your real address.
Sources
- About iCloud Private Relay, Apple Support, checked Dec 3, 2026
- Manage iCloud Private Relay for specific websites, networks, or system settings, Apple Support, checked Dec 3, 2026
- Use DHCP or a manual IP address on Mac, Apple Support, checked Dec 3, 2026
- Find your IP address in Windows, Microsoft Support, checked Dec 3, 2026