Have you ever wondered how to change the IP address in Windows 10 or Windows 11? Do you want to learn how to do that from the Settings app or the Control Panel? Maybe you\u2019re a command-line fan and want to learn how to change the IP address from Command Prompt or PowerShell? Read on and find out how all of these are done in both Windows 11 and Windows 10:\r\n\r\n\r\n\r\nNOTE: To be able to change your IP address in either Windows 10 or Windows 11, you must log in using an administrator account. Also, you should already know what IP addresses and subnet masks are, how to find what your local IP is, and how to find the IP address of your router.\r\n1. How to change the IP address in Windows 10 using the Settings app\r\nBecause it relies on the visual interface of the operating system, this is probably the easiest method for changing the IP address of your Windows 10 computer or device. First, open the Settings app: a quick way to do that is to push the Settings button from the Start Menu or to press Windows + I on your keyboard simultaneously. In the Settings app, open the Network \u0026amp; Internet category.\r\n\r\n\r\n\r\nThe Network \u0026amp; Internet settings in Windows 10\r\n\r\nOn the left sidebar, select your network type. If you\u2019re using a wireless card, click or tap on Wi-Fi. If you\u2019re using a wired connection, go to Ethernet. On the right side of the window, click or tap on the name of your network connection.\r\n\r\n\r\n\r\nThe currently connected network\r\n\r\nScroll down on your network connection details page until you find the section called IP settings. Then, click or tap on Edit, under IP assignment.\r\n\r\n\r\n\r\nThe Edit button from the IP assignment area\r\n\r\nThe Settings app now shows the \u201cEdit IP settings\u201d dialog. This is where you can change the IP address of your computer or device. If you want the IP address of your Windows 10 PC to be assigned automatically by your router, select Automatic (DHCP). This is also called a dynamic IP address.\r\n\r\n\r\n\r\nEdit IP settings to get an IP address automatically via DHCP\r\n\r\nIf you want to set your own static IP address, select Manual and then enable the IPv4 and/or IPv6 switches, depending on what internet protocols you want to use. Note that each of them has its own distinct IP address, so you must enter the required details for both IPv4 and IPv6 if you choose to enable both.\r\n\r\n\r\n\r\nEdit IP settings to change the IPv4 address in Windows 10\r\n\r\nTo change your IP address to a static one, regardless of whether you set it for your IPv4 or IPv6 protocols, you have to enter the following details:\r\n\r\n \tIP address: Type the static IP address that you want to use. For example, I want to change the IP address (IPv4) of my Windows 10 PC to 192.168.50.10.\r\n \tSubnet prefix length: Type the prefix length that determines the size of the subnet. For example, I configured my router to use a subnet mask of 255.255.255.0, which means that I have to enter a \u201cSubnet prefix length\u201d of 24 (the number of 1 bits in the netmask). If I had a subnet mask of 255.255.0.0, the prefix length would have been 16, and so on.\r\n \tGateway: Type the IP address of your router. In my case, that\u2019s 192.168.50.1.\r\n\r\n\r\n\r\nSetting a static IP address in Windows 10\r\n\r\nThe Preferred DNS and Alternate DNS settings are not mandatory - if you leave them blank, they are automatically assigned by your router. However, if you want to change them too, you can do so. TIP: Here are more ways to change DNS settings in Windows.\r\n\r\nOnce you\u2019ve entered all the details, click or tap on Save, and Windows 10 changes your IP address.\r\n\r\n\r\n\r\nStart using the new IP address in Windows 10\r\n\r\nIMPORTANT: If you choose to use a static IP address, ensure all the details you enter are correct; otherwise, your Windows 10 PC loses internet connectivity. If that happens, change your IP address back to Automatic (DHCP) so that your router can change it to something that works.\r\n\r\n\r\n2. How to change the IP address in Windows 11 using the Settings app\r\nAs it involves mainly clicks or taps and anyone can follow its steps, this is likely the easiest way of changing the IP address of your Windows 11 PC. Here\u2019s how it goes:\r\n\r\nOpen the Settings app: a quick way to do that is to use its Pinned shortcut from the Start Menu or press Windows + I on your keyboard. Once you\u2019ve opened it, select Network \u0026amp; internet on the left sidebar.\r\n\r\n\r\n\r\nThe Network \u0026amp; internet settings in Windows 11\r\n\r\nOn the right, click or tap on the type of network you\u2019re currently using. If you connect to the internet (or local area network) using a wireless card, select Wi-Fi. If you\u2019re accessing the internet (or LAN) using a wired connection, click or tap on Ethernet.\r\n\r\n\r\n\r\nWi-Fi or Ethernet network connection\r\n\r\nNext, click or tap on the properties entry of your network connection.\r\n\r\n\r\n\r\nThe network\\'s properties\r\n\r\nThis opens a page filled with details about the selected network connection. On it, scroll down and click or tap the Edit button next to IP assignment.\r\n\r\n\r\n\r\nThe Edit button next to IP assignment\r\n\r\nAs a result, the Settings app loads a dialog called \u201cEdit network IP settings,\u201d where you can set the IP address of your Windows 11 PC. If you want to use a dynamic IP address assigned automatically by the router, choose Automatic (DHCP).\r\n\r\n\r\n\r\nLet Windows 11 get an IP address automatically via DHCP\r\n\r\nIf you want to set a static IP address for your Windows 11 computer, select Manual. Then, turn on the IPv4 and/or IPv6 switches, depending on the internet protocols you intend to use. Keep in mind that each one needs a distinct IP address, so you\u2019ll have to specify details for both IPv4 and IPv6 if you decide to enable both.\r\n\r\n\r\n\r\nEdit IP settings to change the IPv4 address in Windows 11\r\n\r\nIn order to set a static IP address for either IPv4 or IPv6, you have to provide the next details:\r\n\r\n \tIP address: Enter the static IP address you want to use. For instance, I\u2019m changing the IP address (IPv4) of my Windows 11 computer to 192.168.50.10.\r\n \tSubnet mask: Type the subnet mask used by your network. For example, I\u2019ve configured my mesh Wi-Fi to use a 255.255.255.0 subnet mask, which means that this is the number sequence I need to enter.\r\n \tGateway: Specify the IP address of your router or mesh Wi-Fi. In my case, that\u2019s 192.168.50.1.\r\n\r\n\r\n\r\nSetting a static IP address in Windows 11\r\n\r\nThese are all the settings you need to configure in order to change your IP address in Windows 11. However, there are two more options in the \u201cEdit network IP settings\u201d dialog: Preferred DNS and Alternate DNS. While not necessarily required (if they\u2019re blank, your router automatically assigns them), you can change them, too, if you want. Here are more details about DNS: What is DNS? How is it useful?.\r\n\r\nOnce you\u2019ve finished editing your network IP settings, click or tap the Save button, and your IP address is immediately changed in Windows 11.\r\n\r\n\r\n\r\nHow to set a static IP address in Windows 11\r\n\r\nIMPORTANT: If you\u2019ve changed your IP address and your Windows 11 PC lost internet connectivity, you\u2019ve probably entered an incorrect IP address. In that case, switch back to using Automatic (DHCP) to let your router assign a new one for your computer, one that works.\r\n\r\n\r\n3. How to change the IP address in Windows using the Control Panel\r\nIn both Windows 11 and Windows 10, you can also change your IP address from the Control Panel. Open the Control Panel and click or tap on \u201cView network status and tasks\u201d under \u201cNetwork and Internet.\u201d\r\n\r\n\r\n\r\nView network status and tasks in Control Panel\r\n\r\nIn the Network and Sharing Center, click or tap on your internet connection from the \u201cView your active networks\u201d area.\r\n\r\n\r\n\r\nThe network connection in use\r\n\r\nIn your network\u2019s Status window, click or tap on Properties. Then, in the Properties window, select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6), depending on the IP address that you want to change, and press the Properties button. Note that if you want to change both types of IP addresses, you\u2019ll have to repeat the next steps for each of them.\r\n\r\n\r\n\r\nOpening the Properties of Internet Protocol Version 4 (TCP/IPv4)\r\n\r\nThe previous action opens a window called Internet Protocol Version 4 (TCP/IPv4) Properties or Internet Protocol Version 6 (TCP/IPv6) Properties, depending on what you chose earlier. This is where you can change your IP address:\r\n\r\nIf you want to use a dynamic IP address that\u2019s automatically assigned to your Windows PC by your router, select \u201cObtain an IP address automatically.\u201d Then, click or tap on OK and close all the windows you\u2019ve opened previously.\r\n\r\n\r\n\r\nObtain an IP address automatically via DHCP\r\n\r\nIf you want to set a static IP address for your network adapter, select \u201cUse the following IP address.\u201d Then, enter the required details manually: IP address, Subnet mask, and Default gateway, just like we\u2019ve shown you in the previous chapters of this guide.\r\n\r\n\r\n\r\nUse Control Panel to set a static IP address in Windows\r\n\r\nSave your new IP address settings by clicking or tapping on OK, then close all the windows opened during the process.\r\n4. How to change the IP address in Windows 10 and Windows 11 using commands\r\nYou can also change the IP address using any of the command-line tools in Windows. Launch PowerShell, run Command Prompt, or open a tab for any of them in Windows Terminal. Then, regardless of what your favorite console is, run this command:\r\n\r\nnetsh interface ip show config[/DC-CODE]\r\n\r\nIn the displayed results, identify the network adapter for which you want to change the IP address. For example, the name of my network interface is Wi-Fi, as shown in the screenshot below.\r\n\r\n\r\n\r\nFind the name of your network adapter in CMD or PowerShell\r\n\r\nIf you want to change the IP address to a dynamic one that\u2019s automatically assigned by your router via DHCP, run the following command:\r\n\r\nnetsh interface ip set address \u201cNetwork Interface Name\u201d dhcp[/DC-CODE]\r\n\r\nReplace Network Interface Name with the name of your network connection. For example, I need to run:\r\n\r\nnetsh interface ip set address \u201cWi-Fi\u201d dhcp[/DC-CODE]\r\n\r\n\r\n\r\nUse this command to set a dynamic IP address\r\n\r\nIf you want to set a static IP address, run this command:\r\n\r\nnetsh interface ip set address name= \u201cNetwork Interface Name\u201d static [IP address] [Subnet Mask] [Gateway][/DC-CODE]\r\n\r\nReplace [IP address] [Subnet Mask] [Gateway] with the ones that match your network configuration. In my case, as I want to change my IP address to 192.168.50.10, I have to run:\r\n\r\nnetsh interface ip set address name=\u201cWi-Fi\u201d static 192.168.50.10 255.255.255.0 192.168.50.1[/DC-CODE]\r\n\r\n\r\n\r\nUse this command to set a static IP address in CMD or PowerShell\r\n\r\nThat\u2019s it!\r\nHow do you change the IP address in Windows 10 or Windows 11?\r\nNow you know not just one, but four different methods to change your IP address and set it to dynamic or static. What\u2019s your favorite way of doing this? Do you know other methods? If you do, or if you have something to add to this guide, don\u2019t hesitate to comment.