What changing your IPv6 address actually does

Changing your IPv6 address in Command Prompt (cmd) on Windows reassigns the address your device uses on your network. IPv6 is the newer internet protocol that works alongside IPv4 — most home networks now use both. When you change your IPv6 address, you're telling your device to use a different identifier on the network, which can help if you're troubleshooting connection problems or want to reset your network settings without rebooting your router.

The process is straightforward: you open Command Prompt as an administrator and run a single command that either refreshes your current address or assigns a new one. This is different from changing your public IP address (the one websites see), which you cannot control directly — that's managed by your internet service provider. What you're doing here is changing your local network address, the one your devices use to talk to each other at home.

Key Takeaways

  • You must open Command Prompt as an administrator — right-click the Command Prompt icon and select "Run as administrator" — or the command will not work.
  • The command ipconfig /release6 followed by ipconfig /renew6 releases your current IPv6 address and requests a new one from your router.
  • Changes take effect when ready, but your device will briefly lose network access while the address switches over.
  • If the command does not work, your router may not support IPv6 or may have IPv6 disabled in its settings.
  • Changing your IPv6 address does not improve security by itself — it's mainly useful for fixing connection issues or resetting your network state.

Opening Command Prompt with the right permissions

Command Prompt commands that touch network settings require administrator access. If you run the command without it, Windows will reject it silently or show an error. To open Command Prompt as an administrator on Windows 10 or 11, click the Start button, type "cmd" or "Command Prompt", then right-click the result and select "Run as administrator". Windows will ask for permission — click "Yes".

You'll know you have the right permissions when the title bar says "Administrator: Command Prompt" at the top of the window. If you see just "Command Prompt" without the word "Administrator", close it and try again with the right-click method. Typing the command without administrator access will either do nothing or return an error message like "Access Denied".

The two commands that change your IPv6 address

The standard way to change your IPv6 address is to release the old one and request a new one. Type this command and press Enter:

ipconfig /release6

This tells your device to give up its current IPv6 address. Your network connection will drop for a moment. Then type this command and press Enter:

ipconfig /renew6

This asks your router for a fresh IPv6 address. Your device will reconnect to the network with a new address. The whole process takes a few seconds. If you want to see your new address, type ipconfig and press Enter — look for the line that says "IPv6 Address" under your network adapter.

If you only want to refresh your address without fully releasing it, you can use ipconfig /renew6 on its own, though this is less reliable. The release-then-renew method is more likely to give you a genuinely different address.

What to do if the command does not work

If you run the command and nothing happens, or you see an error, the most common reason is that your router does not have IPv6 enabled. Many home routers ship with IPv6 turned off by default. Check your router's settings by opening a web browser and going to your router's admin page — usually 192.168.1.1 or 192.168.0.1, or check the sticker on the back of your router for the address.

Log in with your router's username and password (also on the sticker if you haven't changed it). Look for a section called "IPv6" or "Internet Protocol Version 6" and make sure it's enabled. If you enable it, save the settings and wait a minute for your router to explore the change. Then try the ipconfig command again.

Another reason the command might fail is if you're using a network adapter that doesn't support IPv6, though this is rare on modern Windows machines. If you've tried enabling IPv6 on your router and the command still fails, your network adapter may not support it — in that case, you cannot change your IPv6 address because you don't have one to change.

Why you might want to change your IPv6 address

The most practical reason to change your IPv6 address is to fix a connection that has become stuck or unstable. Sometimes a device holds onto a bad address and releasing it forces a fresh start. If you're having trouble reaching certain websites or your connection keeps dropping, releasing and renewing your IPv6 address can clear the problem.

Another reason is to reset your network state after making changes to your router or security settings. If you've adjusted firewall rules or changed your network name, releasing your address and getting a new one ensures your device starts fresh with the new configuration.

Changing your IPv6 address does not make you more anonymous or harder to track online — your internet service provider still knows who you are, and websites still see your public IP address, which is controlled by your ISP, not by this command. If privacy is your goal, changing your local IPv6 address won't help. A VPN or other privacy tool would be more relevant.

The difference between IPv6 and IPv4 addresses

IPv4 addresses look like four numbers separated by dots: 192.168.1.100. IPv6 addresses look like groups of letters and numbers separated by colons: fe80::1a2b:3c4d:5e6f:7890. Both exist on your home network at the same time. When you use the /release6 and /renew6 commands, you're only touching the IPv6 address — your IPv4 address stays the same unless you also run ipconfig /release and ipconfig /renew (without the "6").

Most home networks still rely more on IPv4, but IPv6 is becoming more common as the internet runs out of IPv4 addresses. Your router assigns both types of addresses to your devices. Changing one does not affect the other.

Frequently Asked Questions

Will changing my IPv6 address disconnect me from the internet?

Yes, briefly. When you run ipconfig /release6, your device loses its IPv6 address for a few seconds. Then ipconfig /renew6 assigns a new one and you reconnect. The whole process takes less than a minute. If you're in the middle of downloading something or streaming video, it will pause and resume once the new address is assigned.

Can I choose what IPv6 address I get?

No. Your router assigns IPv6 addresses automatically using a system called DHCP (for IPv6, it's called DHCPv6). You cannot request a specific address with the ipconfig command. If you need a static IPv6 address that never changes, you would configure that in your router's settings, not in Command Prompt.

Do I need to change my IPv6 address for security?

Not really. Changing your local IPv6 address does not improve your home network security. If security is your concern, focus on changing your router's default password, enabling its firewall, and keeping your router's firmware updated. Those steps matter much more than changing your IPv6 address.

What if I see "Access Denied" when I run the command?

You did not open Command Prompt as an administrator. Close the window, right-click Command Prompt in the Start menu, select "Run as administrator", and try again. Windows will ask for permission — click "Yes" to proceed.

Can I change IPv6 on a Mac or Linux computer?

Yes, but the commands are different. On Mac, you would use Terminal and commands like sudo ifconfig en0 inet6 -alias. On Linux, you would use sudo ip addr del and sudo ip addr add. This guide covers Windows Command Prompt only.