Short answer: In the Cloudflare dashboard open My Profile > Authentication, select Set up under Two-Factor Authentication, click Add next to Mobile App Authentication, scan the QR code with 2Fa Live and save your backup codes.
Last verified 19 November 2026 against the vendor's official help page. Menu names can change, so follow the labels on your screen if they differ.
Before you start
- A verified email address; Cloudflare warns you may lock yourself out otherwise.
- A Cloudflare password: if you signed up with a social login such as Google or Apple, complete the password reset process first. Accounts using single sign-on cannot configure 2FA.
- 2Fa Live open in a browser on the device that will hold your codes.
Steps
- Open My Profile. Log in to the Cloudflare dashboard and, under the My Profile dropdown, select My Profile.
- Authentication. Select Authentication, then under Two-Factor Authentication select Set up.
- Add Mobile App Authentication. Next to Mobile App Authentication select Add, and scan the QR code with 2Fa Live. If you cannot scan, select Can't scan QR code and follow the alternative steps.
- Enter the code and password. Enter the code shown in 2Fa Live, then your Cloudflare password, and select Next.
- Save backup codes. Review your backup codes and use Download, Print or Copy to save them, then select Next to finish.
Scan with 2Fa Live
When Cloudflare shows its QR code, open 2Fa Live and add a new account by scanning it. The QR code reader page can read the code for you. If you cannot scan, choose manual entry and type the setup key (also called the secret key) that Cloudflare displays, then give the entry a clear label so you can tell your accounts apart.
Finish by typing the 6-digit code that 2Fa Live shows back into Cloudflare. TOTP codes are time-based and change every 30 seconds by default, so enter the current one. 2Fa Live stores your secrets encrypted in your browser only; nothing is sent to a server.
Backup codes and recovery
Save Cloudflare's backup codes in a password manager or another secure place; each works once. To get a new set go to My Profile > Authentication > Two-Factor Authentication > Manage and select Regenerate beside Backup codes; regenerating invalidates the old codes.
2Fa Live keeps your data in this browser only, so clearing site data or switching browsers removes your accounts. Create a local backup from the Data Management section after each new account, and store it away from the device you use every day.
Troubleshooting
- If you cannot sign in without your phone, use a backup code on the Two-Factor Authentication login page.
- Cloudflare Access and Zero Trust authenticator enrolment is a separate flow from your dashboard 2FA.
- If every code is rejected, set your device date and time to automatic and use the next code: TOTP depends on the clock.
- Check that you are copying the code from the Cloudflare entry in 2Fa Live, not another account.
Source: Cloudflare official help page. Official Cloudflare Fundamentals docs page fetched.