How to Recover a Hacked Twitter/X Account
Last updated: October 10, 2026 If your X account (formerly Twitter) starts posting things you never wrote, sends direct messages you did not send, or suddenly refuses your password, act quickly. A hijacked account can be used to spread scams under your name, and the longer it stays compromised, the more harm it can do to your followers and your reputation. This guide follows the steps in X's own Help Center, adds the settings that most recovery guides leave out (logging out other sessions, password reset protection, backup codes and passkeys), and explains exactly what to do if you are completely locked out. X changes its menus from time to time, so if a label differs slightly on your screen, look for the nearest match in Settings and privacy. Quick Guide: Which Situation Are You In? Your situation What to do first Section below You can still log in, but see posts, DMs or follows you didn't make Change your password, then log out all other sessions and remove unknown ap...