You can log in to Twitter (X) with a phone number, email or username, as well as through Google and Apple. Usually it takes a few seconds, but sometimes X will not let you in: it asks for a code you do not have, reports suspicious activity or just keeps loading. Here are all the ways to log in in 2026 and what to do if logging in fails.

Ways to log in to an X account

How to log in on a phone

  1. Open the X app and tap "Log in" at the bottom of the screen.
  2. Enter your phone number, email or username and tap "Next".
  3. If X asks you to confirm your details (this happens when you log in with a @handle), enter the phone number or email linked to the account.
  4. Enter your password.
  5. If two-factor authentication is on, enter the code from your authenticator app, a text message or a backup code.

To keep several profiles in the app, tap your photo, then the three-dot icon or "Add an existing account" - and switch between them without retyping the password.

How to log in on a computer

Open x.com in a browser and click "Sign in". Then it works just like the app: login, password and a verification code if needed. If you are using someone else's or a work computer, do not save the password in the browser and remember to log out: "More" in the left column, then your photo at the bottom and "Log out".

To see where else your account is open, go to "Settings and privacy" - "Security and account access" - "Apps and sessions". You can end unfamiliar sessions there too.

Why X will not let you in: common reasons

If you lost access to two-factor authentication

The most frustrating case is switching phones while the authenticator app stays on the old one. Your options:

  1. Use a backup code. X gives you one when you turn on 2FA and shows it in the security settings - if you saved it, just enter it instead of the app code.
  2. If you are still logged in to X on another device (for example, in a browser on your computer), open the two-factor authentication settings there, turn it off and turn it back on with the new phone.
  3. If you have no active session and no backup code, the only option is the X Help Center login help form. A reply may take several days, and success depends on whether you can prove you own the account.

How not to lose access in the future