Search
Social Media

How to Secure Your X (Twitter) Account: 2FA, Passkeys and Session Checks

Published 2 min readBy Programming4us Editorial Team

The majority of X accounts that get taken over are not breached using advanced means. Usually, accounts are lost through re-use of passwords and/or phishing and/or an unused app which has access to the account. These issues are easily resolved and should not take more than 10 minutes.

1. Verify your email and create a new password

To set up two-factor authentication on X, you must first verify your email address. This is also your recovery method. Go to Settings and privacy > Your account > Account information and verify the correct, current email address linked to your account.

Furthermore, update your password so that it is not used elsewhere. Password managers can be very helpful here.

2. Set up two-factor authentication

Navigate to Settings and privacy > Security and account access > Security and then enable two-factor authentication. There are 3 different methods:

  • An authentication app such as Google Authenticator, Microsoft Authenticator or 1Password etc. This is free to use and is significantly more secure than receiving codes via text.
  • Physical security keys which can be USB, NFC and/or Bluetooth. This can also be your sole authentication method.
  • Text message – but this is only available to X Premium members.

Generally, the authentication app is ideal. However, if you have a business or high profile account then it is advisable to also set up a security key.

3. Note down your recovery code

On completion of the two-factor authentication setup process, X displays a backup code. Either put this in your password manager or print it off. This will allow you to regain access to your account if you lose the phone that holds your authentication app. Screenshots of this code on the phone are no use, as they too are lost when the phone is lost.

4. Set up a passkey

Passkeys can be used to log in to X. Within the Security section, find Additional password protection or the passkey feature and generate a passkey. This works with your phone’s facial or fingerprint recognition. As a result, a passkey cannot be entered onto a fraudulent login page and thus, effectively combats phishing.

5. Audit logins

Within Security and account access > Apps and sessions, examine:

  • Sessions: Log out of unfamiliar devices or locations.
  • Connected apps: Remove access for apps you no longer use. Particularly, this should include old apps relating to scheduling, analytics and reviewing who has stopped following you. These act as gateways to your account.

6. Activate password reset protection

Password reset protect can be turned on within the Security section. X will then prompt for either your email or phone number before allowing someone to begin the password reset procedure. This thwarts a popular account hijacking method.

7. Be alert to phishing

The most prevalent reason why accounts are compromised is phishing, often fake "copyright violation" or "verification" messages. X will never request you to log in to your account by clicking on a link in a DM; if you are unsure, simply launch the X app and review its notifications.

Summary

Ensure that:

  • You have a distinctive password and a verified email
  • You have app and/or security key two-factor authentication
  • Your recovery code is not held only on your phone
  • You have set up a passkey
  • You have logged out of unfamiliar sessions and removed obsolete apps
  • Password reset protection is activated

Frequently asked questions

Can I use SMS for two-factor authentication on X?

Only if you subscribe to X Premium. Free accounts should use an authentication app or a security key, which are also more secure than text messages.

Can a security key be my only 2FA method on X?

Yes. X allows a security key to be the sole two-factor method, without any other method turned on.

What should I do if I lose my phone with the authenticator app?

Log in with the backup code X showed you when you enabled two-factor authentication. That is why you should store it somewhere safe outside your phone.