Skip to main content

How to change your IP address on Mac and Windows

Switch your IP address to one you want with just a few quick steps

Your IP address is kind of like your computer’s networkable name-tag. It’s the numeric identifier your internet connection uses to catalogue your desktop or laptop, on top of all your mobile devices and other web-connected gear. By default, your Windows or MacOS machine will assign an IP address to your peripheral, but you also have the ability to change that identifier, along with some other networking info.

Difficulty

Easy

Duration

5 minutes

What You Need

  • A Windows or MacOS computer

Doing so isn’t too complicated either. And to help you along the way, we’ve put together this guide for changing your IP address in Windows and MacOS. We also have a section toward the end on how changing your public IP address.

Changing your private IP address in Windows 11

Your private IP address is the one that your local network — be it your home or office — uses to identify your system. It’s probably some variation on 192.168.0.XXX, with the latter few numbers being the main differentiator between your PC and your phone or other device connected to the network. You can find out your current IP address by searching for CMD in the Windows 11 search bar and selecting the corresponding result. Then type IPConfig and hit Enter in the Command Prompt window. The numbers next to IPv4 Address are your IP address. It’s a good idea to note this down, along with your Subnet Mask and Default Gateway, as those will be important if you want to change your IP address manually.

For more tips on finding out your IP address, we have a guide just for that.

If you don’t care about what your IP address is — just not that one — then you can reset your router. It should reassign IP addresses to all connected devices once it comes back online. If it doesn’t, or you want a specific IP address instead, follow these steps.

Step 1: Click Start, then click Settings > Network & internet.

Step 2: If you’re using a Wi-Fi network, click Wi-Fi > Manage known networks. If you’re using an Ethernet connection, choose Ethernet.

Step 3: Click the Edit button next to IP assignment.

The Change IP settings screen in Windows 10.
Digital Trends

Step 4: You should see two options: Edit network IP settings and Edit IP settings. Choose one of these, then click Manual. Then, toggle on IPv4.

Step 5: Type in your new address, then click Save.

We would recommend sticking to a similar numbering convention as the one you have automatically supplied by your router, but change the final number to whatever you want between 0 and 255 (some routers may specify a different range, so consider sticking to the lower end of it).

You must then put in your network’s Subnet Mask and Default Gateway, which we learned to find earlier in this guide. Finally, set your Preferred DNS server to the same as your Default Gateway, unless you have another DNS server in mind. Then press OK and OK again to confirm your settings.

Step 6: To confirm your IP address has changed, run IPConfig in a Command Prompt window again. When you’ve definitely changed your IP, try loading up a website to make sure that you’re still able to get online. If you can, congratulations, you’ve changed your IP address. If you can’t, make sure you’ve input the right information. In the worst case, set everything back to how it was, and you’ll be able to get online again.

Changing your IP address in MacOS

The process for changing your IP address on MacOS is different but no more complicated than it is on Windows. You jump through similar hoops to find out what your IP address is on MacOS, so we’ll dive right into the steps.

Step 1: To gain access to your network settings on MacOS, select the Apple logo in the top left-hand corner and choose System Settings from the drop-down menu. Then, click the Network icon in the left-hand column.

Next, select your network — Wi-Fi or Ethernet depending on your connection type.

The Wi-Fi settings page in macOS Sonoma.
Digital Trends

Step 2: Click the Details button, then click open the TCP/IP tab.

The Details button on the Network Settings page of macOS Sonoma.
Digital Trends

Step 3: Click open the dropdown menu next to the Configure IPv4 option. Then, click Manually. Now, enter your new IP address. We recommend sticking to the numbering convention that your router initially assigned you.

The TCP/IP and manual configuration options in macOS Sonoma.
Digital Trends

Step 4: When you’re happy with your selection, confirm it, and select Apply to complete the settings. Then see if you can connect to the internet. If you can, congratulations — you’ve changed your IP address. If you can’t, then go back and double-check to see if you missed a step along the way. If you’re stuck, set everything back the way it was, and once you can get back online, try again to see if you can spot the problem.

Changing your public IP address

Whether you’re running a Windows or MacOS machine, changing your public IP address is a little more complicated. Internet service providers typically determine the IP addresses they distribute to their users, so it’s not something the customer has the ability to change on their own. Most will offer a Static IP service that allows you to choose your public-facing IP address, but often they charge for the privilege. If you want to permanently change your public IP address, your best bet is to contact your ISP and inquire about it.

On the plus side, if you were trying to change your IP address for privacy, you can just opt to hide it instead. Hiding your IP address will also let you access websites from different countries, like if you want to see shows from a different version of Netflix. To learn about hiding your IP address, using a Proxy, or going through the Tor network, check out our guide about how to do so.

A more permanent solution is to use a VPN service. We have a list of favorites that range from free to a few dollars per month, but they all give you the ability to change your public IP address to one found in an entirely different country of your choice, with myriad server options to help you fine-tune it. While you won’t determine the numbers yourself, you’ll get an entirely new address, which is the whole purpose.

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
How to change mouse DPI on Windows and Mac
An individual using a gaming mouse.

You can change your mouse DPI, or its sensitivity, pretty quickly in both Windows and macOS -- and many top gaming mice can do it with a simple press of a button. This can be a great way to boost accuracy in some games, to make you more productive at work, or just to give you greater control and accuracy of your mouse pointer.

Whatever your reason, though, here's how to change your mouse DPI.

Read more
How to choose an external hard drive
Samsung T5 SSD review

When it comes to learning how to choose an external hard drive, you need to consider what you want to do with the drive, how fast you need to be able to access the data on it, and how much you have to store on it. There are external hard drives with plenty of physical protection against the elements, external SSDs that give you super-fast data transfer, and huge external hard drives that are better for long-term backups. The best external drives often tick most of those boxes.

If it's not obvious what kind of external hard drive you need, or you need something that can do a little of everything, here are some more in-depth tips on how to choose an external drive.

Read more
How to check your laptop battery health
Screenshot showing battery life in Windows.

The more you use your favorite laptop for gaming or everyday productivity, the more you might be wondering about battery life. That's because batteries don't always hold their full capacity and might degrade overtime, So, how do you get a read out of battery health to know if your laptop's battery is due for replacement or is defective?

Read more