← All guides

What to Do If You Think Your Computer Has Been Hacked

Updated October 23, 2026 · 8 min read

  • Security
  • Malware
  • Passwords
  • Scams

What you will need: a second device you trust (a phone or another computer that hasn't had problems), and about an hour.

If something feels off with your computer, it's natural to panic. Take a breath. Acting in a sensible order can limit most of the damage from a hack, and the steps below are in that order.

Signs your computer may have been hacked

One sign on its own often has a harmless cause. Several together deserve attention.

  • Pop-ups that won't go away, especially ones saying your computer is infected and giving a phone number to call
  • Programs or browser add-ons you don't remember installing
  • Password-reset emails or sign-in alerts you didn't ask for
  • Friends or customers telling you they got strange messages from your email or social accounts
  • Changes you didn't make to accounts, such as a new forwarding rule in your email, a changed phone number, or unfamiliar payees
  • Missing money or charges you don't recognize
  • Your computer suddenly running much slower, or the fan running hard when you aren't doing anything

If you're not sure whether an email or message was real, our guide on how to spot a phishing email can help.

Step 0: Don't pay anyone who offers a fix

Before anything else, here's a rule to keep in mind the whole way through: do not pay anyone who calls you, emails you, or shows up in a pop-up offering to fix your computer.

A real security warning will never ask you to call a phone number. Don't buy security software because of a call or message you didn't expect, either. Scammers use fake alerts to get you to pay for "repairs," hand over card details, or give them remote access (the ability to control your computer from far away).

  • Don't call numbers shown in pop-ups.
  • Don't install anything a caller or pop-up asks you to.
  • If you already let someone connect to your computer, say so when you talk to your bank and any professional helper (see the last sections below).

Step 1: Disconnect from the internet

Cutting the connection can stop an attacker from reaching your accounts through your computer. It can also keep harmful software from spreading to other devices on the same network.

  1. Unplug the network cable if your computer uses one.
  2. Turn off wireless connections. On Windows, select the network icon on the taskbar, near the clock, and then select Airplane mode. Check that Wi-Fi shows as off, because Airplane mode can remember a Wi-Fi setting from the last time you used it.
  3. Leave the computer alone for now. Don't sign in to email, banking, or other accounts on it.

Try not to wipe or reinstall the computer yet. If you later need a professional to work out what happened, a wipe can erase useful clues.

Step 2: Change your passwords from a different device

Use your phone or another trusted computer, not the one you're worried about. If the problem computer has software that records your keystrokes, anyone watching could see everything you type on it.

  1. Start with your email. Your email is the key to most of your other accounts. Someone who controls it can request "forgot my password" links for your other accounts and reset those passwords.
  2. Pick a new password that is long and that you have never used anywhere else. A string of several unrelated words works well.
  3. Look through your email settings for anything you didn't set up, such as rules that forward your mail to another address, and delete them. Also check that the recovery email address and phone number are ones you recognize.
  4. Next, change passwords for banking, payroll, accounting software, cloud storage, and anything else with money or customer information.
  5. Then work through everything else, starting with accounts where you reused the same password.

If you reuse passwords, or have too many to keep track of, a password manager (a tool that creates and stores strong passwords for you) makes this much easier. Our guide on password managers for small teams explains how they work and how to start.

Step 3: Turn on two-step sign-in

Two-step sign-in (also called two-factor authentication) asks for a second proof of identity on top of your password. That's usually a code sent by text or email, or shown in an authenticator app. Even if someone has your password, they can't get in without that second step.

  1. On your trusted device, open the security settings for your email account.
  2. Look for a setting called "two-step verification" or "two-factor authentication" and turn it on. Some services use a slightly different name.
  3. Repeat for banking, accounting, and any other important accounts.

If you use Microsoft 365, follow our guide to turning on two-factor authentication for Microsoft 365.

Step 4: Run security software and install updates

Once your accounts are safer, turn to the computer itself. Windows has security software built in, called Windows Security.

  1. Reconnect the computer to the internet just long enough to update its security software, run the scan, and install updates. Don't sign in to any accounts on it while you do this.
  2. Click Start, type Windows Security, and open it.
  3. Choose Virus & threat protection.
  4. Click Scan options, select Microsoft Defender Antivirus (offline scan), and click Scan now. Save any open work first. The computer restarts and scans before Windows fully loads, which helps it catch things that hide.
  5. When it finishes, open Windows Security again and check Protection history for the results. Follow the prompts to remove anything it found.
  6. Install all available updates. Our guide on how to check for Windows updates walks through it. If you want a broader approach to keeping software current, see how to keep your business software up to date without breaking anything.
  7. Look through your installed programs for anything you don't recognize. Pay special attention to remote-access tools you didn't set up yourself. If you're not sure what something is, write down its name and ask a professional before removing it.

On a Mac, the built-in malware protection is called XProtect. It works in the background, blocks known malware, moves it to the Trash, and alerts you. It gets its own updates automatically. You should still install any macOS updates: choose Apple menu > System Settings > General > Software Update.

A clean scan isn't a guarantee, because some malware can go undetected. If the warning signs continue, see the professional help section below.

Step 5: Tell your bank if money may be involved

If you entered card or bank details, paid a "technician," or see charges you don't recognize, act quickly.

  1. Call your bank or card company. Use the number on the back of your card or on your statement, not a number from a pop-up, email, or caller.
  2. Explain what happened and ask what they can do to protect the account. For example, they may be able to block the card, reverse charges for fake services, or watch for unusual activity.
  3. Go through your recent statements, point out any charges you don't recognize, and keep checking future statements.
  4. Change your online banking login from your trusted device.

You can also report scams to the Federal Trade Commission (FTC) at ReportFraud.ftc.gov and to the FBI's Internet Crime Complaint Center (IC3) at ic3.gov. Reporting won't necessarily get your money back, but it creates a record and helps investigators.

Step 6: Know when to get professional help

Bring in someone you trust if:

  • The warning signs come back after a scan and password changes
  • Business or customer data may have been exposed
  • Someone had remote access to your computer
  • You lost money, or someone used your email to send messages to others
  • You're not comfortable doing these steps yourself

Choose someone you found yourself, not someone who contacted you first.

What to tell them:

  • What you noticed first, and roughly when
  • What you clicked, opened, installed, or typed in before it started
  • Whether you called a number or let anyone connect to your computer
  • Which accounts you've already changed passwords for
  • Whether any money was involved, and whether you've contacted your bank
  • That you haven't wiped or reinstalled the computer, if that's true

After the dust settles

Once things are calm, take a few steps so you're better protected next time.

Sources