disable IPV6

IPv6 is the latest version of the Internet Protocol (IP), the address scheme that computers use to communicate with each other. It’s been around for a while, but most home users don’t need to worry about it. In fact, you may not even realize that your computer is using it.

The most common problem with IPv6 is that it can cause compatibility issues with specific devices on your network. For example, if you’re having trouble connecting to a printer or another device, you may need to disable IPv6.

Another problem with IPv6 occurs when your VPN connection suffers IPv6 leaks. This is especially true for Windows as web requests are sent via IPv4 and IPv6 in parallel, and as most VPNs don’t tunnel IPv6 traffic, it can cause a leak. The consequences of an IPv6 leak can include apps and websites seeing your real IPv6 address rather than the one provided by the VPN. This problem can be resolved by disabling IPv6.

Read on to find out how to disable IPv6 on your devices.

What is IPv6, and how does it work?

Before we get into disabling IPv6, let’s take a step back to understand what it is and how it works. IPv6 is the modern internet protocol (IP) standard, and it was developed to address the dwindling supply of available IP addresses. With IPv6, every device on the internet can be assigned a unique IP address, which allows for better connectivity and easier identification.

There is one big difference between IPv4 and IPv6. IPv6 addresses are made up of 128 bits, which is twice the number of bits used in IPv4 addresses. This means that many more potential IP addresses are available with IPv6. In fact, there are so many potential addresses that it’s estimated that every person on the planet could have their own unique IP address!

To help prevent address collisions (where two devices are assigned the same IP address), IPv6 uses a system of address allocation called “address space.” This system is similar to how land is divided into different countries, states, and cities. With address space, each device on the internet is assigned a unique “location” that helps to ensure that its IP address is unique.

How to disable IPv6 on Windows 10

Here’s how to disable IPv6 on Windows 10:

  1. Go to Start > Settings > Network & Internet.
  2. Select Status in the left-hand sidebar, then scroll down and click network reset.
  3. On the Network reset screen, click reset now.
  4. A warning message will show you that all your network settings will be reset. Click Yes to continue.
  5. Once the reset is complete, IPv6 will be disabled on your computer.

How to disable IPv6 on macOS

Here’s how to disable IPv6 on macOS:

  1. Open System Preferences from the Apple menu.
  2. Select Network, then select Advanced in the lower-right corner of the screen.
  3. Select TCP/IP, click the Configure IPv6 pop-up menu and select Off.
  4. Click Apply, then click OK in the confirmation window.
  5. Close System Preferences and restart your computer for the changes to take effect.

How to disable IPv6 on iOS

Here’s how to disable IPv6 on iOS:

  1. Go to Settings > Cellular > Cellular Data Options > Cellular Network Selection.
  2. Tap Automatic, then select 3G or LTE from the list of options. This will disable IPv6 on your device.

How to disable IPv6 on Android

Here’s how to disable IPv6 on Android:

  1. Go to Settings > Wireless & Networks > More > Cellular Networks.
  2. Tap Access point names, then tap the menu button in the top-right corner and select Reset to default.
  3. IPv6 will now be disabled.

How to Disable IPv6 on Linux

Turning off IPv6 on Linux can be done through several methods, depending on your system’s distribution and specific requirements. Below are some common methods to disable IPv6.

Method 1: Disable IPv6 Using sysctl

  1. Press Ctrl + Alt + T to open a terminal window.
  2. Enter the following command to open the sysctl configuration file in a text editor (e.g., nano): sudo nano /etc/sysctl.conf
  3. Add the Following Lines to the File:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
  4. Press Ctrl + O followed by Enter to save and Ctrl + X to exit nano.Run the following command to apply the changes: sudo sysctl -p
  5. You can verify that IPv6 has been disabled by running the following:
    cat /proc/sys/net/ipv6/conf/all/disable_ipv6. If the output is 1, IPv6 has been successfully disabled.

Method 2: Disable IPv6 Using GRUB

  1. Open the GRUB configuration file by running: sudo nano /etc/default/grub
  2. Find the line that starts with GRUB_CMDLINE_LINUX and add ipv6.disable=1 at the end of the line within the quotes.
  3. After saving and closing the file, update GRUB with the following command: sudo update-grub
    Depending on your distribution, you may also need to regenerate the GRUB configuration file using one of the following commands: sudo grub-mkconfig -o /boot/grub/grub.cfg or sudo grub2-mkconfig -o /boot/grub2/grub.cfg
  4. Reboot your system to apply the changes using the following command: sudo reboot

How do I know if IPv6 is enabled?

If you want to test if your system has IPv6 enabled, the best way is to use the “ping” command. The “-6” option tells ping to use an IPv6 address. You will get an error message if the system is not configured for IPv6.

To test if your system is configured for IPv6, open a command prompt and type:

ping -6 ipv6.google.com

If IPv6 is enabled on your system, you will see output similar to the following:

  • Pinging ipv6.google.com(2a00:1450:4007:80e::200e) 56 data bytes
  • 64 bytes from 2a00:1450:4007:80e::200e: icmp_seq=1 ttl=55 time=26.0 ms
  • 64 bytes from 2a00:1450:4007:80e::200e: icmp_seq=2 ttl=55 time=25.9 ms
  • 64 bytes from 2a00:1450:4007:80e::200e: icmp_seq=3 ttl=55 time=26.0 ms

If the system is not set up for IPv6, you will see output similar to the following:

  • Pinging ipv6.google.com(2a00:1450:4007:80e::200e) 56 data bytes
  • Ping request could not find host ipv6.google.com. Please check the name and try again.

If you see the “Ping request could not find host” error message, your system doesn’t have IPv6 enabled.

If you’re not on Windows, head to Browser leaks and check for an IPv6 address. You can also run tests here to check for IPv6 leaks.

What are the risks of disabling IPv6?

While some potential risks are associated with disabling IPv6, they are generally minimal. In most cases, you will not experience any adverse effects from doing this. However, there are a few potential risks that you should be aware of:

  • Your device may have trouble connecting to certain websites or services that only support IPv6.
  • You might have trouble connecting to specific devices or networks that only support IPv6.
  • Your device could be less secure if it cannot take advantage of the security features of IPv6.

Overall, the risks of disabling IPv6 are relatively low. However, you should always weigh the risks and benefits of any change before making it. If you are trying to decide whether or not to disable it on your devices, we recommend speaking with a qualified IT professional.


Disabling IPv6 is a relatively simple process that can be done in just a few minutes. If you’re having trouble connecting to certain websites or applications, doing so may help resolve those issues. You should only change your IPv6 settings if you’re experiencing problems, as it does offer several advantages over its predecessor.

Related: How to change IP address