Guessing someone's password is extremely unlikely to succeed, and attempting it is illegal
Password guessing fails because modern systems are designed to stop it. After a small number of wrong tries — usually three to five — the account locks temporarily or permanently. Even if you somehow got past that, a real password is random enough that you would need thousands of years to try all the combinations. The math is not in your favor, and the law is not either: attempting to access someone else's account without permission is a federal crime under the Computer Fraud and Abuse Act, regardless of whether you succeed.
If you have a legitimate reason to access an account — you forgot your own password, you inherited a deceased relative's email, you manage devices for your organization — there are legal paths that actually work. Those paths are faster than guessing and they do not put you at legal risk.
Key Takeaways
- Account lockouts after a few wrong password attempts make guessing mathematically pointless and practically impossible.
- Attempting to access someone else's account without permission violates federal law, even if the attempt fails.
- If you forgot your own password, use the "Forgot Password" link on the login page — it is faster and always works.
- If you need access to someone else's account for a legitimate reason, contact the service's support team with proof of your relationship or authority.
- Password managers store your own passwords securely so you never have to guess or remember them.
Why account lockouts stop guessing cold
Every major service — email, banking, social media, work systems — locks an account after a set number of failed login tries. Gmail locks after five wrong passwords in a row. Most banks lock after three. Some systems lock permanently until you contact support. This is not a bug; it is a deliberate security feature.
The lockout happens because the system knows that a real user trying to log in will get their own password right on the first or second try. If someone is trying five, ten, or fifty different passwords, that is not a user who forgot — that is someone trying to break in. The system stops them.
Even if a system did allow unlimited guesses, the numbers are impossible. A typical password is at least eight characters, using uppercase, lowercase, numbers, and symbols. That creates roughly 218 trillion possible combinations. A computer trying one guess per second would take 6.9 million years to try them all. Real passwords are often longer and more random, which makes the number even larger.
What the law says about password attempts
The Computer Fraud and Abuse Act (CFAA) is a federal law that makes it illegal to access a computer or account without authorization. "Attempting" to access counts — you do not have to succeed. The penalties include fines up to $250,000 and prison time up to ten years for a first offense.
This applies even if you think you have a good reason. Guessing your spouse's password, your teenager's social media account, or a coworker's email — all of these are illegal without their permission, regardless of your relationship or your intentions. The only exception is if you have explicit legal authority, such as a parent accessing a minor child's account or a court-appointed executor managing a deceased person's estate.
If you are in a situation where you need access to someone else's account, contact that person directly and ask them to change the password to something you both know, or contact the service's support team with documentation of your authority.
How to recover your own password instead
If you forgot your own password, every service offers a recovery process that is faster and more reliable than any guessing strategy. Look for a "Forgot Password" or "Can't Log In" link on the login page. You will be asked to verify your identity — usually by entering an email address or phone number you provided when you created the account.
The service will send you a link or code to reset your password. Click the link or enter the code, and you can create a new password when ready. This process takes minutes and works 100 percent of the time, as long as you still have access to the email or phone number on file. If you do not, contact the service's support team with other proof of identity — a government ID, a credit card on the account, or answers to security questions you set up.
For work or school accounts, contact your IT department or help desk. They can reset your password or unlock your account within hours.
Accessing a deceased person's account
If someone has died and you need to access their email, social media, or financial accounts, you cannot guess the password — but you can request access through the service's official process. Most major services have a procedure for next of kin or executors.
Google allows you to request access to a deceased person's Gmail account if you are a family member or executor. You will need to provide a death certificate and proof of your relationship. Facebook has a similar process and can also memorialize an account so friends can share memories. Banks and financial institutions require a court order or letters of administration from the probate court.
Start by searching "[Service Name] deceased account" or "[Service Name] legacy contact" to find the official process. Bring a death certificate and any legal documents you have. This takes longer than guessing would (weeks rather than minutes), but it is the only legal way and the only way that actually works.
Using a password manager so you never have to guess
The best way to avoid ever needing to guess a password is to use a password manager. These are programs or apps that store all your passwords in an encrypted vault. You remember one strong master password, and the manager remembers all the others.
Popular password managers include Bitwarden, 1Password, LastPass, and Dashlane. Most offer free versions that work across your phone, tablet, and computer. When you need to log into something, the manager fills in your username and password automatically — no typing, no guessing, no forgetting.
Password managers also generate new random passwords for you when you create accounts. These are long and complex enough that no one could guess them, and you do not have to remember them. If you ever need to access an account on a different device, you log into your password manager and the password is there.
What to do if someone is trying to guess your password
If you notice repeated failed login attempts on your account — your email service or bank will usually alert you — change your password when ready. Use a password that is at least 12 characters long and includes uppercase, lowercase, numbers, and symbols. Do not use words from the dictionary or personal information like birthdays or pet names.
If the attempts continue after you change your password, enable two-factor authentication (also called 2FA). This requires a second form of verification — usually a code from your phone — even if someone has your correct password. Most services offer this as an option in your security settings.
If you believe someone has already accessed your account, contact the service's support team when ready. They can review the login history, lock out unauthorized sessions, and help you find the account.
Frequently Asked Questions
Is it ever legal to try to guess someone's password?
No, not without their explicit permission. Even attempting to access someone else's account is a federal crime. The only exceptions are situations where you have legal authority — a parent managing a minor child's account, an executor managing a deceased person's estate with court documentation, or an IT administrator managing work accounts as part of your job.
What if I know the person and they said I could try?
If someone wants you to access their account, they should give you the password directly or reset it to something you both know. They can also change their account settings to let you log in with your own credentials. Guessing is unnecessary and still illegal — the law does not care whether the person would have consented if you had asked.
Can I guess a password if I own the device?
Owning the device does not give you the right to access someone else's account on it. If a family member uses your computer or phone, their email and social media accounts are still theirs. If you need access, ask them for the password or contact the service's support team with proof of your authority.
What if I forgot the password to an old account I created?
Use the "Forgot Password" link on the login page and follow the recovery process. You will need access to the email address or phone number you used when you created the account. If you no longer have access to that email or phone, contact the service's support team with other proof of identity.
How strong does my password need to be to prevent guessing?
Account lockouts prevent guessing far more effectively than password strength does. Even a weak password is safe from guessing because the account locks after a few wrong tries. That said, use a password at least 12 characters long with uppercase, lowercase, numbers, and symbols to protect against other attacks like data breaches. A password manager generates these automatically.