How to change your IP address depends on your device and whether you want a temporary or permanent change

Your IP address is a number assigned to your device that identifies it on a network. You can change it in several ways: restart your modem and router (the fastest method for most people), manually set a static IP address on your device, use a VPN, or contact your internet service provider to request a new one. The method you choose depends on whether you need the change to stick permanently, affect just one device, or apply to your whole home network.

The simplest approach works for most situations: unplug your modem for 30 seconds, plug it back in, wait for the lights to stabilize, then restart your router. This forces your ISP to assign your modem a new IP address. If you need more control — like keeping the same IP address across restarts — you will need to set a static IP on your device instead.

Key Takeaways

  • Restarting your modem and router is the fastest way to get a new IP address and works for most people who need a temporary change.
  • A static IP address, set in your device's network settings, stays the same across restarts and is useful if you run a server or need consistent access to your device remotely.
  • A VPN masks your IP address from websites and services but does not change the address your ISP assigns to your modem.
  • Contacting your ISP to request a new IP address is an option, though most will assign one automatically if you restart your modem.

Restart your modem and router for a quick temporary change

The easiest way to change your IP address is to power cycle your modem and router. Unplug the modem (the device connected to your wall outlet or cable line) and wait 30 seconds. Plug it back in and wait for all lights to stop blinking and stabilize — usually 2 to 3 minutes. Then unplug your router, wait 30 seconds, and plug it back in. Wait another 2 to 3 minutes for it to fully restart.

When your modem restarts, it contacts your ISP and requests a new IP address. Most of the time, you will receive a different one. This change is temporary: if you restart again in a few weeks or months, you may get the same address back, or a different one. Your ISP controls which addresses are available and how they are distributed.

This method works for the vast majority of home internet users. It takes about 10 minutes total and requires no technical knowledge. If you need a permanent change that survives restarts, move to the static IP method instead.

Set a static IP address on Windows

A static IP address is one you manually assign to your device instead of letting your router assign it automatically. This address stays the same every time your device connects to the network, even after restarts. You would use this if you run a home server, need to access your computer remotely, or want a device to always appear at the same address on your network.

On Windows 10 or 11, open Settings and go to Network & Internet > WiFi (or Ethernet if you use a cable). Click on your network name, then scroll down and click "Edit" next to IP assignment. Change the setting from Automatic (DHCP) to Manual, then toggle on IPv4. Enter an IP address in the range your router uses — usually something like 192.168.1.100 to 192.168.1.200, depending on your router. Check your router's manual or login page to confirm the correct range for your network.

You will also need to enter a Subnet mask (usually 255.255.255.0), a Default gateway (usually your router's IP address, often 192.168.1.1), and a Preferred DNS server (you can use 8.8.8.8 for Google's DNS or 1.1.1.1 for Cloudflare's). After you enter these details and click Save, your device will use that static address on your home network.

Set a static IP address on Mac

On macOS, open System Settings and go to Network. Select your WiFi or Ethernet connection and click Details. Go to the TCP/IP tab and change Configure IPv4 from Automatic (DHCP) to Manual. Enter an IP address in your router's range — typically 192.168.1.100 to 192.168.1.200. Enter the Subnet mask (usually 255.255.255.0) and Router address (usually 192.168.1.1).

If you want to specify DNS servers, go to the DNS tab and click the plus button to add them. Google's DNS is 8.8.8.8 and 8.8.4.4; Cloudflare's is 1.1.1.1 and 1.0.0.1. Click OK and then Apply to save your changes. Your Mac will now use the static address you set.

Change your IP address on iPhone and Android

On iPhone, go to Settings > WiFi, tap the info icon next to your network, and scroll to IPv4 Address. Tap Configure IP and change from Automatic to Manual. Enter a static IP address in your router's range (usually 192.168.1.100 to 192.168.1.200), the Subnet mask (255.255.255.0), and the Router address (usually 192.168.1.1). Tap Save when done.

On Android, the process varies by manufacturer, but generally: go to Settings > Network & Internet > WiFi, long-press your network, tap Edit, and look for Advanced or IP Settings. Change from DHCP to Static, then enter the same information as above. Some Android phones call this "Static IP" or "Manual IP" depending on the version and manufacturer.

Note that static IP addresses on mobile devices only apply when connected to that specific WiFi network. When you connect to a different network or use mobile data, your device will receive a different address from that network.

Use a VPN to mask your IP address from websites

A VPN (Virtual Private Network) is a service that routes your internet traffic through a server in another location, so websites see the VPN server's IP address instead of yours. This is different from changing your actual IP address — your ISP still knows your real address, and your modem still has the same one. A VPN only hides your address from the websites and services you visit.

Popular VPN services include ExpressVPN, NordVPN, Surfshark, and ProtonVPN. Most charge a monthly fee (typically $5 to $15 per month) and work on Windows, Mac, iPhone, and Android. You download the app, log in, and click a button to connect. Once connected, your traffic appears to come from the VPN's server location instead of your home.

A VPN is useful if you want privacy from websites or need to appear to be in a different country, but it does not change the IP address your ISP assigns to your modem. If you need to change that address, restart your modem instead.

Contact your ISP if you need a permanent new address

If restarting your modem does not give you a new IP address, or if you need a specific address for business reasons, you can contact your ISP directly. Most ISPs will release your current address and assign a new one if you ask, though some may charge a fee for a static IP address (typically $5 to $10 per month). A few ISPs offer static IPs at no extra cost; others require a business plan to get one.

Call your ISP's customer service number or log into your account online to request a new IP address. Have your account number ready. The process usually takes a few minutes to a few hours. Ask whether they offer static IP addresses and what the cost is, since this may be cheaper than restarting your modem repeatedly if you need a permanent change.

Frequently Asked Questions

Will changing my IP address hide me from my ISP?

No. Your ISP always knows your real IP address because they assign it to your modem. Restarting your modem gives you a different address, but your ISP still tracks it. A VPN hides your address from websites, but not from your ISP. If you want privacy from your ISP, a VPN does not help — you would need a different internet provider.

Can I change my IP address to a different country?

You cannot change your actual IP address to a different country — your ISP assigns addresses based on your location. A VPN can make websites think you are in a different country by routing your traffic through a server there, but your real IP address remains the same. Some websites and services block VPN traffic, so this does not always work.

What happens if I set a static IP address that conflicts with another device?

If two devices on your network have the same IP address, both will experience connection problems — usually one will lose internet access entirely. To avoid this, choose an address outside your router's DHCP range (the range it automatically assigns). Most routers use 192.168.1.1 to 192.168.1.100 for automatic assignment, so pick something like 192.168.1.150 or higher.

Do I need to change my IP address for security reasons?

Changing your IP address alone does not improve security. If someone has your password, a new IP address will not stop them. Focus on strong passwords, two-factor authentication, and keeping your software updated instead. A VPN adds privacy from websites, but it is not a substitute for good security practices.

Will changing my IP address affect my internet speed?

Restarting your modem will not change your speed — your ISP controls that based on your plan. A VPN typically slows your connection slightly because your traffic travels through an extra server. The slowdown is usually small (5 to 20 percent) but noticeable on slower connections.