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 NASA lost contact with the IMAGE satellite in 2005, an amateur radio operator in Canada named Scott Tilley picked up its signal in January 2018 while hunting for a classified spy satellite, and the spacecraft turned out to be still spinning, still powered, and still trying to phone home after 13 years of silence.
The original iPhone Steve Jobs unveiled in January 2007 could not record video, could not copy and paste text, could not run a single third-party app, and could only reach the internet over 2G — and Jobs spent ninety minutes on stage at Macworld arguing, one missing feature at a time, that every absence was actually a design decision.
In 1965, Joe Sutter’s Boeing team began shaping the 747 around a future they thought would belong to supersonic jets, lifting the cockpit onto a hump so the nose could open for cargo once the giant subsonic passenger plane had outlived its brief moment
Apple’s original 1984 Macintosh keyboard had no arrow keys, no function keys, and no numeric pad because Steve Jobs wanted users to reach for the mouse first. Then Apple quietly sold the missing keys as an accessory.
When the SS Great Eastern laid the first working transatlantic telegraph cable in 1866, a message that had taken ten days by steamship suddenly crossed the ocean in minutes, and the financial markets of London and New York were forced, within a single trading week, to invent the modern concept of synchronised global price.
Masahiro Hara and Denso engineers built the QR code in 1994 to help Toyota suppliers scan car parts from any angle, then kept the patent open until phone cameras and a 2020 pandemic turned the factory square into a daily ritual on restaurant tables
In 1965, Mary Allen Wilkes wrote LAP6 for the LINC computer from her parents’ Baltimore home, testing an interactive operating system on a 250-pound machine in the living room and becoming the first known person to use a personal computer at home, twelve years before the Apple II reached buyers
When Grace Hopper wanted to explain a nanosecond to admirals who kept asking why satellites were slow, she handed each of them a piece of wire 11.8 inches long, the exact distance light travels in a billionth of a second, and told them to keep it in their pocket as a reminder that physics, not laziness, sets the limit.