← Back to Blog
ip-addressprivacynetworking

How to Change Your IP Address and What Each Method Does

Published Last checked 8 min readOutline Technologies
A glowing address tag replacing a fading old one on a thin wire

The short answer

You have two IP addresses. The public one, which websites see, changes when you switch networks, restart a router whose provider hands out new addresses, use a VPN, or ask your provider. The local one changes with a DHCP renew. A private Wi-Fi address changes neither: Apple rotates it every 2 weeks, and it is a MAC address.

2

addresses you have: the public one websites see and the local one on your network

6

ways to change the public one, from a router restart to asking your provider

98.9%

of published VPN server addresses a free database flagged in our test

"Change your IP address" sounds like one thing. It is really two different jobs, and the advice online mixes them up. Restarting a computer's network card does nothing to what websites see. Turning on a privacy setting on your phone changes a third kind of address altogether. Here is what each method really touches.

Which IP address do you want to change?

AddressWho sees itWhere it comes fromExample
Public IPEvery website and app you useYour internet provider gives it to your router (or to your phone on mobile data)Shown on our home page
Local IPOnly devices on the same home or office networkYour router hands it out, usually by DHCP192.168.1.20
MAC addressOnly the Wi-Fi network you joinBuilt into the device, or a private one the device makes upNot an IP at all

If a site has blocked you, shows the wrong region or you want privacy from the sites you visit, you want a new public address. If two devices clash on your home network, you want a new local address.

What each method actually changes

MethodPublic IPLocal IPLocation websites seeEffortCost
Restart or unplug the routerSometimes, depends on providerSometimesUsually same areaLowFree
Switch networks (Wi-Fi to mobile data, or another Wi-Fi)YesYesThe new network's areaLowFree
Turn airplane mode on and off (mobile data)Sometimes, depends on carrierNot applicableUsually same areaLowFree
Use a VPNYes, to the VPN server'sNoThe server's countryLowUsually paid
Ask your provider for a new or static addressYesNoSame areaMediumFree to paid
Renew the DHCP lease (ipconfig, Renew Lease)NoSometimesNo changeLowFree
Turn on a private Wi-Fi addressNoSometimes, as a side effectNo changeLowFree

The last two rows are the ones that confuse people. They are useful, but neither changes the address a website sees.

How do I change my public IP address?

1. Restart your router

Turn the router off, wait, and turn it on again. When it reconnects, your provider may give it a new public address. Some providers keep the same address for the same router for a long time, so this works for some people and never for others. Check on our home page before and after to see which kind of provider you have.

2. Switch networks

This always works because you are using a different provider's address. On a phone, turn Wi-Fi off to use mobile data. On a laptop, join a different Wi-Fi network or share your phone's connection.

3. Turn airplane mode on and off

On mobile data, reconnecting to the carrier can give you a different public address. Mobile carriers can also share one public address between many customers at once, so a new address can still be one you share.

4. Use a VPN

A VPN sends your traffic out through its server, so sites see the server's address. It is the simplest way to appear in another country. The catch: sites can usually tell. In our VPN detection test, a free database flagged 98.9% of 833 server addresses published by Mullvad, IVPN and Private Internet Access, against 1.8% of home connections. Run our VPN leak test after connecting to make sure your real address is not showing through.

5. Ask your internet provider

Your provider can assign a new address, and some sell a fixed (static) one, sometimes only on business plans. Ask for a new address if yours is on a blocklist, which you can check with our blacklist check.

6. Use Tor for occasional privacy

The Tor Browser routes traffic through volunteer relays, so sites see a Tor exit address. It is free, and many sites block it: in our blocklist study, 98.7% of Tor exit nodes were on at least one of 15 blocklists.

How do I change my local IP address?

Renewing your DHCP lease asks your router for an address again. It may give you the same one.

Windows. Open Command Prompt and run ipconfig /release, then ipconfig /renew. Microsoft's ipconfig reference describes /release as sending "a DHCPRELEASE message to the DHCP server to release the current DHCP configuration" and /renew as renewing the DHCP configuration for your adapters.

macOS. Open System Settings, choose Network, select your connection, click Details, open TCP/IP and choose Renew DHCP Lease.

iPhone and iPad. Open Settings, tap Wi-Fi, tap the info button next to your network and tap Renew Lease.

Android. Forget the Wi-Fi network and join it again. Menu names vary by phone brand.

Linux. With NetworkManager, run nmcli connection down "<name>" and then nmcli connection up "<name>".

To give one device the same local address every time, set a DHCP reservation in your router's admin page instead of changing the device.

What does a private Wi-Fi address change?

Phones now hide their real hardware address from Wi-Fi networks. Apple's Private Wi-Fi Address page says devices identify themselves "to each network using a different Wi-Fi address", which it defines as a MAC address, and that the Rotating setting "rotates to a different private address every 2 weeks". Android does the same: its documentation says MAC randomization uses "a randomized MAC address when connecting to a Wi-Fi network".

Because your router sees a new device, it may hand out a new local IP. Your public IP stays the same, because it belongs to the router, not the phone.

Does a new IP address hide who you are?

Less than people hope. A website that knows you keeps knowing you after your address changes, because the address was never the only thing it used.

What the site can still useDoes a new IP change it?
Being signed in to an accountNo
Cookies and saved site dataNo, until you clear them
Your browser and device details (screen, fonts, settings)No. Our HTTP headers guide shows what a browser sends every time
Your rough areaOnly if the new address is elsewhere
Your internet provider's nameOnly if you change networks or use a VPN
A block placed on your old addressYes, if the block was on the address alone

So a new address helps with blocks tied to the address, a blocklisted line, or a location problem. It does not make you a new person to a site you are signed in to. To see what a site sees about your current connection, run our IP lookup on your own address.

What to do when your IP will not change

  1. Check what you are measuring. Use our home page for the public address. A local address in a command window is a different thing.
  2. Leave the router off longer. Some providers only give out a new address after the old lease runs out.
  3. Check for carrier grade NAT. If your router's internet address starts with 100.64 to 100.127, your provider shares one public address between many customers, and a router restart will not change the public one. Our CIDR cheat sheet lists that range.
  4. Try another network to confirm. If mobile data shows a different address, your home provider simply keeps addresses stable.
  5. Ask your provider directly. They can release the address on their side.

If the reason you wanted a new address is a wrong location rather than a block, a new address from the same provider often lands in the same place. Our test of why IP locations are wrong explains why.

Which method should you use?

For a quick new public address, switch networks or restart your router. To appear somewhere else, use a VPN and accept that sites can tell. To clear a home network clash, renew your DHCP lease. And remember that a private Wi-Fi address protects your device's identity on public Wi-Fi without touching any IP address at all.

Frequently asked questions

How do I change my IP address?

To change the address websites see, switch to another network (Wi-Fi to mobile data), restart your router if your provider gives out a new address on reconnect, turn on a VPN, or ask your provider for a new one. To change only your address inside your home network, renew your DHCP lease.

Does restarting my router change my IP address?

Sometimes. It depends on your provider. Some hand out a new public address whenever the router reconnects, and others keep the same one for the same router for a long time. Check your address on our home page before and after to find out which kind you have.

Does ipconfig /release and /renew change my public IP?

No. Microsoft describes these commands as releasing and renewing the DHCP configuration of your adapters. That is the local address your router gives your computer. The public address belongs to your router's connection to your provider.

Does turning on Private Wi-Fi Address change my IP?

Not your public IP. Apple's page says the feature gives your device a different Wi-Fi address, a MAC address, on each network, and can rotate it every 2 weeks. Your router may then give you a new local IP, but websites still see your router's public address.

Is it legal to change my IP address?

Changing your own address by switching networks, restarting your router or using a VPN is ordinary and allowed in most places. What matters is what you do with it: using a new address to get around a ban or a service's rules can break that service's terms.

Will changing my IP address change my location?

Only if the new address is in a different place. A new address from the same provider usually shows the same area. A VPN server in another country shows that country, but sites can also see it is a VPN.

How do I get a static IP address?

Ask your provider. Some sell a fixed public address, sometimes only on business plans. A static local address is different: you set it in your router as a DHCP reservation so one device always gets the same local IP.

Cite this article

“Most devices have two IP addresses: a public address that websites see and a local address inside the home network. DHCP release and renew changes only the local one; switching networks, a provider reassignment or a VPN changes the public one. A private Wi-Fi address changes the MAC address, not either IP.”

Outline Technologies, “How to Change Your IP Address and What Each Method Does”, whatismyip.technology, November 22, 2026. https://whatismyip.technology/blog/how-to-change-ip-address

Free Tools

Test your network now

Everything discussed in this post can be tested for free. No account required.

Published by Outline Technologies · whatismyip.technology