How to disable search in the Firefox address bar

Martin Brinkmann
Updated •
Firefox

To disable search in the Firefox address bar, open about:config, accept the warning, search for keyword.enabled and set it to false: Firefox then stops sending typed words to your search engine. To keep searching but see the URL again on results pages, open Settings > Search and turn off "Show search terms in the address bar on results pages". Both changes apply instantly, no restart needed.

This guide covers every address bar search behavior Firefox users ask about: search terms replacing the URL, typed text turning into a web search, search suggestions, the row of other search engines, the separate search bar and removing search engines you do not use.

Firefox address bar showing the search term instead of the search engine URL on a results page

Show the URL instead of search terms on results pages

Firefox shows your search terms instead of the URL when you search with the default search engine, and one setting turns that off. Mozilla introduced the behavior around Firefox 113 in 2023 and rolled it out gradually; the idea is that you can edit your query directly in the address bar. Many users prefer to see the real address of the page they are on, for copying or checking it.

  1. Open the Firefox menu and choose Settings (Preferences on some systems), or load about:preferences#search.
  2. Select Search in the left panel.
  3. Under Default Search Engine, turn off "Show search terms in the address bar on results pages".

The address bar shows the full search engine URL again on the next search. Turn the option back on to restore the search-term view.

The option is hidden when the separate Search bar is on your toolbar, because Firefox does not replace the URL with search terms in that configuration. If you cannot find the setting, check your toolbar for a second search field.

Firefox search settings with the option to show search terms instead of the URL on results pages

Stop the Firefox address bar from searching altogether

The keyword.enabled preference controls whether Firefox sends text that is not a web address to your search engine. Set it to false and the address bar works as a pure URL field: typing words no longer triggers a web search, which also prevents typos in addresses from leaking to the search engine.

  1. Type about:config in the address bar and press Enter.
  2. Accept the risk warning.
  3. Search for keyword.enabled.
  4. Click the toggle button so the value changes from true to false.

Searching is still possible on purpose: Mozilla support moderators note that @ shortcuts such as @wikipedia keep working with keyword.enabled set to false. To revert, set the preference back to true or use the reset arrow next to it.

about:config changes are advanced settings that affect the whole profile. If you experiment a lot, a separate profile managed through Firefox's about:profiles page keeps your main setup safe.

Search for terms that look like web addresses

Put a question mark in front of text that Firefox would otherwise treat as an address to force a web search. Firefox historically assumed that any phrase containing a period was a web address, so a file name such as svchost.exe could produce a not found error instead of results. Typing ?svchost.exe sends the term to your default search engine, and the same prefix works for searching a full URL. It works with any search engine and does not need about:config.

Older guides changed the address bar search engine through the keyword.url preference. Mozilla removed that preference in Firefox 23 (2013), so set the default engine in Settings > Search instead.

Turn off search suggestions in the address bar

Search suggestions are the query predictions your search engine sends while you type, and Firefox lets you switch them off in Settings > Search. Turning them off reduces what is sent to the search engine before you press Enter.

  • Show search suggestions: the main switch for all engine suggestions.
  • Show search suggestions ahead of browsing history (in address bar results): changes the order instead of removing them.
  • Show search suggestions in private windows: controls suggestions in private browsing only.
  • Show trending search suggestions: popular searches provided by Google or Microsoft, where available.

The Address Bar section on the same page controls what else appears as you type: browsing history, bookmarks, open tabs, shortcuts, recent searches, search engines, quick actions and suggestions from Firefox. Uncheck the types you do not want. For sponsored and Mozilla-provided suggestions in particular, see our guide to turning off Firefox Suggest.

Remove search engines and the "search with" options

Firefox lists your installed search engines in Settings > Search (under Additional search engines in current versions, Search Shortcuts in older ones), and that list feeds the search engine choices you see in the address bar. When you type, the Unified Search button shows your default engine's icon and opens a menu to search with other engines, Bookmarks, Tabs or History; typing @ lists engines with shortcuts.

  1. Open Settings > Search and scroll to the engine list (Additional search engines or Search Shortcuts).
  2. To hide a built-in engine from the address bar without deleting it, turn off its toggle (or remove its check mark on older versions). Engines you added yourself have no toggle; remove them instead.
  3. To delete an engine, select it and click Remove.
  4. To undo everything, click Restore Default Search Engines.

Engines installed by an extension cannot be removed here. Remove or disable the extension in the Add-ons Manager (about:addons) instead. If an unknown engine keeps coming back as your default, check that list for add-ons you did not install yourself.

Hide the separate search bar

The separate Search bar is an optional field next to the address bar, and you remove it through toolbar customization.

  1. Open the Firefox menu and choose More tools > Customize Toolbar.
  2. Drag the Search bar item off the toolbar.
  3. Click Done.

