sodcalculator

10 Tech How-To

Fix Can’t Set Firefox as Default Browser on Windows 10

Guide 10-12454 · Updated · Step by step

If Windows 10 won’t let you set Firefox as your default browser, the fix usually involves resetting the app associations in Settings or using Firefox’s own troubleshooting tools. Follow the steps below to regain control and make Firefox your default for all web links.

Why Windows 10 Ignores Your Default Browser Choice

Windows 10 uses a system of app associations to decide which program opens different file types and protocols (like HTTP and HTTPS). When you try to set Firefox as default, the OS may revert to Microsoft Edge or show an error. This happens because:

  • Another app (like a security suite or a browser manager) is overriding the association.
  • The Windows registry entries for Firefox are corrupted or outdated.
  • A Windows update changed the default app settings without your permission.
  • Firefox’s own installation is damaged or missing the required registration keys.

Understanding these causes helps you pick the right fix.

Step-by-Step: Set Firefox as Default in Windows Settings

The most reliable method is through Windows Settings, not Firefox’s own prompt. Here’s how:

  1. Open Settings (Windows + I) and go to Apps > Default apps.
  2. Scroll down to Web browser and click the current browser (likely Microsoft Edge).
  3. Choose Firefox from the list.
  4. If Firefox is not listed, click Choose an app and browse to C:\Program Files\Mozilla Firefox\firefox.exe.
  5. After selecting, restart your PC and test by clicking a link in an email or document.

If Firefox still doesn’t appear or the change doesn’t stick, move to the next section.

Reset Firefox and Windows App Associations

Sometimes the simplest fix is to reset both Firefox and Windows’ default app configuration.

Reset Firefox: Open Firefox, go to Settings > General > scroll to Startup and click Set as Default. If that fails, type about:support in the address bar and click Refresh Firefox (this keeps your bookmarks and passwords but resets extensions and settings).

Reset Windows app associations: In Windows Settings, go to Apps > Default apps and click Reset at the bottom. This clears all custom associations, then you can re-set Firefox as default. Note this also resets other defaults like PDF readers and media players.

Use Firefox’s Built-in Troubleshooting (about:preferences)

Firefox has a dedicated page for default browser issues. Type about:preferences in the address bar, then under General > Startup, click Set as Default. If Windows prompts you with a dialog, make sure you select Firefox and check the box that says “Always use this app.”

If the button is greyed out, it means Windows is not recognizing Firefox as a valid browser. This can happen if the installation is incomplete. Reinstalling Firefox usually fixes that.

Check for Conflicting Software and Registry Issues

Third-party tools like CCleaner, browser managers, or even some antivirus programs can lock default associations. Temporarily disable any such software and try again. Also, check the Windows registry for stale entries:

  1. Press Windows + R, type regedit, and press Enter.
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice.
  3. Delete the UserChoice key (back it up first). This forces Windows to rebuild the association.
  4. Restart your PC and set Firefox as default again.

Be careful with registry edits; make a backup before changing anything.

Reinstall Firefox to Fix Corrupted Installation

If none of the above works, a clean reinstall often resolves the issue. Uninstall Firefox via Settings > Apps, then download the latest version from the official Mozilla website. During installation, choose Set as my default browser when prompted. This re-registers all the necessary file associations.

Frequently Asked Questions

Why does Windows 10 keep switching back to Edge?

Windows 10 may revert to Edge after updates or if another app resets the default. Use the Settings method and check for any “browser protection� features in your security software that might be forcing Edge.

Can I set Firefox as default for only certain file types?

Yes. In Settings > Apps > Default apps, scroll down to individual protocols (like HTTP, HTTPS, .html) and change each one to Firefox. This gives you granular control.

Is there a command-line way to set Firefox as default?

Yes. Run firefox.exe -SetDefaultBrowser from an elevated Command Prompt. This triggers the same Windows dialog, but some users find it more reliable.

Does Firefox have a built-in fix for this?

Yes, the Refresh Firefox feature (in about:support) resets the browser to its default state, which often clears corrupted settings that prevent it from being set as default.

Will this fix affect my bookmarks or passwords?

Refreshing Firefox keeps your bookmarks, passwords, and open tabs. It only removes extensions and custom settings. A full uninstall/reinstall will erase everything unless you back up your profile first.

What if Firefox isn’t listed in the default apps at all?

That means Firefox is not properly installed. Reinstall it, and if it still doesn’t appear, check that you’re using the 64-bit version compatible with your Windows 10.

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 →