How to Disable IPv6 on Windows, Mac, Linux, and Routers

IPv6 is the modern internet addressing standard, but there are legitimate reasons you might want to turn it off — from troubleshooting connectivity issues to resolving VPN leaks or dealing with software that doesn't handle dual-stack networking cleanly. Disabling it isn't dangerous in most home setups, but the right approach depends heavily on your operating system, hardware, and why you're doing it in the first place.

What Is IPv6 and Why Would You Disable It?

IPv6 (Internet Protocol version 6) is the successor to IPv4, designed to handle the explosion of internet-connected devices by offering a vastly larger address space. Most modern operating systems and routers have IPv6 enabled by default, even if your ISP doesn't fully support it yet.

Common reasons people disable IPv6:

  • VPN privacy concerns — some VPN clients only tunnel IPv4 traffic, leaving IPv6 exposed and potentially leaking your real location
  • Connectivity troubleshooting — certain network errors, slow DNS resolution, or intermittent drops trace back to IPv6 misconfiguration
  • Legacy software compatibility — older enterprise applications or network tools may behave unpredictably on dual-stack networks
  • Router or ISP limitations — some ISPs don't provide IPv6 support, causing delays while devices wait for IPv6 responses that never come

How to Disable IPv6 on Windows

Windows has two reliable methods. 🖥️

Method 1: Network Adapter Settings

  1. Open Control Panel → Network and Sharing Center → Change adapter settings
  2. Right-click your active network adapter and select Properties
  3. Uncheck Internet Protocol Version 6 (TCP/IPv6)
  4. Click OK and restart if prompted

This disables IPv6 on that specific adapter only. Other adapters remain unaffected.

Method 2: Registry Edit (System-Wide)

For a more complete disable that covers loopback and other interfaces:

  1. Open Registry Editor (regedit)
  2. Navigate to: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpip6Parameters
  3. Create a new DWORD (32-bit) Value named DisabledComponents
  4. Set its value to 0xff (hexadecimal) or 255 (decimal)
  5. Restart your computer

This registry key tells Windows to disable IPv6 across all network interfaces and the tunnel adapters. It's the method Microsoft itself documents for full IPv6 suppression.

How to Disable IPv6 on macOS

  1. Open System Settings (or System Preferences)Network
  2. Select your active connection (Wi-Fi or Ethernet)
  3. Click Details (or Advanced on older macOS versions)
  4. Go to the TCP/IP tab
  5. Change Configure IPv6 from Automatically to Link-local only or Off
  6. Click OK and Apply

"Link-local only" is generally safer than full off — it keeps IPv6 functional for local network discovery while stopping your device from using IPv6 for internet traffic.

How to Disable IPv6 on Linux

The approach varies by distribution, but the most universal method uses sysctl.

Temporary disable (until reboot):

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

Permanent disable:

  1. Edit /etc/sysctl.conf (or create a file in /etc/sysctl.d/)
  2. Add these lines:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 
  1. Apply with: sudo sysctl -p

Some distributions using GRUB as a bootloader also support adding ipv6.disable=1 to the kernel parameters in /etc/default/grub, which disables IPv6 at the kernel level before any services load.

How to Disable IPv6 on a Router

Disabling IPv6 at the router level affects every device on your network simultaneously — a meaningful difference from per-device settings. 🌐

The exact location varies by router firmware:

Router FirmwareTypical Location
DD-WRTSetup → IPv6 → Disable
OpenWrtNetwork → Interfaces → Remove IPv6 interface
ASUS (stock)Advanced Settings → IPv6 → Connection Type → Disable
TP-Link (stock)Advanced → IPv6 → Toggle off
Netgear (stock)Advanced → Advanced Setup → IPv6 → Disable

Router-level disabling is commonly used when an ISP's IPv6 implementation is unstable or when running a VPN at the router level where IPv6 passthrough creates leaks.

What Changes After Disabling IPv6

  • Your device will use IPv4 exclusively for all internet traffic
  • DNS queries will resolve only A records (IPv4), not AAAA records (IPv6)
  • Websites and services that prefer IPv6 will still load — they'll fall back to IPv4 automatically
  • Some local network features (particularly on newer Apple devices using mDNS and Bonjour) may behave differently if IPv6 is fully disabled rather than link-local only

Most users notice no difference in day-to-day browsing. Performance impact is typically negligible unless your ISP routes IPv6 traffic more efficiently than IPv4.

The Variables That Make This Decision Personal

Whether disabling IPv6 actually solves your problem — or creates new ones — depends on factors specific to your setup:

  • Your ISP's infrastructure: Some providers now deliver faster routes over IPv6; turning it off could theoretically slow certain connections
  • Your VPN client's capabilities: Newer clients handle IPv6 natively; older ones don't — and which category yours falls into changes the calculus entirely
  • Your OS version and patch level: Behavior of dual-stack networking has changed across Windows 10, Windows 11, and various macOS releases
  • Whether you're troubleshooting or preventing: A connectivity fix on one machine isn't the same decision as a permanent network-wide policy

The right scope — adapter-level, system-wide, or router-wide — and whether to disable fully or just limit IPv6 to link-local, comes down to what you're actually trying to solve and what's running on your network.