Skip to main content

Preparing to require two-factor authentication in your organization

Before requiring two-factor authentication (2FA), you can notify users about the upcoming change and verify who already uses 2FA.

When requiring 2FA in your organization, consider if you also want to enforce usage of only secure methods among your users (secure two-factor methods are passkeys, security keys, authenticator apps, and the GitHub mobile app).

We recommend that you notify organization members, outside collaborators, and billing managers at least one week before you require 2FA in your organization.

When you require use of two-factor authentication for your organization, outside collaborators (including bot accounts) who do not use 2FA will be removed from the organization and lose access to its repositories. If you require secure methods of 2FA, outside collaborators who have SMS 2FA configured will be removed. They will also lose access to their forks of the organization's private repositories. Members and billing managers will retain membership but not be able to access your organization resources until they meet your 2FA requirement and 2FA security level.

Before requiring 2FA in your organization, we recommend that you: