Account Security, Two-Factor Authentication, SSO, and Recovery
How to sign in, enable 2FA and SSO, save backup codes, recover a locked account, and keep Cloudflare account and domain access.
This page summarizes Cloudflare documentation on protecting dashboard accounts: sign-in methods, two-factor authentication (2FA), multi-factor email challenges, single sign-on (SSO), and what to do when credentials or second factors are lost. Cloudflare treats dashboard access as critical infrastructure; lockouts from missing 2FA are a top support reason.
Sign-in options: email, SSO, and social login
Section titled “Sign-in options: email, SSO, and social login”The Cloudflare dashboard supports email and password, SSO when an administrator has enabled it, and social login (Apple, Google, GitHub) for accounts with a verified email that are not on SSO.
Social login allows you to sign in with a trusted 3rd party sign in service such as Apple, Google, or GitHub. Social login is only available for accounts with a verified email address, or accounts that signed up via social login initially.
— Cloudflare, Log in to Cloudflare
SSO versus social login: what blocks what
Section titled “SSO versus social login: what blocks what”If you log in with SSO, you cannot use social login on the same user account. Social-only accounts may have no Cloudflare password until you complete Forgot your password? to set one—required for some actions such as enabling 2FA or creating API tokens.
Sign in with GitHub uses your GitHub primary email; changing that email in GitHub breaks GitHub login to the same Cloudflare account.
Saved login profiles on a device
Section titled “Saved login profiles on a device”After a successful sign-in, you may save up to five login profiles per device (email, login method, last-used profile in the browser). See Saved login profiles for returning users.
Two-factor authentication (2FA): factors, backup codes, and enforcement
Section titled “Two-factor authentication (2FA): factors, backup codes, and enforcement”2FA adds something you have (app, key, or email code) to your password. Cloudflare recommends enabling it for every account holder.
Two-factor authentication (2FA) is one of the best ways to protect your account from the risk of account takeover.
— Cloudflare, Introducing email two-factor authentication
2FA factor types and trade-offs
Section titled “2FA factor types and trade-offs”| Factor | Strength / use | Loss risk |
|---|---|---|
| Security key (WebAuthn, e.g. YubiKey, Touch ID) | Phishing-resistant | Misplaced key or wrong device |
| TOTP mobile app | Strong; short-lived codes | Lost phone without backup |
| Email 2FA | Low friction; loss-resistant vs hardware/TOTP | Depends on email account security |
Hardware keys and TOTP are very secure but can lock you out if the device is lost—Cloudflare added email as a 2FA factor as a common fallback that still beats password-only login.
Accounts using dashboard SSO cannot configure dashboard 2FA on that SSO user; identity checks move to your IdP.
How to enable 2FA on the dashboard
Section titled “How to enable 2FA on the dashboard”-
Log in to the Cloudflare dashboard.
-
Open My Profile → Authentication → Two-Factor Authentication → Set up.
-
Add Mobile App Authentication, Security Key Authentication, and/or Enable under Email Authentication as described in Two-factor authentication.
-
Complete backup code download or copy when prompted.
2FA requires a verified email address; enrolling without verification can lock you out. Social sign-up users must set a password via password reset before 2FA enrollment (Set-up 2FA).
Super Administrators can enforce 2FA for all members; invitees must enable 2FA before joining.
Cloudflare recommends that users enable at least two different 2FA factors, as well as safely store backup codes) to prevent lockouts.
— Cloudflare, Two-factor authentication
Backup codes and periodic reminders
Section titled “Backup codes and periodic reminders”Backup codes (recovery codes) are one-time codes for login without your phone or key. Regenerating them invalidates the previous set (Two-factor authentication — Regenerate backup codes).
The most common reason users contact Cloudflare support is lost two-factor authentication (2FA) credentials.
— Cloudflare, Automated reminders for backup codes
Download them under Profile → Security & Authentication → Backup codes. Store them in a password manager or a safe physical copy.
Store your backup codes securely. A password manager is the best place since it keeps the backup codes encrypted, but you can also print them and put them somewhere safe in your home.
— Cloudflare, Introducing email two-factor authentication
At login, if prompted for a security key, cancel browser prompts and choose another method or a backup code (Use a backup code).
Multi-Factor Email Authentication (login from new IP)
Section titled “Multi-Factor Email Authentication (login from new IP)”Separate from optional user-enrolled 2FA, Multi-Factor Email Authentication challenges logins from unrecognized IP addresses with a one-time email code (30-minute expiry). After success, that IP is trusted for 90 days.
Email MFA can only be disabled by enabling two-factor authentication
— Cloudflare, Multi-Factor Email Authentication
Users without 2FA may be prompted at login to enroll in email 2FA (New 2FA Experience for Login); enrollment remains optional but encouraged.
Dashboard SSO for custom email domains
Section titled “Dashboard SSO for custom email domains”Cloudflare dashboard SSO is free on all plans for users who sign in with a custom email domain and a compatible identity provider. SSO is enforced for every user in that email domain.
Single sign-on (SSO) streamlines the process of logging into Cloudflare for Enterprise customers who manage a custom email domain and manage their own identity provider. Instead of managing a password and two-factor authentication credentials directly for Cloudflare, SSO lets you reuse your existing login infrastructure to seamlessly log in.
— Cloudflare, SSO for all
Configuration is available in the dashboard at Manage account → Members → Settings (Single sign-on now manageable in the user experience), not only via API.
SSO limits that affect who can log in
Section titled “SSO limits that affect who can log in”From Set up dashboard SSO limitations:
- Plus-addressed emails (e.g.
example+2@domain.com) cannot use SSO. - You cannot delete the auto-generated Zero Trust allow email domain policy without blocking admin dashboard access.
- Multiple domain policies may require a second SSO connector.
IdP-initiated SSO is supported; bypass paths exist if SSO login fails (see the same document’s bypass section).
Account recovery when 2FA devices and backup codes are lost
Section titled “Account recovery when 2FA devices and backup codes are lost”Use Account recovery only when you cannot generate a 2FA code and have no backup codes. You need a device Cloudflare has seen before.
-
Log in to the dashboard → Account home → Two-Factor Authentication → Try recovery on Lost all 2FA devices and backup codes? → Begin recovery.
-
Enter the temporary access code sent to your account email → Verify email → Verify device.
-
If Device verified, wait 3–5 days for email with full regain-access steps (not expedited).
-
If verification fails, try a previously used device and stable cookies, or Request manual verification.
Cookie clearing, new IP addresses, anti-malware tools that wipe cookies, or browsers that clear cookies on exit often cause Device verification failed. DNS lockout while the account is inaccessible is covered in General DNS issues (refer to account recovery).
Password, email, and account ownership continuity
Section titled “Password, email, and account ownership continuity”Forgot password or email
Section titled “Forgot password or email”From Email address and password:
- Forgot password? — logged out only; reset email from
no-reply@cloudflare.comornoreply@notify.cloudflare.comwithin ~20 minutes. - Forgot your email? — enter domain name; Cloudflare emails the address on file for that domain.
- SSO users cannot change authentication settings or email the same way as password users.
Team accounts: email and administrators
Section titled “Team accounts: email and administrators”For business accounts, Create account recommends a shared team alias (e.g. cloudflare@example.com) for billing, notifications, and recovery—but Account and domain management best practices also warn against only using a distribution list if support must reach a person with mailbox access. Prefer decentralized access to the registration email, multiple administrators, and documented continuity if an account holder is unavailable.
Have at least two administrators in case one of them unexpectedly leaves your company
— Cloudflare, Introducing email two-factor authentication
Decentralize access to your account.
— Cloudflare, Account and domain management best practices
Ensure domain registrant and vendor accounts are in the organization’s name; save 2FA backup keys; use a password manager and unique passwords.
Not receiving Cloudflare email
Section titled “Not receiving Cloudflare email”If recovery or verification messages never arrive, follow Not receiving emails from Cloudflare: confirm profile email, allow noreply@notify.cloudflare.com, and use the Support Portal for bounce-related blocks.
Compromised account
Section titled “Compromised account”If you see suspicious activity, Secure compromised account directs you to change password and enable 2FA; broader controls (sessions, audit logs, SCIM) are listed under Account security.
Common mistakes
Section titled “Common mistakes”- Enabling TOTP or a security key without saving backup codes (primary lockout cause).
- Clearing cookies or switching networks before account recovery device verification.
- Using GitHub social login after changing GitHub’s primary email (Sign in with GitHub).
- Expecting support to disable 2FA after lockout without recovery flow completion.
- Creating a team account on one person’s personal email with no second admin (best practices).
- Signing up with Apple Hide My Email then changing Apple ID—Cloudflare documents permanent loss of login options in Log in to Cloudflare (Sign in with Apple).
How to check this on your site
Section titled “How to check this on your site”-
Sign in to the Cloudflare dashboard and open My Profile → confirm Email Address shows (verified) per Verify email address.
-
Under Authentication, confirm 2FA factors and that backup codes are saved or recently regenerated (Two-factor authentication).
-
For custom domains, review Manage account → Members → Settings for SSO status (Set up dashboard SSO).
-
Send a test message to your profile email and confirm
noreply@notify.cloudflare.comis not blocked (Not receiving emails from Cloudflare). -
You can check automatically in Answerwell (our tool): https://answerwell.org/workspace
Report an error or ask a question
Section titled “Report an error or ask a question”If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.