Security

"This Site May Be Hacked": Every Google Warning and Your First Hour

By , Lead SEO & Co-founder 9 min read
A dark server room at night with a large crimson warning beacon flashing over one rack, a crash cart rushed to it with a laptop open, the rest of the racks steady cyan, cables spilling from the open rack door

"This site may be hacked" is the gray line of text Google puts under a search result when it believes someone added content to the site without the owner's permission. It's one of several warnings Google can show, and they don't all mean the same thing, take the same time to clear, or call for the same first move.

So this post goes warning by warning: what each one means, where you'll see it, and how long it typically takes to go away. Then a calm plan for the first 60 minutes, because the first hour is where most of the avoidable damage happens.

Seeing one right now? Breathe. It's fixable. If you'd like help, tell me which warning you're seeing in a short questionnaire. For emergencies, I start within a few hours during business hours (Pacific and Eastern time zones).

"This site may be hacked" and Google's other warnings, side by side

Google's help page on why a site gets labeled as dangerous lists the search labels. Chrome's help page on browser warnings covers the red screens. Here's how they line up:

Warning Where people see it What Google thinks happened Typical review time after you fix it
"This site may be hacked" Under your listing in Google Search Someone added content (usually spam pages or links) without your permission Up to several weeks
"This site may harm your computer" Under your listing in Google Search Your site may serve malware or dangerous downloads A few days
Red "Dangerous site" page Chrome, before your site loads Phishing, malware, unwanted software or social engineering detected A few days for malware
Security Issues report and email Search Console (owners only) The detail behind any of the above, with sample URLs Same as the issue it describes

The timing column comes straight from Google. On its help page, malware reviews "require a few days to process," while hacked-spam reviews "may require up to several weeks to process." Once Google confirms the site is clean, it says warnings in browsers and search results are removed "within a few days."

"This site may be hacked": the spam warning

This is the one that usually means SEO spam: pages selling pills, knock-off goods or casino links, often in Japanese, that someone generated on your domain. Your visitors may never see them. They exist for Google.

Your site might look perfectly fine to you. That's normal with this kind of hack, and it's why the warning surprises so many owners. The slower review time makes sense too. Google has to confirm the spam is gone across the whole site, not just on one page.

"This site may harm your computer": the malware warning

This one is more urgent for your visitors. It means Google found something that could hurt people who visit, like a script that redirects them to a scam or pushes a download. Many people won't click a result with this label, and Chrome may show a red warning page before your site even loads.

The good news: malware reviews are faster, usually a few days.

Chrome's red "Dangerous site" page

