How to change your IP address
To change your IP address, first know which one you mean. Your private IP is set on your device or by your router. Your public IP is the one websites see, and it comes from the company that sells you internet access or your mobile carrier.
This guide covers how to change IP address settings on each device and how to get a new public IP. For an IP in another country, see mobile proxies and mobile proxy pricing.
AtlasProxies Team · Updated · 5 min read
- 1Two Kinds of IPYour private IP lives on your own network, and your public IP comes from your internet company or carrier.
- 2Restarts Do Not Always WorkRestarting the router gives you a new public IP only if your address is dynamic.
- 3Phones Have a Quick OptionTurning airplane mode on and off reconnects to the carrier, which usually assigns a new address.
- 4Location Needs a Connection ThereTo show an IP in another country, your traffic has to go out through a connection in that country.
On This Page
Private IP vs public IP
- Private IP
- Set by
- Your router, or you on the device
- Seen by
- Devices on your own network
- Example
- 192.168.1.20
- Changes when
- You set a new one, or the router hands one out
- Public IP
- Set by
- Your internet company or mobile carrier
- Seen by
- Every website and app you connect to
- Example
- Any address outside the private ranges
- Changes when
- The internet company or carrier assigns a new one
Changing your private IP does not change what websites see. For that, you need a new public IP, or you need to send your traffic out through another connection.
Ways to change your public IP
| Method | What happens | Good to know |
|---|---|---|
| Restart your router | The router asks for an address again | Works only with a dynamic address. You may still get the same one back. |
| Switch between Wi-Fi and mobile data | Your traffic goes out through a different network | Each network has its own public IP. |
| Turn airplane mode on and off | The phone reconnects to the carrier | The carrier usually assigns a new address. |
| Ask your internet company | They can renew or change your address | They can also tell you if your address is dynamic or static. |
| Use a VPN | The device's traffic goes through a VPN server | Websites see the server's IP. |
| Use a proxy | One app or tool sends its traffic through the proxy | Websites see the proxy's IP. Other apps keep your own. |
The first four give you a new address from the same internet company or carrier, in the same area. A VPN or a proxy sends your traffic out through another connection, so the IP websites see can be in another city or country.
Change your IP address on each device
Menus differ between versions and phone makers, so the places below are described in general words.
How to change your IP address on iPhone
For a new public IP on mobile data, turn airplane mode on, wait a few seconds, then turn it off. You can also switch from Wi-Fi to mobile data, or the other way round.
To change the private IP on Wi-Fi, open the settings of the Wi-Fi network you are on. There you can set the IP by hand or renew the lease from the router. The proxy setting for that network is in the same place.
How to change your IP address on Android
Airplane mode works the same way on Android. Turn it on, wait a few seconds, then turn it off to reconnect to the carrier. Switching between Wi-Fi and mobile data also gives you another public IP.
For Wi-Fi, open the settings of the network you are on and look for its advanced options. That is where you set a fixed private IP or a manual proxy.
How to change your IP address on Windows
A new public IP comes from restarting the router or joining another network. In Command Prompt, ipconfig /release and then ipconfig /renew ask the router for a new private IP. That does not change the public one.
The proxy setting is in the network part of Windows Settings. You can also set a fixed private IP in the settings of the network adapter you use.
How to change your IP address on a Mac
The same rule applies on a Mac: a new public IP comes from the router or another network. In the network settings, the details of your Wi-Fi or Ethernet connection let you renew the private address, set it by hand and add a proxy.
How to change IP address location
The country an IP shows comes from where the connection is. Location databases match each public IP to the network and place it belongs to. A router restart or airplane mode gives you a new IP in the same area, not a new country.
To change your IP address location, you need a connection in that place. A VPN server or a proxy in the country you want gives you one. The website then sees an IP from that country.
Change your IP with a mobile proxy
- Your Browser or AppSet to use the proxy line.
- The ProxyOne line: host, port, login and password.
- A Carrier Where You ChoseA 4G/5G connection in the country and city you picked.
- The WebsiteSees a carrier IP in that place.
A mobile proxy sends one tool's traffic out through a 4G/5G carrier connection. On AtlasProxies you choose the country, city and carrier in Buy Proxy, or leave it on Any City and Any Carrier.
Pro covers 10 countries: the United States, United Kingdom, Germany, France, Spain, Italy, Japan, Australia, Canada and New Zealand. Eco is United States only.
The proxy gets a new IP on a timer you set, from every 5 to every 120 minutes, and the host, port, login and password stay the same. Switch Proxy moves it to another city, carrier or country from the dashboard, free, any time. Every rental length is on pricing.
Good to Know. Destination websites may still restrict or block access. Use must follow the platform's rules and our Acceptable Use Policy.
Frequently Asked Questions
Does restarting my router change my IP address?
Only if your internet company gives you a dynamic address, and even then you may get the same one back. With a static address, the public IP stays the same.
How do I change my IP address on iPhone?
Switch between Wi-Fi and mobile data, or turn airplane mode on and off to reconnect to the carrier, which usually assigns a new address.
How do I change my IP address on Android?
The same way as on an iPhone: switch networks or turn airplane mode on and off. For a proxy on Wi-Fi, look in the advanced options of the network's settings.
Can I change my IP address to another country?
Yes, by sending your traffic through a connection in that country, such as a VPN server or a proxy there. A router restart only gives you a new IP in the same area.
Does a VPN change my IP address?
It changes the public IP that websites see to the VPN server's IP, for the traffic the VPN carries. Your private IP stays the same.