Zitadel MFA, lockout and login policies decide who gets in and how often they prove it
Second factor, lockout and re-authentication rules decide who can sign in to a self-hosted Zitadel and how often they must prove who they are again. A platform or identity owner who runs several customer organizations on one instance has to set these rules for each of them, and the main design question is which settings apply instance wide and which can differ per organization. Confirm that split in the release your team runs before you make any customer-facing commitment, because it sets how many policy sets your team will maintain. Option names, threshold values and lifetimes are not supplied here, so take each one from the documentation for your version and verify it with test logins in a staging instance.
Teams need this design work in three situations. The first is mixed populations: local users with a password stored in Zitadel sit alongside federated users who sign in through an external identity provider, and the second factor and lockout behavior for each group may need to differ. Confirm what the external provider already enforces before you add a second factor on top of it, so users are not challenged twice without a reason. The second is customer-specific rules, where one customer's security review asks for stronger second factors or shorter sessions than another's. The third is assurance expectations from your own security reviews, which usually ask you to show which factors are allowed and who can change them. Map each situation to a named organization before you configure anything, so every rule has an owner.
Passkeys add a decision of their own. Zitadel supports passwordless login with passkeys based on FIDO2 and WebAuthn, with fallback to password login, so the policy has to say whether a password remains acceptable for each population. A passkey-first setup that still accepts a password on the same account keeps the password path open, which a security review will ask about. Test the fallback on a staging account, including what a user sees after failed attempts and whether a lockout applies to the password path. Read the passkeys concept page for how the feature currently behaves, then write down the result you tested so it can go into your review evidence.
Zitadel MFA and login policy settings to decide, and when each choice fits
This table lists the seven login policy decisions to settle for each Zitadel organization before go-live. Read each row by decision, what you set, the situations where that setting fits, and what to verify in the Zitadel version you deploy. Confirm every threshold and lifetime against the documentation for your version and in a test organization before you set it.
| Decision | What to decide | When the choice fits | What to confirm in the release |
|---|---|---|---|
| Allowed second factors | Which second factor methods the organization permits, and whether users may enroll more than one. | A narrow list suits workforce organizations with managed devices. A broader list suits customer organizations with mixed devices. | Which second factor types your version offers and how each one enrolls in the Console and the login UI. |
| MFA for local users | Whether users whose password is stored in Zitadel must complete a second factor at every login. | Workforce or regulated organizations where local accounts are the main sign-in path. | How the force setting applies, and whether enrollment is required at first login. |
| MFA for federated users | Whether users who sign in through an external identity provider still need a Zitadel second factor. | When the upstream provider already enforces MFA, or when you need one rule across all sign-in paths. | Whether the policy covers external identity provider logins, and how it interacts with the provider's own MFA. |
| Passkey first with password fallback | Whether login starts with a passkey and offers password sign-in only when no passkey is available. | Organizations where most users have passkey-capable devices and the help desk can recover accounts without passwords. | The order of methods on the login screen, and whether fallback can be turned off per organization. |
| Lockout threshold | How many failed sign-in attempts trigger a lock, and whether the lock clears on a timer or needs an administrator. | Customer-facing tenants where password guessing is a concern, balanced against support load from locked users. | Default values, whether lock duration is configurable, and how locks are cleared in the Console or API. |
| Password complexity | The minimum length and character rules the password policy requires, and any other checks the release supports. | Tenants with local accounts and no passkey option. Less critical where most users sign in through a provider or passkeys. | The rules the release enforces, the length guidance your standards set, and whether rules apply per organization. |
| Re-authentication lifetime | How long a session and a second factor stay valid before the user must authenticate again. | Administrative consoles and applications handling sensitive data often use shorter windows. Low-risk customer apps may use longer ones. | The session and MFA maximum age settings in your version, and how they interact with refresh tokens in client applications. |
How a sign-in passes through the policy checks
This illustrative flow starts when a user enters an organization context at login. Zitadel first decides whether the user is local or federated. Local users go straight to the second factor or passkey step. Federated users are sent to their external identity provider, and the assertion that returns comes back to Zitadel. Whether a second factor is also required after a federated sign-in is a setting to confirm for each organization and each path. Next, Zitadel checks lockout state, and the session lifetime decides whether the user must authenticate again before tokens reach the application. The two boxes mark the trust boundary between the Zitadel host and the external identity provider.
Illustrative sign-in path showing where policy checks run.
Set Zitadel MFA and login policies per organization in a safe order
This sequence moves second factor, lockout, password and re-authentication settings from a test organization to one pilot organization, then to the rest of the instance. Each step closes with a check you can repeat, so a wrong setting is caught before it reaches federated users, passkey users or administrators. The output is a documented policy set for each organization and a change history you can review.
Confirm the release and plan support
Record the exact Zitadel version you run and check the release notes for each login, password and lockout setting in your design. Confirm that each setting is available on your deployment model and in the plan you hold, since the Enterprise plan includes custom support agreements that may matter for production changes. Ask the vendor to confirm any setting you cannot find in the Console or API for your version. Check: every setting in the design appears in your version's Console or API, and the table of settings records the version each one depends on. See the Zitadel releases on GitHub page for the release history.
Inventory user populations in each organization
List every group that signs in to each organization: local users with passwords, users federated from an external identity provider, users who already have passkeys, administrators, and service accounts used by machine clients. For each group, note the organization, the expected second factor and whether the group can sign in with a password. Service accounts usually authenticate without an interactive second factor, so keep them in a separate row and confirm with the application owner how they authenticate. Check: the user counts per organization from the Console or management API add up to the totals you expect, and every row has an owner.
Decide the instance default and overrides
Set the instance-wide login defaults first, then list only the organizations that need a different rule. Examples of a valid override are a stricter second factor for administrators or a federated organization where the upstream provider already enforces MFA (illustrative). Keep overrides few and written down, because each one is a separate policy to test and review. Record the reason for each override and the person who approves it. Check: the decision record names every organization with either the default or its override, and the security owner has signed it before you change anything in a test organization.
Configure second factors in a test organization
Create a dedicated test organization that mirrors one population from your inventory, using test users only. In its login policy, allow only the second factors in your decision record, enable passkeys with password fallback if your design needs it, and set whether MFA is forced for local users. Confirm the exact setting names in your release, and check the vendor documentation on how forced MFA treats federated users before you rely on it. Check: sign in as one test user per population and confirm each sees exactly the factors you allowed and no others.
Test lockout and password rules
In the test organization, set the failed-attempt threshold, the lockout behavior and the password complexity rules from your decision record. Use a dedicated test account for the lockout test so that no administrator or service account is locked by accident. Trigger the threshold on purpose, confirm the account locks, and confirm it unlocks through the path you documented. Then sign in with a password that meets the complexity rule and one that breaks it. Check: the event record shows the lock event, and both password outcomes match the design.
Set re-authentication lifetime against a test application
Connect a test application to the test organization and set the session or re-authentication lifetime that your design requires for sensitive actions. Sign in, wait past the configured lifetime, and confirm the application asks for authentication again. Repeat the check for one administrator path if your design includes one. Record the value you tested, because the application's own token handling can change how long a session appears active. Check: the application forces a new sign-in after the configured lifetime and keeps the session open before it.
Verify populations and review the event record
Sign in with one account from each population in the inventory: local, federated, passkey-enabled and administrator, plus the application path for service accounts. For each sign-in, confirm that the second factor, lockout and lifetime match the decision record. Then open the event record for the organization and confirm that every policy change you made appears with the right actor and time. Keep this record with the decision record so a later review can trace each setting. Check: each population has a passing row in the verification table, and each change has a matching event entry.
Roll out to one pilot organization first
Apply the tested policy to one pilot organization that has real users, and name a contact who can report sign-in failures. Write down the prior settings so you can restore them if the pilot fails. Watch sign-in results and the event record during the pilot, then apply the same settings to the remaining organizations one at a time. Check: the pilot runs for the period agreed with the security owner without unexpected lockouts or factor prompts, and the owner signs off before any other organization changes.
Forced MFA for local users versus federated users
Local users are people whose accounts, passwords and second factors are stored in Zitadel. On this path the Zitadel login policy is the component that asks for the second factor, so your team configures and tests the enforcement directly in the instance or organization. Confirm in your release notes and configuration how the forced MFA setting is evaluated for local users, including whether it applies at password sign-in, at session creation or both.
- Who enforces the factor: The check runs in the Zitadel login flow, and the login policy that applies to the user's organization decides whether a second factor is required.
- What the customer identity provider controls: Nothing on this path, because no external provider is involved. The customer controls the policy, the allowed factor types and the enrollment prompts inside Zitadel.
- What breaks: Users who have not enrolled a second factor may be blocked or pushed into enrollment, depending on how your release handles that state. Confirm the exact behavior before the policy reaches production users.
- Recovery paths: Lost factors need a documented administrator reset process. Confirm who can reset a factor, how the action is approved and how it is recorded in the audit trail.
- Test before rollout: Enroll a test local user, remove the factor, then sign in to each application. Check that the prompt, the fallback and the audit event match your written design.
Confirm that the policy applies to the organization you intend and that test users reproduce every prompt in your release.
Federated users sign in through an external identity provider, such as an enterprise directory or a social login, and Zitadel receives the outcome of that sign-in. The second factor may be enforced by the provider, by Zitadel or by both, so your team must confirm in its release and in each identity provider how MFA is enforced on this path. The identity providers introduction covers how providers are linked to organizations.
- Who enforces the factor: The provider's authentication decides first. Confirm whether your release re-checks the provider's authentication context or trusts the sign-in result without a Zitadel prompt.
- What the customer identity provider controls: Its own MFA policy, conditional access rules, factor types and session lifetime. Zitadel cannot add a factor the provider never performed unless your release documents that behavior.
- What breaks: Users can be challenged twice when both sides prompt, or bypass Zitadel policy when the policy assumes a factor the provider never ran. Both outcomes need a test.
- Claim mapping: Confirm which authentication values Zitadel receives from each provider and how your organization maps them to the policy decision.
- Test before rollout: For each linked provider, sign in as a user with MFA required at the provider, a user without it and a user whose provider session is still active. Record whether Zitadel prompts again and whether the audit trail shows the provider's factor.
Run this check per provider and per organization, because each customer organization can use a different identity provider.
Administrators sign in to the Zitadel Console and management APIs, while automated clients authenticate with service accounts or client credentials and have no interactive prompt. These two groups follow different enforcement paths, so keep them separate in the design. Confirm in your release whether the forced MFA setting applies to Console administrators, and whether any administrative or machine flow bypasses it.
- Who enforces the factor: For human administrators, enforcement sits in the Zitadel login flow for the instance. Service accounts authenticate with keys or secrets, and no second factor is prompted.
- What the customer identity provider controls: If administrators sign in through a federated provider, that provider's MFA and conditional access apply first. Automated clients are not affected by user-level MFA at all.
- What breaks: Forced MFA on the administrator path can lock out the only operator if recovery is not planned in advance. A client built for an interactive prompt will fail in a non-interactive job.
- Compensating controls: Protect service account secrets, limit who holds administrator roles and review high-privilege grants on a schedule your security team sets. Confirm these controls in your own environment.
- Test before rollout: Sign in as a break-glass administrator and verify the second factor prompt. Then run one representative automated client to confirm that token issuance is unchanged by the user MFA setting.
Confirm the break-glass path and the client flows with the people who will operate them before the policy changes in production.
Lockout thresholds and password rules trade protection against support load
Stricter lockout settings slow credential guessing, but every lockout is a user who cannot sign in, and that user usually becomes a helpdesk ticket. A low failed-attempt threshold in the organization's lockout policy can turn a password spray into a support queue for one team or branch office. Shared networks make this harder to tune. Many customers behind one carrier-grade NAT or corporate proxy can appear as one source address, so any control keyed to source address can throttle people who did nothing wrong. Account-keyed lockout avoids that problem but lets an attacker lock a known user out on purpose. Choose which failure you accept before you pick a number, and agree who handles unlock requests and whether users can recover themselves.
Treat password complexity rules in the Zitadel password policy as a baseline, not the main control. They help less against common attacks such as phishing and credential reuse than a second factor or a passkey does. Zitadel's passkey documentation describes passkeys with password login as fallback, so the password policy still governs the fallback path, and a weak fallback can undo a strong passkey rollout. Before you tighten complexity further, review which users can still reach password login and which second factors your login policy allows for local users versus federated users.
Lockout also sits in layers that Zitadel does not fully control. A rate limit at your edge proxy or API gateway may block requests before they reach Zitadel, so a Zitadel threshold never fires, or fires for the wrong reason, and the two counters can disagree. Federated users add another layer. When someone signs in through Entra ID, Okta or another upstream provider, that provider's lockout and password rules apply first, and Zitadel's own lockout policy may not record those failed attempts. Map each layer for the user populations you serve. Then test with a dedicated account in a non-production organization: trigger the threshold, confirm the message the user sees, time the unlock, and check the events your support team would see before you set a threshold for real customers.
Security risks in MFA, lockout and session settings
Login policy settings decide how strong a sign-in is, and most weak points come from a few settings that interact with each other. The cards below pair each risk with the check to run in the Console and the evidence to keep for review.
Password fallback bypasses the second factor
A second factor only protects sign-in if every route to a session passes through it. Zitadel offers password login as a fallback to passkeys, so a user who can sign in with a password alone may skip the factor you intended. For each organization, check whether the login policy still allows password-only sign-in for users who must use MFA, and confirm how federated users are forced through MFA on your side. Keep an exported copy of the policy and a test log showing that a password-only attempt is blocked where you expect.
Passkeys docsLockout settings used for denial of service
Lockout thresholds protect accounts from password guessing, but an attacker can also trigger them on purpose and lock out real customers. Review the lockout settings in each organization and confirm which behavior your Zitadel version applies after repeated failures. Decide the values with your support team in mind, because a locked customer creates a ticket and a locked administrator may be unable to recover the instance. Keep the chosen values, a test confirming that a locked account recovers as documented, and the runbook your support staff use to unlock accounts.
Long re-authentication lifetimes on sensitive apps
Session and re-authentication lifetimes control how often a user must prove their identity again. On an administrative console or an application that handles financial or health data, a long lifetime keeps a forgotten or stolen session valid well after the user has stopped working. Check the session settings for each organization and for each application that handles sensitive data. Confirm whether your version can require a fresh MFA prompt before sensitive actions. Keep the configured values, a test showing that a session expires and prompts again, and the approval for each lifetime.
Administrator accounts exempt from MFA
Administrator accounts usually hold the widest reach, yet an exemption from MFA is easy to add during troubleshooting and easy to forget. Any user, group or policy that skips the second factor for an administrative role weakens every organization that role can change. Review which accounts and roles are excluded, and confirm that instance administrators sign in with the same factors you require for everyone else. Keep a list of exempt accounts with an owner and a documented reason for each, plus a dated review showing that the list is empty or approved.
Policy drift across organizations
Each organization in Zitadel can carry its own login settings, so a manual edit in one organization can leave it different from the rest. Drift is hard to spot in the Console because nothing warns you when two tenants enforce different factors or lockout behavior. Compare the login policy for each organization against a written baseline, and confirm which settings your team can manage as code in its environment. Keep a dated export of each organization's policy, the baseline it is checked against, and a record of each difference found and corrected.
Organizations docsUntraceable policy changes
A login policy change that no one can tie to a person, a date and a reason is difficult to explain during an incident or an assessment. Confirm what Zitadel records for changes made in the Console and through the API, and how long those records are kept in your deployment. Check who holds permission to edit login policies, and whether changes pass a review step before they take effect. Keep the event history for policy changes, the approval for each change, and the retention period you have set for those records.
What do these policies cost and take to set up correctly?
Can our own team configure Zitadel login policies without a partner?
Yes, an experienced identity team with administrator access to Zitadel can enter most of these policy settings in the console and test them. The harder work is deciding the values. Your team must decide which second factors to allow, whether MFA is forced for local users, whether federated users follow a different rule, how many failed sign-ins trigger a lockout, how complex passwords must be, and how long a re-authentication stays valid for each organization. Those choices need written security sign-off before anyone saves them. Teams running several organizations often find the per-organization overrides are where mistakes happen, so a written policy matrix should come first. A partner is most useful when your team lacks the capacity to test every organization and document the results.
What does it cost to run Zitadel login policies?
Cost depends mainly on whether you use Zitadel Cloud or self-host. The Zitadel pricing page lists a Free plan at US$0 per month with 100 daily active users, a Pro plan at US$100 per month including 25,000 daily active users, and an Enterprise plan with custom pricing for self-hosted or cloud deployments. Self-hosting the open-source software carries no subscription fee, so its cost is mostly team time for design, setup, testing and operations, plus the infrastructure that runs Zitadel and PostgreSQL. Confirm with Zitadel which login policy features each plan includes, because the policy options you need may depend on the plan. DeployOpen's fee follows from the written scope and is quoted separately, so ask for the scope and the quote together.
What makes configuring login policies take more effort?
Effort rises with the number of distinct policy sets you need, more than with the raw number of users. The main drivers are:
- Number of organizations: each organization that needs its own MFA, lockout or re-authentication rule must be designed, set and tested.
- Federated providers: each external identity provider changes which users reach MFA and how sign-in behaves, so each one needs its own checks.
- Population mix: local users, workforce users and customer users often need different rules, and each mix multiplies the test cases.
- Compliance evidence: if assessors expect exported settings, change records and test results, documentation becomes a larger share of the work.
Ask for these counts in any quote, along with the number of applications that share each organization.
How long does it take to set up login policies correctly?
The timeline comes from the written scope, and no single duration fits every environment. As an illustrative case, one organization with one identity provider and a settled policy matrix is far quicker to deliver than a scope covering many organizations, several federated providers and a full evidence pack. A sound schedule lists the design decisions, the configuration for each organization, the test cases for lockout, MFA enforcement and re-authentication, and the handover documentation, with an owner for each item. Milestones that depend on your inputs, such as population lists or security sign-off, should be marked, so delays on either side stay visible. If your team does the work itself, have your identity administrators estimate the same tasks before comparing the result with any quote.
What do we need to provide before login policy work starts?
Three inputs matter most. First, population lists: who the local users, workforce users and customer users are, and which organization each group belongs to. Second, identity provider admin access: someone who can read and change the configuration of each federated provider, such as Entra ID, Okta or an LDAP directory, so MFA and sign-in behavior can be tested end to end. Third, security sign-off on the policy requirements: the allowed second factors, lockout thresholds, password complexity and re-authentication lifetimes should be approved in writing by the people who own the risk. You should also provide a test environment or an agreed test window, and a named decision-maker who can resolve conflicts between security and business needs.
Does a Zitadel login policy design make us compliant or certified?
No. A policy design does not create a certification or an audit opinion. DeployOpen does not issue audit reports, attestations or certifications. DeployOpen prepares the settings, configuration records, test results and evidence that your compliance team or an independent auditor will review, and auditors and certification bodies decide whether controls meet a given framework. Ask your assessor early which evidence they expect for authentication and access controls, such as settings exports, change history and test records, so the deliverables match what they will request. Zitadel's own certifications are listed on its pricing page, but they apply to Zitadel as a vendor and do not transfer to your deployment.
Limits to confirm before promising a policy design
Several Zitadel login behaviors depend on the release you deploy, the plan you buy and the scope where a setting is stored. Confirm each item below in writing and in a test instance before you promise a policy design to stakeholders.
Second factor types and enforcement
Ask the vendor which second factor types the chosen release supports and at which points each one can be required: during the password step, after federated sign-in, or only for specific applications. Confirm whether each factor can be required on its own or only inside a combined rule. In the Console, check the login policy screens for each factor type and note any type that cannot be selected as a requirement. Prove the behavior by enrolling each factor on a test user and confirming that sign-in stops until that factor is presented.
Organization or instance scope
Ask whether each login policy setting can be stored per organization or only applies across the whole instance. This decides whether one customer organization can require MFA while another keeps a looser rule, which matters for multi-tenant deployments. In the Console, compare the policy screen at instance level with the one inside an organization and note which fields are inherited. Prove it by creating two organizations with different settings, signing in a user from each, and confirming that each organization's rule applies and the other's does not.
Organizations conceptLockout per account or address
Ask whether failed-attempt lockout counts by user account, source address, or both, and what happens to each counter when the lock expires. A per-account rule can let an attacker lock out a legitimate user from anywhere, while a per-address rule can block many users behind one shared office or carrier address. In the Console, locate the threshold, duration and reset fields and record each one. Prove the behavior from a controlled test network: fail repeatedly against one account from one address, then fail against one account from several addresses, and check which accounts end up locked.
Re-authentication lifetime per application
Ask whether a re-authentication lifetime can be set per application or only per organization or instance. Applications with different risk levels, such as an administration console and a low-risk reporting tool, often need different session ages, so one shared value may be too loose for one and too strict for the other. In the Console, open an application's settings and the organization's session settings, then note which field controls the lifetime. Prove it by signing in to each application, waiting past the configured limit or sending an authorization request that asks for a fresh login, and checking that the user is prompted again.
Cloud, self-hosted and plan coverage
Ask which login policy, lockout and session settings are available on Zitadel Cloud, on self-hosted deployments, and on each plan. Plan names and prices are published, but the mapping from individual settings to plans and deployment models should be confirmed in writing before the design is promised. In the Console of each target, check which policy screens appear and which fields are locked or hidden. Prove it by configuring the full target policy on a test instance using the plan and deployment model you intend to buy, and ask whether any setting changes when you move between them.
Zitadel pricingPasskey fallback and external MFA
Ask how passkey sign-in with password fallback interacts with MFA rules, and whether a second factor is still required after a user signs in through an external identity provider. A passkey may satisfy the first step while an MFA rule expects a second factor, and a federated user may skip local checks entirely. In the Console, confirm which rules apply to local and federated users separately and where fallback to password is allowed. Prove it with four test users: a local passkey user, a local password user, and a federated user from each of two providers, then record which prompts each one sees.
Identity provider docsHow DeployOpen scopes and delivers login policy work
DeployOpen treats Zitadel MFA, lockout and login policies as design decisions before they are configuration. We set policy per organization against your user populations, federated and local accounts, and risk tolerance, then build, test and document the result in infrastructure you control. Engagements are fixed-scope, with the policy decisions agreed in writing before work starts.
How we scope
- The written scope lists each organization, its user sources and the second factors it allows for Zitadel MFA.
- We record which local users must complete MFA and which federated users rely on their provider's controls.
- Lockout thresholds, password rules and re-authentication lifetimes are agreed per organization before build starts.
How we build
- Configure login policies per organization, offering passkeys with password login as the documented fallback.
- Test each sign-in path, including MFA prompts, lockout behavior and re-authentication, with test accounts in every organization.
- Confirm in your Zitadel release which second factor types and lockout settings the login policy exposes before design is locked.
How we hand over
- Written runbook covering each policy setting, the reason for it and the organizations it applies to.
- Test evidence for each policy, with results kept so your compliance team can review how the controls were configured.
- Handover with your administrators on changing policies in the Console and agreeing how changes get approved.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Retainers can cover Zitadel upgrades and retesting of login policies after changes to organizations or identity providers.
- Upgrade and retest scope for policy changes is confirmed in writing, with the platform version and its release notes checked.