This is the full-screen red warning. It comes from Google Safe Browsing (Google's list of unsafe sites, which Chrome and other browsers check). Chrome's help page says it appears for phishing, malware, unwanted software and social engineering (tricking people into giving up passwords or payment details).

Anyone can check whether your site is currently flagged with Google's Safe Browsing site status tool. Google notes that the different systems don't update in perfect sync, so if the status tool says you're clean but a browser still warns, give it a day.

The Search Console Security Issues report

If you're a verified owner in Google Search Console, this report is the most useful thing on this list. The Security Issues report names the issue type, such as "Hacked: URL injection" or "Hacked: Content injection," and lists sample URLs. That tells you what kind of cleanup you're facing.

No Search Console? Set it up today, even mid-crisis. You can't request a review without it.

Your first 60 minutes after a Google hacked warning

Here's what I'd do in the first hour, in order. None of it requires you to be technical, and all of it makes the real cleanup faster.

Minutes 0-10: Find out exactly what Google is saying

  • Screenshot the warning, wherever you saw it.
  • Open Search Console > Security & Manual Actions > Security issues. Write down the issue type and the sample URLs.
  • Check the Safe Browsing status tool for your domain.
  • Search site:yourdomain.com in Google and scroll. Pages you didn't write are your first clue to what happened.

Minutes 10-20: Back up everything, including the mess

Before anyone deletes anything, take a full backup of the files and the database. Yes, the infected copy. It shows how the attacker got in and what they changed, and you may need it to prove what was cleaned. Download it somewhere off the server.

Minutes 20-35: Lock the doors

  • Change passwords for hosting, WordPress admins, SFTP and the database. Use a password manager.
  • Look at your admin users in WordPress. Note any you don't recognize. Don't delete them yet if you plan to hire someone, since they're evidence. Do change their passwords or set their role to "No role."
  • Check Search Console owners under Settings > Users and permissions. Google says an owner you don't recognize means you might have been hacked. Attackers add themselves so they can submit their own sitemaps.

Minutes 35-50: Contain the damage

If the warning is "This site may harm your computer" or the red Chrome page, your visitors are at risk, so taking the site offline briefly is reasonable. Google's guide on quarantining a hacked site has a subtle but important point: the "we're down" response should come from outside your compromised server, such as a maintenance page at your CDN (content delivery network, like Cloudflare) or one your host sets up. A maintenance plugin running on the infected site doesn't really contain anything.

The same guide reassures that taking a site offline temporarily during recovery is unlikely to affect your future rankings.

For "This site may be hacked" with spam only, you can usually skip the takedown. The spam targets Google, not your visitors.

Minutes 50-60: Tell your host, then decide who cleans

Let your hosting company know. They may see the infection in other accounts, and some will scan or help contain it.

Then decide: DIY or hire. If you're comfortable in a file manager and Search Console, my DIY hack cleanup guide walks through the full order. If not, or if this is the second time, hand it off. Here's what a professional cleanup with the Google review included looks like at BigRed.

What not to do in the first hour

A few moves feel productive and make things worse:

  • Don't request a Google review yet. Google's review guide says that if a review is denied, the warnings stay. Request it after the cleanup, not before.
  • Don't just restore last week's backup. If the backup already holds the backdoor, you've restored the hack with an older date. Restores are fine as a starting point, but the hole still needs closing.
  • Don't delete random files. A file with a scary name may be a real part of your theme. Back up, then clean with a plan.
  • Don't block Google in robots.txt. It doesn't hide the warning, and it stops Google from seeing your fix.

How long until the warning is gone?

Here's a realistic timeline for a typical small WordPress site, once cleanup starts:

  1. Cleanup itself: usually one to two working days of hands-on time for a single site. Several sites in one hosting account, or a heavy database infection, take longer.
  2. Review request: filed once every sample URL is clean and the spam URLs return an error status.
  3. Google's review: a few days for malware, up to several weeks for hacked spam, per Google's help pages.
  4. Labels removed: within a few days after Google clears the site.

The spam pages themselves leave search results more slowly, as Google recrawls them. I cover that part, including the Removals tool and its six-month limit, in my post on cleaning spam URLs out of Google. And if your warning came with Japanese pages in your results, the Japanese keyword hack guide covers that strain specifically.

Vlad's take

The warning feels personal. It isn't. It's a judgment about what's on the pages, not about you, and most owners have no idea anything happened until the label shows up.

What I'd stress is the order. Contain, back up, lock the doors, clean everything, and only then ask Google to look. Owners who rush the review request usually end up waiting twice.

Final thoughts

"This site may be hacked" means spam and a longer review. "This site may harm your computer" and Chrome's red page mean malware and a shorter one. Either way, the first hour is about evidence and locks, not deletion. Get the backup, change the passwords, check for strangers in WordPress and Search Console, and contain it from outside the server if visitors are at risk.

If you'd like me to take it from there, fill in the hacked-site questionnaire. Standard cleanups start at $350 and emergency cleanups at $500, both including the review request and the Google side.

This site may be hacked FAQs

What does "This site may be hacked" mean in Google?

It means Google believes someone added content to your site without your permission, usually spam pages or hidden links aimed at search engines. It appears as a label under your search listing. Visitors may still reach your site, but fewer will click. To remove it, clean the site, make the spam URLs return an error status, and request a review in Search Console's Security Issues report.

What's the difference between "This site may harm your computer" and "This site may be hacked"?

"This site may harm your computer" points to malware or harmful downloads that could affect visitors. "This site may be hacked" points to spam content added by someone else. Google's help pages say malware reviews take a few days, while hacked-spam reviews can take up to several weeks. The malware warning is more urgent, because Chrome may stop visitors with a full-screen red warning page.

How long does it take to remove the Google hacked warning?

After a full cleanup and a review request, Google says malware reviews take a few days and hacked-spam reviews can take up to several weeks. Once the review passes, warnings are removed from search results and browsers within a few days. The cleanup itself typically takes one to two working days for a single site. Requesting a review before the site is fully clean usually adds time.

Can I remove the warning without Search Console?

Not really. The review request lives in Search Console's Security Issues report, so you need to verify your site first. Verification is free and takes a few minutes with a DNS record or an HTML file. While you're in there, check Users and permissions for owners you don't recognize. Attackers sometimes verify themselves to submit spam sitemaps.

Will the hacked warning hurt my rankings?

It usually hurts clicks right away, because fewer people choose a result with a warning. Rankings may also drop while spam pages sit in the index. In most cases, traffic recovers as Google recrawls the clean site and the label comes off, though Google sets the pace. If traffic hasn't returned a few weeks after the review clears, look for a separate problem.

Want a second pair of eyes on your site?

Tell me what's going on in the hacked website repair questionnaire. I reply with a plan and a fixed quote within one business day.

Starting at $350 Start the questionnaire