How to Disable IPv6 on Windows, Mac, Linux, and Your Router

IPv6 is the modern internet protocol designed to replace IPv4 — but that doesn't mean every setup benefits from having it enabled. Whether you're troubleshooting a slow connection, resolving a VPN leak, or simply tidying up your network configuration, disabling IPv6 is a straightforward process. The exact steps depend on your operating system and network setup, and the decision itself depends on factors unique to your environment.

What Is IPv6 and Why Would You Disable It?

IPv6 (Internet Protocol version 6) is the successor to IPv4, offering a vastly larger address space and improved routing efficiency. Most modern operating systems and routers have it enabled by default — even when your ISP doesn't fully support it yet.

Common reasons people choose to disable it:

  • VPN compatibility issues — some VPN clients only tunnel IPv4 traffic, leaving IPv6 exposed and creating privacy leaks
  • Network troubleshooting — isolating whether IPv6 is causing DNS resolution delays or connection instability
  • Legacy application conflicts — older software may behave unexpectedly when dual-stack networking is active
  • ISP doesn't support IPv6 — when your provider is IPv4-only, an active IPv6 stack can add unnecessary overhead

Disabling IPv6 doesn't typically break your internet connection. Your device will fall back to IPv4, which remains widely supported across virtually all networks.

How to Disable IPv6 on Windows

Using Network Adapter Settings (GUI Method)

  1. Open Control PanelNetwork and Sharing CenterChange adapter settings
  2. Right-click your active connection and select Properties
  3. Scroll down and uncheck Internet Protocol Version 6 (TCP/IPv6)
  4. Click OK and restart if prompted

This disables IPv6 on that specific adapter only.

Using PowerShell (System-Wide)

To disable IPv6 across all adapters:

Disable-NetAdapterBinding -Name "*" -ComponentID ms_tcpip6 

To target a specific adapter by name, replace "*" with the adapter name shown in your network settings.

Using the Registry

For a deeper system-level disable, you can set a registry key under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip6Parameters — setting DisabledComponents to 0xff. This method is more thorough but requires a restart and carries more risk if applied incorrectly.

🛠️ Windows versions vary. The GUI method works across Windows 10 and 11. Registry edits should be backed up before making changes.

How to Disable IPv6 on macOS

  1. Open System Settings (or System Preferences on older macOS) → Network
  2. Select your active network interface (Wi-Fi or Ethernet)
  3. Click Details (or Advanced)
  4. Navigate to the TCP/IP tab
  5. Set Configure IPv6 to Off or Link-local only
  6. Click OK and apply

The Link-local only option keeps IPv6 active for local network discovery while blocking it on the wider internet — a middle-ground some users prefer.

How to Disable IPv6 on Linux

The method varies by distribution and init system, but a common approach using sysctl applies broadly.

Temporary Disable (until reboot)

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 

Persistent Disable

Add the following lines to /etc/sysctl.conf or a file in /etc/sysctl.d/:

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

Then run sudo sysctl -p to apply immediately.

On Ubuntu with GRUB, you can also add ipv6.disable=1 to the kernel boot parameters in /etc/default/grub for a more thorough approach.

🐧 Distro-specific tools like nmcli (NetworkManager) offer an alternative method that avoids editing system files directly.

How to Disable IPv6 on Your Router

Disabling IPv6 at the router level affects all devices on your network simultaneously — a key difference from per-device methods.

Most router admin panels include an IPv6 section under Advanced Settings or Internet Settings. The typical path:

  1. Log into your router's admin interface (commonly 192.168.1.1 or 192.168.0.1)
  2. Navigate to AdvancedIPv6 or WAN Settings
  3. Set the IPv6 connection type to Disabled
  4. Save and reboot the router

Router firmware varies significantly. Asus, Netgear, TP-Link, and other manufacturers each organize their interfaces differently. Consult your router's manual or support page if the IPv6 option isn't immediately visible.

Key Variables That Affect Your Approach

FactorImpact
Operating systemDetermines which method is available and appropriate
VPN softwareSome VPNs re-enable IPv6 automatically after reboot
ISP supportIf your ISP uses IPv6 natively, disabling it may reduce connectivity performance
Router controlNot all routers expose IPv6 toggle settings
Network scopePer-device vs. router-level disabling serve different purposes

What Changes After Disabling IPv6

Your device will communicate exclusively over IPv4. For most home users, this is invisible in day-to-day use. Sites and services that support both protocols (dual-stack) will simply negotiate over IPv4 instead.

Where you might notice a difference: networks optimized for IPv6 delivery may route your traffic less efficiently, and some speed test tools may report slightly different results depending on which protocol they prefer. Whether that matters depends on what your ISP actually delivers.

The decision to disable IPv6 at the device level, adapter level, or router level — temporarily or permanently — ultimately depends on what problem you're solving, what hardware you're running, and how much control you have over your network environment. 🌐