How to enable 2FA for your X (Twitter) account
Updated June 5, 2026
A step-by-step guide on how to set up two-factor authentication (2FA) for your X (Twitter) account using Authenticator App. With 2FA enabled, signing in requires both your password and a temporary verification code — keeping your account safe even if your password is stolen.
Download Authenticator App
Open your X app and go to Settings
Sign in to your X account, then tap your profile picture to open the sidebar. Tap Settings and privacy to reach your account settings.

Go to Security settings
In the Settings menu, tap Security and account access, then choose Security.

Choose the Authentication app method
Tap Two-factor authentication to see the available methods (Text message, Authentication app, Security key). Turn on the Authentication app option.

Confirm your identity and start setup
Verify it's you by entering your X password or a code X emails you. Then tap Get started to begin linking the app.

Open the Authenticator App
Tap Link app. X opens the Authenticator App on your iPhone with your account details already filled in. Tap Save to add the account.

Enter the code to confirm
Your Authenticator App now shows a 6-digit code for X. Copy it and paste it into the field on X, then tap Confirm to finish enabling two-factor authentication.

Save your X backup code
After setup, tap Get Backup Code, then save it (for example with Save Screenshot). Store this single code somewhere safe so you can sign in if you ever lose access to your Authenticator App; you can also view it later under Backup Codes in your X settings.

Backup & recovery
When you turn on two-factor authentication, X automatically generates a single backup code (you can also generate one anytime on x.com under the two-factor authentication settings). Save it by writing it down, printing it, or taking a screenshot. If you lose your mobile device or change your phone number, you can use this backup code to log in to your account.
That's it — your X (Twitter) account is now protected with two-factor authentication. If you have any issues during setup, visit the official X (Twitter) help page. Stay safe!
Related guides
Disclaimer
This content is for educational purposes only.
Begamob is not affiliated with or endorsed by X (Twitter). All trademarks and product names are the property of their respective owners and are used solely for identification purposes. Interface labels and menu names may change over time — when in doubt, follow the official X (Twitter) documentation.


