For passphrase spaces vs hyphens, use whichever the account accepts and you can type and read reliably. Spaces and hyphens give about the same strength when the words are chosen randomly. The random words and the word count do the real security work, not the punctuation between them.
Below I show a sample, compare common separators, explain what NIST says about spaces, and cover what to do when a website refuses them.
Table of Contents

Passphrase spaces vs hyphens: does the separator change strength?
A passphrase is a password made of several words. Its strength comes from entropy, a measure of unpredictability usually counted in bits. For a passphrase, that unpredictability comes from how the words were picked, not from the character between them.
Here are two forms of the same made-up sample words. They are for illustration only, so do not use them. Generate your own.
- With spaces:
maple quartz lantern ribbon - With hyphens:
maple-quartz-lantern-ribbon
The words and their order are identical. A separator you choose once and use every time is predictable, so a fixed hyphen or space adds almost no uncertainty. I would not credit it with extra strength. That is my reasoning from how EFF and NIST describe random-word passphrases, not a measured cracking benchmark.
How much do the words add?
If each word is chosen independently and uniformly from a 7,776-word list, each word adds about 12.9 bits. Four words give about 51.7 bits and six give about 77.5 bits. A 2,048-word list gives 11 bits per word, so 44 bits for four words and 66 bits for six.
These are mathematical estimates under stated assumptions. They are not guarantees of account safety or predictions of time-to-crack.
A separator picked independently at random for every gap could add some uncertainty. An ordinary, consistent hyphen or space does not. Treat the separator as a convenience setting.

Passphrase spaces vs hyphens: how do the options compare?
Rather than ranking security, compare the practical side: readability, exact re-entry, keyboard availability and site compatibility.
| Separator | Readability | Exact re-entry | Compatibility note |
|---|---|---|---|
| Space | Reads like a sentence | Double or trailing spaces are easy to miss | Some sites may not accept it, so check the rules |
| Hyphen | Word boundaries are clear | A lookalike dash from pasted text can differ from the one you type | A plain symbol that many sites accept, but not guaranteed |
| Underscore | Clear on most screens | Often needs the Shift key | Also a symbol, so it may be limited like a hyphen |
| Period | Small and easy to overlook | Easy to confuse with the end of a sentence in notes | Same symbol caveat applies |
| No separator | Word boundaries blur | Harder to proofread | A fallback when a field restricts symbols |
On a phone, a space sits on the main keyboard, while a hyphen may need a switch to the symbol layer. On a game console with a controller, fewer layer switches can save frustration. If you type the phrase often, pick the separator that feels least awkward on your devices.
What can make exact entry go wrong?
- Consecutive spaces that look like one space.
- A leading or trailing space that you cannot see.
- Lookalike dashes, such as a longer dash that autocorrect or a document editor inserted instead of a plain hyphen.
- Keyboard autocorrect or auto-capitalization changing a word.

