How Does Google Know Where Your WiFi Router Is?

Just when you thought that your location on this planet wasn’t so painstakingly obvious to every single company you come into contact with online, you go on Google Maps and find that somehow Google knows exactly where your house is and points its location out with a little blue dot.

This is a little trick of geolocation, and no, you do not need to provide your consent for this. The only thing they need is to try to connect to your WiFi router and correlate the contact with a location. In an era where smartphones are ubiquitous, this is a very easy task.

Why Is WiFi Being Used for Geolocation?

WiFi is a solid radio technology that works in any weather with very little interference. This is in stark contrast to GPS satellite technology which could be affected by cloud cover and other aspects that may interfere with the signal’s long journey from outer space. Because of this (along with the fact that people usually don’t relocate their WiFi access points all willy nilly), Wi-Fi can technically be more reliable than GPS for geolocation especially within urban centers.

Try this experiment one day with your smartphone: Open Google Maps and allow it to use WiFi to track your location. See how quickly that happens. Now, try turning your WiFi antenna off. Sometimes the difference in time is minuscule, but if your GPS antenna sucks like mine does, using WiFi to determine your location is not only faster but yields more accurate results within a very short period of time.

How Does Google Know Where Access Points Are?

wifilocation-pinpoint

Technically, the address your IP is registered to (i.e. the billing address you have with your ISP) is not common knowledge. Your router gives Google no indication of its geographical location. In fact, it doesn’t even present its IP address unless a device manages to connect to it (meaning that if you require a password to connect to your network, you’re not broadcasting your IP address for the world to see). How does Google work out your location then?

Most people don’t bother to turn off antennas on their phones, so they usually have GPS and WiFi on concurrently. Because a wireless router broadcasts its SSID (the WiFi network’s name) as part of the “hello” it sends, there is now a way to identify it other than through its IP address (which in all likelihood will change anyway at some point in the future).

Another way is through the router’s unique MAC address. Now that Google has a way to identify your router, it only needs a location to associate it with. A passerby with an Android phone will do that quite nicely. All Google needs to do is scoop up the phone’s GPS location at the time it is connected to your router, and it now has your router’s approximate location. And now other passersby without state-of-the-art GPS antennas on their phone can find their own locations quickly.

How Do I Stop This?

Technically, there is no real way to stop your router from becoming a beacon for geolocation services. You’re stuck with the inadvertent role of being everyone else’s lighthouse whether you like it or not. Since smartphones don’t try to connect to routers that don’t broadcast their existence when they send a probe request, you may get away with just stopping your router from broadcasting its SSID wirelessly.

On the other hand, this means that you’ll have to manually add your wireless network every time you connect to it. On Android phones this means pressing the plus button on the bottom of the list of wireless networks in “Settings -> WLAN.” You’ll get tired of this rather quickly.

wifilocation-ssidadd

Associating your access point’s radio signal with a location doesn’t necessarily mean that people are tracking you or your data unless the connection is unencrypted. To be safe, just make sure that your router requires a password to connect to it wirelessly.

If you have any other advice for curious folks, be sure to tell us all about it in a comment!

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Miguel Leiva-Gomez Avatar

Read next

When Sony shipped the first Walkman in 1979, chairman Akio Morita insisted on a second headphone jack and a “hotline” talk button, convinced it would be rude for one person to listen to music alone — and within a few years buyers had ignored the sociable features so completely that Sony quietly dropped them
Russia still custom-builds the Soyuz return seats for ISS crew members using plaster casts taken weeks before launch, because astronauts grow as much as five centimetres taller during a long-duration stay and a seat moulded to their Earth-shaped spine would no longer fit the body that comes home
The “CrackBerry” nickname stuck for a reason — and the variable-reward psychology that hooked early-2000s executives on their BlackBerrys is the exact same machinery now running every push notification on every smartphone in your pocket
In 1843, Ada Lovelace described a brass-and-punched-card engine that could act on symbols as well as numbers, even composing music if harmony could be reduced to rules, inside seven translator’s notes three times longer than the paper itself
ARPANET sent its first message on 29 October 1969 from a lab at UCLA to a machine at Stanford, and the message was supposed to read ‘LOGIN’ — but the system crashed after the L and the O, meaning the first word ever transmitted over the network that became the internet was, by accident, ‘LO’.
In 1995, Microsoft shipped a cartoon-house interface called Bob, led by Melinda French, who married Bill Gates while it was in development — it demanded twice the memory of a typical home PC, sold roughly 30,000 copies, and was dead within a year, leaving behind the font Comic Sans and the animated assistant that became Clippy.
The Greenland shark grows about one centimetre a year, does not reach sexual maturity until around age 150, and a specimen carbon-dated by Danish researchers in 2016 was estimated to be at least 272 years old, meaning it was already swimming the North Atlantic when Mozart was composing symphonies.
When Apple shipped iOS 12 in June 2018, a small feature called Screen Time slipped onto every iPhone with a counter nobody had quite prepared for — a tally of pickups — and within a day Tim Cook was telling CNN the number of times he picked up his own phone was simply too many