What is Password Policy?

A password policy is the set of rules and controls governing how passwords are created, used, protected, reset and retired. It can specify minimum length and reject commonly used or compromised passwords, while also covering how a service stores passwords and responds to suspicious sign-in attempts.
A useful policy considers the whole sign-in process. A long password can still be stolen by phishing, reused elsewhere or undermined by a weak recovery process. Rate limiting, secure storage, multi-factor authentication and account recovery all contribute to the result.
How does a password policy work?
When someone creates or changes a password, the service checks it against the rules it implements. It may reject a password that is too short or appears in a blocklist of common or compromised choices. When the person signs in later, the service verifies the supplied password and applies controls such as limits on failed attempts.
A written policy sets expectations, but only the controls actually implemented by each service enforce them. A business may use several systems with different capabilities, so it needs to check settings and exceptions rather than assuming that a document changes every login.
The illustration shows five connected parts of a practical policy: allow length, reject weak choices, support password managers, protect sign-in and provide secure recovery.

What should a password policy cover?
Area | Purpose | Practical consideration |
|---|---|---|
Length | Make passwords harder to guess | Permit long passwords and passphrases without silently cutting them short |
Blocklists | Reject common or known compromised choices | Check the whole proposed password and explain rejection |
Unique passwords | Limit the damage from reuse | Support password managers and autofill |
Sign-in protection | Reduce online guessing and account takeover | Apply rate limiting and appropriate multi-factor authentication |
Storage | Reduce the harm if the password database is stolen | Use a salted, deliberately costly password hashing scheme |
Recovery | Restore legitimate access safely | Protect reset links, recovery channels and existing sessions |
Incident response | Contain known or suspected compromise | Reset affected credentials and review access promptly |
These measures protect against different threats. A blocklist makes common guesses less likely to succeed; it cannot prevent a convincing phishing page from capturing a valid password. Multi-factor authentication reduces reliance on the password but traditional one-time codes can still be phished.
How long should a password be?
Longer passwords give users more room to create a secret that is difficult to guess. Length alone does not guarantee strength: a long, predictable phrase or a password already exposed in a breach may still be a poor choice.
NIST Special Publication 800-63B, revision 4, published in 2025, sets requirements for the US federal digital identity systems within its scope. For centrally verified passwords used as a single authentication factor, it requires at least 15 characters. When a password is used only as part of multi-factor authentication, it permits a shorter minimum of at least eight characters. It recommends allowing a maximum length of at least 64 characters.
Those figures are specific to that guidance and its scope, not a universal UK legal minimum or a guarantee of safety. A service or organisation may apply different requirements. Local device unlock PINs are a different category from centrally verified account passwords and have different controls.
For passwords people need to remember, the UK's National Cyber Security Centre recommends three random words. Avoid meaningful personal details and familiar phrases. For other accounts, a password manager can generate and remember a unique password. Never copy an example password from an article for actual use.
Do passwords need numbers, capitals and symbols?
A password may contain those characters, particularly if it is generated by a password manager. The question is whether forcing a particular mixture produces a better result. People often satisfy composition rules in predictable ways, such as adding a capital at the start and a symbol at the end.
The NCSC password policy guidance advises against relying on mandatory complexity rules and recommends supporting password managers. NIST revision 4 says systems within its scope must not impose composition rules beyond the other specified requirements. An existing service may still impose them; follow the service's actual rules while choosing a unique, difficult-to-guess password.
A blocklist and a length rule address different issues. A long password can still be common or compromised, so the service should check the whole proposed value against an appropriate list without exposing the user's password to an untrusted third party.
Should a password expire regularly?
Routine expiry forces users to replace passwords on a schedule even when there is no sign of compromise. That can encourage predictable changes, reuse or unsafe workarounds. The NCSC advises against enforcing regular expiry as a general policy, and NIST revision 4 prohibits periodic changes for the systems within its scope.
That does not mean a password should never be changed. Change or reset it when there is evidence of compromise, when it has been exposed, or when the user requests a change. Specific legal, contractual or operational requirements may impose different rules. Review the applicable obligations and the actual risk before changing an established policy.
A password's expiry is also distinct from a session timeout. A session can end and require the user to sign in again while the password remains valid. Our authentication timeout guide explains that distinction.
Password policy and password managers
A password manager stores credentials and can generate different passwords for different services. This reduces the burden of remembering many secrets and makes reuse less likely. Support paste and autofill so users are not forced to type long generated passwords manually.
The manager itself needs a strong primary password or other suitable protection, secure recovery arrangements and any available multi-factor authentication. A manager is an important security tool, but its account, devices and recovery route also need protection.
A credential is broader than a password. Our credential guide explains how passwords, passkeys and other proofs differ.
How should services store passwords?
A service should not keep account passwords in plaintext or use reversible encryption as its normal password verification method. Instead, it should use a suitable password hashing scheme with a unique salt and an appropriate work factor. A salt helps prevent identical passwords from producing identical stored hashes and makes large-scale precomputation less useful. A costly scheme increases the work required to test guesses if the database is stolen.
OWASP's password storage guidance recommends Argon2id where available and explains alternatives for different constraints. Algorithm selection, parameters, monitoring and migration need to reflect the system's environment and current guidance. Hashing does not stop phishing or eliminate the risk of weak passwords being guessed after a breach.
What about multi-factor authentication and passkeys?
Multi-factor authentication requires different types of evidence, such as a password and a separate authenticator. It can reduce the chance that a stolen password alone is enough to enter an account. A code entered into a fake site can still be captured and relayed, so the strength depends on the method and implementation.
Passkeys use public key cryptography and are designed to resist phishing by binding authentication to the legitimate service. Where available, they can reduce reliance on passwords. Device security, synchronisation and account recovery still matter. Read our guide to two factor authentication for the relationship between different factors.
How do failed login limits help?
A service can slow or limit repeated unsuccessful attempts to make online guessing harder. Depending on the system, controls may include progressive delays, account-based limits, risk checks and monitoring across multiple accounts or network sources.
Permanent lockouts can also be abused to deny legitimate users access, so policies need a recovery route and a considered balance between protection and availability. An IP address alone is not a reliable measure of a single person: several households or devices can share an address, while distributed attacks may use many addresses.
An online guessing limit protects the live sign-in endpoint. It does not limit offline guessing against stolen password hashes. That is why secure storage and work factors remain necessary.
A practical broadband example
A small UK business has a broadband provider account, a router administration page, a WiFi network and a hosted customer service. Each can have its own password and different policy controls. A strong provider account password does not automatically protect the router's admin interface, and changing the WiFi password does not necessarily change either of them.
Account or interface | Main question | Practical action |
|---|---|---|
Broadband provider account | Who can change account details? | Use a unique password and enable available multi-factor authentication |
Router administration | Who can change network settings? | Change any default admin password where supported and restrict administrative access |
WiFi network | Who can join the wireless network? | Use a unique strong WiFi password and current supported security settings |
Hosted application | Who can access customer information? | Check its password, recovery, session and permissions controls |
This is an illustrative model, not a claim that every router or provider supports the same settings. Record ownership and recovery arrangements securely, and check dependencies before changing shared network credentials.
What happens when a password is compromised?
Use a trusted device and reach the service through a known official route. Change the exposed password and replace it wherever it was reused, starting with email and other recovery accounts. Review recent activity, recovery details and connected devices. Sign out or revoke sessions where the service provides that option, because a password change may not end every existing session.
For an organisation, confirm which accounts and systems are affected, follow the incident response process, notify the appropriate internal team and investigate the exposure. Do not paste passwords into support requests or logs. Where a password protects a shared integration, plan the replacement carefully so dependent services can be updated.
Password policy and access control
Password rules govern one way of proving control of an account. Once a service has checked the proof, access control determines which resources or actions are permitted. A strong password does not compensate for an account having unnecessary administrator privileges.
Similarly, a password policy is not the same as a session policy. Session settings control how access continues after sign-in, including expiry and revocation. A complete security approach needs both, alongside sensible permissions and recovery.
Frequently asked questions
What is the purpose of a password policy?
It sets the rules and controls for managing passwords so that accounts are harder to compromise and users can access them safely.
Is a long password always secure?
No. A long but predictable, reused or exposed password can still be guessed or obtained. Use a unique password and enable available multi-factor authentication.
Are symbols required in every password?
No universal rule requires symbols in every password. Individual services may require them, but current NCSC and NIST guidance cautions against relying on mandatory composition rules.
Should passwords be changed every 90 days?
Not automatically as a general rule. Change a password after suspected compromise or when required by the applicable service or organisation, and check any relevant obligations.
What is a password blocklist?
It is a list used to reject proposed passwords that are common, expected or known to have been compromised. The precise list and checking method depend on the service.
Does a password policy prevent phishing?
No. A strong password can still be entered into a fake site. Phishing-resistant authentication, careful recovery and other controls help address risks a password policy alone cannot solve.
Is a WiFi password the same as a router administrator password?
They normally serve different functions. The WiFi password controls joining the wireless network, while the administrator password controls router settings. Check your device's documentation.
Key takeaway
A password policy works best as a connected set of controls: support long, unique passwords, reject common and compromised choices, protect sign-in and stored hashes, and make recovery safe. Check what each actual service enforces, rather than judging security by a complexity rule alone.

