Prevent credential stuffing with phishing-resistant multi-factor authentication or passkeys, breached-password screening at sign-up and login, layered rate limiting, bot detection on login forms, and unique passwords per account. No single control works alone, so combine them and monitor failed-login patterns across accounts.
Key takeaways
- Credential stuffing reuses leaked username and password pairs, so unique passwords and MFA break the attack.
- OWASP calls MFA by far the best defense, citing Microsoft analysis that it would have stopped 99.9% of account compromises.
- Website owners should layer rate limits, breached-password checks, bot detection and login monitoring.
One data breach rarely stays in one place. When a site leaks usernames and passwords, attackers feed those pairs into bots that try them on banks, email, shopping and streaming sites — thousands of logins a minute. That attack is credential stuffing, and it works because so many people reuse passwords.
What is credential stuffing?
Credential stuffing is an automated attack that tests username and password pairs leaked from one site's breach against the login pages of other, unrelated sites.
OWASP defines it in its Credential Stuffing Prevention Cheat Sheet as testing pairs "obtained from the breach of another site." MITRE ATT&CK tracks it as technique T1110.004: Credential Stuffing, under Brute Force (T1110).
The attack succeeds only when the password is reused. The attacker does not need to guess anything: the correct password is already on the list. That is why a strong, unique password for every account matters more than a clever password used everywhere.
How does a credential stuffing attack work?
A credential stuffing attack runs in three stages: collect leaked credentials, test them automatically at scale, and take over every account where a pair works.
Stage one is collection. More than 15 billion stolen credentials circulate online, according to industry research cited in the New York Attorney General's credential stuffing guide. Lists from many breaches are combined into "combo lists" that bots can run automatically.
Stage two is testing. Tools such as Sentry MBA automate logins and rotate through proxy networks, so each IP address makes only a few attempts. That distribution defeats simple per-IP blocks and rate limits.
Stage three is exploitation. A working login can mean drained funds, stolen loyalty points, spam sent from your email, or a foothold for a bigger attack. In one investigation, the New York Attorney General's office found login details for more than 1.1 million customer accounts at 17 well-known companies, and most of those attacks had not been detected by the companies.
How is credential stuffing different from brute force and password spraying?
Brute force guesses many passwords against one account, password spraying tries one common password against many accounts, and credential stuffing tries leaked pairs against many accounts.
| Attack | What is tried | Target | Why it works |
|---|---|---|---|
| Brute force | Many passwords | One account | Weak or guessable password |
| Password spraying | One common password | Many accounts | Some users pick common passwords |
| Credential stuffing | Leaked pairs from a breach | Many accounts, many sites | Password reuse across sites |
| Credential cracking | Hashed passwords offline | Stolen password database | Weak hashing or weak passwords |
The distinction matters because defenses differ. Account lockout after a few failures stops brute force, but barely slows credential stuffing: each account sees only one or two attempts. NIST SP 800-63B allows up to 100 consecutive failed attempts on one account, and a stuffing run never comes close to that on any single account.
How do you know if you are a victim of credential stuffing?
Watch for login alerts from unfamiliar devices or locations, password-reset emails you did not request, and changes to your account that you did not make.
- Unexpected login alerts from a new device, browser or country.
- Password-reset or email-change messages you did not trigger.
- Orders, transfers or messages you did not send.
- Locked out of your own account because the password or email was changed.
- A breach notice naming a service where you used the same password.
For website owners, the signs are different: a spike in failed logins spread across many accounts, logins from hosting-provider IP ranges or datacenters, and a rise in password-reset requests. Our guide to how to know if your phone is hacked covers similar warning signs on a device.
How can individuals prevent credential stuffing?
Use a unique password for every account, store them in a password manager, and turn on multi-factor authentication everywhere it is offered.
- Never reuse a password. This is the single most effective step. A leaked password then opens nothing else.
- Use a password manager. It generates and fills long, random passwords, so uniqueness costs you no memory. See our list of the best open source password managers.
- Turn on MFA, preferably passkeys. A passkey or security key cannot be reused by a bot that only has your password.
- Check for exposed passwords. Test passwords against known breaches with our free pwned password checker and change any that appear.
- Use an email alias or a second email for less important sign-ups, so one leaked address is less useful.
- Watch breach alerts. When a service you use reports a breach, change that password and any other place you reused it.
NIST SP 800-63B-4, finalized in July 2025, backs this approach: it requires at least 15 characters for single-factor passwords, forbids forced periodic changes and composition rules, and requires a blocklist check when a password is set.
How do websites prevent credential stuffing?
Websites should layer MFA, breached-password screening, layered rate limiting, bot detection and login monitoring, because no single control stops the attack alone.
Require MFA, or at least step-up MFA
OWASP calls MFA "by far the best defense" against most password attacks, citing Microsoft analysis that it would have stopped 99.9% of account compromises. Where full enforcement is not practical, require it for administrators and trigger it as a step-up check for risky logins: a new device, an unusual country, or an IP that has tried many accounts.
Screen passwords against breach data
Check new passwords at sign-up and on every password change against lists of passwords from earlier breaches, and refuse the ones on them. NIST SP 800-63B makes this a requirement for services that follow it.
Rate limit by more than IP address
Add limits per account, per device fingerprint and per network range, and watch the overall rate of failed logins. Consider short burst windows and long windows together, since attackers spread requests thin enough to stay under any single fixed threshold.
Detect bots on the login form
Use a CAPTCHA or proof-of-work challenge on risky attempts, plus device fingerprinting and connection fingerprinting. OWASP notes that CAPTCHAs are not perfect, and tools exist to break them, so treat them as friction, not a wall.
Consider unpredictable usernames
Credential stuffing relies on username reuse as well as password reuse, since most sites use the email address as the username. Requiring a chosen username makes leaked email-and-password pairs less useful, though it adds friction for users.
What should you do if credential stuffing hits your account?
Act fast: change the compromised password, turn on MFA, sign out everywhere, and check for changes the attacker made to your account.
- Change the password from a trusted device, to a long, random password used nowhere else.
- Turn on MFA if it was off, and review registered MFA devices and recovery codes.
- Sign out of all sessions and revoke unknown devices and connected apps.
- Check for changes: email address, phone number, forwarding rules, payment methods and recent orders.
- Change the same password everywhere else you reused it, starting with email and banking.
- Report fraud to your bank and, in the US, to the FTC and FBI IC3 if money was lost.
What mistakes make credential stuffing worse?
The most common mistakes are reusing passwords, relying on account lockout alone, and ignoring failed-login spikes because each account only failed once or twice.
- Reusing a password "only on low-value sites." Attackers do not care about the low-value site; they care about the password.
- Trusting lockout alone. Lockout stops brute force, not stuffing, which spreads one or two tries across thousands of accounts.
- Blocking IPs permanently. Attackers rotate IPs, and legitimate users share ranges. OWASP recommends temporary, graduated mitigation.
- Showing different errors for bad usernames. That leaks which accounts exist. Use a generic login error.
- Skipping monitoring. The New York Attorney General found most stuffing attacks at the companies it investigated had gone undetected.
The bottom line
Credential stuffing is not a clever hack. It is industrial-scale reuse of passwords people already gave away in earlier breaches, and it stops working the moment passwords are unique and a second factor stands behind them.
For individuals, that means a password manager, unique passwords and MFA everywhere. For website owners, it means the OWASP layers above. Check whether any of your passwords already appear in known breaches with the free pwned password checker.
Frequently asked questions
What is credential stuffing in simple terms?
Credential stuffing is when attackers take username and password pairs leaked from one website breach and automatically try them on other websites, betting that people reused the same login. Any pair that works gives them access to that account.
How is credential stuffing different from password spraying?
Credential stuffing tries many different leaked passwords, one per account, while password spraying tries one common password against many accounts. Both are automated guessing attacks under MITRE ATT&CK T1110, and most of the same defenses work against both.
Does MFA stop credential stuffing?
Yes, in most cases. A stolen password alone is not enough when a second factor is required, especially a phishing-resistant factor such as a passkey or security key. OWASP calls MFA by far the best defense against password attacks.
Can a CAPTCHA stop credential stuffing?
A CAPTCHA slows automated logins and raises the cost of each attempt, but it does not stop credential stuffing alone. OWASP notes that tools exist to break CAPTCHAs with a reasonably high success rate, so use them as one layer among several.
Why does rate limiting not stop credential stuffing?
Simple per-IP rate limiting fails because attackers spread attempts across large proxy networks, so each IP stays under the limit. Limits per account, per device and per network range, plus monitoring of overall failed-login rates, work better.
What should I do if my account was hit by credential stuffing?
Change the password immediately to one you use nowhere else, turn on MFA, sign out of all sessions, and check for changed email addresses, forwarding rules or purchases. Then check whether the same password was used on other sites and change it there too.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the OWASP Credential Stuffing Prevention Cheat Sheet, MITRE ATT&CK T1110.004 and NIST SP 800-63B-4.
How we write and fact-check →