Reset Your Password Through the Login Page
The fastest way to reset your X password is through the login page itself. Go to x.com and click the login button. On the login screen, enter your email address or phone number, then click "Forgot password?" This takes you to a password reset flow where X sends a code to your email or phone — whichever one is attached to your account.
Open the email or text message from X and copy the reset code. Paste it into the box on X's reset page, then create a new password. Your new password must be at least eight characters long. X does not require uppercase letters, numbers, or symbols, but using a mix of these makes your password harder to guess. Once you submit the new password, you can log in when ready with your new credentials.
This method works even if you cannot remember your old password. X does not ask you to prove you know it — only that you can receive messages at the email address or phone number on file.
Key Takeaways
- Click "Forgot password?" on the X login page to start a reset without needing your old password.
- X sends a reset code to your email address or phone number on file, and you use that code to create a new password.
- If you cannot receive messages at either address, you will need to verify your identity through X's support form or regain access to one of those accounts first.
- Your new password takes effect when ready, and you can log in right away.
- If you are already logged in but want to change your password without forgetting it, use Settings instead of the reset flow.
What to Do If You Cannot Receive the Reset Code
If the email address or phone number on your X account no longer works — because you lost access to that email, changed phone numbers, or the number was reassigned — you cannot complete the reset through the normal flow. X will send the code, but you will not receive it.
In this case, go to x.com/i/flow/password_reset and scroll to the bottom of the page. You will see a link that says "Can't reset your password?" Click it. X then asks you to fill out a form with information about your account: your username, the email or phone you used to sign up, and details about when you last accessed the account. X uses this information to verify you own the account before sending a reset link to a new email address you provide.
This verification process can take several days. X may ask follow-up questions about your account history or request a photo of your ID. Answer honestly and completely — vague or inconsistent answers delay the process. Once X confirms your identity, they send a reset link to the email you provided in the form.
Resetting Your Password While Logged In
If you are already logged into X but want to change your password — perhaps because you think someone else knows it, or you want to use a stronger one — you do not need to go through the reset flow. Instead, go to Settings and Privacy, then select Account, then Change Your Password.
X asks you to enter your current password first. Type it in, then enter your new password twice to confirm you typed it correctly. Click Save, and the change takes effect when ready. You stay logged in on that device, but X logs you out on all other devices and browsers where you were signed in. This is a safety feature: if someone else had access to your account, logging them out everywhere protects you.
If you have two-factor authentication turned on, X may ask you to confirm your identity with a code before letting you change your password. This adds an extra layer of protection.
Why X Might Not Send You a Reset Code
Sometimes the reset code never arrives, even though you entered the correct email or phone number. The most common reason is that X's email went to your spam or junk folder. Check there first — search for "twitter" or "X" in your spam folder and look for a message from noreply@twitter.com or a similar address.
If the message is not in spam, the email address or phone number on your account may not actually be the one you thought. X only sends codes to the address currently registered with your account. If you set up X years ago with an old email you no longer use, that is where the code goes. Try resetting with a different email or phone number if you have access to multiple accounts.
If you have a phone number on file but are not receiving text messages, check whether your phone plan includes SMS or whether your carrier is blocking messages from short codes. Some carriers require you to opt in to receive texts from automated systems. Contact your phone provider if you suspect this is the problem.
Protecting Your New Password
Once you have reset your password, do not reuse it on other websites. If another site gets hacked, attackers will try that same password on X. Use a different password for X than you use anywhere else. A password manager like Bitwarden, 1Password, or the password manager built into your browser can generate and store strong passwords so you do not have to remember them.
Turn on two-factor authentication in your X settings to add a second layer of protection. With two-factor authentication on, someone who steals your password still cannot log in without a code from your phone or an authentication app. This makes your account much harder to break into.
What Happens to Your Account While You Reset
Your X account remains active and visible while you reset your password. Your posts, followers, and messages do not disappear. If you are worried someone else is using your account, change your password as soon as you can, then check your login history. Go to Settings and Privacy, select Security and Account Access, then Apps and Sessions. This page shows every device and browser currently logged into your account. If you see logins from places you do not recognize, click the X next to them to log those sessions out.
If you think your account was hacked and someone posted content you did not write, you can delete those posts after you regain control. You can also report the account to X if you believe it was compromised before you reset the password.
Frequently Asked Questions
How long does it take to reset my password?
If you can receive the reset code at your email or phone, the whole process takes about five minutes. If you have to use X's identity verification form because you lost access to your email and phone, it can take several days while X reviews your information.
Can I reset my password on the X app instead of the website?
Yes. Open the X app, tap the profile icon, go to Settings and Privacy, then Account, then Change Your Password. The process is the same as on the website. If you are locked out and cannot log in, tap "Forgot password?" on the app's login screen instead.
What if I reset my password but still cannot log in?
Clear your browser's cache and cookies, then try logging in again in a private or incognito window. If you still cannot log in, wait a few minutes — sometimes the password change takes a moment to sync across X's servers. If the problem continues, use X's support form to report that you cannot log in even after resetting your password.
Will resetting my password delete my direct messages?
No. Resetting your password does not delete anything on your account. Your messages, posts, followers, and all other account data stay exactly as they were.
Can someone reset my password without my permission?
No, not through the normal reset flow. X only sends reset codes to the email address or phone number registered to your account. If someone else has access to that email or phone, they could reset your password. This is why it is important to use a strong, unique password for your email account and to turn on two-factor authentication for both your email and your X account.