How to Enable Zoom Pinch on Firefox in a MacBook

By Contributor

Updated May 08, 2020

MacBook laptops with a multi-touch trackpad support two-finger pinch gestures to zoom in and out of Web pages in Mozilla Firefox. Some versions of the browser starting with version 4, however, disable this feature by default. Firefox doesn't provide an option for pinch zoom in its settings window, but you can still turn it on by editing a few lines on the Firefox configuration page.

Open a Firefox window and type "about:config" into the address bar. Press "Enter."

New window in Firefox.

Accept the "Proceed with Caution" warning.

Proceed with Caution warning in Firefox.

Type "pinch" in the search bar at the top of the configuration page. Double-click the preference named ""

Pinch preference options in Firefox.

Type or paste "cmd_fullZoomReduce" into the message box corresponding to "" Hit "Enter."

Pasting code into message box for pinch preferences in Firefox.

Double-click the following three preferences to edit their contents: set "" to "cmd_fullZoomReset," "browser.gesture.pinch.out" to "cmd_fullZoomEnlarge" and "browser.gesture.pinch.out.shift" to "cmd_fullZoomReset."

Editing pinch preferences in Firefox.

Close the configuration page window. Launch a new window of Firefox and your pinch gestures will now work.


In all steps, do not type the quotation marks around the commands.

You can alternatively install the Firefox add-on "pinchy," which automatically changes the above settings.

If any of the four preferences do not exist in the "about:config" page, right-click the page's background, select "New" and click "String." Type the preference name, such as "," press "Enter" and then type the corresponding setting, such as "cmd_fullZoomReduce" into the second message box.


Information in this article applies to Firefox versions 4 through 20, and may differ slightly or significantly in later releases.