If you’re experiencing VPN leaks, device compatibility problems, or intermittent network issues, disabling IPv6 can sometimes help. This guide explains when it makes sense to turn off IPv6, the risks involved, and how to disable it on Windows, macOS, Linux, and mobile devices.
For most people, IPv6 should remain enabled. It is the modern internet protocol and is increasingly used by websites, apps, and internet providers. You should only disable it when troubleshooting a specific issue.
Quick answer: Should you disable IPv6?
Disable IPv6 only if:
- Your VPN is leaking your real IPv6 address
- A printer, NAS, or smart device stops working when IPv6 is enabled
- Your internet connection becomes unstable after changing routers or network settings
- Your IT department or VPN provider specifically recommends it
Keep IPv6 enabled if everything is working normally.
What is IPv6?
IPv6 (Internet Protocol version 6) is the successor to IPv4, the addressing system used to route internet traffic.
The main advantage of IPv6 is its vastly larger address space. IPv4 uses 32-bit addresses, while IPv6 uses 128-bit addresses, allowing enough unique addresses for virtually every internet-connected device.
IPv6 also includes improvements such as:
- Simplified routing (it uses a more structured addressing system and a streamlined packet header)
- Better support for automatic device configuration
- Native multicast (instead of sending traffic to every device on the local network, IPv6 sends it only to devices that have joined a specific multicast group)
- Support for IPsec in the protocol specification
Most modern operating systems enable IPv6 by default.
Why disabling IPv6 can help
Here are a few scenarios when disabling IPV6 can be useful:
VPN IPv6 leaks
Some VPNs route only IPv4 traffic. If IPv6 remains enabled, websites may see your real IPv6 address even while your IPv4 address is protected.
This can reveal:
- Your approximate location
- Your internet service provider
- Your real identity (when used in conjunction with other information)
Most reputable VPNs now automatically protect IPv6, but some do not.
- Device compatibility issues
Older printers, routers, and IoT devices may behave unpredictably when IPv6 is enabled. Common symptoms include:
- Devices appearing offline
- Intermittent connection failures
- Slow network discovery
- Misconfigured home networks
If your router advertises IPv6 incorrectly, devices may attempt to use broken IPv6 routes instead of working IPv4 connections.
How to disable IPv6 on Windows 10 and Windows 11
- Open Control Panel
- Select Network and Internet
- Click Network and Sharing Center
- Choose Change adapter settings
- Right-click your active network connection and select Properties
- Uncheck Internet Protocol Version 6 (TCP/IPv6)
- Click OK
- Restart your computer if prompted
If you want to re-enable, repeat the same steps and re-check the IPv6 box.
How to disable IPv6 on macOS
Using System Settings
- Open System Settings
- Click Network
- Select your active connection (Wi-Fi or Ethernet)
- Click Details
- Select TCP/IP
- Set Configure IPv6 to Off
- Click OK and Apply
If “Off” is not available (newer ma
cOS versions)
Use Terminal and enter: sudo networksetup -setv6off Wi-Fi
Or for Ethernet: sudo networksetup -setv6off Ethernet
How to disable IPv6 on Linux
The most reliable method is through sysctl.
- Press Ctrl + Alt + T to open a terminal window.
- Enter the following command to open the sysctl configuration file in a text editor (e.g., nano): sudo nano /etc/sysctl.conf
- 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 - 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
- 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.
Can you disable IPv6 on iPhone and Android?
Most mobile operating systems do not provide a true system-wide option to disable IPv6. For both iPhone and Android, using a VPN with IPv6 leak protection is usually the best solution.
iPhone (iOS)
iOS automatically uses IPv6 when available. You generally cannot disable it completely without using:
- A VPN app that blocks IPv6
- Custom network profiles
- Enterprise device management tools
Android
Some Android devices allow Access Point Name changes, but this does not reliably disable IPv6 and may disrupt mobile connectivity.
How to check whether IPv6 is enabled
For Windows, macOS, and Linux, open a terminal or command prompt and run: ping -6 ipv6.google.com. If you receive replies, IPv6 is enabled and working.
Browser-based test
Visit BrowserLeaks and view the IPv6 Leak Test result. If an IPv6 address is displayed, your browser can access IPv6.
Risks of disabling IPv6
Disabling IPv6 is usually safe for home users, but it can cause issues in some environments. Possible drawbacks include:
- Inability to reach IPv6-only services
- Problems on corporate or university networks that use IPv6 to manage thousands of devices
- Loss of certain networking features, such as Stateless Address Autoconfiguration (SLAAC)
- Reduced compatibility with future internet services
- Problems with services that rely on IPv6-based discovery or local networking
For most home users, these risks are minimal.
My recommendation
IPv6 has several benefits that you don’t really want to miss out on. For example, it reduces NAT complexity and makes indiscriminate scanning by attackers less practical.
The most common reason to disable IPv6 is to prevent VPN leaks when using older or poorly configured VPN services. If privacy matters to you — which it should — I’d recommend switching to a leak-free VPN that supports IPv6 rather than permanently disabling the protocol. Good options include NordVPN, Surfshark, and TotalVPN.
TRY THE BEST LEAK-FREE VPN RISK-FREE
NordVPN is offering a fully-featured risk-free 30-day trial if you sign up at this page. You can use the VPN rated #1 for leak protection for a month.
There are no hidden terms—just contact support within 30 days if you decide NordVPN isn't right for you, and you'll get a full refund. Start your NordVPN trial here.
Troubleshooting tips
If disabling IPv6 does not fix the issue:
- Restart your router and device
- Update your VPN software
- Update network adapter drivers
- Reset DNS settings
- Test on another network
If the problem persists, the issue may be unrelated to IPv6.
Summary
IPv6 is an important part of the modern internet, and most users should leave it enabled. However, if you’re troubleshooting VPN leaks, printer problems, or unexplained connectivity issues, disabling IPv6 is a quick and reversible step that can help identify the cause.
If the issue disappears after turning off IPv6, either keep it disabled temporarily or update your router, VPN, or device software to restore full compatibility.
Related: How to change IP address