User Agents

Web browsers and everyday web tech, explained

How to Switch to Dark Mode in Firefox

· 4 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Dark mode in Firefox changes the browser's interface—toolbar, menus, and new tab page—to a dark theme, reducing eye strain in low light and saving battery on OLED screens. You can also force websites to display dark colors. This guide covers both the built-in theme and the global site override. You'll need Firefox installed (any recent version) and a few minutes.

What You'll Need

  • Firefox browser (current version, e.g., 115 or later)
  • Optional: a Firefox account if you want to sync the theme across devices

Step-by-Step

  1. Open Firefox Settings. Click the menu button (three horizontal lines) in the top-right corner, then select Settings (or Options on some systems).
  2. Go to the Theme section. In the left sidebar, click General. Scroll down to the Language and Appearance section. Look for Theme.
  3. Choose Dark. Click the dropdown next to Theme and select Dark. The browser chrome (toolbar, menus) will immediately turn dark.
  4. Optional: Force dark mode on websites. In the same Settings page, scroll to Website appearance (or Site appearance). Select Dark from the dropdown. This makes Firefox attempt to render all sites with dark colors, even if the site itself doesn't offer a dark theme.
  5. Optional: Use system theme. If you want Firefox to follow your OS setting, choose System theme instead of Dark. This will switch automatically when you change your OS dark mode.
  6. Optional: Install a custom dark theme. Go to addons.mozilla.org → Themes, search for “dark”, pick one, and click Add to Firefox. Then go to Settings → General → Theme and select it.

Common Mistakes

  • Only changing the OS theme. If you set your computer to dark mode but Firefox stays light, you haven't changed Firefox's own theme. You must set the Theme in Firefox settings.
  • Expecting all websites to go dark automatically. The built-in dark theme only affects Firefox's interface. To make websites dark, you need to set Website appearance to Dark, or use an extension like Dark Reader.
  • Not checking the correct settings menu. In older Firefox versions, the theme setting might be under Options → General → Language and Appearance. The location is similar, but the label may differ.
  • Using a custom theme that doesn't match. If you install a third-party theme, it overrides the built-in Dark theme. Make sure the theme you pick is actually dark.

Tips

  • Use the system theme for automatic switching. If you set Firefox to System theme, it will follow your OS dark/light setting, which is handy if you switch modes daily.
  • Force dark mode on specific sites only. Instead of forcing all sites, use the Dark Reader extension to toggle dark mode per site with a click.
  • Customize with a theme. Mozilla has many dark themes that also change the new tab background. Try “Dark” or “Midnight” themes from the add-ons store.
  • Keyboard shortcut: On Windows/Linux, press Alt to reveal the menu bar, then go to View → Appearance → Dark. On macOS, the shortcut is Cmd+Shift+L (this toggles reader mode, not theme—so check the menu).

Troubleshooting

  • Dark mode doesn't apply to websites. If you set Website appearance to Dark but sites remain light, some websites override the setting. Use an extension like Dark Reader to force dark on stubborn sites.
  • Firefox still shows light theme after selecting Dark. Try restarting Firefox. If that doesn't work, check if you have a custom theme installed that overrides the built-in theme—remove it via Add-ons Manager.
  • System theme doesn't match OS. On Windows, ensure your OS is set to dark mode in Settings → Personalization → Colors. On macOS, go to System Preferences → General → Appearance. On Linux, it depends on your desktop environment.
  • Dark mode makes some text unreadable. If a website's text becomes hard to read, try using the Dark Reader extension with its “Light” filter or adjust the brightness and contrast sliders.
  • Theme resets after update. Occasionally a Firefox update may reset theme settings. Re-select Dark in Settings. To prevent this, sign in to Firefox Sync and enable theme syncing.

Frequently Asked Questions

Does Firefox dark mode affect all websites?

No, the built-in dark theme only changes the browser's interface. To darken websites, you must set Website appearance to Dark in Settings, or use an extension like Dark Reader.

Can I schedule dark mode to turn on automatically?

Firefox doesn't have a built-in scheduler. However, you can set Firefox to System theme and use your operating system's scheduled dark mode (e.g., Windows Night Light or macOS Auto).

Will dark mode save battery on my laptop?

On OLED screens, dark mode can reduce power consumption, but on standard LCD screens the savings are negligible. The effect is more about comfort than battery.

How do I revert to light mode?

Go to Settings → General → Theme and select Light or System theme. Also change Website appearance back to Light if you set it to Dark.

Does dark mode work in private browsing?

Yes, the theme applies to private windows as well. If you use a custom theme, it will also apply to private windows.

Can I have different themes for different profiles?

Yes, each Firefox profile has its own theme settings. You can create a separate profile for work and set it to dark, while keeping your personal profile light.