🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Limit Login Attempts (Spam Protection) icon
Actively maintained Tested with WP 7.1 #52 in anti-spam

Limit Login Attempts (Spam Protection)

Limit the number of login attempts possible both through normal login as well as using auth cookies.

Active installs200+100+ tier
Downloads · 30d537▲ +179.7% vs prev. 30d
Rating3.9/57 reviews
Health score77/100Good
All-time downloads15.4KSince Feb 2020
Support resolved—No recent threads
RequiresWP 4.6PHP 7.4+
Downloads · 7d300▲ 3.3× week over week
Our verdict

Solid choice

Limit Login Attempts (Spam Prot… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 200+ sites, is rated 3.9/5 and was last updated 4 days ago, and scores 77/100 on our health check.

  • Actively developed — last update 4 days ago
  • Tested with the latest WordPress (7.1)
  • Momentum — downloads up 179.7% vs the previous 30 days
  • Small user base (200+ active installs)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

3468102Sep 3Oct 17Dec 1
Yesterday31
Daily average (1y)5
Peak day137Nov 29, 2026
Last 12 months1.7K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Limit Login Attempts (Spam… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
anti-spam #80 880 Best anti-spam plugins →
firewall >100 1,486 Best firewall plugins →
Login Attempts #19 1,586 Best Login Attempts plugins →
protection #88 7,200 Best protection plugins →
security >100 10,000 Best security plugins →

Version adoption

Share of active sites per release.

  • 5.671.2%
  • 5.823.4%
  • 5.35.4%

Rating breakdown

★★★★★★★★★★ 3.9 from 7 reviews

  • 5★71.4%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★28.6%

About Limit Login Attempts (Spam Protection)

From the official readme · v5.8

Description

Limit the number of login attempts possible both through normal login as well as using auth cookies.

By default WordPress allows unlimited login attempts either through the login page or by sending special cookies. This allows passwords (or hashes) to be brute-force cracked with relative ease.

Limit Login Attempts blocks an Internet address from making further attempts after a specified limit on retries is reached, making a brute-force attack difficult or impossible.

✨ Engineered for Reliability, Speed, and Real-World Defense

WordPress login pages are targeted around the clock by automated bots, credential-stuffing scripts, and XML-RPC floods. Limit Login Attempts (Spam Protection) transforms your authentication gateway into a server-enforced, high-performance defense layer — built with clean native WordPress standards, zero front-end bloat, and safeguards designed so you stay in complete control.

  • 🛡️ True Server-Side Enforcement — Enforces lockouts and IP rules directly on WordPress’s authenticate hook, stopping automated POST requests, XML-RPC brute-force floods, REST API attempts, and WooCommerce login bypasses — not merely hiding the form in the browser.
  • 🔐 Cryptographic Token Security — Uses cryptographically secure random tokens (random_bytes()), SHA-256 hashed database and transient storage, automatic 24-hour expiration, and timing-safe hash_equals() verification so unlock and emergency bypass links can never be guessed or abused.
  • 🧯 Built-In Self-Lockout Safeguards — Pre-save detection warns and requests explicit confirmation before any IP range rule blocks your own connection, paired with a one-click “Use my IP” allowlist shortcut and emergency unlock links delivered straight to your admin inbox.
  • ⚡ Lightweight & Indexed for High Traffic — Powered by composite MySQL database indexes, transient-cached GeoIP lookups, locally hosted country flag assets, and lightweight vanilla JavaScript on wp-login.php (zero jQuery overhead). Strong protection without slowing down your site.
  • 🌍 Privacy-First & GDPR-Conscious — Zero third-party tracking scripts, locally stored flag icons, admin-only (manage_options) visibility for all security logs and dashboard widgets, and no plain-text password storage.
  • 🎨 Modern Native WordPress Experience — Clean card-based interface, unified tabbed navigation, live Protection Active status indicator, collapsible third-party Notifications Tray, accessible <dialog> confirmation modals, and full RTL (Right-to-Left) support.

🚀 Core Security Features

🔒 Smart Brute-Force & Lockout Engine

  • ✅ Customizable Retry & Lockout Rules — Set the exact number of allowed retries, lockout window duration (in minutes), and custom redirect URL for denied visitors.
  • ✅ Real-Time Login Feedback — Clearly informs legitimate users of remaining login attempts or exact minutes until lockout expiration with accessible, RTL-ready notices.
  • ✅ Instant One-Click AJAX Unlock — Lift an active lockout immediately from the Lockout Log (resetting the IP’s failed counter automatically) or via a single-use cryptographic link in your alert email.
  • ✅ Allowlist Priority — Trusted IPs bypass failed-attempt counting and lockouts completely so accidental typos never lock out your team.
  • ✅ Safe Protection Pause — Temporarily pause retry lockouts anytime while keeping explicit IP deny lists strictly enforced.

🌐 Precision IPv4 & IPv6 Access Control

  • ✅ Full IPv4 & IPv6 Support — Block (Deny List) or exclude (Allowlist) single IP addresses or complete IP ranges using binary inet_pton() matching — accurate across IPv4, IPv6, and 32-bit/64-bit servers.
  • ✅ One-Click “Use my IP” Allowlisting — Instantly view your current IP address, check whether it is already allowlisted, and prefill it into the Allowlist with a single click.
  • ✅ Anti-Spoofing IP Detection — Reads REMOTE_ADDR by default to prevent forged header bypasses, with a dedicated wpb_get_ip developer filter for reverse proxies and CDNs.

Chasing automated attackers one IP at a time quickly becomes exhausting when botnets switch addresses every few seconds. When most unwanted traffic comes from regions your business doesn’t serve, shutting out entire high-risk countries with GeoIP rules stops those waves before a single retry ever reaches your login form.

📊 Real-Time Security Dashboard, Widgets & Searchable Logs

  • ✅ At-a-Glance Security KPI Cards — Monitor Total & Today’s Failed Attempts, Lockouts, Unique Attacking IPs, Originating Countries, and Last Attempt timestamps in real time.
  • ✅ 4 Actionable Reports & Admin Dashboard Widgets — Track Top 10 Failed Logins (highlighting real user accounts and Administrator role badges), Top 10 Blocked IPs, Top 10 Blocked Countries, and Recently Blocked Attacks with proportional visual bars.
  • ✅ Origin Intelligence Breakdown — See “Where attacks on your site come from” ranked by country with visual intensity bars based on live site logs.
  • ✅ Fast Server-Side Searchable Logs — Search and sort Failed Attempts and Lockout Logs instantly by username, IP address, country, or city — complete with live lockout countdown tags (Locked · X mins left / Expired), relative timestamps with full-date tooltips, and direct DB-IP lookup links.

📧 Security Alerts & Ecosystem Compatibility

  • ✅ Detailed HTML Security Email Alerts — Receive instant lockout notifications including date/time, country flag, IP address with lookup link, detected device type, targeted username, direct log filter link, and one-click cryptographic unlock link.
  • ✅ Broad WordPress Ecosystem Compatibility — Works seamlessly alongside WooCommerce login forms, Wordfence, Sucuri, Google reCAPTCHA, Captcha Plus, SMTP mailers, and modern MySQL 8+ (ONLY_FULL_GROUP_BY) environments.
  • ✅ Clean Edition Coexistence — Shares the same database architecture with the PRO edition and handles mutual deactivation automatically to prevent plugin conflicts.

🏆 Complete Perimeter Defense (PRO Edition)

A temporary lockout slows a bot down — it rarely makes it go away. Once the timer expires, the same attacker can return immediately, rotate to a fresh proxy IP, or quietly test leaked credentials against an administrator account while you are away from your dashboard. When your site, WooCommerce store, or client portfolio needs more than rate-limiting, Limit Login Attempts (Spam Protection) PRO closes those exact gaps on the same hardened foundation:

  • 🗺️ GeoIP Country Blocking & “Allow-Only” Lockdown — Stop fighting rotating IPs one by one. Block entire high-risk regions in a single click, or lock down your login page globally while allowlisting only the countries where your team operates — complete with pre-save self-lockout protection and one-click “Use my country” allowlisting.
  • 🔥 Interactive World Threat Heat Map — Replace guesswork with instant clarity through an interactive SVG world map visualizing live blocked and failed attempt volumes across every country.
  • 🔍 Privacy-Controlled Password Auditing — A username log alone never tells you how close an attacker actually got. Optionally inspect partially masked passwords from failed attempts (disabled by default, with clear privacy guidance) so you can tell blind dictionary noise from a leaked password before an account is compromised.
  • 📱 Mobile Companion App & Hardened REST API — Stay ahead of attacks even when you are away from your computer. Monitor live statistics, threat maps, and logs — and control IP or country rules from your phone — via instant QR-code pairing, connected-device management, and timing-safe API key rotation (Companion APK).
  • 🔄 Seamless Zero-Friction Continuity — Uses the exact same database tables, security architecture, and native interface so every existing setting, IP rule, and historical log carries over intact without reconfiguration.

If recurring attack waves, rotating proxy botnets, or login blind spots are costing you peace of mind, see how the PRO edition completes your WordPress login perimeter.

🎬 Video Walkthroughs

Overview

Plugin Settings and Reports

Installation

Securing your WordPress login takes less than 60 seconds:

  1. 📥 Download wp-limit-failed-login-attempts.zip or install directly from Plugins → Add New in your WordPress dashboard.
  2. 📂 If installing manually, unzip and upload the wp-limit-failed-login-attempts folder to your /wp-content/plugins/ directory.
  3. ⚡ Go to Plugins in your WordPress admin and click Activate.
  4. 🛡️ Open Login Attempts → Settings to review your allowed retries, lockout duration, and email alert preferences.
  5. ✅ (Recommended) Visit IP Blocking and click “Use my IP” to add your own IP address to the Allowlist for uninterrupted access.

Changelog

🛡️ Major Security & Experience Release! Introduces SHA-256 hashed unlock & bypass tokens, admin-only dashboard widgets, a redesigned native RTL-ready dashboard with real-time KPI cards, one-click AJAX IP unlock, self-lockout prevention guards, a collapsible Notifications Tray, and seamless Free/PRO coexistence. Recommended for all sites.= 5.8 = 🛡️ Major Security & Experience Release! Introduces SHA-256 hashed unlock & bypass tokens, admin-only dashboard widgets, a redesigned native RTL-ready dashboard with real-time KPI cards, one-click AJAX IP unlock, self-lockout prevention guards, a collapsible Notifications Tray, and seamless Free/PRO coexistence. Recommended for all sites.

5.8

  • 🛡️ Security: Upgraded unlock and emergency bypass tokens to store SHA-256 hashes exclusively (in WPLFLA_log_block_ip and 24-hour expiring transients) with timing-safe hash_equals() verification, plus an automatic one-time migration (WPLFLA_migrate_unlock_tokens) that purges legacy plain-text tokens.
  • 🛡️ Security: Restricted all 4 WordPress Dashboard security widgets to administrators (manage_options) so attacker IPs and targeted usernames are never exposed to non-admin roles.
  • 🛡️ Security: Ensured explicit IP and country deny lists remain strictly enforced at both login_init and the authenticate filter even when retry lockouts are paused, while allowlisted IPs cleanly bypass attempt counting and lockouts.
  • 🛡️ Security: Added automatic skipping of private/reserved IP ranges during GeoIP lookups and avoided external lookups whenever no country rules exist.
  • ✨ New Feature: Completely redesigned the admin experience with a modern, native, RTL-ready WordPress card UI — featuring a branded header with live Protection Active / Lockouts Paused badge, unified tabbed navigation, card-based Settings with unit suffixes, and a collapsible third-party Notifications Tray.
  • ✨ New Feature: Added real-time At-a-Glance Security KPI Cards (Failed Attempts, Lockouts, Attacking IPs, Last Attempt) above the Statistics reports, plus proportional magnitude bars, user role badges, and relative timestamps with full-date tooltips.
  • ✨ New Feature: Added One-Click AJAX IP Unlock, live lockout countdown badges (Locked · X mins left / Expired), and pre-filtered ?ip= deep-linking directly in the Lockout Log.
  • ✨ New Feature: Added Self-Lockout Prevention Guard when adding a Deny List IP range covering your current IP, one-click “Use my IP” allowlist button with live Allowlisted badge, and optional “End IP” for effortless single-IP entry.
  • ✨ New Feature: Added “Where attacks on your site come from” live country breakdown and transparent management/removal for any active PRO country rules.
  • ✨ New Feature: Added accessible native <dialog> confirmation modals, live button progress states (Saving…, Unlocking…, Clearing…), smart DataTables empty states, and automatic removable_query_args URL cleanup to prevent repeat actions on page refresh.
  • ✨ New Feature: Added automatic Free/PRO mutual deactivation with an informative admin notice (including WordPress Multisite support) to ensure conflict-free edition switching.
  • ⚡ Enhancement: Replaced login-page jQuery dependency with lightweight vanilla JavaScript and clean RTL-ready notices using logical CSS properties and ARIA alert/status roles.
  • 🔧 Bug Fix: Fixed partial settings save feedback when individual fields fail validation, preserved case-sensitive active tab slug detection, and improved error messages for expired AJAX sessions and network failures.

5.7

  • Security: Enforced server-side login lockout via the authenticate filter (prevents direct POST, XML-RPC, and REST API bypasses).
  • Security: Replaced predictable md5(id) unlock links with cryptographically random 64-character unlock_token values and hash_equals() verification.
  • Security: Removed unauthenticated wp_ajax_nopriv_* handlers from admin endpoints and enforced capability (manage_options) and nonce (check_ajax_referer / check_admin_referer) checks across logs, IP range management, and clear/delete actions.
  • Security: Migrated remaining SQL queries to $wpdb->prepare(), whitelisted sortable columns, escaped dynamic HTML/email outputs, and added exit; after wp_redirect().
  • Security: Prevented IP spoofing via untrusted proxy headers in GeoIP lookups and stopped storing masked passwords in the free lockout log.
  • Bug Fix: Fixed self-deactivation bug during plugin activation in failed.php, fixed plugin_row_meta and Settings action link URLs, and fixed wrong table count query in Lockout Log.
  • Bug Fix: Fixed immediate lockout and email notification on reaching max allowed retries, fixed remaining attempts calculation, and resolved undefined variables/methods in menu.php and login.php.
  • Bug Fix: Fixed DataTables default sorting across translated sites, fixed settings sanitization/validation in setting.php, fixed admin CSS enqueueing on all plugin pages, and closed unclosed HTML container in countries.php.
  • Enhancement: Added full IPv6 support (varchar(45) columns and inet_pton() range matching), database indexes for faster lookups, GeoIP transient caching, and MySQL ONLY_FULL_GROUP_BY compatibility in dashboard widgets.

5.6

Security Bug fixing – part 2

5.5

Security Bug fixing

5.4

Security Bug fixing

5.3

Bug fixing in log report

Full changelog on WordPress.org →

Screenshots

📊 Executive Statistics Dashboard with real-time KPI summary cards and 4 Top-10 security intelligence reports.
📊 Executive Statistics Dashboard with real-time KPI summary cards and 4 Top-10 security…
📋 Failed Attempts Log with instant server-side search, user role badges, local country flags, and relative timestamps.
📋 Failed Attempts Log with instant server-side search, user role badges, local country…
🔒 Lockout Log featuring live lockout countdown badges (Locked · X mins left / Expired) and one-click AJAX IP unlock.
🔒 Lockout Log featuring live lockout countdown badges (Locked · X mins left / Expired)…
🌐 IP Blocking & Allowlist manager with IPv4/IPv6 range support, "Use my IP" shortcut, and self-lockout protection.
🌐 IP Blocking & Allowlist manager with IPv4/IPv6 range support, "Use my IP" shortcut, and…
🌍 Statistics
🌍 Statistics
⚙️ Modern card-based Settings screen with Protection Status, Lockout Rules, Email Alerts, and collapsible Notifications Tray.
⚙️ Modern card-based Settings screen with Protection Status, Lockout Rules, Email Alerts…
📈 WordPress Dashboard Security Widgets for at-a-glance monitoring right upon login.
📈 WordPress Dashboard Security Widgets for at-a-glance monitoring right upon login.
🛡️ Failed login attempts log
🛡️ Failed login attempts log
🔒 Lockout log
🔒 Lockout log

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Limit Login Attempts (Spam Pr… alternatives

All anti-spam plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Akismet Anti-spam: Spam Protection Akismet Anti-spam: Spam Protection The best anti-spam protection to block spam comments and spam in a contact form. The most… by Automattic 5M+ ★★★★★★★★★★ 4.7 (1.2K) 4 months ago 73
2 Antispam Bee Antispam Bee Sophisticated antispam plugin for effective daily comment and trackback spam-fighting… by pluginkollektiv 700K+ ★★★★★★★★★★ 4.8 (227) 3 months ago 72
3 WP Armour – Honeypot Anti Spam WP Armour – Honeypot Anti Spam Fastest growing Anti Spam plugin. No API calls, subscriptions, captcha or puzzle. Full GDPR… by Dinesh Karki 400K+ ★★★★★★★★★★ 5 (1.5K) 2 weeks ago 86
4 CF7 Apps – Addons for Contact Form 7 (Honeypot, Database, Redirection, Webhook, etc.) CF7 Apps Add hCaptcha, Honeypot, Redirection, and AI-powered form generation to Contact Form 7. by Saad Iqbal 300K+ ★★★★★★★★★★ 3.8 (135) 1 month ago 87
5 Anti-Spam, Honeypot, CAPTCHA Free Spam Protection by CleanTalk Anti-Spam, Honeypot, CAPTCHA Free Spam Protection by CleanT… Advanced antispam for comments, fake registrations, orders & contact forms spam. No… by CleanTalk Inc 200K+ ★★★★★★★★★★ 4.8 (3.2K) 3 days ago 94
6 CloudSecure WP Security CloudSecure WP Security CloudSecure WP Securityは、管理画面とログインURLをサイバー攻撃から守る、国産・日本語対応のセキュリティ対策プラグインです。… by XServer 200K+ ★★★★★★★★★★ 5 (2) 3 weeks ago 79
7 Gravity Forms Zero Spam Gravity Forms Zero Spam Block form spam in Gravity Forms with an invisible token check, email rejection rules, and… by GravityKit 100K+ ★★★★★★★★★★ 4.3 (24) 3 months ago 63
8 Email Encoder – Protect Email Addresses and Phone Numbers Email Encoder – Protect Email Addresses and Phone Numbers Protect email addresses and phone numbers on your site and hide them from spambots. Easy to… by Online Optimisation 90K+ ★★★★★★★★★★ 4.9 (94) 1 week ago 81
9 Spam Protection | Maspik Spam Protection | Maspik Blocks spam the moment you activate it. No CAPTCHA, no setup, no API key. Multi-Layer. Just… by yonifre 30K+ ★★★★★★★★★★ 4.7 (87) 2 weeks ago 79
10 Blackhole for Bad Bots Blackhole for Bad Bots Blackhole is a WordPress security plugin that detects and traps bad bots in a virtual black… by Jeff Starr 30K+ ★★★★★★★★★★ 4.7 (148) 4 weeks ago 94

FAQ

Limit Login Attempts (Spam Protecti…: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Limit Login Attempts (Spam Prot… free?

Yes. Limit Login Attempts (Spam Prot… is free to download and use from the official WordPress.org plugin directory.

Is Limit Login Attempts (Spam Prot… safe to use in 2026?

Limit Login Attempts (Spam Prot… is a solid plugin choice in 2026, with a few things worth checking first. It runs on 200+ sites, is rated 3.9/5 and was last updated 4 days ago, and scores 77/100 on our health check.

How many websites use Limit Login Attempts (Spam Prot…?

Limit Login Attempts (Spam Prot… is active on 200+ WordPress websites and has been downloaded 15,390 times since it launched in February 2020. It was downloaded 537 times in the last 30 days.

Does Limit Login Attempts (Spam Prot… work with WordPress 7.1?

Yes. The developer has tested Limit Login Attempts (Spam Prot… up to WordPress 7.2, the latest release. It requires WordPress 4.6 or newer.

What PHP version does Limit Login Attempts (Spam Prot… need?

Limit Login Attempts (Spam Prot… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Limit Login Attempts (Spam Prot… last updated?

The latest version, 5.8, was released on November 28, 2026 (4 days ago).

Who makes Limit Login Attempts (Spam Prot…?

Limit Login Attempts (Spam Prot… is developed and maintained by wp-buy.

What are the best alternatives to Limit Login Attempts (Spam Prot…?

The most popular alternatives to Limit Login Attempts (Spam Prot… are Akismet Anti-spam: Spam Pro… (5M+ installs), Antispam Bee (700K+ installs) and WP Armour (400K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open