Skip to content

How to Set Firefox as the Default Browser

Setting Firefox as your default browser makes every link from email, chat apps, and other programs open in Firefox automatically. You can do it inside Firefox with one click on Windows, macOS, or Linux, or through your operating system's Settings app if the button is missing.

If Firefox refuses to take over, a clean reinstall clears leftover registry or profile locks. You can also disable the default-browser nag banner from the General settings panel.

In this guide, I have covered:

Quick Ways to Make Firefox Your Default Browser

The fastest path is the same on Windows, macOS, and Linux: open Firefox and click the Make Default button in Settings. If that button is missing, greyed out, or doesn’t work, the operating system still controls the final switch, so use the Windows, macOS, or Linux Settings app as a backup.

Firefox also adds a small reminder banner at startup asking whether you want it to be your default. You can ignore it (the change still happens in your OS) or disable it permanently through Firefox settings.

Set Firefox as Default from Inside Firefox (Windows, macOS, Linux)

This is the cross-platform shortcut. The button sits in the General panel of Firefox Settings and hands the final confirmation step off to your operating system.

  1. Open Firefox.
  2. Click the hamburger menu horizontal 3-bar icon in the top-right corner of the window.
  3. Select Settings from the menu. (On macOS, you can also click Firefox in the menu bar and choose Settings or Preferences.)
  4. Make sure you are on the General panel, which is the first tab in the sidebar.
  5. Scroll down to the Default Browser section.
  6. Click Make Default….
  7. If your operating system shows a confirmation dialog, click Set as default (Windows) or Use Firefox (macOS) to confirm.

After confirmation, Firefox opens every link from email, chat apps, and other programs automatically. The next time you start Firefox, the startup nag asking whether Firefox is your default should also be gone.

Set Firefox as Default on Windows 10 or 11

If you prefer to set the default directly through Windows, or Firefox’s in-app button doesn’t take, the Settings app lets you pick Firefox by hand for each link type.

  1. Click on the Start menu and select the Settings option.
    Windows OS Settings option under Start menuIt will open the Windows System settings window.
  2. Switch to the Apps menu from the left sidebar and then select the Default apps in the right pane.
    Default apps settings under Apps menu on Windows PC
  3. Under the Set defaults for applications, search and select the desired browser (say, Firefox or Chrome) to open.
    Search for browser app to Set defaults for application on Windows OS
  4. Click the Set Default button at the top.
    Set Default button on Windows PC for web browserThe desired browser will be set as the default app.

The Windows method works for protocols like HTTP and HTTPS, plus file types such as .html and .htm. If you only want Firefox for one type (say, only HTTPS), pick the protocol and leave the others on the original browser.

note icon

On Windows 11, the Make Default button inside Firefox can sometimes set the default silently through a Mozilla policy that bypasses the Microsoft default-apps screen. To verify exactly which file types Firefox owns, open Settings → Apps → Default apps and scroll to Firefox manually. Microsoft’s documentation for this screen is at Microsoft’s change default apps support article.

Set Firefox as Default on macOS

On current macOS releases, the default browser lives in Desktop & Dock settings, not the older General pane of System Preferences.

  1. Click the Apple menu in the top-left corner of the screen and choose System Settings.
  2. In the sidebar, click Desktop & Dock.
  3. Scroll down to the Default web browser dropdown.
  4. Select Firefox from the list.
  5. Close System Settings. The change takes effect immediately, no restart required.
bulb tip icon

TIP: On older macOS where the dropdown is not under Desktop & Dock, the same setting lives under General in System Preferences (the older app layout). Apple documents the full path at Apple’s change default browser support page.

Set Firefox as Default on Linux

On GNOME-based distros (Ubuntu, Fedora, Debian, Pop!_OS, and most others), the easiest path is the distro’s Settings app.

  1. Open your distro's Settings app.
  2. Click Apps or Default Applications in the sidebar.
  3. Click Web or Default Apps to open the browser section.
  4. Select Firefox as the default web browser.
  5. Close Settings, then open a link from another app to confirm Firefox launches.

On KDE Plasma distros the path is similar: System Settings → Applications → Default Applications → Web Browser. If you prefer the terminal, a single command sets the default:

  1. Open a terminal window.
  2. Type xdg-settings set default-web-browser firefox.desktop and press Enter.
  3. Verify with xdg-settings get default-web-browser. It should return firefox.desktop.
note icon

Ubuntu ships Firefox as a Snap package, and the Snap build sometimes lacks the Make Default button inside Firefox. If the button is missing on Ubuntu, switch to the official .deb build from the Mozilla APT repository or run the xdg-settings command above.

Set Firefox as Default on Android

Android lets you choose a default browser app from the system settings, the same way you would pick a default camera or messaging app.

  1. Open the Settings app on the Android Phone.
  2. Select the Apps settings and scroll down to the Default apps section.
    Default apps settings menu in Android OS
  3. Choose the Browser app option within the Default apps settings screen.
    Default Browser app settings in Android PhoneIt will display the list of available web browser apps on your device.
  4. Choose the new Default browser for Android from available apps.
    Choose the Default browser app from the available option in AndroidThe newly selected browser will be set as the default browser on your Android smartphone.

