Whether you forgot your password, lost the phone number on the account or someone hacked it, here’s how to get your X (formerly Twitter) account back.
Forgot password
- On x.com or the app, tap Sign in › Forgot password?
- Enter your username, email or phone number.
- Choose where to get the code (email or SMS).
- Enter the code and set a new password.
Lost access to your email or number
Try every email and number you might have used. If none work, use the X Help Center’s account access forms and explain the situation.
Account hacked
- Check your email for a message from X about changed details; use any “secure your account” link.
- Try resetting your password.
- If the hacker changed your email/phone, submit X’s compromised account support request.
- Warn followers on another platform if scam posts are going out in your name.
After you get back in
- Change your password.
- Turn on two-factor authentication (Settings › Security and account access › Security).
- Review Apps and sessions: revoke unknown apps and log out other sessions.
- Delete posts or DMs the hacker sent.
Related guides
- What to do when your account is hacked
- Recover a hacked Instagram account
- Turn on two-factor authentication
Checked on 10 November 2026. Menus and bank products change; confirm details with the provider.
Common questions
How do I reset my X password?
On the login screen tap Forgot password and enter your username, email or phone to get a reset code.
My X account was hacked and the email changed. What now?
Use X’s Help Center form for compromised accounts, and check your email for X’s notification about the change.
How long does X account recovery take?
Password resets are instant; support requests can take days.
How do I protect my X account?
Unique password, two-factor authentication (authenticator app), and remove unknown connected apps.