What is GPS spoofing?
GPS spoofing means making a device report a position other than its real one. The term covers two very different things, and only one of them belongs on your own phone.
What is GPS spoofing? In the broadest sense it is any technique that makes a GPS receiver, or the software behind it, report a location that isn’t the real one. People also call it a fake GPS location, a mock location or a virtual location. Behind those words are two different techniques with very different consequences, so it is worth separating them before going any further.
Two kinds of GPS spoofing
Spoofing the signal
A GPS receiver works out its position from the timing of radio signals sent by satellites. Those signals are weak by the time they reach the ground, so a transmitter nearby can drown them out with counterfeit ones and lead receivers in the area to a false position or time. This is the kind of GPS spoofing that makes the news when it affects ships or aircraft. It interferes with other people’s equipment and with safety systems, and transmitting on these frequencies is restricted by radio regulations. It has no place in private use, and this guide doesn’t cover how to do it.
Simulating the location in software
The second kind never touches the radio. The device’s own operating system is told to hand apps a chosen set of coordinates instead of the measured ones. Only that one device is affected, and the feature exists because the platform makers built it for developers:
- iPhone. Apple’s developer tools can simulate a device’s location, either a fixed place or a journey replayed from a GPX file, while an app is run or tested from a Mac. The iPhone needs Developer Mode turned on.
- Android. The developer options include “Select mock location app”, which Google’s documentation describes as a way to fake the GPS location of the device for testing.
When someone talks about a fake GPS app or a location spoofer for a phone, they mean this second kind.
What GPS spoofing is used for
- Development and testing. This is the reason the feature exists. A developer has to check that a geofence fires, that a delivery app follows a route, or that content changes by country, without flying there. Apple’s documentation recommends simulated locations so that tests don’t depend on where the test device happens to be.
- Demos and recordings. A presentation or screen recording needs the same place and the same route every time.
- Privacy. Some apps ask for a location they don’t need in order to work. Before reaching for a simulated location, try the built-in options: deny the permission, or share only an approximate position by turning off Precise Location.
- Getting around rules. Location-based games, regional restrictions, check-ins. This is where spoofing collides with the terms of the services involved.
Risks, app rules and the law
Apps can detect it. On iOS, every location carries information about its source, and Apple gives developers a property, isSimulatedBySoftware, that is true when the system generated the location through software simulation. Android marks mock locations in a similar way. An app can refuse to work, ignore the location or act on its terms of service. Claims that a tool is “undetectable” deserve scepticism.
App and service terms. Many services forbid falsifying your location and may suspend accounts for it. Read the terms of the apps you use; the responsibility is yours.
The law depends on the use. Simulating the location of your own phone to test an app is ordinary engineering work. Using a false location to commit fraud, to get around legal restrictions or to deceive someone can be unlawful, and the rules differ by country. Broadcasting fake satellite signals is a separate matter and is prohibited or tightly restricted. We are not lawyers; if the stakes are real, get advice.
Security. Tools that require a jailbreak or a configuration profile from an unknown source change how your phone protects itself. Apple’s Developer Mode is a smaller step, but iOS still warns that it reduces the security of the device. You can turn it off when you no longer need it.
People. Sending someone a false location to mislead them is deception, whatever tool is used. If your concern is that someone is tracking you, the better tools are the sharing controls themselves: see how to stop sharing location on iPhone.
How fake GPS works on iPhone
iOS has no setting for entering coordinates by hand, and apps on the iPhone can’t change the system location for other apps. Location simulation is controlled from a Mac through Apple’s developer services, which is why every legitimate method involves a computer.
- Xcode. Developers simulate a location while running their own app, using a list of places or a GPX file.
- Locaflip. Our Mac app uses the same Apple developer location-simulation service without a project or Terminal. It sets the GPS location of an iPhone connected by cable, so apps that read location through iOS Location Services receive the simulated coordinates. It needs iOS 17 or later and Developer Mode, the Mac has to stay connected, and Reset location returns the real position immediately. There is no jailbreak and nothing is installed on the iPhone.
What Locaflip doesn’t do matters just as much. It doesn’t hide the simulation from apps, we haven’t designed or tested it for Find My or location sharing, and we make no promise about how any particular app reacts. The full steps are in how to change location on iPhone.
GPS spoofing vs. VPN
A VPN and a fake GPS location are often mentioned together, but they change different things. A VPN replaces your IP address, which is what websites use to guess your country. A simulated location replaces the coordinates that the operating system gives to apps with location permission. Neither changes the other, and a service that checks both will notice when they disagree.
Frequently asked questions
Is GPS spoofing illegal?
It depends on what is done. Simulating the location of your own device for development or testing is a standard, documented feature. Using a false location for fraud or to deceive others can be unlawful, and transmitting fake satellite signals is prohibited or restricted. Laws differ by country.
What is a mock location?
It is the Android term for a simulated location. The developer options contain “Select mock location app”, which lets a chosen app supply the device’s location for testing.
Can apps detect a fake GPS location?
Yes. On iOS a location reports whether it was simulated by software, and Android flags mock locations. Apps can detect or forbid simulated locations.
Is there a fake GPS app for iPhone in the App Store?
An app on the iPhone can’t change the location that other apps receive. On iPhone, location simulation runs through Apple’s developer services from a Mac, with Xcode or a Mac app such as Locaflip.
Does GPS spoofing need a jailbreak?
Not with Apple’s developer location simulation. It requires Developer Mode on the iPhone and a Mac, not a jailbreak.
Sources
- Apple Developer: Simulating location in tests
- Apple Developer: CLLocationSourceInformation.isSimulatedBySoftware
- Apple Developer: Enabling Developer Mode on a device
- Android Developers: Configure on-device developer options
- Android Developers: Location.isMock()
- Apple Support: About privacy and Location Services in iOS, iPadOS, and watchOS