After this, web links from Gmail, WhatsApp, and other apps will open in Firefox instead of your previous default.

Set Firefox as Default on iPhone or iPad

Since iOS added support for third-party default browsers, Firefox can take over from Safari system-wide. The path lives in the iOS Settings app.

  1. Install Firefox from the App Store if it is not already installed.
  2. Open the iOS Settings app.
  3. Scroll down and tap Apps.
  4. Tap Default Apps.
  5. Tap Browser App.
  6. Select Firefox from the list.

After this, links from Mail, Messages, and other apps open in Firefox instead of Safari.

Stop Firefox From Asking to Be Your Default

If the nag banner keeps appearing even after you’ve set Firefox as default, or you’ve deliberately left another browser as default and Firefox won’t stop reminding you, there’s a dedicated toggle for it.

  1. Open Firefox and click the hamburger menu horizontal 3-bar icon.
  2. Select Settings.
  3. Stay on the General panel.
  4. Find the Default Browser section.
  5. Uncheck Always check if Firefox is your default browser.

If that checkbox is greyed out (a corporate policy or lockdown profile can lock it), the underlying preference is in about:config:

  1. In the Firefox address bar, type about:config and press Enter.
  2. Accept the Accept the Risk and Continue prompt.
  3. Search for browser.shell.checkDefaultBrowser.
  4. Double-click the value to toggle it to false.
  5. Close the tab. The nag banner stays gone.

What to Try If “Make Default” Doesn’t Work

A few common reasons the in-app button misbehaves, and how to work around each one.

  • Button is greyed out: Firefox is already set as the default, but the OS hasn’t reported back. Open your OS default apps screen and re-confirm Firefox as the web browser.
  • Button is missing on Ubuntu: You’re on the Snap build. Switch to the Mozilla .deb build or use the xdg-settings command above.
  • No confirmation dialog appears (Windows 11): Mozilla’s policy workaround sets the default silently. To double-check, open Settings → Apps → Default apps → Firefox.
  • Another app keeps stealing the default: Some PDF readers, chat apps, and security tools force themselves back. Re-pick Firefox after every such install.
  • Firefox reverts after a Windows feature update: Major Windows releases reset default apps. Re-run the Windows steps above.

If none of the above helps, a clean reinstall usually clears leftover registry or profile locks. Download the latest installer from mozilla.org/firefox and run it over your existing installation. As a more drastic alternative, you can also reset Firefox’s settings from inside the browser, which restores defaults without touching bookmarks or saved passwords.

Verify Firefox Is Now Your Default

After any of the methods above, a quick sanity check confirms the change took.

  1. Close Firefox.
  2. Click any http:// or https:// link from another app, such as your email client, Slack, Discord, or Notepad.
  3. Firefox should open the link automatically.

If a different browser opens, the OS default apps screen still has another browser selected for that protocol. Repeat the steps for your platform and confirm Firefox is associated with both HTTP and HTTPS, not just one.

Frequently Asked Questions

Why does Firefox keep asking to be my default browser?

Firefox shows a banner at startup when it detects that another browser is currently set as your OS default. You can silence the banner from Settings → General → “Always check if Firefox is your default browser”, or by setting browser.shell.checkDefaultBrowser to false in about:config.

Is there a way to set Firefox as the default browser using the command line?

On Linux, yes. Run xdg-settings set default-web-browser firefox.desktop in a terminal. Windows and macOS do not expose an equivalent single command for end users; you have to use the Settings apps described above.

I set Firefox as default, but links still open in another browser. What’s wrong?

Check your OS default apps screen and confirm Firefox is selected for both HTTP and HTTPS. Some apps also register their own protocol handlers, so Discord and Slack can force their built-in browser for certain links until you change a setting inside those apps.

Does setting Firefox as default also change my default search engine?

No. The default browser setting only controls which app opens links. The default search engine is a separate setting inside Firefox under Settings → Search. Our guide to viewing site info and setting site preferences in Firefox walks through both.

Can I set different defaults for different link types?

Yes on Windows. In Settings → Apps → Default apps → Firefox, you can choose which protocols (HTTP, HTTPS, FTP) and file types (.html, .htm, .shtml) open with Firefox, and leave the rest on the other browser.

Please share the article if you find it helpful:

Disclosure: This page may contain affiliate links, which means we may receive compensation for your purchases; of course at no extra cost to you (indeed, you may get special discounts).
Kushal Azza

Kushal Azza

Kushal Azza is a Google Certified Analytics & IT Professional, Digital Content Creator, and Go-To Digital Marketer. He has over a decade of experience solving tech problems, troubleshooting, and innovating digital solutions. Follow him on Twitter and LinkedIn.

Leave a thought or feedback

Please leave a descriptive comment or feedback with your real name. Our human moderator vets every comment, and it may take 24 to 48 hours to get published or rejected.
Your email address will not be published, and we will never spam your inbox. Required fields are marked *