Last updated on November 6th, 2026 at 08:39 am
What do you need the new address for? Windows 11 can only change your PC’s local (private) address, the one your router hands out. For a fresh address after a connection problem, run ipconfig /release and then ipconfig /renew. For an address that never changes, reserve one on your router or choose Manual in Settings. For a different address as websites see it, that is your public IP, which comes from your internet provider and router. Jump to the section that matches.
Which address do you want to change?
Your PC has two addresses that people call “my IP.” The local address (something like 192.168.1.37 or 10.0.0.12) identifies the PC on your home or office network. The public address is the single address your router shows to the internet, shared by every device in the house. Windows controls only the first one.
| Your goal | Address involved | Quickest fix | Where to change it |
|---|---|---|---|
| Fix “no internet” or a conflict with another device | Local | Release and renew | Windows (Terminal) |
| Keep the same address for port forwarding, a game server or remote access | Local | DHCP reservation | Router admin page |
| Set an address by hand on a network without reservations | Local | Manual IP assignment | Windows Settings |
| Look different to websites or services | Public | Router restart, provider or VPN | Not in Windows |
Not sure what your current address is, or which one someone is asking for? Finding the right IP address in Windows 11 sorts out local, public and router addresses.
Get a fresh address from your router
Most home networks use DHCP, a service on the router that hands each device an address automatically. Releasing and renewing asks the router for a new lease. It is the right first move when Windows shows an address conflict, a 169.254 address, or “No internet” while other devices work.
Warning: ipconfig /release drops your network connection until you renew. Do not run it while you are connected to the PC remotely, or you will cut yourself off.
- Right-click Start and choose Terminal. (If you prefer the classic window, see opening Command Prompt in Windows 11; the commands are the same.)
- Type
ipconfig /alland press Enter. Note the IPv4 address, subnet mask, default gateway and DNS servers for your Wi-Fi or Ethernet adapter, so you can compare later. - Type
ipconfig /releaseand press Enter. The adapter gives up its address and the connection drops. - Type
ipconfig /renewand press Enter. After a few seconds, Windows shows the address the router just assigned.
Do not be surprised if the number is the same as before. Many routers remember each device and hand back its old address. That is fine: the lease is still new, and a conflict or stale setting is usually cleared. These commands only work on adapters set to obtain an address automatically, as Microsoft’s ipconfig reference explains. If /renew fails with a manual address set, switch the adapter back to Automatic (DHCP) first.
Keep one address for good: reserve it on the router
If you need the PC to have the same local address every day, a DHCP reservation is usually better than typing an address into Windows. The PC still asks the router for an address automatically, but the router always gives it the same one, and it will never hand that address to another device. Nothing changes in Windows, so the laptop still works normally on other networks.
- In Terminal, run
ipconfig /alland note two values for the adapter you use: Physical Address (the MAC address) and Default Gateway (the router). - Type the gateway address, such as 192.168.1.1, into a browser and sign in to the router. The login is often printed on a label on the router.
- Look for a page named DHCP reservation, Address reservation, Static lease or similar. Names vary by brand, and some routers put it under LAN settings or the connected-devices list.
- Pick your PC from the device list or enter its MAC address, choose the address you want, and save.
- Back in Terminal, run
ipconfig /releaseandipconfig /renewso the PC picks up the reserved address.
A reservation is tied to the MAC address. If Windows uses a random hardware address on that Wi-Fi network, the router may see a different device after a change and ignore the reservation. Check Random hardware addresses under Settings > Network & internet > Wi-Fi > Manage known networks > your network (Microsoft explains it on its Wi-Fi connection page), and read changing the MAC address on Windows 11 to see how that setting works.
Type an address yourself in Settings
Use a manual address when you cannot change the router (a shared office or a landlord’s network, with permission from whoever runs it) or when a device such as a camera or lab instrument expects the PC at a fixed address. Run ipconfig /all first and keep the values handy; you need the subnet mask, gateway and DNS servers. The labels below match Microsoft’s TCP/IP settings instructions.
- Open Settings (Windows key + I) and select Network & internet.
- For Wi-Fi, select Wi-Fi > Manage known networks and choose your network. For a cable, select Ethernet and choose the network you are connected to.
- Next to IP assignment, select Edit.
- Under Edit IP settings, change Automatic (DHCP) to Manual, then turn on IPv4.
- Fill in IP address, Subnet mask and Gateway. The next section shows how to pick safe values.
- Enter Preferred DNS and, ideally, Alternate DNS. Using your router’s address as Preferred DNS keeps things as they were under DHCP.
- Leave DNS over HTTPS at Off unless you know your DNS server supports it. The other choices are On (automatic template) and On (manual template), and both On choices add a Fallback to plaintext option.
- Select Save. The connection may blink for a moment.
This setting belongs to one adapter, and for Wi-Fi to that one saved network. If you plug in a cable, or take a laptop to a coffee shop, those connections still use DHCP unless you change them too. Microsoft recommends Automatic (DHCP) for most people, which is another reason to prefer a router reservation where you can.
The older adapter window still works too: in Settings > Network & internet > Advanced network settings, select More network adapter options, right-click the adapter, choose Properties, then open Internet Protocol Version 4 (TCP/IPv4). Settings is easier to undo, so use it unless a guide asks for the classic window.
Choose an address that will not collide
A manual address has to sit on the same network as the router but outside the range the router hands out automatically. Otherwise, sooner or later the router gives your address to a phone or TV, and both devices lose their connection.
Worked example: Jordan’s ipconfig /all shows IPv4 address 192.168.1.142, subnet mask 255.255.255.0 and default gateway 192.168.1.1. On the router’s LAN page, the DHCP pool runs from 192.168.1.100 to 192.168.1.199. Jordan picks 192.168.1.50: same first three numbers as the router, below the pool, and not used by anything else.
| Field | Jordan’s value | Rule of thumb |
|---|---|---|
| IP address | 192.168.1.50 | Same network as the gateway, outside the DHCP pool |
| Subnet mask | 255.255.255.0 | Copy it from ipconfig; this mask is also written /24 |
| Gateway | 192.168.1.1 | The router’s address, exactly as ipconfig showed it |
| Preferred DNS | 192.168.1.1 | The router, or the DNS server your network uses |
Before saving, you can check that nothing already answers on your chosen address: run ping 192.168.1.50. A reply means a device is using it; pick another. No reply is a good sign, though a device that blocks ping can still be there, so look at the router’s device list too.
When Windows reports a conflict or the internet stops working
- Address conflict message. Another device has the same address. With a manual address, choose a different one outside the DHCP pool. With DHCP, release and renew.
- Connected, no internet after a manual change. The gateway, mask or DNS is almost always wrong. Compare them with the values you recorded, or switch back to Automatic (DHCP) to get online, then try again.
- The address starts with 169.254. Windows did not hear back from a DHCP server and gave itself a placeholder. Restart the router, check the cable or Wi-Fi connection, then release and renew.
- Sites load by number but not by name. That points at DNS, not the IP address. Flushing the DNS cache in Windows 11 clears stale lookups. If one name keeps going to the wrong place, check for an old entry when you edit the hosts file in Windows 11.
- Nothing helps. A full network reset in Windows 11 removes and reinstalls your adapters and returns their settings to the defaults (automatic addressing). Note your Wi-Fi passwords and VPN details before you run it.
Switch back to automatic and confirm it worked
- To undo a manual address, go back to the same network page, select Edit next to IP assignment, choose Automatic (DHCP) and select Save.
- Whatever you changed, run
ipconfigand check that the IPv4 address is the one you expect. - Run
pingfollowed by your gateway address, for exampleping 192.168.1.1. Replies mean the PC can reach the router. - Open a website. If the router answers but sites do not load, recheck the DNS fields.
Command line and PowerShell for the same job
Scripts and remote admins often set addresses with PowerShell. Open Terminal (Admin) from the Start button’s right-click menu, then find the adapter’s interface number:
Get-NetIPConfiguration
Using Jordan’s values and an interface index of 12, this sets the address, a /24 prefix (the same as 255.255.255.0) and the gateway:
New-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.1.50 -PrefixLength 24 -DefaultGateway 192.168.1.1
Microsoft’s New-NetIPAddress documentation notes that adding an address this way turns off DHCP on that interface, that the gateway must be on the same subnet, and that Windows holds the address back until duplicate address detection confirms nobody else has it. DNS servers are set separately, for example with Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses 192.168.1.1. The older netsh interface ip commands still appear in many scripts, but for a one-off change Settings is simpler and easier to undo.
Public IP: what Windows cannot change
No Windows setting changes the address websites see. That address belongs to your router’s connection to your internet provider. Your realistic options are:
- Restart the router or modem. Power it off for several minutes. Some providers then hand out a new public address; others keep the same one for days or longer.
- Ask your provider. They can sometimes issue a new address, and many offer a fixed public address as a paid option for people who host services at home.
- Use a VPN you already trust. Sites see the VPN server’s address instead of yours. Your actual public IP does not change, and your employer or school may have rules about VPN use.
Be wary of downloads that promise to “change your IP” in one click. They usually just route traffic through someone else’s server, with all the privacy questions that raises.
Work PCs and VPN connections
On a PC managed by an employer or school, the IP settings may be greyed out or switch back on their own. That is normally deliberate, so ask IT before changing anything. A connected VPN also adds its own adapter with its own address, which can confuse ipconfig output; look at the Wi-Fi or Ethernet section, or turn off the VPN in Windows 11 while you test.
What readers ask after changing the address
Will my printer and shared folders still work?
Usually, yes. Changing the PC’s address does not affect how the PC finds a printer by name. It matters only when another device connects to this PC by its old address, such as a port forward on the router or a saved remote connection; update those to the new address.
Does a manual address follow my laptop to other Wi-Fi networks?
No. In Windows 11 the setting is saved with the network you edited, so other Wi-Fi networks keep using DHCP. That is one reason to edit the home network through Manage known networks rather than guessing.
Do I need to restart after changing it?
Normally not. The new settings apply when you select Save, or when ipconfig /renew finishes. Restart only if apps that were already connected keep misbehaving.
How do I find my router’s DHCP range?
Sign in to the router and look on its LAN or DHCP server page for a start and end address. If you cannot get into the router, do not guess: ask whoever runs the network, or use a router reservation instead, because some routers hand out almost every address on the network.
I’m on Windows 10. Are the steps the same?
The idea is, but the menus differ and the DNS over HTTPS option is missing there. Use changing your IP address in Windows 10 for that version.
If you are not sure which fix you need, start with release and renew. It changes nothing permanent and solves most address problems in under a minute.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.