Passwords & identity

X Account Hacked? How to Recover It and Lock the Hacker Out

Speed matters when your X account is hacked. Here is the recovery order X itself recommends, what to do when the hacker changed your email, and how to stop it happening again.

Cysoro Security TeamPublished · 8 min read
Passwords & identity X Account Hacked? Recover it fast — and lock the hacker out. Your profile Posts you never wrote Followers you never added Email changed by someone else Reset password Then turn on 2FA ACT NOW
Quick answer

If your X account was hacked, change your password right away if you can still sign in, or use Forgot password if you are locked out. Then secure the email address on the account, revoke third-party apps you do not recognize, and turn on two-factor authentication. If you still cannot get in, submit X's hacked or compromised account support form with your username and the date you last had access.

Key takeaways

  • Secure your email first, because X recovery codes go to the inbox on the account.
  • Changing your password logs the hacker out of other sessions, but revoke unknown apps separately.
  • Never pay a third-party recovery service or share a verification code with anyone.

You open X and see posts you never wrote, follows you never made, or a message that your email was changed. Your account has been taken over — and every minute the hacker stays in, they can message your followers, post scams in your name, and lock you out for good.

How do I know my X account was hacked?

Check for posts, replies, follows, blocks, or direct messages you did not send, a changed display name, profile photo, or bio, and email notices about account changes or logins from places you do not recognize. Any one of these is reason to act now.

X lists similar signals on its compromised-account page: unexpected updates to your account, messages you did not send, and logins you do not recognize. One caution before you panic: X notes that unexpected behavior can also come from a buggy third-party app. Changing your password or revoking that app's access stops it either way, so the first steps are the same.

Also check your email inbox for notices from X about a changed email address, a new login, or a password reset you did not request. If the hacker changed your email, X sends a notice to your previous address — that message is often your most important piece of evidence.

What should I do first if my X account was hacked?

Work in this order: secure your email, then your X password, then your sessions and apps. The order matters, because X sends recovery codes to the email on the account — if the hacker controls that inbox, they control the recovery.

Recover in this order1Secure emailchange its password,turn on 2FA2Reset passwordunique, neverused before3Revoke appsremove anythingunfamiliar4Turn on 2FAauthenticator appor security key5Contact supportonly if the resetflow failsDo the steps from a device and network you have signed in from before.
The recovery order X recommends — email first, then password, then apps. Illustration by Cysoro.

Step 1: Secure your email first

Change your email password immediately and turn on two-factor authentication on that inbox. Check for unfamiliar forwarding rules, filters, or recovery addresses the hacker may have added. If you have lost control of the email account itself, recover it with your email provider first — X recovery cannot work without it.

Step 2: Change or reset your X password

If you can still sign in, change your password from the Password tab in settings, using a strong password you have not used anywhere before. Changing or resetting your password logs you out of every active X session except the one you are using, which kicks the hacker off any device they were signed in on.

If you are locked out, use "Forgot password?" on the sign-in page at x.com, mobile.x.com, or the X app. Enter your email address, phone number, or username, and X will send a reset code by email or text. The code is valid for 60 minutes, so use it promptly.

Start the recovery on a device, browser, and network you have signed in from before, because familiar details help X trust that the request is really you. Never create a brand-new account to report the hacked one.

What if I am locked out of my X account?

If the password reset does not work, use X's hacked or compromised account support form in the Help Center. Submit it from an email address you can check right now, and include your username, the email address you originally used, and the date you last had access.

X will reply by email, so check your spam folder as well as your inbox. Submit the form once and wait for a reply — repeated submissions can slow things down. If the hacker changed your email and phone, say so clearly in the form, and include the email-change notice X sent to your old inbox if you still have it.

Be ready for the hard line: X says that without access to the email or phone on the account, recovery options are limited, and you may need to create a new account. That is why keeping a recovery email and phone number up to date matters so much before anything goes wrong.

How do I clean up after getting my X account back?

Getting back in is only half the job. The hacker may have left apps, sessions, and changes behind that let them walk straight back in, so clean up before you post again.

  1. Revoke third-party apps you do not recognize. Go to Apps in your settings and remove access for anything unfamiliar. X warns that changing your password does not automatically sign every mobile app out, so revoke app access separately.
  2. Log out of sessions you do not recognize. Review your active sessions and end any you do not recognize, on any device or location you do not know.
  3. Delete what the hacker posted. Remove posts, replies, and direct messages the hacker sent, and change your display name, handle, and profile photo back if they were changed.
  4. Update trusted apps. If a trusted external app uses your X password, change the password there too, or X may temporarily lock you out for failed logins.
  5. Warn your followers. Post a short note so your followers know to ignore anything sent while you were locked out, especially links and requests for money.
  6. Check linked accounts. If you reused the stolen password anywhere else, change it there too. You can check whether it already appears in known breaches with our pwned password checker.

How do X accounts get hacked?

Most X takeovers start with a stolen password, not a break-in at X. Knowing the route helps you close it for good.

How it happensWhat it looks likeHow to stop it
Phishing login pageA fake copyright notice or login alert links to a counterfeit X loginOnly sign in at x.com; never follow a login link in email
Reused passwordA password leaked in another breach works on X tooUnique password per account, stored in a password manager
Malicious third-party appAn app you authorized posts or changes settingsRevoke apps you do not use; check permissions
Compromised emailThe hacker resets your X password from your inboxTwo-factor authentication on your email first
MalwareStolen session cookies or saved passwordsKeep devices updated; run a malware scan

