sodcalculator

10 Tech How-To

Block Location Tracking in Firefox: Step-by-Step

Guide 10-45841 · Updated · Step by step

This guide shows you how to stop websites from accessing your physical location in Firefox. You’ll learn to turn off location requests entirely, clear existing permissions, and manage site-specific exceptions—all without breaking other browser features. No technical background needed.

What You’ll Need

  • A computer or mobile device with Firefox installed (desktop steps shown; mobile notes included).
  • Permission to change browser settings (standard user account is fine).

Step-by-Step

  1. Open Firefox settings. Click the three horizontal lines (menu) in the top-right corner, then select Settings (on Windows/Linux) or Preferences (on macOS). On mobile, tap the menu (three dots) and choose Settings.
  2. Go to Privacy & Security. In the left sidebar, click Privacy & Security. Scroll down to the Permissions section.
  3. Locate Location settings. Under Permissions, find the Location row. Click the Settings… button next to it.
  4. Block all new location requests. In the pop-up that appears, check the box that says Block new requests asking to access your location. This prevents any site from prompting you for location data in the future.
  5. Remove existing permissions. The list shows sites that have already been granted or denied location access. To revoke a permission, select the site and click Remove Website. To clear all, click Remove All Websites. Then click Save Changes.
  6. Close the settings tab. Your changes are saved automatically. No restart needed.

Mobile (Android/iOS): In Firefox for Android, go to Settings → Site permissions → Location, then toggle Location off. On iOS, go to Settings → Websites → Location and choose Block or Ask.

Common Mistakes

  • Only clearing cookies: Clearing cookies does not reset location permissions. You must remove them in the Location settings as shown.
  • Using private mode as a workaround: Private browsing still allows location requests unless you block them explicitly. The steps above apply to all windows.
  • Blocking all permissions: The Block new requests checkbox only affects location, not camera, microphone, or notifications. Don’t confuse them.
  • Forgetting to save: On some older Firefox versions, you must click Save Changes after editing the list; otherwise, changes revert.

Tips

  • Use the site-specific override: If you want to allow a trusted site (like a maps service) to see your location, after blocking all new requests, you can still add that site manually by typing its URL in the Location settings and choosing Allow.
  • Check the address bar: When a site requests location, a small pin icon appears in the address bar. Click it to quickly change permission for that site without going into settings.
  • Consider a VPN: Blocking location in Firefox stops websites from using the browser’s geolocation API, but they can still estimate your location via your IP address. A VPN masks that.
  • Keep Firefox updated: Newer versions have clearer permission controls and better privacy defaults.

Troubleshooting

  • Websites still ask for location: If you’ve blocked new requests but a site still prompts, it might be using a different method (like IP geolocation). Also, check that the box is actually checked and saved. Restart Firefox if needed.
  • Location icon still appears: The icon may appear for sites that have been previously allowed. Remove those sites from the list as described in Step 5.
  • Can’t find the Location settings: In Firefox for Android, the path is slightly different: Settings → Site permissions → Location. On iOS, it’s Settings → Websites → Location. If you’re on a managed device (work/school), policies may hide these options—contact your administrator.
  • Changes don’t stick: Some Firefox versions have a bug where permission changes reset after closing the browser. Try updating Firefox to the latest version, or restart in Safe Mode (Help → Restart with Add-ons Disabled) to see if an extension is interfering.
  • Location is still shared in a specific site: That site may have been granted permission before you blocked new requests. Go back to the Location settings, find the site, and click Remove Website.

Frequently Asked Questions

Q: Does blocking location in Firefox affect my GPS or device location?
A: No. It only prevents websites from using the browser’s geolocation API. Your device’s GPS and other apps remain unaffected.

Q: Can I allow location for one site after blocking all?
A: Yes. In the Location settings, click Settings…, uncheck the block box temporarily, add the site with Allow, then recheck the block box. The site will still be allowed.

Q: Will this stop ads from showing local results?
A: No. Advertisers often use your IP address, not the browser’s location API. To reduce IP-based tracking, use a VPN or disable location services at the OS level.

Q: Does private browsing mode block location by default?
A: No, private mode does not automatically block location requests. You still need to apply the steps above.

Q: How do I know if a site is trying to track my location?
A: Firefox will show a notification prompt asking for permission. If you’ve blocked all requests, you won’t see the prompt, and the site won’t get your location.

Q: Can I block location for all sites at the operating system level?
A: Yes, but it’s separate from Firefox. On Windows, go to Settings → Privacy & Security → Location and turn off access for Firefox. On macOS, System Settings → Privacy & Security → Location Services. On Android, App permissions → Location. On iOS, Settings → Privacy → Location Services.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →