Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Stop Twitter Spam Messages: Step-by-Step Fix

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To stop your Twitter (X) account from sending spam messages, you need to secure your account, revoke access to any malicious third-party apps, and enable stricter privacy and notification settings. In most cases, spam is sent by a compromised account or a connected app, not by you manually. Follow the steps below to lock down your account and stop the spam.

What You'll Need

  • Access to the email address or phone number linked to your Twitter account.
  • Your Twitter password (or the ability to reset it).
  • A web browser or the Twitter app on your phone (steps work on both, but menu names may vary slightly).

Step-by-Step

  1. Change your password immediately. Go to Settings and privacy (click your profile icon, then “Settings and support” > “Settings and privacy”). Under “Your account” > “Account information,” enter your current password, then choose a new, strong password. Use a unique password you don’t use elsewhere. This kicks out any attacker who may have your old password.
  2. Enable two-factor authentication (2FA). Still in “Settings and privacy,” go to “Security and account access” > “Security” > “Two-factor authentication.” Choose an authenticator app (recommended) or a security key. Avoid SMS if possible, but SMS is better than nothing. This prevents unauthorized logins even if your password is compromised.
  3. Revoke access to suspicious third-party apps. Go to “Settings and privacy” > “Security and account access” > “Connected apps.” Review the list. Any app you don’t recognize or that you didn’t install should be revoked by clicking the app and selecting “Revoke app permissions.” This is the most common source of automated spam—malicious apps can post on your behalf.
  4. Check your account for unauthorized logins. Go to “Security and account access” > “Apps and sessions” > “Sessions.” You’ll see all active sessions. Click on any session you don’t recognize and choose “Log out of this session.” This forces the attacker off your account.
  5. Review your direct message (DM) settings. Go to “Settings and privacy” > “Privacy and safety” > “Direct Messages.” Turn off “Allow message requests from everyone” if it’s on. Also consider turning off “Filter low-quality messages” if spam is getting through—though that filter is usually on by default. This prevents strangers from sending you spam DMs, which may also trigger auto-replies if you have any bots set up.
  6. Disable any automated posting or scheduling tools. If you use a social media scheduler (like Buffer, Hootsuite, or a custom bot), check its settings. If you didn’t set it up to send spam, it may have been compromised. Revoke its access in “Connected apps” (Step 3) and change its password on the third-party site.
  7. Report the spam messages you’ve sent. If your account has already sent spam DMs or tweets, you can report them to Twitter. Open the spam message, click the three-dot menu, and choose “Report” > “It’s spam.” For tweets, use the same menu and select “Report” > “Spam.” This helps Twitter’s systems recognize the pattern and may prevent further spread.
  8. Log out of all other devices. In “Apps and sessions” > “Sessions,” click the “Log out all other sessions” button at the bottom. This ensures any device you’re not currently using is disconnected.

Common Mistakes

  • Only changing the password and not revoking apps. If a malicious app is still connected, it can continue posting spam even after you change your password.
  • Ignoring email notifications. Twitter sends emails when a new login occurs. If you ignored those, you missed the early warning. Always check your email for “New login to your Twitter account” alerts.
  • Using the same password on other sites. If you reused your Twitter password elsewhere, attackers may have gotten it from a data breach. Use a unique password for Twitter.
  • Not checking the “Sessions” list. You might think you’re safe after changing the password, but an active session on a compromised device can still send messages until you log it out.
  • Deleting the spam tweets instead of reporting them. Deleting hides the evidence but doesn’t tell Twitter’s spam system. Reporting helps protect others.

Tips

  • Enable login verification (2FA) even if you don’t think you’re a target. It’s the single most effective way to stop unauthorized access.
  • Use a password manager to generate and store a unique, long password for Twitter.
  • Regularly review your “Connected apps” list (every few months) and remove anything you no longer use.
  • If you use a custom bot or automation, keep its API keys secret and rotate them regularly. Never share your API keys publicly.
  • Be cautious about clicking links in DMs, even from friends—their accounts may be compromised.

Troubleshooting

If the steps above didn’t stop the spam, try these in order:

  1. Check for a second compromise. After changing your password, wait 24 hours and check your “Sessions” again. If a new session appears, you may have malware on your device. Run a security scan on your phone or computer.
  2. Clear your browser extensions. Some browser extensions can inject spam into your Twitter session. Disable all extensions, then log in to Twitter and see if the problem persists.
  3. Contact Twitter support directly. Go to Help Center (help.twitter.com) and submit a ticket under “Account security.” Explain that your account is sending spam and you’ve already changed your password and revoked apps. They may force a logout of all sessions or add extra verification.
  4. Consider a full account reset. As a last resort, you can deactivate your account, wait 30 days, then reactivate it. This clears all sessions and connected apps. Note: you’ll lose your followers and tweets if you don’t reactivate within 30 days, but reactivation restores them. Only do this if you’re certain nothing else works.

Frequently Asked Questions

Why is my Twitter account sending spam messages to my followers?

Most likely, your account was compromised (hacked) or you have a malicious third-party app connected that has permission to post on your behalf. The steps above—changing your password, revoking apps, and logging out all sessions—will stop it.

Can I delete the spam messages that were already sent?

Yes, you can delete individual DMs and tweets. Open the message, click the three-dot menu, and choose “Delete.” However, deleting doesn’t remove the messages from recipients’ inboxes; they’ll still see them. Reporting them helps Twitter’s system.

Will changing my password log out all devices?

No, changing your password does not automatically log out other active sessions. You must manually log out other sessions in “Apps and sessions” > “Sessions.”

What if I don’t see a “Connected apps” option?

On the Twitter app, the menu might be under “Settings and privacy” > “Security and account access” > “Connected apps.” If you still can’t find it, use the web version (twitter.com) on a browser—it’s always there.

Is it safe to use third-party apps like schedulers after this?

Yes, but only use reputable ones and review their permissions. Always revoke access to apps you no longer use. If a scheduler was compromised, it could send spam—so change its password too.

How do I know if my account is still compromised after following these steps?

Check “Sessions” for any new logins you don’t recognize. Also, monitor your “Direct Messages” outbox for any sent messages you didn’t write. If you see suspicious activity, repeat the steps and contact Twitter support.