Fake copyright notices are a common lure: a message threatens account suspension within 24 hours and links to a fake login page. Fake login alerts work the same way, using a "Was this you?" email to push you into handing over your password. X also lists malicious third-party services among the causes of compromise.

CISA's phishing guidance makes the same point for every account, not just X: verify a request through a channel you trust, not through the link in the message. If you want the wider pattern, our guide to spear phishing shows how targeted versions of these attacks work.

How do I secure my X account so it does not happen again?

Once you are back in, lock the account down in settings under Security and account access, then Security. These settings are the difference between a one-time scare and a repeat takeover.

Lock it down: the post-recovery checklist✓ Long, unique password — generated and stored in a password manager✓ Two-factor authentication — authenticator app or security key, not SMS alone✓ Recovery email and phone number — current, and only you can access them✓ Connected apps reviewed — revoke anything you do not use or recognize✓ Sessions reviewed — log out of devices and locations you do not know
Run this checklist once you are back in. Illustration by Cysoro.

Turn on two-factor authentication. X supports an authenticator app and a security key. An authenticator app or security key is stronger than SMS codes, which can be intercepted. Keep your backup codes somewhere safe — not in the same place as your password.

Use a password manager. Generate a long, random password that you have never used anywhere else, and store it in a password manager. If you need one, our free password generator builds one in a click.

Check the result with our password strength checker to see how strong it is before you save it.

Keep recovery details current. Make sure the email and phone number on the account are ones you still control. If either changes, update X the same day — recovery depends on them.

What scams target hacked X accounts?

Once a hacker controls your account, they usually use it to scam your followers. The most common posts are fake crypto giveaways, fake investment offers, and urgent requests for money or gift cards, all sent from your trusted name.

Your followers are more likely to trust a message from you than from a stranger, which is exactly why hacked accounts are valuable. If you see your account posting about a giveaway, a token sale, or a sudden emergency, assume it is the hacker and start the recovery steps above.

Recovery scammers are the second wave. After you post publicly that your account was hacked, strangers will reply offering to recover it for a fee. They are scams. Only X's own Help Center can restore access, and genuine support will never ask for your password or a verification code. For help spotting these lures, see our online scam checker guide.

Never share a codeX will never ask for your password or verification code by email, direct message, or reply. Anyone who asks for one is trying to steal your account, even if they claim to be support.

How do I report a hacked X account?

Report the takeover to X through the compromised-account form, even if you recover the account yourself. Reporting helps X spot the attack pattern and protect other accounts.

  • Inside X: use the Help Center's hacked or compromised account form, with your username and the date you last had access.
  • If money was lost: report the fraud to the FTC at ReportFraud.ftc.gov, and to the FBI's IC3 if the loss is large.
  • If your email was also hacked: report that to your email provider as well, and check whether any other account used the same password.
  • Warn the people the hacker contacted: tell anyone who received messages from your account during the takeover, so they do not fall for the same scam.

The bottom line

A hacked X account is recoverable in most cases, but only if you move in the right order: secure your email, reset your password, revoke unknown apps, and turn on two-factor authentication.

If the reset flow fails, use X's compromised-account form and wait for the email reply. Then lock the account down with a unique password and two-factor authentication — you can build the new password in seconds with the free password generator.

Frequently asked questions

How do I know if my X account was hacked?

Look for posts, replies, follows, or direct messages you did not send, a changed display name, photo, or bio, and email notices about changed account details or logins from unfamiliar places. X also notes that odd behavior can come from a buggy third-party app, so check connected apps too.

Can I recover my X account if the hacker changed my email?

Yes, sometimes. X sends a notice to your previous email address when the account email changes, so check that inbox first. If you lost access to the email itself, recover the email account with your email provider first, then use X's compromised-account form with your original email and username.

How long does X account recovery take?

X does not publish a fixed timeline. A password reset is instant when you still control the email or phone on the account. A support request through the compromised-account form can take days, so use the reset flow first whenever it is available.

What is X's hacked account form?

It is the support form in X's Help Center for hacked or compromised accounts. You submit it from an email address you can check, with your username, the date you last had access, and a short description of what happened. X replies by email, so check your spam folder too.

Will changing my password log the hacker out?

Changing or resetting your password logs you out of every active X session except the one you are using. That kicks the hacker off other devices. It does not automatically revoke third-party apps, so revoke any app you do not recognize separately.

Should I pay someone to recover my X account?

No. Account recovery services that charge a fee on X or Telegram are scams. Only use X's own Help Center, and never share your password, verification code, or two-factor code with anyone. Genuine X support will not ask for your password.

How do I stop my X account being hacked again?

Use a long, unique password from a password manager, turn on two-factor authentication with an authenticator app or security key, keep your recovery email and phone number up to date, and revoke third-party apps you no longer use. Check your sessions regularly.

What if X says my account is locked, not hacked?

A temporary lock usually clears after about an hour. Stop requesting resets, wait, then try again from a device and network you have signed in from before. If the lock persists, use the compromised-account form and describe what happened.

Sources

  1. X Help Center — Help with a compromised account
  2. X Help Center — How to reset your password
  3. X Help Center — Two-factor authentication
  4. CISA — Avoiding Social Engineering and Phishing Attacks
  5. FTC Consumer Advice — How to recover from identity theft
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against X Help Center guidance on compromised accounts, password resets, and two-factor authentication.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free