How to turn on X (Twitter) 2FA with an authenticator app
To turn on X (Twitter) 2FA: Settings and privacy → Security and account access → Security → Two-factor authentication → Authentication app. X accepts any TOTP app; save your backup code.

Hijacked X accounts are often used to post crypto scam links. X supports three two-factor methods: text message, authentication app and security key.
Set up an authentication app
- Open the menu → Settings and privacy.
- Go to Security and account access → Security → Two-factor authentication.
- Choose Authentication app. X may ask you to confirm an email first.
- X shows a QR code; if you need to type it, choose the can't-scan option to see the key. Save the key.
- Scan the QR or paste the key into an app (Google Authenticator, Authy, Duo, 1Password…) or Code2FA, enter the 6-digit code → Verify.
X accepts any standard TOTP app.
Right after enabling
- Save your backup code for when you lose your phone. See how to store backup codes.
- Security keys: X lets you use a security key, even as your only method.
- Temporary passwords: some third-party apps need a temporary password once 2FA is on.
Changing phones
Back up the old phone first. If you still have the key, just add it to the app on the new phone. Losing the phone without the key or backup code makes recovery very hard.
FAQ
Does X (Twitter) work with Google Authenticator?
Yes. X accepts any TOTP app such as Google Authenticator, Authy, Duo Mobile or 1Password; you can also paste the key into Code2FA.
How do I get into X if I lost my phone?
Use the backup code you saved, or re-add the secret key to a new app if you kept it.


