How to customize shortcut keys (hotkeys) in Mozilla Firefox

In our recent articles, we showed you lots of Firefox keyboard shortcuts, both, essential ones and the lesser-known ones. Now let's see how you can customize these shortcuts and re-assign menu hotkeys in Firefox. This can be useful if the default shortcut keys are not easy to remember for you.


Unfortunately, Firefox does not come with the ability to edit shortcut keys out of the box. Mozilla has simplified its browser lately and continued to remove lesser used features. Some of them have to be revived using add-ons, some of them are completely gone. For customizing keyboard shortcuts, there is an extension called Menu Wizard. Let's see what it does.
  1. Press Ctrl + Shift + A keys together in Firefox to open the Add-ons Manager in a new tab. See more useful Firefox hotkeys HERE and HERE.
    You can also click "Add-ons" from the Tools menu instead to open it.
  2. In the search box, type Menu Wizard and press Enter.
    Click the Install button for this addon:
    install menu wizard for firefox
  3. Restart the Firefox browser:menu wizard restart Firefox
  4. Now, click Tools - Menu Wizard or press Shift+Alt+M to launch it.
    launch menu wizard
    Alternatively, you can launch it by entering this in the address bar:

    Type this in the address bar and then you can bookmark it.

Using Menu Wizard, you can create new menu items, and rename or hide existing items.

Here are a few basics:

  • To hide a menu item, untick its checkbox. For instance, I usually hide the entire Help menu:hide help menu
  • To rename a menu item, click the tiny tool icon to the left of its name. The following dialog will appear:
    menu item properties firefox menu wizard
    There you can enter a new name for the menu item, change the access key and assign a shortcut.
  • To organize menu items, you can simply drag them to the desired location. For example, I moved "Pin Tab" from the tab context menu into the main "File" menu:
    pin tab moved
  • To undo the changes you made, click the button with the red arrow. It will allow you to undo specific changes or revert them all at once:
    revert changes
    revert changes categories

Change keyboard shortcuts (hotkeys) in Firefox

As you can see, Menu Wizard gives you full control over the menus in Firefox. Now let's change keyboard shortcuts. There are two ways for that.

  1. You can click the tool icon next to the individual menu item and assign a new hotkey via the opened dialog. In the example below, I assigned the Ctrl+Shift+Z hotkey to the "Undo Close Tab" menu item of the tab context menu:
    undo close tab context menu shortcut firefox
    Now, when the focus is on the address bar or on tabs, I can press Ctrl + Shift + Z to re-open the recently closed tab.
  2. To change global (context independent) Firefox shortcuts, click on the keyboard icon in Menu Wizard. A list of hotkeys will open. Find the key sequence that you want to change and edit it. For instance, let's change the global "Undo Close Tab" hotkey from Ctrl + Shift + T to Alt + Z.
    Find the Undo Close tab item in the list and press Alt + Z in the text field on the right.
    Click the green mark icon to activate the new hotkey:undo close tab alt_z firefox

As you can see, Menu Wizard is a must-have extension for anyone who is not happy with the default menu in Firefox. While beginners may find it an overkill, experienced users of Firefox can customize their browser and make it suit their workflow like never before using the Menu Wizard add-on.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

5 thoughts on “How to customize shortcut keys (hotkeys) in Mozilla Firefox”

  1. Unfortunately, Menu Wizard is actually malware that sends all your personal data to the Russian mob. Don’t ask me how I know this. If you don’t believe me, look inside the code.

    1. We believe you, but can you point us to the exact line of the source code you discovered?
      You can save our time. Thanks in advance.
      I also found this:
      It is explicitly ad-supported.

  2. Without installing this extension. Please is there a manual mode to change the keyboard shortcut (hotkey) to Bookmarks.
    I don’t like that this hotkey is changed from Firefox windows version to Gnu/Linux version.

Leave a Reply

Your email address will not be published.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.