Why is my IP address showing the wrong location?
By Muntaha Shaheen · · updated · 6 min read
Your IP address shows the wrong location because an IP address carries no location of its own. Websites look the address up in a geolocation database, and the record for your address can be out of date or place it where your ISP's equipment sits. An ISP that serves a wide area from one pool of addresses, a mobile carrier that sends traffic through a few gateways, satellite internet and reassigned address blocks all cause this. A VPN, a proxy or iCloud Private Relay also shows the relay's location instead of yours. To fix it, set your location on the site you are using, report the address to the database that site uses, and ask your ISP to correct its geofeed, the published file that says where each address range is. One geofeed correction updates every database that reads it, while a correction to one database can take a month or more. Check where your address is placed on iplogs.com.
Why the location is wrong and where it gets fixed
A site sees your IP address
The address carries no location of its own.
It looks the address up in a geolocation database
The record can be out of date or place you where your ISP's equipment sits.
The site shows that place
A VPN, proxy or iCloud Private Relay shows the relay's location instead.
The fix is at the source
Ask your ISP to correct its geofeed: one correction updates every database that reads it.
How do websites work out my location from my IP address?
They look the address up in a table. Your ISP assigns your public IP, and companies that build geolocation databases map ranges of addresses to countries, regions and cities. When you load a page, the site asks its chosen database where your address is. Nothing on your device is consulted, which is why the answer can be a city you've never been to.
CenturyLink's help page describes this from the ISP side: geolocation is “powered by third-party databases”, the services use different algorithms, and the result is “usually a close approximation, but isn't 100% accurate all the time.” Different sites use different databases, so one site can put you in the right town while another puts you two states away.
Device location is a separate thing. Google, for example, labels where its location came from at the bottom of the search results page: “From your internet address” when it used your IP, “From your device” when it used your phone or computer's location. If you see the first label, the IP lookup is the one that's wrong.
Why does my IP address say I'm in a different city or state?
Because your ISP's addresses are registered or recorded for a place that isn't where you are. An ISP that serves a wide area from one pool of addresses often ends up recorded at the city where its equipment or office sits rather than in your town. Mobile data is similar: carriers send traffic out through a limited number of gateways and share addresses between many customers (CGNAT), so the address can map to a gateway city far from you.
Satellite internet is the extreme case. Starlink says its internet geolocation “may be further than your actual location (several states, provinces, or sub-regions)”, and that it assigns an IP in the country of your service address but can't guarantee one in your specific location.
Addresses also change hands. IP blocks get reassigned and sold, and the old location stays on record until the databases catch up. And if anything relays your traffic, whether a VPN, a work VPN, a proxy or iCloud Private Relay, sites see the relay's location instead of yours.
Why does my IP address show the wrong country?
When the country itself is wrong, rule out a relay or a transferred address block before blaming an out-of-date record:
- A VPN or proxy is switched on, including the kind built into antivirus software, or a VPN client on the router. Netflix's help page for “Netflix thinks I'm in a different country” starts by checking for a VPN.
- iCloud Private Relay is set to country only. Apple lets you choose between Maintain General Location and Use Country and Time Zone (Settings, your name, iCloud, Private Relay, IP Address Location), and the second makes your location deliberately vague.
- Your ISP took over addresses that used to be in another country, and databases built from older records still carry the previous country.
How do I check what location my IP address shows?
Look yourself up in two or three places and compare. On iplogs.com you'll see your public IP, the network that owns it (ASN and organisation) and the city and country it maps to, plus whether the address reads as a VPN, proxy or relay. If you have both IPv4 and IPv6 it shows both addresses. They are separate ranges and can be placed in different cities, so check both, and quote both to your ISP. If the organisation is your ISP and only the city is off, it's a geolocation record problem. If the organisation is a VPN, hosting company or Apple's relay, it's a relay problem, and no database correction will help.
Also note the exact IP address. Every correction form asks for it, and ISPs answer faster when you can quote it.
How do I fix my IP address location?
There are three levels of fix: one that works on the site in front of you right now, one that corrects a single database, and one that corrects them all at the source.
1. Override it on the site you're using
Many sites let you set the location yourself: a store picker on shopping sites, a region setting on search engines, a postcode for delivery. CenturyLink recommends this as the quickest fix. On Google Search, the region option in Search settings changes which country's results you get, and allowing your browser to share device location gives Google something better than the IP to go on.
2. Report the address to the database the site uses
Google takes reports of a wrong country through its IP location form, and says updates can take more than a month; for a wrong city, set your region in Search settings or allow device location instead. For other sites, CenturyLink's advice is to ask the site which geolocation provider it uses, then submit a correction to that provider. Expect to wait: CenturyLink says that once a request is approved it “typically takes a month or more to see the correction”.
3. Ask your ISP to fix its geofeed
This is the fix that lasts. RFC 8805 defines a simple CSV format, called a geofeed, in which a network operator publishes where each of its address ranges is. Interested parties “can poll and parse these feeds to update or merge with other geolocation data sources,” and the RFC notes that Google feeds them into its geolocation pipeline and that a significant number of ISPs use the format to say where their prefixes should be geolocated. Each line has the form ip_prefix,alpha2code,region,city,postal_code, for example:
192.0.2.5,US,US-AL,Alabaster,
192.0.2.128/25,PL,PL-MZ,,
2001:db8::/32,PL,,,RFC 9632 then lets the operator point to that file from the registry record for the address block, using a geofeed: attribute (or a remarks: Geofeed <URL> line in registries that don't have that attribute yet), so anyone can find the feed from the IP address alone. When you contact your ISP, ask whether it publishes a geofeed and whether the range containing your address has the right city. One correction there fixes every database that reads the feed, instead of one form per vendor.
What to send your ISP, so the request doesn't bounce around support:
- Your public IP address and the date you checked it.
- The location sites show for it, the location it should be, and two or three sites that show the wrong one.
- A request to check the geofeed entry for that range, or to publish a geofeed if they don't have one.
The format is deliberately coarse. RFC 8805 “intentionally only allows specifying coarse-level location”, so even a perfect geofeed will give your city or region, never your street.
Why does iCloud Private Relay show a different city?
Because sites see the relay's address, not yours, and Apple chooses which location that address represents. Apple's developer guidance says relay addresses map to the region the user is in and, by default, to the city closest to the client. Apple publishes the ranges and their locations as a geofeed in the RFC 8805 format. These were the first lines of that file on 27 October 2026:
172.224.226.0/27,GB,GB-EN,London,
172.224.226.32/31,GB,GB-SC,Aberdeen,
172.224.226.34/31,GB,GB-EN,Oxford,If you live between those cities, the “closest” one may still be an hour away. Setting IP Address Location to Maintain General Location keeps the city-level mapping; Use Country and Time Zone gives up the city on purpose.
Does a wrong IP location matter?
Sometimes. Streaming services pick your catalogue from it; Netflix's help page for showing the wrong country's titles is a whole troubleshooting flow. Search engines localise results from it. Some fraud and VPN checks compare your IP's location with your browser's time zone, and a mismatch can add friction at login or checkout. If a site wrongly says you're on a VPN as well as in the wrong place, see why your IP is flagged as a VPN.
Questions people also ask
Can someone find my home address from my IP address?
Not from geolocation databases. They map addresses to a country, region or city, and RFC 8805 geofeeds intentionally carry only coarse-level location. Your ISP knows which customer had an address, but that isn't public.
How long does an IP location correction take?
CenturyLink says that after a geolocation provider approves a correction, it typically takes a month or more to appear, and the time varies by provider. Fixes to your ISP's geofeed reach each database whenever that database next reads the feed.
Will restarting my router change my IP location?
It might. If your ISP assigns addresses dynamically you may get a new IP, and it could map to a different city. It won't help if you have a static IP or if your ISP's whole range is recorded in the wrong place.
Why does Starlink show the wrong location?
Starlink assigns an IP address in the country of your service address but says it can't guarantee one in your specific location, so geolocation may be several states, provinces or regions away.
Why does Google think I'm in a different city?
If the bottom of the results page says “From your internet address”, Google is using your IP's location. If the country is wrong, report the address through Google's IP location form; for a wrong city, set your region in Search settings or allow device location so Google can use that instead.
Sources
- RFC 8805: A Format for Self-Published IP Geolocation Feeds
- RFC 9632: Finding and Using Geofeed Data
- Google Search Help: Understand and manage your location when you search on Google
- Google Search Community: My location is wrong, how do I fix this? (region settings and IP report form)
- CenturyLink Help: Why is my location wrong?
- Starlink Help Center: My IP geolocation is incorrect or too far away
- Apple Developer: Prepare your network or web server for iCloud Private Relay
- Apple: iCloud Private Relay egress IP ranges (CSV)
- Apple iPhone User Guide: Protect your web browsing with iCloud Private Relay
- Netflix Help: Netflix thinks I'm in a different country