Device Location Wrong on Your Computer? Browser and Windows Fixes
By the Osm4People editorial team
Photo: Monstera Production / Pexels
Your phone knows where it is because it listens to satellites. Your computer mostly does not, and that single fact explains nearly every case of a desktop showing the wrong city, the wrong store inventory, or weather for somewhere you have never lived. A laptop or desktop usually has no GPS receiver. Instead, your browser estimates your position from the Wi-Fi networks around you, matched against a database, or falls back to the location of your internet connection itself, which can be registered in a city hundreds of miles away. When those estimates go wrong, they go wrong in patterned ways, and each pattern has a fix. This article starts with triage, identifying which surface is wrong, then gives the complete fix path for each one.
If instead it is your phone's dot that wanders, that is a different fault with different cures, covered in why is my location not accurate. This article is for screens without satellites: Windows PCs, Macs, and the browsers on them.
Interactive map
Coordinate Explorer: What Your Browser Actually Reports
Tap Use my location. If these coordinates are right, your browser and system are healthy and the wrongness lives in the website. If they are wrong, the fault is below the website, and the triage table in this article tells you where.
Decimal degrees40.689167, -74.044444
Latitude40.689167° N
Longitude74.044444° W
Degrees minutes seconds40° 41' 21.00" N, 74° 02' 40.00" W
Degrees decimal minutes40° 41.350' N, 74° 02.667' W
One website shows the wrong city; everything else is fine
That site is using your IP address location, or has an old saved location
The IP section below; also check the site's own location setting
Every website in one browser is wrong, other browsers fine
That browser's permission or its location provider
The browser sections below
All browsers and apps on this computer are wrong
The operating system's location setting, or your Wi-Fi database entry
The Windows section, then the Wi-Fi note
Location is right at home, wrong at the office or on VPN
The network's exit point is elsewhere
The VPN and IP section below
The computer claims a city you lived in years ago
A saved default location, or an account-level setting
The default location section
Do not skip this table. The most common outcome of skipping it is an hour spent reinstalling a browser when the actual fault was a VPN quietly exiting in another state.
Why Your IP Address Lies About Your City
Many websites do not ask your browser for your location at all. They look at your IP address, the number your internet provider assigns your connection, and consult a database that maps addresses to places. Those databases are approximations built from provider records, and they are routinely wrong at city level: the address block may be registered at your provider's regional hub, so a whole town appears to live in a city an hour away. A VPN makes this total: your traffic exits through the VPN's server, and every IP-based site will place you in that server's city or country, which is often the entire point of the VPN.
The fixes match the causes. If one site is wrong, look for the site's own change location or store selector before blaming your machine; shopping and weather sites save a location and reuse it for months. If everything IP-based is wrong and you run a VPN, disconnect it or split your browser out of it and watch the city snap back. If you never use a VPN and your whole town is misplaced, that is your provider's database entry, and only time or the provider corrects it; the browser-level location below is the accurate one to rely on meanwhile.
Windows: The Master Switch and the Default Location
Windows has its own location service that apps and browsers can draw on, and two settings matter.
The master switch. Open Settings, then Privacy and security, then Location. Location services must be on for anything on the PC to locate itself, and below it, each app has its own toggle. If location services are off at the top, every browser prompt downstream is theater; nothing will work until this is on.
The default location. On the same Location page, Windows offers Default location, a fixed position you set by hand on a map. Windows uses it when it cannot determine a real position, which for a desktop with no GPS and a sparse Wi-Fi database is often. If your PC keeps claiming a city you left years ago, this setting is the prime suspect: someone, possibly you during setup, pinned the old place. Open it, click Set default, and either place the pin where the computer actually sits or clear the default so Windows admits uncertainty instead of inventing a hometown.
Browser Fixes: Chrome, Edge, and Firefox
Every browser asks permission per site, and a denied or stale permission is a top-three cause of wrong locations.
Chrome. Open Settings, then Privacy and security, then Site settings, then Location. Check two things: that sites are allowed to ask, and that the specific site is not sitting in the Not allowed list from a hasty click months ago. Remove it from that list, reload the site, and answer the fresh prompt with Allow. For a single site, the padlock icon in the address bar opens the same controls faster.
Edge. The path rhymes: Settings, then Cookies and site permissions, then Location. Same two checks: the global rule, and the per-site lists. Edge on Windows can also draw on the Windows location service, so if Edge alone is wrong while Chrome is right, revisit the Windows master switch above.
Firefox. Firefox uses a per-site permission with no big central list: right-click the page, choose View Page Info, open the Permissions tab, and find Access Your Location. Set it to Allow for the site that needs it. Firefox also relies on the operating system's location where available, so the Windows settings apply here too.
On a Mac, the equivalent master switch is System Settings, then Privacy and Security, then Location Services, with per-app toggles beneath it, and Safari manages site permissions under its own Settings, Websites, Location.
Close-up of hands using a smartphone for map navigation indoors
The Wi-Fi Database Problem
When a browser does locate you properly, it usually does it by scanning nearby Wi-Fi network names and asking a location database where those networks live. This is astonishingly accurate in cities, and it has one famous failure: you move house and take your router with you. For a while, the database still believes your router lives at your old address, and your computer, seeing its own familiar network, confidently reports your old home. The databases correct themselves as phones with GPS pass your street and re-map the network, a process of days to weeks. There is no user-facing fix faster than waiting, but knowing the cause saves the hours people spend reinstalling things. A phone hotspot test confirms it: connect the computer to your phone's hotspot instead of your router, and if the location snaps to correct, your router's database entry was the culprit.
When Nothing Works: Override Instead of Repair
Occasionally every fix in this article fails because the wrongness lives in a database you cannot edit: your provider's IP registration, or a Wi-Fi database entry that will take its own sweet time to heal. In that case, stop repairing and start overriding, because most services give you a manual door. Shopping sites let you set your store. Weather sites let you pin your town. Map websites let you search the place you actually mean and ignore the guessed center entirely. Streaming and sports services that place you wrongly by IP are the stubborn exception; for those, only the provider's database or a different network changes the answer. The mature approach to desktop location is this: use the browser's precise location, granted site by site, for anything that matters, treat IP location as a rough guess that some sites will get wrong, and keep the manual overrides set on the handful of sites you use daily. Your computer was never given a satellite receiver; with those habits, it rarely needs one.
It is also worth one experiment before concluding anything is broken: open the Coordinate Explorer on this page in the affected browser and tap Use my location. The explorer shows you the raw coordinates the browser reports, in every format. If those coordinates are right, your browser and operating system are healthy and the wrongness lives in the specific website, which narrows the problem to that site's saved setting or its IP guess. If the coordinates are wrong, the fault is below the website, in the browser permission, the operating system switch, or the databases this article describes, and the triage table at the top tells you which to visit first.
Related Guides
Readers working through this topic usually need its closest companions too. These GPS and navigation guides cover the neighboring ground:
Most often because a website is locating you by IP address, and your provider's address block is registered at a hub in that other state, or because a VPN is routing you there. If only some sites are wrong, it is IP location. If everything is wrong, work through the Windows and browser sections of this article.
How do I set my location manually on my computer?
On Windows, open Settings, Privacy and security, Location, and use Default location to pin the computer's actual position; Windows will use that pin whenever it cannot determine a real one. In a browser, you cannot type in a location directly, but many websites offer their own change location setting, which is the right tool for store and weather sites.
Why is my location right on my phone but wrong on my laptop at the same desk?
Because they use different senses. The phone hears GPS satellites and knows the desk precisely. The laptop has no GPS and relies on the Wi-Fi database and your IP address, both of which can be wrong in the ways this article describes. Same desk, different instruments.
Can a website see my exact address?
With your permission, a browser can share a position accurate to a building, derived from Wi-Fi positioning. Without permission, a site sees only your IP address location, typically city-level and often wrong. You control the precise version site by site, and the browser sections above show where those switches live.
My location was fine until I moved house. What happened?
Almost certainly your router moved with you and the Wi-Fi location database still maps its name to your old address. It self-corrects over days to weeks as GPS-carrying phones pass and re-survey the network. The hotspot test in this article confirms the diagnosis in two minutes.
Does turning off location services break anything important?
Maps, weather, store finders, and anything that tailors results to where you are will fall back to asking you or guessing from your IP address. Nothing on the computer breaks; it just gets vaguer about place. Many people leave the master switch on and manage permissions per site, which is the balance this article's fixes assume.
Photo credits: Monstera Production (Pexels); cottonbro studio (Pexels). Photos are served from this site; follow the credit to the library page for the original.