Ranger Try it free

Clicked a phishing link on your Mac? What to do now

In short: On an up-to-date Mac, opening a scam page is rarely enough to harm it. What matters is what happened next. Close the page. If you typed a password, change it. If you typed card details, call your bank. If you downloaded something, pasted a command or installed a profile, follow the clean-up steps below.

Take a breath. Most people who click a phishing link close the page within seconds and nothing more happens. Below, find the situation that matches yours and do the steps in that section.

Right now: close it

  1. Close the tab. Don't type anything into the page, even to "cancel".
  2. If the page keeps coming back or won't close, quit Safari with Command-Q. If Safari reopens the page next time, hold the Shift key while you open Safari; it then starts without your previous windows (Apple).
  3. Don't call any number the page shows. Pages that claim your Mac is infected and give a support number are scams too.
  4. Update your Mac if an update is waiting, in System Settings › General › Software Update. Updates close the holes a page could use.

If you only clicked and closed, you can stop here. The rest is for the cases where something more happened.

If you typed a password

Change that password now, on the real site. Type the address yourself or use a bookmark; don't use any link from the message.

If you use the same password anywhere else, change it there too, starting with your email, since email is how every other password gets reset. Then turn on two-factor authentication where it is offered, so a stolen password alone is not enough.

If it was your Apple Account password, Apple's advice is to change it immediately and make sure two-factor authentication is on (Apple).

If you typed card or bank details

  1. Call your bank on the number printed on your card or in its app, not one from the page or a message.
  2. Ask them to block the card and send a new one.
  3. Watch your statements over the next weeks for payments you don't recognise.

If the page asked for a code that your bank sent you by text, tell the bank. That code is what criminals need to approve a payment or add your card to their phone. No bank or shop will ever need you to read it to them.

If you downloaded or opened something

Check your Downloads folder. Delete any file you don't recognise, especially .dmg, .pkg or .app files, and empty the Trash. macOS checks downloaded apps for known malware, and keeping it up to date keeps that protection current.

Check what starts with your Mac. Open System Settings › General › Login Items & Extensions (called Login Items on macOS 14). Remove anything you didn't install on purpose.

Check for profiles. Scam pages sometimes ask you to install a "profile". Open System Settings › General › Device Management (on macOS 14: Privacy & Security › Profiles). On a personal Mac this list is usually empty. If you see a profile you didn't add, select it, remove it, and restart your Mac (Apple). If the Mac belongs to your work or school, ask its IT people first.

If you pasted a command into Terminal

Apple lists this among the tricks scammers use: a page or message tells you to paste a command into Terminal to "fix" or "verify" something (Apple). A command like that can do anything your account can do, including installing software that steals saved passwords.

If you did this, treat the Mac as compromised:

  1. Disconnect it from the internet (turn off Wi-Fi).
  2. From another device, change the passwords for your email, Apple Account, bank and any other important account, and sign out of other sessions where the site allows it.
  3. Get help from someone you trust with computers, or from Apple Support. Backing up your files and reinstalling macOS is the thorough fix.

Report it

Then delete the message so nobody else in the house taps it.

Next time

The best protection is the habit of not tapping links in unexpected messages. If a message says there is a problem with your account or a parcel, open the company's app or type its address yourself. Our guide to parcel delivery scam texts shows the signs.

A firewall can add a second line. Ranger checks every connection on your Mac, in every app, against a list of known scam and malware sites that is updated every day, and stops them before the page loads. New scam sites appear daily, so no list catches all of them. But on the night you are too tired to read carefully, the known ones never open. The trial lasts 14 days and needs no email or card.