Why you might disable IPv6, and what it actually does

IPv6 is the newer internet protocol that your device uses to connect to networks and websites. Disabling it means your device will only use the older IPv4 protocol instead. Most people do not need to disable IPv6 — it works quietly in the background and does not cause problems. You might disable it if a specific device on your network (a printer, router, or older software) does not work with IPv6, or if your internet service provider has told you there is a compatibility issue.

Before you disable IPv6, understand that you are not gaining security by doing so. IPv6 has the same security features as IPv4. Disabling it will not protect you from hackers or malware. It is purely a troubleshooting step for devices that refuse to work with the newer protocol.

Key Takeaways

  • Disabling IPv6 is a troubleshooting step for devices that do not work with the newer protocol, not a security measure.
  • On Windows, you disable IPv6 through Network Settings or the Registry, depending on whether you want to turn it off for one connection or your whole system.
  • On Mac, you disable IPv6 in System Settings under Network, choosing your connection and clicking Advanced.
  • On Linux, the method varies by distribution, but usually involves editing the sysctl.conf file or using the ip command.
  • After disabling IPv6, restart your device and test whether the problem you were trying to fix actually goes away.

Disabling IPv6 on Windows

Windows gives you two ways to disable IPv6: for a single network connection, or for your entire system. The single-connection method is safer if you are only troubleshooting one device.

To disable IPv6 for one connection: Open Settings, go to Network & Internet, then Status. Click Change Adapter Options. Right-click the network connection you want to change (usually Ethernet or Wi-Fi), select Properties, and uncheck the box next to Internet Protocol Version 6 (TCP/IPv6). Click OK and restart your device.

To disable IPv6 for your entire system: Press Windows Key + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters. Find the entry called DisabledComponents and change its value to 1. If DisabledComponents does not exist, right-click in the empty space, select New > DWORD (32-bit) Value, name it DisabledComponents, and set the value to 1. Restart your computer.

Disabling IPv6 on Mac

On Mac, you disable IPv6 through the Network settings for each connection separately. Open System Settings and click Network on the left side. Select the connection you want to change (Wi-Fi or Ethernet). Click Advanced, then go to the TCP/IP tab. In the Configure IPv6 dropdown, select Off. Click OK, then Apply.

If you have multiple network connections and want to disable IPv6 on all of them, you will need to repeat this process for each one. There is no system-wide toggle on Mac like there is on Windows.

Disabling IPv6 on Linux

The method depends on which Linux distribution you use. On most distributions, you can disable IPv6 by editing the sysctl configuration file. Open a terminal and type sudo nano /etc/sysctl.conf. Add these three lines at the end of the file:

net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1

Press Ctrl+X, then Y, then Enter to save. Then type sudo sysctl -p to apply the changes immediately. You do not need to restart.

If you use systemd-networkd, you can also disable IPv6 by editing the network configuration file directly. The exact location and syntax varies by distribution, so check your distribution's documentation if the sysctl method does not work.

Testing whether disabling IPv6 actually fixed your problem

After you disable IPv6 and restart your device, test whether the issue you were trying to solve actually goes away. If a printer would not print before, try printing now. If a website would not load, try loading it again. If nothing changes, IPv6 was not the cause of your problem, and you should turn IPv6 back on.

Leaving IPv6 disabled when it is not necessary can cause problems with newer devices and services that expect it to be available. If disabling IPv6 did not fix anything, re-enable it using the same steps you used to turn it off.

When to ask your internet service provider or device maker for help

If you have disabled IPv6 and the problem persists, or if you are not sure whether IPv6 is actually the cause, contact your internet service provider or the maker of the device that is not working. Tell them specifically what is not working and what you have already tried. They may have a different solution, or they may tell you that IPv6 is not the issue at all.

If you disabled IPv6 on the advice of someone online, ask them for the specific reason why it would fix your problem. A vague suggestion to "disable IPv6 for security" is not a real reason — it is a misunderstanding of how the protocol works.

Frequently Asked Questions

Does disabling IPv6 make me more secure?

No. IPv6 has the same security features as IPv4. Disabling it does not protect you from hackers, malware, or data theft. If someone tells you to disable IPv6 for security reasons, they are mistaken. Disable it only if a specific device or service does not work with it.

Will disabling IPv6 make my internet faster?

No. IPv6 and IPv4 run at the same speed. Disabling IPv6 will not speed up your connection. If your internet feels slow, the cause is something else — your internet plan, network congestion, or a problem with your router.

What if I disable IPv6 and then want to turn it back on?

On Windows, re-check the IPv6 box in Network Settings or change the DisabledComponents value back to 0 in the Registry. On Mac, set Configure IPv6 back to Automatic. On Linux, remove or comment out the lines you added to sysctl.conf and run sudo sysctl -p again. Restart your device after making the change.

Can I disable IPv6 on just one website or app?

No. IPv6 is a system-level setting. When you disable it, your entire device stops using IPv6 for all connections. You cannot turn it off for one website and leave it on for another. If a specific website does not work with IPv6, contact the website owner and report the problem.