Most people meet IPv6 by accident. A "what is my IP" page shows a long string of letters and colons instead of four numbers, or a game console reports "IPv6: not connected" and it's unclear whether that's a problem.
IPv4 and IPv6 are two versions of the Internet Protocol that run side by side on most networks today. They do the same job, getting packets from one address to another, but IPv6 has far more addresses and drops some of the workarounds IPv4 needed. If you want the basics first, what is an IP address covers them.
Why IPv6 exists
An IPv4 address is 32 bits long (RFC 791), which allows 4.294.967.296 addresses in total. A chunk of those is reserved for private networks, multicast and other special uses. That was plenty in 1981 and nowhere near enough for a world with several connected devices per person.
The supply ran out in stages. IANA, which hands address blocks to the five regional registries, gave out its last five /8 blocks on 3 February 2011, one to each registry (RIPE NCC). The registries then rationed what they had left. The RIPE NCC, which serves Europe, the Middle East and parts of Central Asia, announced on 25 November 2019 that it had run out of IPv4 addresses and now only redistributes recovered ones through a waiting list.
Networks kept growing anyway, mostly by sharing addresses through NAT, first in home routers and then at ISP scale with carrier-grade NAT. IPv6, with 128-bit addresses (RFC 8200), has enough addresses that the shortage goes away.
IPv4 vs IPv6 side by side
| IPv4 | IPv6 | |
|---|---|---|
| Address length | 32 bits (RFC 791) | 128 bits (RFC 4291) |
| Written as | Four decimal numbers: 192.0.2.1 | Eight groups of hex, zeros can be shortened: 2001:db8::1 |
| Total addresses | About 4,3 billion | About 3,4 × 10³⁸ |
| NAT at home | Almost always | Normally none; each device gets a public address |
| Automatic setup | DHCP from the router | SLAAC, DHCPv6, or both |
| What a home gets | One public address, or a share of one behind CGNAT | A whole prefix of addresses |
| Header | Variable length, with a checksum | Fixed 40 bytes, no header checksum |
| Fragmentation | Routers may fragment | Only the sending host fragments |
| Privacy addresses | Not applicable | Temporary addresses that rotate |
Unlike IPv4, the IPv6 header has no checksum field (RFC 8200 §3), so routers don't recompute one at every hop. Error checking is left to the layers above, which must include the IPv6 addresses in their own checksums; for UDP the checksum is no longer optional (RFC 8200 §8.1). Fragmentation in IPv6 "is performed only by source nodes, not by routers along a packet's delivery path" (RFC 8200 §4.5).
The difference you notice in practice is NAT. With IPv4, your router has one public address and every device behind it shares it. With IPv6, your ISP gives the router a block of addresses and each device gets its own globally routable one. That makes incoming connections possible again, which is also why your router's IPv6 firewall has a real job to do.
How addresses are written
An IPv6 address is eight groups of four hexadecimal digits separated by colons. The full form is long, so RFC 5952 sets out how to shorten it:
- Drop leading zeros in each group:
0db8becomesdb8. - Replace the longest run of all-zero groups with
::, once per address.2001:0db8:0000:0000:0000:0000:0000:0001becomes2001:db8::1. - Don't use
::for a single zero group. - Write the letters in lowercase.
Two addresses that look different can be the same address, so software should compare parsed addresses, not strings. IP address validation with regex shows why a regex alone gets IPv6 wrong.
In a URL, an IPv6 address goes in square brackets so the colons aren't mistaken for a port separator: https://[2001:db8::1]:8443/ (RFC 3986 §3.2.2).
How your devices get an IPv6 address
Your ISP delegates a prefix to your router, using DHCPv6 prefix delegation, which RFC 8415 §6.3 describes as "appropriate for use by an ISP to delegate a prefix to a subscriber". The router then advertises a /64 from that prefix on your home network.
Each device builds its own address from the advertised prefix with stateless address autoconfiguration, SLAAC (RFC 4862). No server has to hand out addresses one by one. Some networks also run a DHCPv6 server, for example in offices where administrators want a record of which device has which address.
Most phones and computers also create temporary addresses for outgoing connections, so websites can't follow one device by a fixed address. RFC 8981 sets a default preferred lifetime of one day and a valid lifetime of two days, and operating systems can change those. That's why your IPv6 address seems to change all the time while your IPv4 address stays put. A device can hold several IPv6 addresses at once: a link-local one starting with fe80:, a stable one, and one or more temporary ones.
How much of the internet uses IPv6 in 2026
It depends on who measures and how. Google counts the share of its users who reach Google over IPv6. In Google's published data, that figure passed 50% for the first time on Saturday 28 March 2026, at 50,10% (the APNIC Blog covered the milestone). It runs higher at weekends than on weekdays: in mid-November 2026 it was between about 46% and 49% on weekdays and about 51% on Saturday 14 November. The current figure is on Google's live IPv6 statistics chart.
APNIC Labs measures something different: whether users are capable of IPv6, tested through online ads that check addressing, routing and DNS. In the same post, APNIC's worldwide figure was 42%, as at 23 April 2026. Google's number covers people who use Google; APNIC's samples users across the world through its ad-based tests, so the two don't have to agree.
Adoption is uneven between countries and between networks in the same country, so your own connection may or may not have IPv6 whatever the global figure says.
Do you have IPv6? How to check
In the browser
Open What is my IPv6. If it shows an IPv6 address, your connection has working IPv6. If you reached it over IPv4, your connection most likely has no IPv6, or its IPv6 path isn't working. What is my IP shows whichever address your browser picked for that page. What is my IPv4 shows your IPv4 address only when your browser reaches it over IPv4, which on a working dual-stack connection it usually won't, because browsers prefer IPv6.
If you get an IPv6 address on mobile data but not on Wi-Fi, the difference is your home connection or router, not your phone.
From the command line
On Linux, list your global IPv6 addresses:
ip -6 addr show scope globalOn macOS, show the Wi-Fi service's settings, including its IPv6 address:
networksetup -getinfo Wi-FiIf your Mac uses a different name for the service, the first command below lists the names. The second skips the service and lists the IPv6 addresses on every interface:
networksetup -listallnetworkservices
ifconfig | grep inet6On Windows, ipconfig lists "IPv6 Address" and "Temporary IPv6 Address" lines when the adapter has them. Addresses starting with fe80: don't count; every IPv6-enabled interface has one, even with no IPv6 internet access.
To test that IPv6 actually reaches the internet, on Linux or Windows:
ping -6 google.comOn macOS, use ping6 google.com instead. Or fetch a page over IPv6 only, on Linux or macOS:
curl -6 -sS -o /dev/null -w "%{http_code}\n" https://www.google.com/On Windows, type curl.exe (in Windows PowerShell 5.1, plain curl is an alias for a different command) and send the output to NUL:
curl.exe -6 -sS -o NUL -w "%{http_code}\n" https://www.google.com/A 200 means IPv6 works end to end. An error such as "Couldn't connect to server" or "Network is unreachable" means it doesn't.
If you don't have IPv6
Check the router first. Most routers have an IPv6 option, often under the WAN or internet settings. Make sure it's enabled and set to the connection type your ISP's support pages give. If the router setting is on and you still get nothing, your ISP may not offer IPv6 on your line yet. Ask them; some ISPs enable it per customer.
Is IPv6 faster or safer?
Neither, in general. Speed depends on the route your traffic takes, and that differs per network. On networks where IPv4 goes through carrier-grade NAT or a NAT64 gateway, IPv6 traffic skips that extra step, which can help on that particular network.
You won't notice a broken IPv6 path much either. Browsers and operating systems use Happy Eyeballs (RFC 8305): they prefer IPv6, start an IPv4 attempt if IPv6 hasn't connected after a short delay (250 milliseconds is the recommended default), and use whichever connects first.
On security, having no NAT doesn't mean having no firewall. NAT happened to block unsolicited incoming connections as a side effect. On IPv6, the router's firewall does that job. RFC 6092, an Informational RFC, describes home routers that deny unsolicited incoming IPv6 connections by default; check your router's IPv6 firewall setting if you're unsure.
What site owners should do
If you run a website, publish an AAAA record so IPv6-only and IPv6-preferring users reach you directly instead of through translation gateways. Then make sure the rest of your stack handles both families:
- Log the full address, in a column wide enough for IPv6 (up to 39 characters in text form, 45 for IPv4-mapped forms).
- Rate limit IPv6 clients per prefix (usually a
/64), not per address, since one device can rotate through many addresses. Rate limiting by IP in Express and Nginx shows how. - Normalise addresses before you compare or store them. IPv6 geolocation has code for that in several languages.
IPv6 lookups work the same as IPv4 ones on IP lookup and in the API, and the subnet calculator works out the range covered by a prefix such as 2001:db8::/48.
FAQ
Should I disable IPv6?
Usually not. Disabling it rarely fixes anything and can break features that expect it. Microsoft's guidance for Windows says "We don't recommend that you disable IPv6 or IPv6 components" and suggests preferring IPv4 in the prefix policy instead if you need to (Microsoft Learn). If a particular app or VPN misbehaves over IPv6, fix that app's settings.
Why does my IPv6 address keep changing?
Your device creates temporary addresses for privacy and replaces them regularly, about once a day with the defaults in RFC 8981. Some ISPs also assign a new prefix when the router reconnects, which changes every address on your network.
Will IPv4 be switched off?
There's no date for that, and with roughly half of users still reaching Google over IPv4, websites and ISPs have every reason to keep running both. Some networks already run IPv6 only and reach IPv4 sites through a translation gateway, NAT64 (RFC 6146), so the user never needs an IPv4 address of their own.
Can I have both?
Yes. This is called dual stack. Your device has an IPv4 address and one or more IPv6 addresses, and picks one per connection. That's why one site can see your IPv4 address and another your IPv6 address at the same moment.
Next: see whether your connection has IPv6 on What is my IPv6.