What does NIST say about spaces in passphrases?
NIST, the US standards agency, publishes password guidance in SP 800-63B. The current final revision, SP 800-63B-4, was published on July 31, 2025. Section 3.1.1.2 says verifiers, meaning the services that check your password, SHOULD accept printing ASCII characters and the space character, and SHOULD permit a maximum length of at least 64 characters. It also says they SHALL NOT impose character-composition rules or silently truncate a password.
The wording matters. SHALL NOT is a firm requirement, while SHOULD is a strong recommendation that is not a guarantee. So NIST recommends that sites accept spaces, but that does not mean your particular site does. OWASP’s Authentication Cheat Sheet likewise advises allowing whitespace and Unicode.
NIST sets a 15-character minimum for a password used as the only authentication factor. A password used only as part of multifactor authentication may have an eight-character minimum. I explain the eight-character minimum with multifactor authentication in a separate article, along with how three random words and the 15-character minimum fit together.
NIST also permits limited handling of accidental leading or trailing whitespace. For that reason, check the exact phrase you saved and never rely on an invisible space at either end. If you wonder why some websites still require symbols despite this guidance, I cover that too.
For IT and web development beginners
If you build a login form, accept spaces, do not collapse or strip internal spaces, and do not silently cut off long passwords. Telling users the real rules up front prevents most frustration.
What should you do if a website rejects spaces?
Do not guess repeatedly at the field. Work through these steps instead.
- Read the password rules on the sign-up or reset page. Note allowed characters and any maximum length.
- Try the separator you prefer. If it is rejected, switch to an accepted one, such as a hyphen, or to no separator.
- If a length cap is shorter than your phrase, generate a fresh phrase that fits. Do not trim words by hand or swap in words you like better, because that removes the randomness.
- Save the exact phrase in a reputable password manager, with no leading or trailing space.
- Sign out and sign back in to confirm it works before you depend on it.
In the Password Ideas Passphrase Generator you can set the word count and choose a hyphen, underscore, space, period or no separator. You can also capitalize the first letter or append a number or symbol, and pick the EFF Large list of 7,776 words or the BIP39 list of 2,048 words. It shows entropy bits and, according to the site description, generates in your browser. Treat any time-to-crack figure it shows as illustrative only.
One correction worth knowing: the 77-bit figure that fits the EFF list corresponds to about six words, not four. Four words from that list give about 51.7 bits.
Only type a real passphrase into the site it belongs to, never into an unfamiliar page.
What matters more than the separator?
Once the punctuation is settled, spend your effort on the things that actually protect the account.
- Random selection. Let a generator or dice pick the words. A familiar sentence with hyphens inserted is not a random passphrase.
- Enough words. EFF’s August 2025 Diceware guide recommends at least six independently selected words from its long list for its stated use cases. The UK NCSC’s three random words advice is a different, usability-oriented recommendation, not a claim that three words match the margin of six.
- One secret per account. Reuse is how one leak spreads. You can generate unique passwords for several accounts at once instead of recycling one.
- Extra sign-in protection. Turn on two-factor authentication or a passkey where offered. A passkey is a sign-in method that uses cryptographic keys stored on your device instead of a typed secret.
- Breach checks. The Password Leak Checker queries Have I Been Pwned using k-anonymity, a method that sends only a short piece of the hashed password so the full password stays on your device.
Be realistic about limits. NIST notes that length does not address phishing, reuse or theft from an infected device. A strong passphrase helps against guessing, not against those threats.
Frequently asked questions
Is a space or a hyphen more secure in a passphrase?
Neither adds meaningful strength when it is used consistently. The independently random words and the number of words do the main work. Choose the separator that is easiest to read and type, and that the site accepts.
Does NIST allow spaces in passwords?
NIST SP 800-63B-4, published July 31, 2025, says verifiers SHOULD accept printing ASCII characters and the space character. SHOULD is a recommendation, so a specific website may still reject spaces.
Why might a website reject spaces?
I cannot know the reason for a given site. Some systems restrict characters. Read the password rules shown on the page and use an accepted separator, or none, if needed.
Can I use a different separator between each word to make it stronger?
Only separators chosen independently at random could add uncertainty, and you would then have to remember each one. Adding another randomly selected word is usually simpler and adds about 12.9 bits with a 7,776-word list.
How many words should my passphrase have?
EFF’s August 2025 guide recommends at least six independently selected words from its long list for its stated use cases. The NCSC’s three random words advice is usability-oriented. Remember also NIST’s 15-character minimum for single-factor passwords.
Should I add a number or symbol at the end?
Only if the site requires it or it helps you type the phrase. The random words matter far more. The Passphrase Generator offers an option to append a number or symbol if you want it.
Will a strong passphrase stop phishing?
No. Length does not protect against phishing, reuse or malware on your device. Use a unique phrase per account, check links before signing in, and enable two-factor authentication or a passkey.
Next steps
The answer to passphrase spaces vs hyphens is simple: choose the separator that your account accepts and that you can enter without errors. Keep the words random, use enough of them, give each account its own phrase, and add two-factor authentication or a passkey where you can.
- Check the site’s rules, then pick a space or hyphen.
- Generate your own words and never reuse the sample ones here.
- Save the exact phrase and test a fresh sign-in.
- Add extra authentication.
For a printable list of next steps, download the Password Safety Checklist.
Related tools and resources on Password Ideas:
- Passphrase Generator
- Three Random Words 15 Character Password Minimum
- Why Do Websites Require Symbols in Passwords NIST
- Password Ideas Hub