IPv4 vs IPv6: what’s the difference?
IPv4 and IPv6 are two versions of the Internet Protocol, the system that gives every connection an address. IPv4 has run the internet since the early 1980s, but it simply doesn’t have enough addresses for billions of phones, laptops and smart devices. IPv6 is the long-term replacement — and you may already be using it without knowing.
At a glance
| IPv4 | IPv6 | |
|---|---|---|
| Introduced | 1981 | Standardised in 1998, widely deployed since 2012 |
| Address length | 32 bits | 128 bits |
| Total addresses | About 4.3 billion | About 340 undecillion (3.4 × 1038) |
| Format | Four decimal numbers: 203.0.113.42 | Eight hex groups: 2001:db8::8a2e:370:7334 |
| Address sharing (NAT) | Required almost everywhere | Not needed — every device can have its own global address |
| Auto-configuration | Relies on DHCP | Devices can configure themselves (SLAAC), DHCPv6 optional |
| Header | Variable length, includes a checksum | Fixed, simpler header that’s easier for routers to process |
Why IPv4 ran out
When IPv4 was designed, 4.3 billion addresses seemed limitless — the internet connected universities and research labs, not pocket computers. Then came home broadband, smartphones, cloud servers and smart devices.
The central pool managed by IANA handed out its last blocks in February 2011. The regional registries followed: APNIC (Asia-Pacific) reached its final block in 2011, ARIN (North America) ran out in 2015 and RIPE NCC (Europe) in 2019. Today, new IPv4 addresses are mostly bought and sold on a secondary market. That’s why many ISPs now share one address between many customers using carrier-grade NAT, which we cover in public vs private IP addresses.
How to read an IPv6 address
An IPv6 address is written as eight groups of four hexadecimal digits (0–9 and a–f):
2001:0db8:0000:0000:0000:ff00:0042:8329
Two shortcuts make it more manageable:
- Drop leading zeros in each group:
0db8becomesdb8,0042becomes42. - Replace one run of all-zero groups with
::, once per address.
So the same address becomes 2001:db8::ff00:42:8329. The first half usually identifies the network (your ISP and your home’s allocation) and the second half identifies the device.
Your ISP typically gives your home a whole block of IPv6 addresses — often a /56 or /64 — containing more addresses than the entire IPv4 internet. That’s why NAT isn’t needed.
Is IPv6 faster than IPv4?
Not inherently. The data travels over the same cables at the same speeds. In practice, IPv6 can be slightly faster on some networks because it avoids the extra NAT step at the ISP and some providers have more direct IPv6 routes. It can also be a little slower where IPv6 routing is less mature. For everyday use you won’t notice a difference.
Modern browsers use a technique called “Happy Eyeballs”: they try IPv6 and IPv4 almost simultaneously and use whichever connects first. A broken IPv6 path therefore rarely causes visible problems.
Is IPv6 more secure?
Partly. IPv6 was designed with modern security in mind, and its enormous address space makes blindly scanning networks for devices impractical. However:
- Without NAT, devices can have publicly reachable addresses, so your router’s firewall matters. Home routers block unsolicited inbound IPv6 traffic by default — leave that setting on.
- Older devices sometimes used the hardware MAC address to build their IPv6 address, which made them trackable. Modern operating systems use randomised privacy addresses that change regularly.
- Some older VPN apps only tunnel IPv4, so IPv6 traffic can leak around the VPN. Choose a VPN that supports or blocks IPv6.
Will IPv4 disappear?
Not soon. Most networks today run dual-stack: they support IPv4 and IPv6 side by side, and your device uses whichever works best for each site. Google’s public statistics show that close to half of its users now connect over IPv6, with adoption much higher in some countries than others. IPv4 will remain in use for many years for compatibility, but new growth is happening on IPv6.
How to check if you have IPv6
- Our tool: visit myiplookup.io. If the address shown contains colons, you’re connected over IPv6. A regular dotted address doesn’t rule IPv6 out, so try the checks below too.
- Windows: run
ipconfigand look for an “IPv6 Address” (not just “Link-local IPv6 Address”, which starts with fe80). - macOS / Linux: run
ifconfigorip -6 addrand look for an address starting with 2 or 3. - Router: look for an IPv6 or “IPv6 WAN” section in your router’s admin page.
If you don’t have IPv6, check whether your router has it switched off — many ISPs support it but older routers ship with it disabled. If your ISP doesn’t offer it yet, nothing will break; IPv4 will keep working.
The bottom line
IPv6 exists because IPv4 ran out of addresses. For you, the change is mostly invisible. Websites load the same and apps work the same, and your devices pick the best route automatically. The main things worth knowing are how to recognise an IPv6 address, that your router firewall should stay on, and that a good VPN should handle IPv6 properly.