Browser hijacker on Mac: how to get your search engine back
A browser hijacker on a Mac is unwanted software that changes your browser settings without your permission, such as the homepage or the search engine. Quit Safari and open it again with the Shift key held, so it does not reopen the same pages. Open Safari > Settings > Extensions and remove anything you did not install. Then pick your search engine in the Search tab and your homepage in the General tab. If the settings keep changing back, check login items, profiles and apps.
If your homepage changed, or your searches land on a site you never picked, you are probably looking at a browser hijacker on a Mac. It is fixable by hand, in two parts: remove what changed the settings, then set them back. This page explains what a hijacker does, where it hides, and how to get your search engine and homepage back in Safari.
01What a browser hijacker does
Browser hijacking is a form of unwanted software that changes a web browser's settings without the user's permission, to inject unwanted advertising. A hijacker may replace the home page, the error page or the search engine with its own. The goal is usually money: these programs are generally used to force hits to a particular website and so raise its advertising revenue.
That is why a hijacked search page looks like a search engine but behaves like an ad. Genieo, for example, acts as a search engine that shows sponsored results, and Search Baron may show sponsored content when you search.
Some hijackers do more than redirect. Some also contain spyware, and some install a software keylogger to gather details such as banking and email logins. A keylogger is a program that records what you type. That is the reason to treat a hijacker as a real problem even when the only symptom is a strange search page.
02How a hijacker gets onto your Mac
A common route is a bundle. Many browser hijacking programs come inside software bundles that you did not choose, listed as "offers" in the installer of another program. Certain third-party download sites also include software you do not want along with the software you do. Email attachments and files from suspicious websites and torrents are other common tactics.
Fake updates and fake tools work too. JSCoreRunner, for one, disguised itself as a fake PDF conversion tool and quietly changed search engine settings to redirect searches to a fraudulent provider. Search Baron spreads through bundling, fake Flash Player updates and torrent downloaders. In 2025 a new variant of AdLoad was found. Adware is advertising-supported software, and this AdLoad variant was described as adware.
Some rogue security software goes after the start page. It shows a message such as "Your computer is infected with spyware" and leads to a vendor's page. Never call a phone number that appears in a pop-up window.
03How to tell you have one
Check the page you land on first. Then compare what you see with this table.
| What you notice | What it points to |
|---|---|
| The home page changes or redirects you to sites you did not intend to visit | A hijacked homepage or search engine |
| New toolbars or add-on programs | An extension or app that came bundled |
| Sponsored results where you expect plain search | A hijacker that stands in for a search engine |
| Many pop-up ads, even on sites that would not show them | Possibly adware, which is advertising-supported software |
One sign is a reason to check, not proof. If several show up right after you installed something, the new install is the first suspect. A slowdown is a general malware symptom, not proof on its own. The fuller list is on signs of a virus.
04Remove a browser hijacker on a Mac in Safari
This page covers Safari. The order goes from the quickest check to the deepest, and the last two steps put your settings back.
Quit Safari and reopen it with Shift held. Quit Safari, then press and hold the Shift key while opening it. This prevents Safari from automatically reopening any windows or tabs that were open.
Remove extensions you did not install. In the menu bar choose Safari > Settings, then click Extensions and look for any you do not need. Select the suspicious extension you do not remember installing, then click Uninstall. This is where Search Baron lives: it settles in as an extension and sets its own site or Bing as the homepage and default search engine.
Set your search engine back. Choose Safari > Settings, then click Search. The Search engine menu sets the engine Safari uses for regular browsing. Private Browsing has its own menu in the same tab, so check both. For a quick switch, delete all the text in the Smart Search field and pick an engine from the list that appears.
Set your homepage back. Choose Safari > Settings, then click General. In the Homepage field, enter the address you want, or click Set to Current Page to use the page that is open now.
If the settings change back, look further. Something else is still installed: an unknown login item, a configuration profile you did not create, or an app that came bundled with another download. A configuration profile is a set of settings for the Mac, such as a Mail account, Wi-Fi or VPN. The click paths for all three are in the cleanup on remove malware.
The full walk-through, including Activity Monitor and the restart that lets macOS run its built-in cleanup, is on remove adware. Clearing cookies and website data for Safari is covered on safari malware.
05When it comes back
Some hijacking can be reversed easily, and other instances may be difficult to reverse. If the search engine changes back after you fixed it, go back to the last step above and look again.
Malware often installs itself persistently, which means it is set to run again after a restart or login. Restart once after you finish and check the login items list a second time. Genieo, for one, is described with tricks such as uninstallers that actually install components that were not there before. If you suspect that family, go slowly and read Genieo. Search Baron covers the other well-known one.
06When it is more than a hijacker
A hijacked search page is the mild end. Look at what else happened. If a password prompt showed up in the middle of an install, or you pasted a command into Terminal because a website told you to, stop treating this as a hijacker. Terminal is the app where you type commands. Malicious commands or scripts that a website, email or message tells you to paste into Terminal are one of the ways scammers trick people. Follow the step-by-step check. How this kind of malware gets in is on can Macs get viruses.
07How to stop it happening again
Get software from the App Store, the safest way to download apps. For anything else, get it directly from the developer or another reliable source, rather than through an ad or a link. Scammers place bogus ads for software on social media sites and on search engines, so a sponsored result is not a safe source. Do not use unfamiliar websites to download free music, movies, shows or games.
When an installer offers extra software, read the screen, because many hijackers are included as "offers".
macOS has built-in protection too. What it covers and where it stops is on malware detection, and the question of needing more is on best antivirus.
08The short version
A browser hijacker on a Mac changes your homepage and search engine without permission. Remove the extension behind it, then set the search engine and homepage back in Safari settings. If the settings keep returning, or the signs go beyond search, run the full check.
FAQ
How to get rid of browser hijacker on Mac?
Quit Safari and reopen it with Shift held, remove extensions you did not install, then choose your search engine and homepage again in Safari settings. If they change back, check login items, profiles and apps. The click paths for those three are on remove malware.
How do I remove a browser hijacker virus?
Whether it counts as a virus is a matter of labels. A hijacker is unwanted software that changes browser settings without your permission. A virus copies itself; Search Baron, for one, does not, so it is not technically a virus. You remove it the same way either way: delete the extension, login item, profile or app behind it.
How do I check if I have a browser hijacker?
Look for a homepage that changed or redirects you to sites you did not intend to visit, new toolbars or add-ons, and many pop-up ads. A hijacker may also replace the error page or the search engine. Open Safari > Settings > Search to see which search engine is set.
How to tell if a Mac is infected with malware?
A hijacked browser is one sign among several: a slowdown, new toolbars, a disabled Activity Monitor or messages you did not write. The signs table is on signs of a virus, and the checks are on check for virus.
How to stop browser hijacking?
Get software from the App Store, or directly from the developer rather than through an ad or link. Many hijackers ride in as optional offers inside the installer of another program, so read installer screens before you click through.
How to stop Mac from hijacking Google search?
In Safari, choose Safari > Settings, click Search and pick the search engine you want in the Search engine menu. Then remove whatever changed it. Search Baron, for one, installs as an extension that sets its own site or Bing as the default, so check the Extensions tab first.
Related guides
Sources
- Wikipedia, Browser hijacking
- Apple Support, pop-ups and malware on Mac
- Apple Support, Login Items & Extensions
- Apple Support, configuration profiles
- Objective-See, The Mac malware of 2025
- Trend Micro, Search Baron removal on Mac
- MacPaw, Search Baron
- Malwarebytes, OSX.Genieo
- FTC Consumer Advice, how to recognize, remove and avoid malware
- Artificial Immunity