Android's mock location feature lets you set any GPS coordinates as your device's reported position — no root access, no third-party system modifications, no hardware hacks. It's built directly into Android through Developer Options, and it's the same mechanism professional Android developers use to test location-based features without physically traveling.
This guide walks you through the entire setup using GPS Simulator: Mock Location — from enabling Developer Options on your device to setting your first spoofed GPS coordinate.
Prerequisites
- Any Android device running Android 6.0 or later
- Access to Settings on your device
- GPS Simulator: Mock Location installed (free tier is sufficient)
Setup Steps
Enable Developer Options
Go to Settings → About Phone and find Build Number. Tap it seven times in quick succession. You'll see a countdown toast message, and then a confirmation that Developer Options has been enabled.
Samsung devices: The Build Number is under Settings → About Phone → Software Information → Build Number.
Pixel devices: You may find it under Settings → About Phone → Build Number directly.
Install GPS Simulator
Download GPS Simulator: Mock Location from the Google Play Store. The free tier gives you full access to basic location spoofing. A 14-day Pro trial activates automatically for new users, giving you access to joystick movement, route recording, and all Pro features during the trial period.
Set GPS Simulator as Your Mock Location App
Go to Settings → Developer Options → Select Mock Location App and choose GPS Simulator from the list.
If you don't see this option, make sure Developer Options is enabled (Step 1) and that GPS Simulator is fully installed. The app also includes a built-in setup banner that links you directly to this setting — just open the app and follow the prompt at the top.
Set Your First Mock Location
Open GPS Simulator. You'll see a full-screen map powered by OpenStreetMap. Tap anywhere on the map to instantly set that point as your device's GPS coordinates. The location takes effect immediately — open Google Maps or any other location-aware app and you'll see your position has changed.
You can also use the search bar to find a specific address or city instead of tapping manually.
Ready to get started?
GPS Simulator is free to download. Your 14-day Pro trial starts automatically — no credit card required.
What You Can Do With Mock Location
Once mock location is active, every app on your device believes you're at the coordinates you've set. Some practical uses:
For developers
Test your app's location-aware features — geofencing triggers, distance calculations, location-based content, map rendering — without leaving your desk. GPS Simulator's joystick lets you simulate movement at realistic speeds (Walk, Jog, City, Highway) so you can test dynamic location scenarios too.
For privacy
Apps that request location permission will receive your mock coordinates instead of your real ones. This is useful when you want to use a location-dependent feature without disclosing your actual whereabouts.
For GPS record management
Use GPS Simulator's route recording feature to capture, edit, and replay GPS traces. Pro users can export routes as standard GPX 1.1 files for use in mapping software, fleet management tools, or mileage logs.
Troubleshooting
Most issues come down to a missed step in Developer Options. Here are the common ones:
That's It
Mock location setup on Android is a four-step process that takes under two minutes once you know where to look. The feature is built into every Android device — no root, no third-party system tools, no risk to your warranty or device integrity.
If you're an Android developer, the setup above is the foundation for a much more powerful testing workflow. GPS Simulator's route recording, joystick control, and GPX support turn your device into a full GPS testing environment — all without leaving your desk.
GPS Simulator: Mock Location
Free to download. 14-day Pro trial included. No credit card required.