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

Windows 11's Phone Link on a Dell XPS Laptop.
Dung Caovn / Unsplash

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.

Recommended Videos

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.

Jon Martindale
Jon Martindale is a freelance evergreen writer and occasional section coordinator, covering how to guides, best-of lists, and…
This beloved Mac-only app has finally come to Windows
iOS 16 Work Focus with a Fantastical widget and two rows of work-related apps

Highly popular (and expensive) calendar app Fantastical has launched a Windows version of its app, finally bringing it out of just the Apple ecosystem 13 years after its initial release.

The calendar has been rebuilt as a native Windows app with all of the features included on Mac, though it doesn't yet have an Arm-native version for Copilot+ PC owners.

Read more
Apple’s M4 iMac brings next-gen power to your desktop
People using the Apple iMac with M4 chip.

Apple has brought its M4 chip to the iMac, making it the first Mac to get Apple’s latest silicon chip. The update also brings new colors and a significant performance improvement for the all-in-one desktop computer, and it comes a year after it received the previous-generation M3 chip. As with the previous M1 and M3 iMacs, the M4 model is compatible with Apple Intelligence.

It comes at the beginning of a week of product releases from Apple, with the company previously teasing that it had much more to reveal in the coming days. The updates could see the entire Mac lineup receive some variant of the M4 chip (including more powerful M4 Pro, M4 Max and M4 Ultra editions) over the coming months.

Read more
The M4 Mac launch is incoming, but not how you might expect
The 14-inch MacBook Pro with M3 Max chip seen from behind.

The past few months have been full of speculation, anticipation, and pretty wild rumors concerning the upcoming M4 Macs -- and now the predicted release date of November 1 is just a week or so away. Despite the lack of an event announcement, Bloomberg's Mark Gurman still believes the launch is "imminent," with an announcement reportedly coming on October 30.

According to him, Apple Stores are running very low on iMac, Mac mini, MacBook Pro, Magic Keyboard, Magic Mouse, and Magic Trackpad units -- and this usually happens when updates are about to be released.

Read more