How to Create and Store Strong Passwords
How long a strong password should be, how to build a Diceware passphrase you can remember, how much entropy is enough, and where to store everything else.
Every time someone asks me how to "create a strong password", the real question is a different one: how do I create a strong password I can actually remember. And the answer most people get — mix uppercase, numbers and symbols — produces the opposite: something like Summer2026!, annoying to type, easy to forget and trivial for an attacker.
The short answer: a password you type from memory should be at least 15 characters (NIST's minimum for a password used on its own, without a second factor); your password manager's master password should be a 6-word randomly chosen passphrase; and every other password should be generated, 20 random characters, and stored rather than memorized. The rest of this post explains where those numbers come from, how to pick a passphrase properly and where to keep everything you won't memorize.
This post is about the password you create. If you are a developer deciding which rules to put on a signup form, its sibling is P@ssw0rd1 Passes Your Validation. That's the Problem..
How many characters should a strong password have
The most cited technical reference is NIST SP 800-63B-4, final version published in July 2025. Section 3.1.1.2 requires that verifiers (full text):
- require at least 15 characters when the password is the only authentication factor;
- allow shorter passwords only as part of MFA, and even then at least 8;
- permit passwords of at least 64 characters (precisely so passphrases fit);
- not impose composition rules ("one uppercase, one number, one symbol");
- not require periodic changes, only a change when there is evidence of compromise;
- check new passwords against a blocklist of common or breached passwords;
- allow password managers, autofill and paste.
Notice what is there and what is not. Length counts; mandatory mixing of character types does not. That is not NIST expressing a taste: it is math.
Password strength is entropy, not symbols
Entropy measures how many guesses an attacker needs, in the worst case, to brute-force your password. For a randomly chosen password (that part matters), the formula is L × log₂(N), where N is the alphabet size and L the length.
| Configuration (random) | Search space | Entropy |
|---|---|---|
| 8 characters, lowercase only | 26⁸ ≈ 2 × 10¹¹ | ~38 bits |
| 8 characters, 95 printable | 95⁸ ≈ 6.6 × 10¹⁵ | ~53 bits |
| 16 characters, lowercase only | 26¹⁶ ≈ 4.4 × 10²² | ~75 bits |
| 16 characters, 95 printable | 95¹⁶ ≈ 4.4 × 10³¹ | ~105 bits |
| 20 characters, alphanumeric | 62²⁰ ≈ 7 × 10³⁵ | ~119 bits |
| 6 Diceware words | 7776⁶ ≈ 2.2 × 10²³ | ~77 bits |
For a sense of scale: a single RTX 4090 tests around 164 billion MD5 hashes per second in hashcat. If a site stored passwords with a fast hash and leaked them, 53 bits fall in under a day on that card; 75 bits would take thousands of years. Sites that use bcrypt or Argon2 make each guess thousands of times more expensive — the post on password hashing covers that side of the equation — but you don't get to choose how a site stores your password. You only choose the entropy.
Two details the table hides. First: going from 8 to 16 characters gains far more than adding symbols to an 8-character password, because length sits in the exponent. Second: the formula only holds for random choice. A password you "come up with" follows human patterns, and human patterns are the first thing an attacker tries.
Passphrase: the method for the password you need to remember
A passphrase is a sequence of randomly chosen words, not a sentence that makes sense. my dog loves hot chocolate is long and has little entropy, because it follows grammar and is exactly what wordlists and language models generate first. ferocious nurture grandkid ream register attain has 6 independent words, each drawn from 7,776.
The best-known method is Diceware, by Arnold Reinhold. Step by step:
- Get a 7,776-word list (6⁵, to match five dice rolls). In English, the EFF large wordlist is the usual choice: common, easy-to-type words.
- Pick truly at random. With a physical die, roll five times and look up the five-digit number in the list. Or use a cryptographic generator: the
dicewarepackage does it withdiceware -w en_eff -n 6. - Don't choose or discard words. If you throw out the ones you don't like, the choice is no longer random and the entropy math stops holding.
- Use 6 words for the master password. Each word is worth log₂(7776) ≈ 12.9 bits.
- Separate with spaces or hyphens if the site allows it; it helps typing and doesn't meaningfully change the entropy.
pip install diceware
diceware -w en_eff -n 6 -d ' '
# Ferocious Nurture Grandkid Ream Register Attain
# Diceware passphrase entropy (7,776-word list)
4 words: 4 × 12.9 ≈ 51.7 bits
5 words: 5 × 12.9 ≈ 64.6 bits
6 words: 6 × 12.9 ≈ 77.5 bits <- master password
7 words: 7 × 12.9 ≈ 90.5 bits
That math already assumes the worst: the attacker knows you used Diceware and has the same list. The security comes from the random draw, not from keeping the method secret. That is why a public wordlist weakens nothing.
To memorize it, build an absurd mental scene with the six words and type the passphrase a few times a day during the first week. It works better than it sounds, and you only need to do it for one or two passwords in your life: the manager's and maybe your computer's.
Why P@ssw0rd!123 doesn't help
Swapping a for @ and o for 0, adding the year and a ! at the end looks random and isn't. rockyou.txt, the leaked list most used in dictionary attacks, holds over 14 million real passwords, and hashcat's standard rules apply those substitutions to every word automatically. The full analysis, from the side of whoever writes the form validation, is in the post on what makes a strong password.
Where to store the passwords you won't memorize
You have dozens of accounts and each needs a different password. Reuse is what makes credential stuffing profitable: a breach on some random forum turns into an automated login attempt on your email, and email is the recovery door to everything else.
The answer is a password manager. You memorize the passphrase; it generates, stores and fills 20-character random passwords for everything else. Dedicated ones (Bitwarden, 1Password, KeePassXC) work, and so do the built-in vaults most people already have: Google Password Manager in Chrome and Android, and Apple's Passwords app, available since iOS 18 and macOS Sequoia, which also stores passkeys and verification codes. How the vault is encrypted and what happens if the provider gets breached are covered in the post on password managers — I won't repeat it here.
What doesn't work: a spreadsheet, a notes app, emailing yourself, a sticky note on the office monitor. Paper kept at home, for the master password and recovery codes, is acceptable and often the best backup copy.
What about passkeys?
In 2026, the best password is the one you don't have to create. A passkey is a public-key credential stored on your device or in your manager: the site only keeps the public key, so a database breach yields nothing reusable, and it is bound to the domain, which makes it phishing-resistant by design. Wherever an account offers passkeys (Google, Apple, Microsoft, many banks and stores), turn them on. The comparison with SMS, authenticator apps and hardware keys is in the post on two-factor authentication.
Passkeys don't retire the passphrase: the vault where they live is still protected by your master password or your device lock.
How to migrate without losing your mind
Don't try to change 80 passwords in one weekend. Create the passphrase, install the manager, and change first whatever opens the other doors: primary email, bank, and any account with a saved card. Turn on MFA for those three. After that, every time you log into another service, let the manager generate a new password and save it. In two or three months most accounts are migrated without you ever dedicating a day to it. Register your email at Have I Been Pwned to find out when it shows up in a new breach.
Frequently asked questions
How many characters should a strong password have?
Under NIST SP 800-63B-4, 15 characters is the minimum for a password used without a second factor. In practice: 20 random characters for passwords your manager generates (it costs nothing) and a 6-word Diceware passphrase, 30 characters or more, for the one you need to remember.
Do I need to change my password periodically?
No. SP 800-63B-4 says verifiers shall not require periodic changes, and the recommendation against calendar-based rotation was already in the previous revision, from 2017. Change it when there is a sign of compromise: a breach notice from the service, an alert from your manager or Have I Been Pwned, access you don't recognize.
Is a passphrase made of common words weaker?
No, as long as the words are drawn at random from a large list. The entropy comes from the draw, and the math already assumes the attacker knows the list. What weakens it is picking words that form a sentence, quoting song lyrics, or swapping drawn words for ones you like better.
Does a strong password make two-factor authentication unnecessary?
No. A strong password protects against guessing and hash leaks; it does not protect against phishing or malware that captures what you type. On critical accounts, pair the password with an authenticator app, a hardware key or a passkey.
Memorize one, generate the rest
You need to memorize one or two passwords in your life, and they should be 6-word random passphrases, not creative variations of a word with symbols. Everything else should be random, long and different for each service, kept in a manager and replaced by a passkey whenever the site allows it. To see what "20 random characters" looks like in practice, or to generate one for an account that isn't in your vault yet, the Password Generator uses crypto.getRandomValues and runs entirely in the browser, sending nothing to a server.
- 01 CPU Cores vs. Threads: What Actually Changes in Practice Understand the difference between CPU cores and threads and what actually changes for performance, multitasking, gaming, and development.
- 02 MIT, Apache, and GPL Licenses: Practical Differences for Developers MIT, Apache 2.0, and GPL are not the same thing. Understand permissive vs copyleft, patent protection, and compatibility before shipping code to production.