How to Simulate GPS Location on Android Without Root
14 min read
Learn step‑by‑step how to fake GPS coordinates on any Android device without rooting, using developer options and a mock‑location app.
October 13, 2026 04:30
Why Simulate GPS Location?
Developers, QA testers, and power users often need to see how an app behaves at a location different from where the device actually is. Typical scenarios include:
- Testing location‑based features (maps, weather, geofencing) before traveling.
- Verifying that an app respects regional restrictions.
- Demonstrating a location‑aware app to a client without leaving the office.
Android’s built‑in location services pull data from GPS, Wi‑Fi, and cell towers. Changing the real hardware signals would require rooting or external hardware. Fortunately, Android provides a safe, software‑only method called Mock Locations, which lets any app report a fabricated coordinate to the system.
Note: Mock locations affect all apps that request location data while the mock app is active. Turn the mock off when you’re done to avoid confusing navigation or fitness apps.
Before You Start
- Charge your device to at least 50 % (the process is low‑impact but you’ll be testing for a while).
- Connect to a reliable Wi‑Fi network – you’ll need to download a mock‑location app from the Play Store.
- Back up any important location‑based data (e.g., saved places in Google Maps) in case you need to clear them later.
- Make sure you have Developer options enabled (see the first step).
Step 1 – Enable Developer Options
- Open
Settings on your Android device.
- Scroll down to About phone (or System → About phone on some OEM skins).
- Find Build number and tap it
7 times. You’ll see a toast message like “You are now a developer!”.
- Return to the main Settings screen; a new entry called Developer options should appear.
Enabling Developer options does not modify any system files; it simply unlocks hidden menus useful for debugging and testing.
Step 2 – Turn On Mock Location Feature
- Open
Settings → System → Developer options. (On Samsung devices it may be Settings → Developer options directly.)
- Scroll to the Debugging section.
- Find Select mock location app. If you don’t see it, make sure USB debugging is turned on – the toggle often reveals the mock‑location selector.
- Tap the field; you’ll see a list of installed apps that can act as mock providers. At this point you haven’t installed any, so the list will be empty.
Android only allows one app to be designated as the mock location provider at a time. This restriction prevents conflicting location data from multiple sources.
Step 3 – Choose a Trusted Mock‑Location App
There are many mock‑location apps on the Play Store. For a tutorial we recommend one that is free, regularly updated, and does not require additional permissions beyond location. Two popular choices are:
- Fake GPS Location – GPS Joystick (by Lexa)
- Mock Locations (fake GPS path) (by droidware)
Both work on Android 5.0+ and have simple UI, making them ideal for beginners.
Tip: Avoid apps that request unrelated permissions (e.g., contacts, SMS). They may be collecting data unnecessarily.
Installing the App
- Open the Google Play Store.
- Search for “Fake GPS Location – GPS Joystick”.
- Tap Install and wait for the download to finish.
- After installation, open the app once to complete its initial setup.
Step 4 – Register the App as the Mock Provider
- Return to
Settings → System → Developer options.
- Tap Select mock location app again.
- From the list, choose Fake GPS Location – GPS Joystick (or the app you installed).
- A small banner may appear confirming that the app is now the mock provider.
From this point onward, any location request the OS receives will be answered with the coordinates you set inside the mock app.
Step 5 – Set a Desired Fake Location
The UI of most mock apps consists of a map, a search bar, and a “Set Location” button. The steps below use the GPS Joystick interface as an example.
- Launch Fake GPS Location – GPS Joystick.
- Tap the search icon (magnifying glass) and type the name of a city, address, or latitude/longitude pair.
- Select the correct result; the map will centre on that point.
- Adjust the pin if needed by dragging it to the exact spot you want.
- Press the Play (▶) button or Set Location depending on the app version. The app will now broadcast the chosen coordinates.
Some apps allow you to set a static point, while others can simulate movement along a route. For basic testing, a static point is sufficient.
Step 6 – Verify the Mock Location Is Working
Open any location‑aware app, such as Google Maps, and check the reported position.
- Launch Google Maps (or any map app).
- Allow the app to access location if prompted.
- Observe the blue dot. It should appear at the location you set in the mock app, not your real GPS position.
If the dot stays at your real location, double‑check that:
- The mock app is still running (some devices stop background services when battery‑optimized).
- Developer options still list the mock app as the provider.
- Location services are set to “High accuracy” (GPS + Wi‑Fi + Cell) so the system will accept the mock data.
Step 7 – Advanced: Simulating Movement Along a Path
For developers testing geofencing or route‑tracking, a static point isn’t enough. The “Mock Locations” app by droidware includes a “Route” feature:
- Open the app and tap the Route tab.
- Import a GPX or KML file, or manually add waypoints by tapping the map.
- Set the playback speed (e.g., 5 km/h for walking).
- Press Start. The app will broadcast sequential coordinates, mimicking movement.
While the route is playing, open your test app and watch how it reacts to changing locations. Remember to stop the route when you’re finished, otherwise the mock app will continue feeding data and may drain battery.
Step 8 – Turn Off Mock Location When Finished
Leaving mock location active can confuse navigation apps, cause inaccurate timestamps in photos, or affect fitness trackers. To revert to real GPS:
- Open
Settings → System → Developer options.
- Tap Select mock location app and choose None (or simply disable the toggle).
- Close the mock‑location app or press its “Stop” button.
- Optionally, restart the device to clear any lingering mock data.
After these steps, your device will resume using real GPS, Wi‑Fi, and cell data for location.
Troubleshooting Common Issues
1. Mock location not reflected in apps
- Battery optimization stopped the mock app. Go to
Settings → Apps → Fake GPS → Battery and set it to “Unrestricted”.
- App uses “Location permission – while using the app”. Some apps request location only when in the foreground; ensure the mock app is active while the test app is open.
- Device runs Android 12+ with “Allow mock locations only while using the app”. Android 12 introduced a tighter policy: the mock app must be in the foreground for the system to accept its data. Keep the mock app open or use a “background” mode if the app offers it.
2. Google Maps shows “Your location is not accurate”
- Enable “High accuracy” under
Settings → Location → Mode.
- Turn off Wi‑Fi scanning in
Location → Wi‑Fi scanning if the device keeps overriding the mock data with real Wi‑Fi signals.
3. Mock app crashes or freezes
- Clear the app cache:
Settings → Apps → Fake GPS → Storage → Clear cache.
- Re‑install the app from the Play Store to get a fresh copy.
4. Device shows “Mock locations disabled” after a system update
- System updates can reset Developer options. Repeat Step 1 and Step 2 to re‑enable the mock provider.
Safety and Privacy Considerations
- Do not use mock locations to deceive law‑enforcement or for illegal activities. Misrepresenting your location can violate terms of service for certain apps.
- When sharing screenshots that include a mock location, double‑check that no personal data is exposed.
- Some apps (e.g., banking, ride‑hailing) explicitly block mock locations. If an app refuses to work, it’s likely detecting the mock provider and will not function until you disable it.
Alternative Methods (When Mock Apps Aren’t Enough)
If you need more granular control—such as simulating GPS signal strength, satellite count, or altitude—consider using the Android Emulator that ships with Android Studio. The emulator provides a geo fix command via the console, allowing precise latitude/longitude, altitude, and speed values. However, this requires a PC and a virtual device, which may not be practical for on‑the‑go testing.
Summary Checklist
- Enable Developer options (tap Build number 7×).
- Install a reputable mock‑location app.
- Set the app as the mock provider in Developer options.
- Choose a fake coordinate or route inside the mock app.
- Verify the new location in a map app.
- Turn off mock location when testing is complete.
Following this workflow lets you test location‑aware features reliably without rooting your device or buying extra hardware. The same steps work across most Android manufacturers—though menu names may differ slightly on Samsung, Xiaomi, or OnePlus devices. If you encounter a manufacturer‑specific quirk, the troubleshooting section above should point you in the right direction.