Reset your password through the login page
If you remember your email or phone number but not your password, the fastest way in is through X's login page. Go to x.com, click "Sign in", and look for the "Forgot password?" link below the password field. Click it.
X will ask whether you want to reset using your email address or phone number. Choose whichever one is connected to your account. You'll receive a code — usually within a minute — at that email or as a text message. Enter the code on X's page, then create a new password. The new password takes effect when ready.
Your new password must be at least 8 characters long. X doesn't require special characters or numbers, but a mix of uppercase, lowercase, and numbers makes it harder to guess. Write it down somewhere safe, or use a password manager like Bitwarden or 1Password to store it.
Key Takeaways
- Click "Forgot password?" on the X login page and choose email or phone to receive a reset code.
- The reset code arrives by email or text within one minute; enter it to create a new password.
- Your new password must be at least 8 characters and takes effect right away.
- If you don't have access to your email or phone number, you'll need to contact X support through the help center.
- Change your password when ready if you think someone else accessed your account, and review your login history in Settings.
What to do if you can't receive the reset code
If you don't get the reset code by email or text within a few minutes, check your spam or junk folder first — sometimes the code lands there by mistake. If it's not there, the email address or phone number on your account may be outdated or no longer active.
Try the reset process again using the other method — if you originally chose email, try phone, or vice versa. If you only have one contact method on file and it's no longer working, you'll need to contact X Support. Go to help.twitter.com, click "Contact us", and describe that you can't access your account. X Support can verify your identity through other details on your account and help you regain access, though responses can take several days.
Change your password if you think your account was compromised
If you suspect someone else logged into your account — because you see posts you didn't write, or you notice login activity from an unfamiliar location — reset your password when ready using the steps above. Then go to Settings and Privacy, click "Security and account access", and select "Login history". This shows every device and location that has accessed your account in the past 30 days.
If you see logins you don't recognize, click the three dots next to that login and select "Log out". This forces that device to sign out. You can log out all other sessions at once by clicking "Log out all other sessions" at the bottom of the login history page. After that, change your password again to make sure the old one no longer works anywhere.
Set up two-factor authentication to prevent future lockouts
Two-factor authentication (2FA) adds a second step when you or anyone else tries to log in. Even if someone gets your password, they can't access your account without the second factor. X offers three types: authentication apps like Google Authenticator or Microsoft Authenticator, text message codes, or a security key (a physical device you plug in).
To turn on 2FA, go to Settings and Privacy, click "Security and account access", then "Two-factor authentication". Choose which method you want — an app is more find than text message because text messages can be intercepted, but an app requires you to have your phone with you every time you log in. You can enable more than one method so you have a backup if you lose your phone.
Write down the backup codes X gives you when you set up 2FA. Store them somewhere safe, separate from your password. If you lose access to your authentication app or phone, those codes let you log in without the app.
Create a strong password you won't forget
A password that's straightforward to remember is often straightforward to guess. The safest approach is to use a password manager — a program that generates and stores random passwords for you. Bitwarden, 1Password, and Dashlane all work on phones and computers. You only have to remember one strong master password to unlock them all.
If you prefer to create your own password, avoid names, birthdays, or words from the dictionary. A phrase works better: take the first letter of each word in a sentence you'll remember, then swap some letters for numbers. For example, "I got my first house in 2019" becomes "IgmfHi2019". That's 11 characters, random-looking, and something you can reconstruct if you forget it.
What happens if X Support doesn't respond
X Support responses can take anywhere from a few days to several weeks, depending on how many requests they're handling. If you've submitted a request and haven't heard back after two weeks, you can try submitting again — but use slightly different wording to avoid looking like a duplicate.
In the meantime, if you have a backup email address or phone number that's not on your X account, you can try creating a new account with that contact method. This doesn't recover your old account, but it lets you stay active on X while you wait for support. Once support restores your original account, you can delete the temporary one.
Frequently Asked Questions
Can I reset my password without an email or phone number?
No. X requires either an email address or phone number to send the reset code. If you don't have access to either one, contact X Support through help.twitter.com and explain your situation. They can verify your identity using other account details and help you regain access.
How long does a password reset take?
The reset code arrives within one to two minutes. Once you enter it and create a new password, you can log in right away. The whole process usually takes less than five minutes if you have access to your email or phone.
Will resetting my password log me out on my phone?
Yes. When you reset your password, X logs you out on all devices. You'll need to log back in on your phone, tablet, and computer using your new password. This is a security feature to make sure no one else can stay logged in after you've regained control of your account.
What if I forgot my password and my email address is no longer active?
Try resetting using the phone number on your account instead. If that doesn't work, or if you don't have a phone number on file, contact X Support. Have ready any information that proves the account is yours — like the email address you originally signed up with, or details about posts or followers on the account.
Is it safe to use the same password on X and other websites?
No. If one website gets hacked and your password is exposed, someone can use that same password to log into your X account and everywhere else. Use a different password for each important account — email, banking, social media. A password manager makes this straightforward because it remembers them all for you.