Short answer: a Google Safe Browsing warning is removed by cleaning the problem, then asking Google to review the site. Check the Security issues report in Google Search Console to see what was found, remove the malware or phishing content and the way in, then request a review. Reviews can take from several hours to a few days, and requesting one before the site is clean can delay the process.

What the warnings mean
Browsers such as Chrome, Safari and Firefox use Google Safe Browsing lists to warn people before they open a site that may host malware, unwanted software or phishing. Typical messages are “Deceptive site ahead,” “The site ahead contains malware” or “This site may harm your computer” in search results. Visitors are often blocked by a full-page red warning, and your traffic can drop sharply.
Step 1: Confirm the problem
- Add and verify the site in Google Search Console if you have not already.
- Open the Security issues report. It states the type of issue, such as malware, deceptive pages or hacked content, and may show sample URLs.
- Check Google’s Transparency Report site status page (search “Google Safe Browsing site status”) to see the current status.
| Issue type | Usually means |
|---|---|
| Malware | The site distributes or runs harmful software |
| Social engineering (deceptive pages, phishing) | Pages trick visitors into giving information or downloading something |
| Unwanted software | Downloads that change the user experience or settings in unexpected ways |
| Hacked content (spam, injected links or pages) | Attackers added spam or redirects |
Step 2: Clean the site
- Take a full backup (files and database), and keep a copy of the infected state for analysis.
- Put the site in maintenance mode or restrict access while you clean, if possible.
- Scan with your host’s tools and a reputable scanner, and look at the URLs in the Search Console report.
- Replace WordPress core, plugins and themes with clean copies from official sources. Remove unused and nulled software.
- Look for unknown files, especially PHP in the uploads folder and in must-use plugins. See how to check mu-plugins for malware.
- Check for injected code in the database (posts, options) and in theme files such as
functions.phpandheader.php. - Remove unknown administrator users, and change passwords for WordPress, hosting, FTP and the database, and regenerate the salts.
- Find and fix the entry point: a vulnerable plugin, weak password or compromised account. Otherwise it returns.
If you are unsure, hire a security professional or use your host’s malware cleanup service.
Step 3: Check what visitors see
- Test the site on desktop and mobile, from search results and direct visits, because some malware only shows to certain visitors or referrers.
- Use Search Console’s URL Inspection to see how Google fetches your pages.
- Make sure Googlebot is not blocked in
robots.txtor by a firewall, because Google needs to access the pages to confirm they are clean.
Step 4: Request a review
- In Search Console, open Security issues.
- Select “Request review.”
- Explain briefly what you found and what you did to fix it (for example, removed malicious files, updated software, changed passwords).
- Submit and wait. Google says reviews can take a few days for some issue types, and it will tell you the result in Search Console and by email.
If the review is rejected, read the new details, find what remains, fix it and ask again. Do not submit repeated requests without fixing the problem.

Step 5: Harden and monitor
- Turn on automatic updates for security releases where suitable and update plugins quickly.
- Use two-factor authentication for administrators.
- Keep backups off the server and test restoring them.
- Use a firewall and scanning, and watch the Security issues report.
See our WordPress security checklist and how to check if your site is on a blacklist.
If the warning is a false positive
If you are sure the site is clean, still check for hacked content that is invisible to you. If there is none, request a review and explain the situation. Check third-party scripts, ads and embedded content, which can trigger warnings even when your own files are clean.
Frequently asked questions
How long does it take to remove the warning?
It depends on the issue and how quickly you clean the site. Review time ranges from hours to days.
Do I need Search Console?
It is the main way to see details and request review, so set it up.
Will rankings recover?
Often after the warning is removed and the spam or malicious content is gone, but recovery time varies.
Related: WordPress site hacked recovery.



