Guide

How to change your IP address (5 ways that work)

Change your public or local IP address on Windows, Mac, iPhone and Android: restart the router, switch networks, use a VPN or set a new local IP.

Updated 22 November 2026 · 3 min read

There are two different IP addresses you might want to change, and they are changed in different places:

  • Your public IP address is the one websites see. Your internet provider assigns it to your router (or phone), so you change it at the provider's end — by reconnecting, switching networks or using a VPN.
  • Your local (private) IP address is the one your device has inside your home network, such as 192.168.1.23. Your router assigns it, and you can change it on the device or in the router.

Check your current public IP on our home page before and after, so you can see whether the change worked.

1. Restart your router (free, often works)

Most home connections have a dynamic public IP. When the router reconnects, the provider may hand it a different address.

  1. Unplug the router (and the modem, if it is a separate box).
  2. Wait at least 5 minutes — some providers keep your address reserved for a while, and a few keep it for hours.
  3. Plug it back in, wait until the internet light is steady, and check your IP again.

If you get the same address every time, your provider gives you a sticky or static IP. See static vs dynamic IP addresses.

2. Switch to a different network

The quickest way to get a different public IP is to use a different connection: turn off Wi-Fi on your phone to use mobile data, or connect to another Wi-Fi network. On mobile data, toggling airplane mode on and off for a few seconds usually gives you a new address too.

Keep in mind that many mobile networks use CGNAT, so the new address is shared with other customers.

3. Use a VPN

A VPN sends your traffic through a server elsewhere, so websites see the VPN server's IP instead of yours. This is the only option that lets you choose the country your new IP appears in. After connecting, run our VPN check to confirm that your real IP is not leaking through WebRTC or IPv6.

4. Ask your internet provider

If you need a new address for a specific reason — for example, your current one is on a blocklist — contact your provider. They can release your address and assign a new one, or sell you a static IP if you need one that never changes.

5. Change your local IP address

This does not change what websites see, but it helps with port forwarding, printers and address conflicts.

Windows 11: Settings → Network & internet → Wi-Fi (or Ethernet) → your network → IP assignment → Edit → Manual. Enter an unused address in your network's range, the subnet mask (usually 255.255.255.0) and your router's IP as the gateway.

Windows (quick renew): open Command Prompt and run ipconfig /release followed by ipconfig /renew to ask the router for an address again.

Mac: System Settings → Wi-Fi → Details… → TCP/IP → Configure IPv4 → Using DHCP with manual address, or click Renew DHCP Lease.

iPhone: Settings → Wi-Fi → tap ⓘ next to the network → Renew Lease, or Configure IP → Manual.

Android: Settings → Network & internet → Wi-Fi → tap the network → edit (pencil) → Advanced → IP settings: Static. Menu names vary between phone makers.

A cleaner option is a DHCP reservation in your router's settings: the router then always gives that device the same local address. You can open the router as described in how to find your router's IP address.

Will changing my IP make me anonymous?

Not on its own. Websites also recognise you by cookies, logins and browser fingerprints. Changing your IP helps with IP-based blocks and region checks; for privacy, combine a trustworthy VPN with a private browser window. Our guide on how to hide your IP address compares the options.

All tools

Look up

Privacy & VPN

Network tools

More