Drag it back onto the toolbar the same way to restore it. According to Mozilla, Firefox also removes the Search bar automatically if you have not used it for 120 days. Keeping it has one side effect worth knowing: with a separate Search bar present, the address bar always shows the URL on results pages.

Firefox toolbar with the separate search bar next to the address bar

Which setting do you need?

Pick the setting that matches what bothers you; they are independent and can be combined.

Goal Where Setting
See the URL, not the query Settings > Search Show search terms in the address bar on results pages: off
No web search from typed words about:config keyword.enabled: false
No query predictions Settings > Search Show search suggestions: off
Fewer engines in the address bar Settings > Search Engine list: toggle off or Remove
No second search field Customize Toolbar Drag Search bar off the toolbar

Related: what changed in Firefox 113, the best Firefox add-ons, another about:config tweak: HTTP/3 in Firefox

Comments

  1. Ignor Amos said on
    Reply

    The red highlighted box no longer exists so is not an option – cannot remove the search function from the address box. Very dumb idea by FF. Guess I will have to find a different browser to cut and past URLs so I don’t get stupid search results instead of going to the actual site. What are these people smoking?

  2. Tina said on
    Reply

    Wasting their time with some dumb new idea like this and tryin to fix what ain’t broken, just because they can. That’s the FF way. Changing the spacing on the bookmark menu to make it huge, another brill idea from the FF folks. But as one poster said, thankfully there is usually a way to undo the stupid stuff they do.

  3. Iron Fart said on
    Reply

    Still a highly customisable browser – every single stupid thing they do, can be disabled/hidden/turned off.

    I expect any browser to have some stupid stuff in it, which doesn’t cater to my needs, I’m not gonna cry about it, I’m gonna ask “well how can I turn this off?”

    With firefox there is always an answer to that question – it’s the reason I left chrome. With chrome, you might ask “how can I remove this, or hide this, or change this?” And a lot of the time you’re SOL.

    Would be curious to see what the chromium-enjoyers have to say about this.

    1. owl said on
      Reply

      “SOL” is American slang, so I’ll explain it for foreigners.
      SOL: Shit out of luck

  4. Iron heart said on
    Reply

    Brave is much better.

    1. Sajadi said on
      Reply

      Chromium AND Mozilla simply suck.

  5. Anonymous said on
    Reply

    “it breaks one of the fundamental principles of web browsing: that the URL of the active page is always visible and accessible in browsers.”

    That’s another hostile one from Mozilla. The message is the same again: they are only a Google appendix, and their browser is only a Google Search carrier. Half a billion dollars each year from Google goes to Mozilla Corporation, the for-profit that develops the browser. I read that many unfortunately ignorant Mozilla enthusiasts go as far as making donations to them thinking it’s some donation-driven non-profit developing the browser, as is usual in that landscape and as their deceitful marketing practices lead them to believe, while zero of their money ever goes there anyway.

    There is also some vice in spreading such changes slowly among users, to reduce immune reaction.

  6. VioletMoon said on
    Reply

    “Disabling the search term in the URL in Firefox”

    Puzzled and baffled: Never has Firefox shown a “Show Search Terms” checkbox; and I certainly haven’t changed anything in about:config or preferences.

    So, must be a different version from wherever?

    Hamburger/Settings/Search

    Faster for me . . . .

  7. zahra said on
    Reply

    hi martin.
    i have firefox 113 now.
    but in firefox preferences search, dont have this option that you mention.
    2. Under Search Bar, uncheck the “Show search terms instead of URL on default search engine results pages” to return to the status quo.
    is it possible through about:config?

    1. Martin Brinkmann said on
      Reply

      It is likely introduced in Firefox 114. I do not have it in Firefox 113 as well.

      Set browser.urlbar.showSearchTerms.featureGate to false.

      1. Paul(us) said on
        Reply

        Sorry, Martin, I have Firefox 114 but the “Show search terms instead of URL on default search engine results in pages” to return to the status quo, possibility in the Englisch version 114 I have iright now this possibility is not present

      2. Rick said on
        Reply

        The check box didn’t appear for me on 114 until I added the above item and set it true, but I still can’t get it to do what’s shown in the 2nd screenshot (and I don’t have a dedicated search field). Maybe they’re slowly rolling this out. Not that I actually want to keep it, but I did want to see it once.

    2. Anonymous said on
      Reply

      still don’t know?
      Firefox sucks.
      With Chrome, everything is happy.

      1. owl said on
        Reply

        > With Chrome, everything is happy.

        With Google, everything about advertising marketing works is happy.
        The secret obvious is, Google chrome isn’t a tool that provides services to users, it’s a tool that
        provides users to advertisers (like a slave trade).

  8. Anonymous said on
    Reply

    Using Firefox is a pain in the ass.
    Brave is hard to use too.
    Pale Moon is still the best.
    It makes me laugh when I see people sticking with Firefox or Brave, even though their browsers annoy them.

  9. Anonymous said on
    Reply

    This is hardly a feature from Firefox. It should be Off by default

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.