How to Remove Yahoo Search from Firefox (and Stop It Returning)
Emperola Editorial · · Updated · 6 min read
TL;DR
- Yahoo in Firefox is almost always set by an extension, a keyword bookmark or a Firefox policy file, not by a virus in the browser itself.
- Set Google back in Settings → Search, then remove every Yahoo entry under Search Shortcuts.
- Clear keyword bookmarks containing %s, refresh the Firefox profile, and remove the program that installed the hijack.
- If the setting returns on every device, Firefox Sync is copying the hijacked preference back — disable syncing of preferences.
If Firefox suddenly searches through Yahoo, opens a Yahoo page on startup or shows a search bar you never added, the browser settings were changed by an extension or a bundled program. Firefox makes the switch easy to spot — and just as easy to reverse, if you clean it in the right order.
This guide walks through the five steps that actually remove the Yahoo hijack from Firefox, explains why the setting sometimes returns after a restart, and links to the full browser-hijacker playbook for the other browsers.
Why Yahoo Takes Over Firefox
Firefox lets installed extensions change the default search engine without a second confirmation, and it accepts search engines added by websites when you click "Add search engine". Both behaviours are useful and both are abused.
Three mechanisms are behind almost every case:
- A bundled extension. Free tools, coupons and "search helpers" are installed with the search engine pre-set to Yahoo.
- A keyword bookmark. A bookmark with a
%splaceholder can route your searches to Yahoo even when the default engine says Google. - A Firefox policy file. An installer can drop a
policies.jsonthat locks the search engine. Firefox shows it underabout:policies.
If two or more of these are present, fixing the dropdown alone will not hold. Work through the steps in order.
Step 1: Change the Default Search Engine Back to Google
- Open the Firefox menu and choose Settings (or type
about:preferencesin the address bar). - Select Search in the left sidebar.
- Under Default Search Engine, open the dropdown and select Google.
- Scroll to Search Shortcuts, select the Yahoo entry and click Remove.
- Return to the Firefox start page and test one search.
If Yahoo is missing from Search Shortcuts but still appears in the dropdown, it is being injected by an extension or a policy — continue with Step 2.
Step 2: Remove the Add-on That Changed It
- Open
about:addonsand go to Extensions. - Review every entry. A hijacker is usually installed within days of the redirects starting, and often has a vague name ("Search Tool", "Web Assist", "PDF Helper").
- Open the three-dot menu next to a suspicious extension and choose Remove.
- Switch to Themes and check for anything unknown as well.
- Restart Firefox and re-check the default engine.
Firefox blocks unsigned extensions by default, so on a normal installation the culprit is either a signed adware extension or a program outside the browser. If the list is empty and Yahoo still comes back, jump to Step 5.
Step 3: Clean Search Settings and Keyword Bookmarks
A hijacker often leaves a second path to Yahoo, so the dropdown alone is not enough.
- In Settings → Search, scroll to Search Suggestions and to Provide search suggestions — make sure nothing unfamiliar is enabled.
- Open Settings → Home and check Homepage and new windows plus New tabs. Clear any Yahoo URL.
- Open the Library (Ctrl/Cmd + Shift + O), go to Bookmarks → Manage bookmarks, and look for entries containing
%s. A keyword bookmark with a Yahoo URL sends every search there. - Also check Settings → Privacy & Security → Address Bar for Firefox Suggest options you did not enable.
After this step, type a query in the address bar and confirm the results page is on Google.
Step 4: Refresh Firefox (Without Losing Bookmarks)
If the setting still reverts, reset the profile rather than hunting individual preferences.
- Open the menu and choose Help → More troubleshooting information.
- Click Refresh Firefox and confirm.
- Firefox keeps bookmarks, history, passwords, open tabs and cookies, and removes extensions, toolbars and custom preferences.
If Yahoo survives a refresh, you are not fighting a profile setting at all — something outside Firefox is writing it back. That is Step 5.
Step 5: Remove the Program Behind It
- Windows: Settings → Apps → Installed apps, sort by install date, and uninstall anything unknown from the last few weeks. Then check Task Manager → Startup apps.
- macOS: check Applications, System Settings → General → Login Items, and System Settings → Privacy & Security → Profiles.
- Check the shortcut. On Windows, right-click the Firefox shortcut, open Properties and look at the Target field: a URL or
-urlargument afterfirefox.exestarts the browser on a hijacker page regardless of your settings. - Run a malware scan and remove everything flagged as adware or PUP.
- Check
about:policies. If a search engine or homepage policy is listed, an installer left apolicies.jsonin the Firefox installation folder — remove that file or the program that created it.
about:policies is the fastest way to tell a browser setting from an enforced policy: preferences you can change are settings, policies you cannot change are programs.
For the same procedure in Chrome, see how to remove Yahoo Search from Chrome. If you are not sure whether you are dealing with a hijacker at all, start with the browser hijacker guide — it covers the signs, the causes and the full removal order.
Why Yahoo Keeps Coming Back
Three things re-apply the setting after you fix it:
- A second extension or a partner extension. Adware is often installed in pairs; removing one leaves the other to restore the search engine.
- Firefox Sync. Preferences are one of the synced categories. If the hijacked profile was synced, the bad setting is stored in your Mozilla account and returns on every device. Open Settings → Sync, choose Manage account → Sync settings and uncheck Preferences (or disconnect Sync until the cleanup is done).
- A policy or a scheduled task. Installers can register a Windows task or a
policies.jsonthat rewrites the preference on every reboot.
Once the removal is complete, change any passwords you used while the hijack was active, enable two-factor authentication and check for browser-profile stealers in the infostealer guide.
FAQ
How do I get rid of Yahoo search on Firefox?
Open Settings → Search, set Google as the default engine and remove every Yahoo entry under Search Shortcuts. Then open about:addons, remove unknown extensions, and refresh Firefox if the setting returns. If Yahoo still comes back, the cause is outside the browser — check about:policies and your installed programs.
Is Yahoo a virus in Firefox?
Yahoo itself is a legitimate search engine; the problem is the software that forces it. Adware and bundled installers change the default engine to earn affiliate revenue, and they are usually classified as PUP rather than a virus. Treat it as a security incident: hijackers often arrive with other payloads and sometimes with infostealers.
Does refreshing Firefox delete bookmarks?
No. Refresh keeps bookmarks, history, passwords, cookies and open tabs, and resets extensions, toolbars and custom preferences. That is exactly why it is the right move when you cannot find the setting that keeps reverting.
How do I remove Yahoo from the Firefox search bar?
Right-click the search bar and choose Remove from Toolbar, then check Settings → Search → Search Shortcuts and delete the Yahoo entry there. If the bar reappears after a restart, an extension is re-adding it — remove the extension first.
Why does Yahoo keep coming back after I change it?
Either a second extension or program re-applies the setting, or the hijacked preference is stored in Firefox Sync and copied back to the device. Check for a Firefox policy in about:policies, disable syncing of preferences, and remove the source program before changing the engine again.