How To Disable Hardware Acceleration in Firefox in a Few Steps

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

How to Disable Hardware Acceleration in Firefox

Wondering how to disable hardware acceleration in Firefox?

GPU acceleration often leads to website surfing performance and content rendering issues. It’s especially prevalent in incompatible or underperforming graphics processing units.

In this guide, I’ll cover tried and tested techniques to disable this feature to avoid such browsing inconveniences. Let’s get into it!

Reasons to Disable Hardware Acceleration in Firefox

You might want to deactivate GPU acceleration in Firefox in the following situations:

  • If you’re struggling with weird graphical glitches on websites.
  • If you’re on a high-performance PC with the latest GPU, certain browser add-ons or websites might utilize the hardware acceleration feature to mine cryptocurrencies without you knowing.
  • Malicious browser add-ons can include scripts to infect your PC through the GPU route.
  • Hardware acceleration can sometimes conflict with how Firefox displays videos.
  • If you’re working on a slightly older computer, hardware acceleration might be putting more strain on it than necessary and slowing it down.
  • It can often fix unexplained Firefox browser crashes when you try to load high-end graphics content.
  • Blurry text or unusual font sizes on certain websites might be due to the GPU acceleration feature.
  • When testing websites or web apps, you might want to disable it to explore performance improvement opportunities.
  • It helps you save your laptop’s battery power.

How To Disable Hardware Acceleration in Firefox

Find below different methods to disable GPU acceleration on your browser:

On a Windows PC

  1. Click on the three horizontal lines in the top right corner of the Firefox app.
  2. Choose Settings in the context menu.
firefox windows settings
  1. Find the Performance section at the bottom of the screen.
  2. Uncheck the checkmarks from the following items:
    • Use recommended performance settings
    • Use hardware acceleration when available.
Windows performance
  1. Reboot the Firefox app to make the changes effective.

On a Mac

  1. When Firefox is open and selected as the active window, click on the Firefox menu in the top-right corner of the screen. It’s near the Apple monogram on the Mac toolbar.
  2. Click on the Preferences option in the context menu that opens.
preferences
  1. You should see the General page of the Settings tab.
General
  1. Scroll down below until you see the Performance section.
  2. Uncheck the box for Use recommended…
  3. You’ll now see the Use hardware acceleration when available option.
  4. Uncheck that as well.
disable gpu acceleration
  1. Go to the address bar and type in the following command:
about:restartrequired
  1. Hit Enter to find the Restart Firefox button. Click on that.
restart firefox mac

Using a Terminal Tool

  1. Open Command Prompt with elevated rights from the Start Menu by typing CMD and clicking the Run as administrator link for Windows Command Prompt.
CMD admin
  1. Type in the following command:
cd C:Program FilesMozilla Firefox
navigate to firefox
  1. Hit Enter to change the directory of Command Prompt to the Mozilla Firefox installation folder.
firefox install location
  1. If you’ve installed the Firefox app in a custom directory, navigate to the directory that contains the Firefox icon.
  2. Now, type in the following command and hit Enter:
firefox -safe-mode
  1. You should now see the Open Firefox in Troubleshoot Mode? dialog box.
  2. Click Open.
firefox install location
  1. Firefox will open in safe mode without the GPU acceleration feature.

Disable WebGL

If you want to reduce the load on your GPU, you might also want to turn off the WebGL feature of Firefox. WebGL helps the browser process and display graphical content, videos, animations, etc.

After disabling hardware acceleration, do the following:

  1. Type about:config in the Firefox address bar and hit Enter.
  2. You should see a warning screen. There, click on the Accept the Risk and Continue button.
Accept the Risk and Continue
  1. In the search field, type in webgl.disabled.
  2. Only one entry will pop up.
  3. Click on the interchange icon as identified in the screenshot.
Webgl disabled
  1. The webgl.disabled component will change to true.
  2. This means WebGL has been deactivated.
Webgl deactovated
  1. Click on the stacked three-line menu in the top right corner of Firefox.
  2. A context menu will open. There, click on the Exit button.
  3. Now, run Firefox again to experience the difference.

Summary

If you’re here, congratulations! Now you know how to disable hardware acceleration in Firefox. We also have a guide for Opera GX if you need it.

Before you leave, why not check how to change user agent in Firefox? We have a guide dedicated to it, so don’t miss it.

If the article helped you to fix any GPU-related issues in Firefox or you want to give feedback, feel free to do so in the comments.

More about the topics: browser, Firefox, GPU