What changing your IP address actually does

Your computer's IP address is the number that identifies it on your network — either your home Wi-Fi or a wired connection. Changing it means assigning a different number to that same device. Most of the time you do not need to do this: your router hands out a new temporary address automatically every time you reconnect. But if you need a specific address for network troubleshooting, to fix a connection conflict, or to set up a server on your home network, you can change it manually in your system settings.

There are two ways to change an IP address. The easier method is to ask your router to assign you a different one by releasing and renewing your current address — this takes two minutes and works on any network. The harder method is to manually type in a new address yourself, which requires knowing your network's setup and risks breaking your internet if you choose wrong. Start with the first method unless you have a specific reason to do the second.

Key Takeaways

  • The fastest way to get a new IP address is to release your current one and ask your router for a fresh one, which takes about two minutes on either Windows or Mac.
  • Manually setting a static IP address requires knowing your router's gateway address and available IP range, and mistakes can disconnect you from the internet.
  • On Windows, you change your IP in Settings under Network or in the Command Prompt using ipconfig commands.
  • On Mac, you change your IP in System Settings under Network, selecting your connection and clicking Advanced.
  • If you are trying to fix a connection problem, restart your router first — that solves most IP-related issues without any manual changes.

Getting a new IP address the easy way (Windows)

The simplest method on Windows is to release your current IP address and request a new one from your router. Open the Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. Right-click Command Prompt and select "Run as administrator" if it asks.

Type this command and press Enter: ipconfig /release. Wait a few seconds, then type: ipconfig /renew. Your computer will ask your router for a fresh IP address. You can verify the change by typing ipconfig and looking at the "IPv4 Address" line — it should be different from before. Close the Command Prompt when you are done.

This method works on any network and does not risk breaking your connection because your router controls the process. If you are on a corporate or school network, this method may not work because the network administrator has locked down IP assignment — in that case, contact your IT department.

Getting a new IP address the easy way (Mac)

On Mac, the simplest method is to disconnect from your network and reconnect, which asks your router for a fresh address. Click the Wi-Fi icon in the top-right corner of your screen and select "Turn Wi-Fi Off". Wait 10 seconds, then click the Wi-Fi icon again and select your network name to reconnect.

If you are using a wired Ethernet connection instead, open System Settings, click Network on the left, select Ethernet, and click the gear icon at the bottom. Choose "Renew DHCP Lease" and wait a few seconds. Your router will assign you a new IP address. You can verify the change by going back to Network settings and checking the IP address shown — it should be different from before.

Manually setting a static IP address on Windows

If you need a specific IP address that does not change — for example, to run a home server or to fix a network conflict — you can set one manually. This is more complicated and mistakes can disconnect you, so only do this if you know what you are doing or have instructions from someone who does.

First, find your router's gateway address and the range of IP addresses your network uses. Open Command Prompt as administrator and type ipconfig. Look for "Default Gateway" — that is your router's address, usually something like 192.168.1.1. The IP addresses on your network usually start with the same first three numbers, like 192.168.1.X, where X can be any number from 2 to 254.

Now open Settings, click Network, and select "Advanced network settings". Scroll down and click "More network options", then right-click your connection and select Properties. Click "Internet Protocol Version 4 (TCP/IPv4)" and select Properties. Select "Use the following IP address" and type in a new address using the same first three numbers as your gateway — for example, 192.168.1.100. Set the Subnet Mask to 255.255.255.0 unless your network uses something different. Set the Default Gateway to your router's address. Click OK and restart your computer.

If you lose internet after doing this, go back to the same settings and select "Obtain an IP address automatically" to return to the easy method.

Manually setting a static IP address on Mac

On Mac, open System Settings and click Network on the left. Select your connection (Wi-Fi or Ethernet) and click Advanced. Click the TCP/IP tab. Change the "Configure IPv4" dropdown from "Automatic (DHCP)" to "Manual".

You will now see three fields: IPv4 Address, Subnet Mask, and Router. Type your new IP address in the IPv4 Address field — use the same first three numbers as your router's address, like 192.168.1.100. Set the Subnet Mask to 255.255.255.0. Set the Router to your gateway address, which you can find by opening Terminal, typing netstat -nr | grep default, and looking at the address in the second column.

Click OK and then Apply. Your new static IP address is now active. If you lose internet, go back to the same settings and change "Configure IPv4" back to "Automatic (DHCP)" to restore the easy method.

When you should not change your IP address

Most connection problems are not caused by your IP address and changing it will not fix them. If your internet is slow, dropping out, or not connecting at all, restart your router first by unplugging it for 30 seconds and plugging it back in. That solves the majority of network issues without any manual changes.

If you are trying to hide your IP address for privacy reasons, changing your local IP address (the one on your home network) does not help — that only changes how your router sees you. To hide your public IP address (the one the internet sees), you would need a VPN, which is a different tool entirely. If you are trying to access a website that is blocked in your location, changing your local IP address will not work either.

If you are on a corporate, school, or public network, you usually cannot change your IP address at all because the network administrator has locked it down. Trying to force a change can get you in trouble. Contact your IT department if you need a different address.

Troubleshooting if your new IP address is not working

If you set a static IP address manually and now your internet is not working, the most common mistake is typing an address that conflicts with another device on your network or falls outside your network's range. Go back to the settings and change it back to "Automatic" or "Obtain an IP address automatically" to restore your connection immediately.

If you used the easy method (release and renew) and it did not work, restart your router by unplugging it for 30 seconds. Some routers take a moment to recognize that an address has been released and assign a new one. If you are still not getting a new address after restarting, your router may be set to assign the same address to the same device every time — this is normal and not a problem.

If you are on a network where you cannot change your IP address at all, you are likely on a locked-down corporate or school network. Contact your IT department — they may be able to assign you a different address if you have a legitimate reason.

Frequently Asked Questions

Will changing my IP address make my internet faster?

No. Your IP address is just an identifier — it does not affect speed. If your internet is slow, the problem is usually your router, your internet service provider, or interference from other devices. Restart your router first, then contact your provider if the problem continues.

Can I change my IP address to any number I want?

No. If you set a static IP manually, it must be within your network's range and not already in use by another device. Most home networks use addresses like 192.168.1.X or 192.168.0.X, where X is a number from 2 to 254. Using an address outside this range or one already assigned to another device will break your connection.

Do I need to restart my computer after changing my IP address?

If you used the release and renew method, no restart is needed. If you manually set a static IP address on Windows, restart your computer for the change to take effect. On Mac, the change takes effect immediately without a restart.

What is the difference between my local IP and my public IP?

Your local IP is the address your router assigns you on your home network — it starts with 192.168 or 10.0. Your public IP is the address your internet service provider assigns to your router, which the rest of the internet sees. Changing your local IP does not change your public IP. To change your public IP, restart your modem or contact your provider.

Will changing my IP address affect my Wi-Fi password or other devices on my network?

No. Your IP address is separate from your Wi-Fi password and network name. Changing one device's IP address does not affect any other device or your Wi-Fi settings. Other devices will continue to work normally.