Quick answer
The best WordPress malware removal plugin depends on who does the cleaning. Wordfence is the strongest free option. MalCare is the easiest for one-click cleanup. Sucuri adds expert, unlimited cleanups on its paid platform. Jetpack Protect, Defender, BulletProof Security, Anti-Malware Security and Patchstack fill specific needs, from beginner scanning to vulnerability prevention.
Whichever you pick, the plugin is only one part of the job. You also need clean backups, updated software and strong logins.
Finding malware on a WordPress site is stressful. Pages redirect to spam, Google shows a warning, your host suspends the account, or you simply notice an administrator you never created. The right security plugin can find the infected files, help you remove malware from WordPress, and stop it coming back.
This guide compares the 8 best WordPress malware removal plugins using their published features, WordPress.org listings and pricing pages. For each one you will see what it scans, how cleanup works, what it costs and where it falls short. We also cover online WordPress security scanners, vulnerability scanning, server-side Linux commands and a practical cleanup checklist.
What a WordPress malware removal plugin does
A WordPress malware removal plugin is a security tool that checks your site for malicious code, reports what it finds and helps you delete or repair the infected files. Most also protect against the attacks that cause infections in the first place. A good plugin does four things well:
- Virus & malware scan: compares files and database content against known signatures and suspicious patterns.
- Integrity checks: confirms that WordPress core, plugins and themes match the official versions.
- Cleanup: repairs, quarantines or removes infected files, either automatically or with your approval.
- Prevention: a firewall, login protection and alerts so the same weakness is not used twice.
No plugin catches everything. Attackers write new code constantly, and a plugin cannot fix an exposed password or a hacked hosting account. Treat it as one layer in a wider plan, such as the one in our WordPress security checklist.
Signs your WordPress site may be infected
- Visitors are redirected to unfamiliar websites, especially from mobile or search results.
- Google Search Console or your browser shows a “deceptive site” or “hacked content” warning.
- Strange pages, pharmaceutical or casino links, or Japanese keyword spam appear in search results for your domain.
- New administrator accounts, unknown plugins or PHP files inside
wp-content/uploads. - Sudden CPU spikes, slow pages or emails from your server that you did not send.
- Your host emails you about malware or suspends the account.
If several of these apply, read our guide to recovering a hacked WordPress site alongside this one.
The 8 best WordPress malware removal plugins compared
Use this table to shortlist. Details follow in the reviews. Prices change, so confirm them on each vendor’s pricing page before you buy.
| Plugin | Malware scan | Cleanup | Free version | Starting price |
|---|---|---|---|---|
| Wordfence | On your server | Manual repair or delete; expert cleanup in Care | Yes | Premium $149/year |
| MalCare | Off-site cloud | One-click on paid plans | Yes (scan and alerts) | About $99/year |
| Sucuri | Remote plus integrity checks | Unlimited expert cleanup on platform | Yes (monitoring) | About $199.99/year |
| Jetpack Protect | Off-site (paid) | One-click fixes on paid plan | Yes (vulnerabilities) | Paid upgrade |
| Defender | On your server | Safe Repair, delete or ignore | Yes | Via WPMU DEV Pro |
| BulletProof Security | On your server (MScan) | Quarantine and restore in Pro | Yes | One-time Pro purchase |
| Anti-Malware Security | On your server | Auto-removal of known threats | Yes | Free |
| Patchstack | Vulnerabilities only | Virtual patches (prevention) | Yes | Paid per site |
Detailed reviews of the 8 best WordPress malware removal plugins
Each review below includes an illustrative mockup of the scan screen, the features that matter for malware, honest pros and cons, and pricing. The mockups are simplified drawings made for this article. They are not official product screenshots.
1. Wordfence Security: best free malware removal plugin for WordPress
Wordfence is the plugin most WordPress owners reach for first, and for good reason. The free version combines an endpoint firewall with a malware scanner that runs on your own server. It compares your core, theme and plugin files against known-good copies, looks for signatures of backdoors and malicious URLs, and flags spam content and unwanted redirects that damage your search rankings.
When a scan finishes, you get a readable list of issues. For each file you can view the difference, repair it when it is a core or repository file, or delete it. That makes Wordfence a practical free malware removal plugin for WordPress as long as you are comfortable reviewing results yourself. If you would rather hand the job to experts, the paid Care and Response services add incident response and malware removal by the Wordfence team.
Key features of Wordfence
- Server-side Virus & malware scan of core files, themes, plugins and uploads
- Web application firewall that filters malicious requests before WordPress loads
- Login security with two-factor authentication and brute-force limits
- Premium adds real-time firewall rules and malware signatures, country blocking and priority support (free rules arrive with a delay)
Pros
- Strong free tier with a firewall and scanner in one plugin
- Detailed scan results with file-level repair and delete actions
- Large community and extensive documentation
Cons
- The scan runs on your hosting account, so small shared plans can feel it
- Hands-on cleanup is a separate, higher-priced service
Pricing: The plugin is free. Wordfence Premium starts at $149 per year per site on the official pricing page; Care and Response, which include incident response, cost considerably more.
2. MalCare: best WordPress malware removal plugin for one-click cleanup
MalCare takes a different technical approach. Instead of running the heavy scanning work on your server, it copies a light version of your site to its own cloud and scans it there. Your site keeps its resources for visitors, and you still get a deep Virus & malware scan.
Where MalCare earns its place on a list of WordPress malware removal plugins is the cleanup workflow. When something is found, paid plans offer a one-click automatic cleanup that removes the malicious code without you opening a single file. Reports then show what was removed. That is a relief if you are not a developer, or if a client site is down and you need it clean quickly.
Key features of MalCare
- Off-site malware scanning that keeps your server load low
- One-click malware removal on paid plans, with a cleanup report
- Firewall, bot protection and login protection in the same dashboard
- Free plan scans your site and alerts you if malware is found
Pros
- Very approachable interface for beginners
- Cleanup is built into paid plans rather than sold as a separate service
- Low impact on server resources
Cons
- The most useful cleanup features sit behind paid plans
- Multi-site pricing can add up quickly without an agency arrangement
Pricing: A free plan is available. Paid plans start around $99 per year for one site on the official pricing page, and rise with scan frequency and priority cleanup; check the page for the current tiers.
3. Sucuri Security: best for unlimited expert cleanup and a cloud firewall
Sucuri is best understood as two products. The free Sucuri Security plugin is a monitoring and hardening tool: it records audit logs, checks file integrity, runs a remote scan, watches blocklist status and offers post-hack actions such as resetting passwords and keys. It does not include a firewall, and it does not clean your site on its own.
The paid Website Security Platform is where the cleanup lives. It adds a cloud firewall and CDN, plus unlimited malware removal handled by Sucuri analysts. If your site is already infected, blocklisted or serving spam, that human-led cleanup is the main reason to choose Sucuri. Some third-party tests report missed infections in its scanner, so many owners pair it with a server-side scan from another tool.
Key features of Sucuri
- File integrity monitoring and detailed security audit logs
- Remote scanner (SiteCheck) that checks blocklist status, redirects and injected scripts
- Post-hack tools: password resets, security key rotation and plugin reinstall
- Paid platform adds a cloud WAF, CDN caching and unlimited expert cleanups
Pros
- Experienced security team handles tough infections
- Cloud firewall stops attacks before they reach your server
- Clear audit trail of what changed and when
Cons
- The free plugin is monitoring only, with no firewall
- Platform pricing is higher than most alternatives
Pricing: The plugin is free. The platform with cleanup and firewall starts at about $199.99 per year per site; a one-time cleanup is also sold separately.
4. Jetpack Protect and Scan: best scan virus WordPress plugin for beginners
Jetpack Protect comes from Automattic, the company behind WordPress.com. The free version checks the plugins, themes and WordPress core on your site against a large vulnerability database and warns you when something known to be weak is installed. It is a simple, no-configuration WordPress security scan.
Upgrading unlocks the malware side: daily automated malware scanning, one-click fixes for most issues, instant email notifications and a web application firewall. Scans run on Jetpack’s servers, so your site is not doing the heavy lifting. It is one of the easiest ways to scan for viruses with a WordPress plugin when you do not want a long list of settings.
Key features of Jetpack Protect
- Free vulnerability checks across plugins, themes and core
- Paid daily malware scanning with one-click fixes for most issues
- Web application firewall with automatic rule updates on paid plans
- Scanning happens off-site, so site performance stays steady
Pros
- Almost no setup
- Free tier is useful on its own for catching vulnerable plugins
- Backed by a large WordPress company
Cons
- Malware scanning and fixes require a paid upgrade
- Needs a connection to a WordPress.com account
Pricing: Jetpack Protect is free for vulnerability scanning. Malware scanning, one-click fixes and the firewall are part of the paid upgrade; the current price is shown inside the plugin.
View Jetpack Protect on WordPress.org · Jetpack Scan cleanup guide
5. Defender Security: best WordPress malware scanner with scheduled scans
Defender is WPMU DEV’s security plugin, and its free malware scanner is generous. It checks core and plugin files for unexpected changes, flags known vulnerabilities and looks for suspicious code. Each finding can be ignored, deleted or repaired with a Safe Repair option, which makes it easy to work through a report.
Defender Pro adds scheduled malware scanning, vulnerability detection powered by Patchstack data and bot protection, and it comes bundled with the wider WPMU DEV toolkit. Beyond scanning, the plugin includes a firewall, two-factor authentication, login URL masking, a 404 limiter and audit logs, so it also covers the hardening side of a clean-up.
Key features of Defender
- Free malware scanner with file change detection and suspicious code checks
- Safe Repair, delete or ignore actions for each finding
- Pro: scheduled scans, vulnerability detection and AntiBot protection
- Firewall, two-factor authentication, login masking and audit logs
Pros
- Clear scan report with actionable buttons
- Good fit when you manage many sites from one dashboard
- Hardening settings are easy to apply
Cons
- Some features need a WPMU DEV account
- False positives are possible, so review before deleting
Pricing: The core plugin is free. Defender Pro is included with a WPMU DEV membership, which also bundles other Pro plugins and site-management tools.
6. BulletProof Security: best for .htaccess hardening with a built-in malware scanner
BulletProof Security takes a layered, file-level approach. Its MScan malware scanner uses file hash and pattern-matching scans, and the plugin builds firewall rules into your .htaccess file, adds login security and monitoring, database backups and a maintenance mode. A one-click setup wizard configures the basics.
The Pro edition adds AutoRestore and Quarantine, a system that quarantines malicious files and restores legitimate files that were altered. It is sold as a one-time purchase rather than a yearly subscription, which some site owners prefer. Because the firewall relies on .htaccess, it suits Apache and LiteSpeed hosting rather than Nginx-only servers.
Key features of BulletProof Security
- MScan Virus & malware scan using file hash and pattern matching
- Security modes written into .htaccess as a server-level firewall
- Login security, idle session logout and database backups
- Pro: AutoRestore and Quarantine intrusion detection and prevention
Pros
- One-time Pro price instead of a recurring subscription
- Deep control over server-level rules
- Setup wizard simplifies the first configuration
Cons
- Dense settings screens can overwhelm beginners
- The .htaccess approach does not fit Nginx-only hosting
Pricing: The core plugin is free. BulletProof Security Pro is a one-time purchase on the developer’s website.
View BulletProof Security on WordPress.org · BulletProof Security Pro
7. Anti-Malware Security and Brute-Force Firewall: best second-opinion scanner
This open-source plugin, usually shortened to GOTMLS, does one job: it looks for known malware patterns and lets you quarantine them. Registering the plugin on the developer’s site gives access to newer “known threat” definitions and to automatic removal of those threats, plus patches for specific old vulnerabilities such as outdated timthumb scripts.
It also offers a brute-force login patch for wp-login.php and XML-RPC, and it can block exploit attempts against vulnerable plugins such as Revolution Slider. Many developers keep it around as a second opinion: when your main scanner reports nothing but the site still behaves oddly, a second engine with different definitions can catch what the first one missed.
Key features of Anti-Malware Security and Brute-Force Firewall
- Pattern-based malware scan with a quarantine area for removed files
- Automatic removal of known threats after registration
- Brute-force protection patch for wp-login.php and XML-RPC
- Open source with community translations
Pros
- Free to install and use as a complementary scanner
- Quarantine keeps removed files recoverable
- Different detection definitions give a useful second opinion
Cons
- Plain interface compared with newer cloud tools
- Not a full firewall and monitoring suite on its own
Pricing: Free from WordPress.org. Optional premium features and updated definitions are available through the developer.
View Anti-Malware Security and Brute-Force Firewall on WordPress.org · plugin FAQ
8. Patchstack: best WordPress vulnerability scanner to stop reinfection
Patchstack is the odd one out on this list, and that is deliberate. It is not a file-level malware scanner: its own documentation says it focuses on prevention and will not find malware already sitting on your site. What it does is track vulnerabilities in WordPress core, plugins and themes, and alert you when one of your components is affected.
Most WordPress infections begin with an outdated or vulnerable plugin, so closing that door matters as much as cleaning up. On paid plans Patchstack applies virtual patches, which are firewall rules that block exploit attempts while you wait for a real update. Among WordPress vulnerability scanners it is a very sensible companion to any of the malware tools above.
Key features of Patchstack
- Vulnerability detection for plugins, themes and WordPress core
- Email alerts on the free plan when a vulnerable component is installed
- Virtual patching that blocks exploits without changing site code
- Protection modules aimed at common attack types such as XSS, SQL injection and remote code execution
Pros
- Fixes the root cause of most reinfections
- Lightweight and designed to coexist with other security tools
- Useful for agencies protecting many sites
Cons
- Does not scan files for existing malware
- Virtual patching requires a paid plan
Pricing: Free vulnerability alerts are available. Advanced protection is paid per site; the plugin listing mentions about $5 per site per month for the personal plan features, with multi-site plans on the pricing page.
Can you scan a website for viruses?
Yes, and you can do it in two different ways. An online WordPress security scanner checks your site from the outside. A scan virus WordPress plugin checks it from the inside. Each answers a different question.
Online WordPress security scanner (remote scan)
A free online scanner such as Sucuri SiteCheck requests your public pages and looks for known malware, injected scripts, spam, redirects and blocklist status. It is quick, needs no installation and works well as a first check or a way to confirm a cleanup. The limitation is visibility: it only sees what a visitor’s browser sees and cannot inspect server-side files. A clean result therefore does not prove the site is safe.
Scan virus WordPress plugin (inside scan)
A plugin reads the files and database on your server. That makes it better at finding web shells, backdoors and modified core files that never show up on a public page. This is why the tools in our list are plugins, and why we suggest combining a remote check with an inside scan after any incident.
uploads, trust the plugin and investigate.Malware scanners vs WordPress vulnerability scanners
People often use the two terms as if they meant the same thing. They do not.
| Malware scanner | Vulnerability scanner | |
|---|---|---|
| Looks for | Malicious code already on the site | Known flaws in core, plugins and themes |
| Answers | “Am I infected?” | “Could I be infected?” |
| Examples here | Wordfence, MalCare, Defender, GOTMLS | Patchstack, Jetpack Protect (free tier), WPScan |
| Typical action | Repair, quarantine or delete files | Update the component or apply a virtual patch |
Among free WordPress vulnerability scanners, WPScan offers a vulnerability database and API that several plugins rely on, and Jetpack Protect uses similar data on its free tier. A practical setup uses one malware scanner and one vulnerability service. Keeping plugins current also helps: see our notes on must-have WordPress plugins and how to upgrade a WordPress theme safely.
Linux commands for vulnerability checking
If you manage your own server or have SSH access, a few commands give you a second opinion that does not depend on WordPress at all. The set below covers malware detection, core file integrity and basic server auditing. Replace /var/www/html with your WordPress path, and only scan servers you own or administer.
# 1. Update malware definitions, then scan the web root with ClamAV
sudo freshclam
sudo clamscan -r -i /var/www/html
# 2. Linux Malware Detect (if installed) scans a path for web-shell patterns
sudo maldet -a /var/www/html
# 3. Check WordPress core and wordpress.org plugins against official checksums
wp core verify-checksums
wp plugin verify-checksums --all
# 4. PHP files in uploads are almost always a red flag
find /var/www/html/wp-content/uploads -type f -name "*.php"
# 5. Files changed in the last 7 days
find /var/www/html -type f -name "*.php" -mtime -7 -ls
# 6. Look for common obfuscation functions (expect some false positives)
grep -RIlE "(eval|base64_decode|gzinflate|str_rot13)\s*\(" /var/www/html/wp-content
# 7. World-writable files are a weak spot
find /var/www/html -type f -perm -o+w
# 8. Review administrator accounts and pending updates
wp user list --role=administrator
wp plugin list --update=available
# 9. Quick syntax check of a suspicious file before you read it
php -l wp-content/uploads/suspicious.php
# 10. General server hardening audit
sudo lynis audit system
- ClamAV is an open-source antivirus engine that works well for web roots.
- wp core verify-checksums flags core files that differ from the official release, and wp plugin verify-checksums does the same for plugins hosted on WordPress.org.
- Lynis audits general Linux server hardening rather than WordPress specifically.
Obfuscated PHP is hard to read. Paste a suspicious file into our PHP validator and beautifier to expand compressed code and check its syntax before you decide whether to delete it. Never run unknown code on a live site just to see what it does.
How to remove malware from WordPress step by step
A plugin automates much of this, but the order of the steps matters. Work through them in sequence.
- Back up the current state. Even an infected backup helps investigators and protects you if a cleanup goes wrong. Store it offline.
- Enable maintenance mode. Stop visitors from being redirected or exposed while you work.
- Change credentials. Reset WordPress admin, hosting, SFTP and database passwords. Follow our guide to resetting a WordPress admin password and rotate the security keys in
wp-config.php. - Run a full scan. Use one of the plugins above, then verify core and plugin files with the WP-CLI checksum commands.
- Remove unknown users and plugins. Delete administrators you did not create, and any plugin or theme you do not recognise.
- Replace, do not patch. Reinstall WordPress core, plugins and themes from official sources instead of editing infected files by hand.
- Clean uploads and the database. Delete PHP files from
uploadsand search posts, options and widgets for injected scripts or spam links. - Check the server. Review cron jobs,
.htaccessrules and hosting-level malware reports. - Request a blocklist review. If Google or another service flagged you, request a review once the site is clean.
- Re-scan and monitor. Scan again after 24 hours and set up scheduled scans and alerts.
Serious cases, such as a compromised hosting account or customer data exposure, call for a professional incident response. Our guide on how to recover a hacked WordPress site covers the wider recovery process.
After the cleanup: harden and monitor
- Encrypt traffic. Make sure HTTPS is correctly configured. Our walkthrough shows how to install an SSL certificate.
- Update everything. Most reinfections come from the same outdated component.
- Use two-factor authentication for every administrator and limit login attempts.
- Delete what you do not use. Inactive plugins and themes are still attack surface.
- Keep offsite backups that malware on the server cannot reach.
- Watch server health. Malware often shows up first as unexplained CPU, memory or traffic spikes. A tool such as WP Server Toolkit for performance monitoring helps you notice those patterns early, and it also shows whether a security scanner itself is straining a small hosting plan.
For a complete hardening list, use our WordPress security checklist.
Notes for the USA, Germany, Switzerland, France and Austria
Malware is a technical problem with legal and practical consequences that vary by country. These points apply to site owners in the five markets most readers come from. They are general information, not legal advice.
- United States: breach-notification rules are set mostly at state level, and agencies such as CISA publish free security guidance for small organisations.
- Germany and Austria: the GDPR (DSGVO) applies. A breach involving personal data generally has to be reported to the supervisory authority within 72 hours of discovery unless it is unlikely to risk people’s rights. Germany’s BSI and Austria’s CERT.at publish alerts and advice.
- Switzerland: the revised Federal Act on Data Protection (nDSG/FADP) applies, and the National Cyber Security Centre (NCSC) accepts incident reports.
- France: the GDPR applies, and ANSSI provides national cybersecurity guidance.
Cloud-based tools such as MalCare, Sucuri and Jetpack process copies of your site data on their servers. If your site holds customer data, check the vendor’s data-processing terms and where data is stored before you enable them. If you search in your own language, the same steps apply to WordPress Malware entfernen in German and supprimer un malware WordPress in French.
Which WordPress malware removal plugin should you choose?
If you want one recommendation for the best WordPress malware removal plugin, start with Wordfence free for ongoing protection, and choose MalCare or Sucuri if your site is already infected and you want the cleanup handled for you. The table maps common situations to a first choice.
| Your situation | Start with | Why |
|---|---|---|
| One site, no budget | Wordfence free | Scanner and firewall at no cost |
| Not technical, site is infected now | MalCare or Sucuri | One-click or expert-led cleanup |
| Blocklisted or serving spam pages | Sucuri platform | Managed cleanup and blocklist help |
| Already use Jetpack | Jetpack Protect | No extra setup, off-site scanning |
| Manage many client sites | Defender Pro or Patchstack | Central dashboards and scheduled scans |
| Apache or LiteSpeed, want one-time pricing | BulletProof Security | .htaccess hardening and Pro quarantine |
| Main scanner finds nothing but the site is odd | Anti-Malware Security | A second engine with different definitions |
| Cleaned once, want to stay clean | Patchstack plus a scanner | Blocks the vulnerable-plugin route back in |
Pair your pick with a vulnerability service, keep software updated and review the must-have WordPress plugins list for companion tools.
Frequently asked questions
Can you scan a website for viruses?
Yes. A remote scanner such as Sucuri SiteCheck visits your pages like a browser and looks for known malware, injected scripts, redirects and blocklist warnings. It cannot see server-side files, so a plugin that scans your files, or a scan from the command line, is needed for a complete check.
What is the best WordPress malware removal plugin?
For most single sites, Wordfence is the best free starting point and MalCare is the easiest option for one-click cleanup. If your site is already badly infected, Sucuri’s managed cleanup or Wordfence Care puts a human analyst on the job. The right choice depends on whether you want to clean the site yourself.
Is there a free malware removal plugin for WordPress?
Yes. Wordfence, Defender, BulletProof Security and Anti-Malware Security all have free versions that scan for malware and let you act on the results. Free versions usually delay signature updates or lock automatic cleanup behind a paid plan, so review what is included.
How do I remove malware from WordPress without a plugin?
Back up the site, put it in maintenance mode, change every password and key, then replace WordPress core, plugins and themes with clean copies. Delete unknown files and administrators, check the database for injected links, and scan again. Commands such as wp core verify-checksums help you find modified core files.
Can I use more than one malware plugin at the same time?
Running two real-time firewalls usually causes conflicts. Using a second plugin only for occasional manual scans is generally fine, and a lightweight scanner such as Anti-Malware Security is often used this way. Keep only one active firewall and one active login-protection tool.
How often should I run a WordPress security scan?
Scan daily if your tool allows it, and at least weekly. Run an extra scan after installing a new plugin or theme, after a hosting change, and whenever your site behaves unexpectedly, such as slow pages, strange redirects or unknown admin users.
What is the difference between a malware scanner and a vulnerability scanner?
A malware scanner looks for malicious code already on your site. A vulnerability scanner checks whether your plugins, themes or core have known security flaws that attackers could use. You need both: one tells you what is wrong now, the other warns you about what could go wrong next.
Which Linux command checks for vulnerabilities on a WordPress server?
There is no single command. Common tools include clamscan for malware, wp core verify-checksums for core file integrity, find and grep to spot suspicious PHP files, and lynis audit system for a general server hardening audit. Only run scans on systems you own or manage.
Final thoughts
The 8 WordPress malware removal plugins above cover every common scenario: a free scanner, a one-click cleanup service, expert-managed recovery, a beginner-friendly option, agency tools, server-level hardening, a second-opinion scanner and vulnerability prevention. Install one scanner, add a vulnerability service, schedule your scans and keep a clean offsite backup. That combination catches problems early and makes recovery far less painful when something slips through.

