Get the free coreGet core

How to remove adware from a Mac: pop-ups, extensions, profiles

Updated 6 min readSection 06 / Mac security
SHORT ANSWER

To remove adware from a Mac, quit Safari and hold the Shift key while opening it again, so it does not reopen the same windows. Do not click inside the pop-up, because some have fake close buttons. Then delete what you did not install: Safari extensions, login items, profiles and apps that came bundled with another download. These steps are for Safari.

Adware is advertising-supported software. It shows ads that do not come from the website you are visiting. If pop-ups on your Mac just will not go away, you might have downloaded and installed adware, or other unwanted software, without meaning to. The general cleanup steps, such as updating and changing passwords, are on remove malware; here you get the parts that are specific to adware, in the order that works for most cases.

01What adware does on a Mac

Adware shows ads in several forms: pop-ups and pop-unders inside a program, slide-in adverts, and a browser window that launches by itself. It can also insert adverts or otherwise alter the content of a website. A pop-under is a window that opens behind the one you are using. A hijacker such as Search Baron is not technically a virus, because it does not replicate itself, but it is still unwanted software.

Adware often arrives bundled, which means the extra program is installed together with software you did want. Certain third-party download sites include software you do not want along with the software you do.

02Where adware hides

The table lists the five places this page checks, in the order of the steps below.

WhereWhat to look forWhat to do
Open pop-up or tabFake close buttons, fake Apple brandingQuit the browser instead of clicking
Safari Extensions tabExtensions you do not remember installingSelect it and click Uninstall
System Settings > General > Login Items & ExtensionsUnknown or suspicious login items or apps that run at startupDelete the item
System Settings > General > Device ManagementProfiles you did not createRemove the profile
Applications folderPrograms you do not know, bundled with something elseRemove the app

03Step 1: Close the pop-up without clicking the trap

Before you remove adware from a Mac, get the pop-up out of the way, because clicking the wrong spot can make things worse. Some pop-ups are third-party ads that use phishing tactics such as warnings or prizes to make you believe they come from Apple or another trusted company, so you will share personal or financial information. Others claim to offer free downloads, software updates or plug-ins to trick you into installing unwanted software. Avoid interacting with pop-ups or webpages that seem to take over your screen, unless you are confident they are legitimate.

Some have fake buttons that look like a close button, so do not hunt for one or try the first button you see. Quit Safari and hold the Shift key while opening it again. That prevents Safari from automatically reopening any windows or tabs that were open. Never call a phone number that appears in a pop-up window. The virus pop-up page covers the fake warnings.

04Step 2: Remove Safari extensions

A browser extension is a small add-on program for the browser. In Safari, open the Extensions tab in Safari settings and look for extensions you did not install. Select the suspicious extension you do not remember installing, then click the Uninstall button. This matters because Search Baron settles in as an extension and sets searchbaron.com or Bing as the homepage and default search engine. If your homepage was redirected, the browser hijacker page covers how to get search back.

Chrome and Firefox keep their extensions in their own settings; this page covers Safari only, so use that browser's own extension list there.

05Step 3: Check login items and profiles

Look at the login items for anything unknown or suspicious that runs during startup and might cause the redirection. Then look at configuration profiles, sets of settings that can control things like Mail, Wi-Fi and VPN. Malicious profiles usually come bundled with third-party apps, and it is not common to have a profile unless you created a personalized configuration for your Mac, so an unexpected one deserves attention. The clicks for both lists, Login Items & Extensions and Device Management, are in steps 3 and 4 of remove malware. Delete the login item you did not add; remove the profile you did not add, which deletes all of its settings and information.

06Step 4: Delete the app that came bundled

Open your Applications folder and look for apps you do not expect. If one came with a download from a site you do not trust, it is a candidate: remove installed applications that may have been bundled with a third-party app you are not familiar with. Dragging an item to the Trash does not delete it until you empty the Trash. Be careful with every file you delete, because trashing system files by mistake may lead to a crash. If you are unsure whether an app is yours, leave it and look it up first.

If a process tied to the adware keeps running, open Spotlight, type Activity Monitor and click the app. Select the process, click the Stop button in the upper-left corner of the window and choose Quit, which quits it when it is safe to do so. Force Quit ends the process immediately, and if it has files open you may lose data, so use it only if Quit does not work. How to judge a process is on suspicious processes.

Finally, update macOS. Once you remove adware from a Mac, this lets the built-in cleanup run as well. If your Mac is already on the latest version, restart it, because macOS has a built-in tool that removes known malware when restarting.

07Search Baron, Genieo and other named adware

Search Baron is a browser hijacker that redirects your homepage to searchbaron.com when you open a browser. You may also see sponsored content when you search, and your Mac may slow down. It spreads through bundling, fake Flash Player updates and torrent downloaders. The steps above are the removal route, and the full page is Search Baron. Genieo is another adware family: it hijacks the browser and tracks browser usage. It has its own page, Genieo.

08Do you need an adware remover?

For the common case, no. To remove adware from a Mac you follow a short list of manual steps, and macOS has XProtect built in for known malware. What an extra product adds is covered on do I need antivirus. The check that matters is whether the signs went away: pop-ups, redirects and new toolbars. Ads that appear on sites that normally do not show them, or ads that do not come from the site you are visiting, are the same warning. If they stop after the steps above and a restart, the cleanup worked for the adware you could see.

If something looks worse than ads, such as an unexpected password prompt before a program went on or a command you pasted into Terminal, adware is the wrong label. Go to the infostealer check and the step-by-step check.

09How to keep adware out

Get software from the App Store, or directly from the developer rather than through an ad or link. Scammers place bogus ads for software on social media and search engines, so a sponsored result is not a safe source. The signs of a virus page lists what to watch for afterwards.

10The short version

To remove adware from a Mac, close the pop-up without clicking inside it, then work through Safari extensions, login items, profiles and the Applications folder. Finish with an update and a restart.

FAQ

Can adware be removed?

Yes. Adware is advertising-supported software, and the places to check on a Mac are ones you can reach: extensions, login items, profiles and bundled apps. The steps are above.

What is the best adware remover?

For the common case, you do not need one. The cleanup is manual: remove unfamiliar extensions, login items, profiles and bundled apps. Whether an extra tool is worth it is on do I need antivirus.

Is there a free malware removal tool for Mac?

XProtect is built into macOS and removes known malware. After you update macOS, restart your Mac, because macOS has a built-in tool that removes known malware when restarting. The full order is on remove malware.

How to get rid of pop-up ads on Mac?

Quit Safari, then hold the Shift key while opening it again, which stops it from reopening the same windows. Then check Safari's Extensions tab. Do not click inside the pop-up itself.

Is adware a virus?

A browser hijacker such as Search Baron is not technically a virus, because it does not replicate itself. It is still unwanted software that changes your browser.

Why do pop-ups keep coming back?

Pop-ups that will not go away may mean you installed adware by accident. The places to look are extensions, login items, profiles and apps that came bundled with another download.

Sources

  1. Apple Support, pop-ups and malware on Mac
  2. Apple Support, protect your Mac from malware
  3. Apple Support, Login Items & Extensions
  4. Apple Support, quit a process in Activity Monitor
  5. Apple Support, configuration profiles
  6. Trend Micro, Search Baron removal on Mac
  7. MacPaw, Search Baron
  8. Malwarebytes, adware definition
  9. FTC Consumer Advice, how to recognize, remove and avoid malware
  10. Wikipedia, Genieo
  11. Artificial Immunity
Adware often rides in with a download you wanted. Artificial Immunity's free, open-source core watches program starts on the Mac where your agents work and reports what it finds.Get the free core