Quick answer
If you’ve forgotten your password, use Forgot password? on the sign-in page and enter your email, phone or username; X sends a code that’s valid for 60 minutes. If you see "Locked out!" after too many attempts, stop and wait — X says these locks clear on their own after about an hour, and you shouldn’t request more resets while you wait. If X says your account is locked or limited, follow the on-screen unlock steps (a code or reCAPTCHA). If you think you were hacked, use X’s compromised-account help and form.
Does this match what you see?
- X says your password is wrong, even though you’re sure it’s right.
- You requested a password reset, but no email or text has arrived.
- You see "Locked out!" or a message about too many login attempts.
- X says your account is locked or limited and asks you to complete a check.
- Your login verification (two-factor) code doesn’t arrive, or you no longer have your authenticator app.
- You see a message like "Could not log you in now. Please try again later."
- Your password no longer works and you see posts or messages you didn’t send.
iPhone & iPadAndroidComputer (browser)
X’s menus and wording change from time to time and may differ between the app and x.com. The official steps below come from X’s Help Center.
Why this happens: the possible causes
Each login problem has a different cause and a different fix. Match what you see first.
| What you see | What it usually means | Do this |
|---|---|---|
| "Wrong password" | Password changed, typo, or wrong account identifier | Reset your password |
| No reset email or text | Code went to spam, an old email, or text reset isn’t available for your account | Fix 2 |
| "Locked out!" / too many attempts | A temporary lock after repeated failed logins | Wait about an hour |
| Login verification code not arriving | Delivery problem, changed phone or lost authenticator app | Fix 7 |
| Account "locked" or "limited" | X suspects compromise or a rule violation | Unlock via code or reCAPTCHA |
| Posts or DMs you didn’t send | Your account may be compromised | Secure your account |
| Works in app, not in browser (or reverse) | Session, cookie or app glitch | Fix 6 |
- A forgotten or changed passwordCheck this first
The most common cause. X’s reset process uses your email, phone number or username to send a code.
- Reset messages going to spam or an old addressCheck this first
X advises checking spam and junk folders. If the email on your account is one you no longer use, the reset will go there.
- A temporary lockout after too many attemptsCheck this first
X temporarily locks login after repeated failed attempts. X says these locks clear on their own after about an hour.
- A locked or limited accountPossible
X says a locked or limited account may be compromised or in violation of the X Rules or Terms of Service. Limits last for a time that varies with the nature of the violation.
- A compromised (hacked) accountPossible
X lists signs such as unexpected posts, DMs you didn’t send, follows you didn’t make, or a password that no longer works.
- An app or browser glitchLess likely
An outdated app, damaged cookies or an extension can stop the sign-in screen working properly.
Try these 60-second checks first
- Check you’re typing the right email, phone or username — many people have more than one account.
- Check Caps Lock and that your keyboard language hasn’t changed.
- Look in your email’s spam and junk folders for messages from X.
- If you’ve had several failed attempts, stop for an hour before trying again.
How to fix it, step by step
Work through these in order. They start with the quickest, safest checks and only move to steps that sign you out or remove data later.
Fix 1: Reset your password with "Forgot password?"
This is X’s official route when your password doesn’t work. X sends a code that’s valid for 60 minutes. Note that resetting your password logs you out of all active sessions.
- Go to the X sign-in page in the app or at x.com and tap Forgot password? (or go directly to X’s password reset page (external site, opens in a new tab)).
- Enter the email address, phone number or username on your account.
- Choose where to receive the code and enter it within 60 minutes.
- Choose a new, strong password you don’t use anywhere else.
Resetting logs you out of all sessions, so other devices will need the new password too. If you’re still logged in on one device and just want to change it, X’s help says on iOS you can go to Settings and privacy > Your account > Change your password.
Did it work? You can log in with the new password and see your own timeline.
Fix 2: Reset code or email not arriving? Check these
Most "no code" problems are about where the code is going, not X failing to send it.
- Check your spam and junk folders, as X recommends.
- Make sure you’re checking the email that’s actually on your X account (it may be an old address).
- Text-message resets only work if a phone number is on the account. X says text reset isn’t available for accounts enrolled in login verification — those can use email only.
- Reset links and codes are time-sensitive. If yours has expired, request one new code — not several in a row.
If you no longer have access to the email or phone on the account, use X’s sign-in help form (external site, opens in a new tab) rather than trying repeatedly.
Did it work? A code arrives and you can complete the reset.
Fix 3: Seeing "Locked out!"? Wait about an hour — and don’t keep resetting
X temporarily locks login after too many attempts. According to X’s Help Center, these locks clear on their own after about an hour, and you should not request more password resets while you wait.
- Stop trying to log in.
- Don’t request more password resets during the wait.
- After about an hour, try once more, carefully, with the correct details.
- If you’ve forgotten the password, do a single reset (Fix 1) after the lock has cleared.
Did it work? After the wait you can attempt to sign in without the lockout message.
Fix 4: Account "locked" or "limited"? Complete X’s unlock steps
X may lock or limit an account it thinks is compromised or breaking its rules. X’s help explains you can unlock it by entering a code sent to your phone or email, or by completing a reCAPTCHA.
- Log in and read the message X shows you.
- Follow the prompts: verify with a code sent to your phone or email, or complete the reCAPTCHA.
- If X says you broke a rule, read which one. Some limits last for a set time that varies depending on the violation.
- If you believe the action was a mistake, use X’s appeal form (external site, opens in a new tab).
Don’t create a new account to get around a lock, limit or suspension.
Did it work? You can post, like and follow again, and no lock notice appears.
Fix 5: Think you were hacked? Secure your account with X’s steps
X lists signs of a compromised account: unexpected posts, DMs you didn’t send, follows or unfollows you didn’t make, a notice from X, or a password that no longer works. Acting quickly limits the damage.
- If you can still log in, change your password immediately from the Password section in settings.
- Secure your email account too — change its password, because whoever has your email can reset your X password.
- Revoke access for any third-party apps you don’t recognise, and update passwords for apps you trust.
- If you can’t log in, use X’s hacked or compromised account form (external site, opens in a new tab).
Tell friends not to trust recent DMs from your account until you’ve regained control.
Did it work? Only you can log in, unfamiliar posts are deleted, and no unknown apps have access.
Fix 6: Login page not working? Update the app or try a clean browser window
Sometimes the problem is the sign-in screen itself. An outdated app or damaged cookies can stop login working even with the right details.
iPhone & iPad
- Update X from the App Store (account icon > App Updates).
- Close the app fully and reopen it.
- If it still fails, try logging in at x.com in Safari.
Android
- Update X from Google Play (profile icon > Manage apps & device).
- Force stop the app in Settings > Apps and reopen it.
- Try logging in at x.com in Chrome.
Computer (browser)
- Open a private/incognito window and try logging in at x.com.
- If that works, clear cookies for x.com in your normal browser and turn off extensions one by one.
- Update your browser to the latest version.
- Keeps logging you out? Make sure your browser isn’t set to clear cookies on exit, and remember that X’s help says resetting your password logs you out of all active sessions — including ones on your other devices.
Did it work? You can log in in the app or browser that wasn’t working, and you stay logged in after closing it.
Fix 7: Login verification (two-factor) code not arriving, or authenticator lost?
If you turned on login verification, X asks for a second code after your password. When that code doesn’t arrive — or the phone with your authenticator app is lost — you need a different way to prove it’s you. Only X can approve that, so the steps below stick to safe checks and X’s own help route.
- Wait a few minutes before requesting another code, and only use the newest code — repeated requests can lead to a temporary lock (Fix 3).
- If you expect a text: check your phone has signal, isn’t blocking unknown or short-code senders, and that the number on your account is still yours. If you expect an email: check spam and junk.
- If you use an authenticator app, make sure your phone’s date and time are set automatically — authenticator codes depend on an accurate clock.
- If you saved backup codes when you set up login verification, look for an option to use one on the sign-in screen (wording varies).
- Still stuck, or your authenticator phone is gone and you have no backup code? Use X’s official sign-in help form (external site, opens in a new tab). Never share codes with anyone who offers to help.
X’s help notes that text-message password reset isn’t available for accounts enrolled in login verification, so keep the email on your account working.
Did it work? You get past the second-code screen and see your timeline.
Error messages and what they mean
These are the messages as people report seeing them. The exact wording on your screen can differ by app version, language and region, so match the meaning, not every word.
Locked out!- What it usually means
- Too many login attempts. X’s help says these locks clear on their own after about an hour.
- What to do
- Wait, and don’t request more resets while you wait (Fix 3).
Could not log you in now. Please try again later.- What it usually means
- Reported by users when X temporarily refuses a login, for example after repeated attempts or during a temporary problem. Not explained in X’s help pages that we were able to read.
- What to do
- Stop, wait, then try once. If it persists, use the sign-in help form (external site, opens in a new tab).
Your account is locked / limited- What it usually means
- X suspects your account is compromised or broke the X Rules or Terms of Service.
- What to do
- Complete the code or reCAPTCHA check (Fix 4); appeal if you think it’s wrong.
Your account is suspended- What it usually means
- A suspension is different from a lock or limit: X has restricted the account for breaking its rules, and an unlock code or reCAPTCHA won’t lift it.
- What to do
- Read the notice, then use X’s appeal form (external site, opens in a new tab) if you think it’s a mistake. Don’t create a new account to get around it.
Something went wrong. Try reloading.- What it usually means
- Wording reported by users rather than documented by X. It appears to be a general error, often linked to a connection or temporary app problem rather than a login decision.
- What to do
- Reload, check your connection, update the app, or try x.com in a browser (Fix 6).
Make your next login problem easier to fix
- Keep your email and phone number up to date on your X account. They’re how X sends reset codes.
- Use a unique password and a password manager, so a leak elsewhere can’t unlock your X account.
- Turn on login verification (two-factor authentication) in X’s security settings, and save any backup codes somewhere safe. Remember X says text-message reset isn’t available for accounts using login verification, so keep your email working.
- Review connected apps occasionally and remove ones you don’t use.
How to know it worked
- You can log in on your main device and see your own profile and timeline.
- No lock or limit notice appears, and you can post or reply.
- Your account email and phone number are ones you control.
- If you were hacked: password changed, email secured and unknown apps removed.
Still not working? Your next steps
- If you’ve lost access to your email or phone, use X’s sign-in help form (external site, opens in a new tab).
- If you think you were hacked and can’t log in, use X’s compromised account form (external site, opens in a new tab).
- If your account is suspended and you think it’s a mistake, use the appeal form (external site, opens in a new tab).
- Never pay anyone who claims they can get you back in. See recovery scams.
Official help routes
SocialAppFix can’t see or change your X account. These links go to X’s official Help Center, where the forms and current rules live.
- Help with logging inX Help Center (external site, opens in a new tab)
- Reset a lost or forgotten passwordX Help Center (external site, opens in a new tab)
- Help with a locked or limited accountX Help Center (external site, opens in a new tab)
- Help with a compromised accountX Help Center (external site, opens in a new tab)
Frequently asked questions
How long is a Twitter (X) password reset code valid?
X’s help says the code is valid for 60 minutes. If it expires, request one new code.
Why can’t I reset my X password by text message?
Text reset only works if a phone number is on the account, and X says it isn’t available for accounts enrolled in login verification. Use email instead.
How long does an X "Locked out" message last?
X says these locks clear on their own after about an hour. Don’t request more resets while you wait.
Will resetting my password log me out everywhere?
Yes. X’s help says resetting your password logs you out of all active sessions, so you’ll sign in again on each device.
How do I contact X if I can’t log in?
Use X’s official sign-in help form (external site, opens in a new tab). For a hacked account, use the compromised-account form. Never contact "X support" accounts that message you first.
Did this solve your problem?
Your answer stays in your browser — nothing is sent or stored. The “tell us” link opens your own email app.
Out of date or didn’t work? Email us — never include passwords or codes.
Sources and how we checked this guide
We base steps on the platforms’ own help pages and the phone makers’ official guides. Menu names change often and can differ by device, app version and region. Where a platform page could not be independently read, we link it so you can check the current wording yourself.
- Help with logging in (external site, opens in a new tab)
- How to reset a lost or forgotten password (external site, opens in a new tab)
- Help with locked or limited account (external site, opens in a new tab)
- Help with my compromised account (external site, opens in a new tab)
- How to manually update apps from the App Store (external site, opens in a new tab)
- How to update apps on Android (external site, opens in a new tab)
Last reviewed 20 October 2026 by the SocialAppFix editorial team against the sources above. Next scheduled review: 18 January 2027. How we write and review guides.
What changed
- 20 October 2026: First published.
- 20 October 2026: Editorial audit corrections applied.
SocialAppFix is an independent guide and is not affiliated with or endorsed by X Corp.. We never ask for passwords, login codes or payment to fix an account.