You can prevent strangers from adding you to group chats by changing one privacy setting
Twitter (now called X) lets anyone add you to a group direct message by default. You can turn this off in your privacy settings so that only people you follow can add you to group chats. The setting takes effect when ready, and people who try to add you after that will get a message saying you don't allow it.
This is one of the easiest privacy controls on the platform to adjust, and it stops a common source of spam, harassment, and unwanted contact. If you have already been added to group chats you want to leave, you can remove yourself from those separately.
Key Takeaways
- Go to Settings and Privacy, then Privacy and Safety, then find "Allow direct messages from anyone" and turn it off — this blocks group chat invites from people you don't follow.
- The setting only affects new group chats; you will still be in any group chats you joined before you changed it.
- Even with this setting on, people you follow can still add you to group chats — there is no way to block group chats entirely.
- You can leave a group chat at any time by opening it, tapping the three dots, and selecting "Leave conversation".
- Blocking or muting someone prevents them from adding you to group chats, but blocking is more visible to the other person.
How to change your group chat privacy setting on desktop
Open Twitter and click the three dots (more) menu in the left sidebar. Select "Settings and Privacy". Click "Privacy and Safety". Scroll down to the "Direct Messages" section. You will see a toggle for "Allow direct messages from anyone". Turn it off.
After you turn it off, only people you follow will be able to add you to group chats. People who are not following you will see an error message if they try. The change takes effect right away — you do not need to log out or refresh the page.
How to change your group chat privacy setting on mobile
Open the Twitter app and tap your profile picture in the top left corner. Tap "Settings and Privacy". Tap "Privacy and Safety". Scroll to "Direct Messages". Tap the toggle next to "Allow direct messages from anyone" to turn it off.
The setting works the same way on mobile as it does on desktop. Once you turn it off, the change is when ready, and you can close the settings and go back to your feed.
How to leave a group chat you are already in
Changing your privacy setting does not remove you from group chats you have already joined. To leave one, open the group chat conversation. On desktop, click the three dots in the top right corner of the chat window and select "Leave conversation". On mobile, tap the three dots at the top of the chat and tap "Leave conversation".
When you leave a group chat, the other people in it will see that you have left. You will no longer receive messages from that chat, and you will not appear in the member list. If someone adds you to a new group chat later, you will get a notification.
The difference between blocking, muting, and privacy settings
Turning off "Allow direct messages from anyone" stops group chat invites from people you do not follow, but people you do follow can still add you. If you want to prevent a specific person from adding you to group chats, you have two options: block them or mute them.
Blocking someone prevents them from seeing your profile, following you, or adding you to group chats. They will know they are blocked if they try to visit your profile. To block someone, go to their profile, tap the three dots, and select "Block". Muting someone hides their posts from your feed and prevents them from adding you to group chats, but they will not know you muted them. To mute someone, go to their profile, tap the three dots, and select "Mute".
If the person is someone you might want to interact with in the future, muting is less confrontational. If they are harassing you or you want to be completely separate from them, blocking is stronger. Neither action prevents them from seeing your public posts or replies — only blocking does that.
What happens when someone tries to add you after you change the setting
When you turn off "Allow direct messages from anyone", people who are not following you will see an error message if they try to add you to a group chat. The message tells them that you do not allow direct messages from people you do not follow. They will not be able to create the group chat with you in it.
People you do follow will not see this error — they can still add you to group chats. If you do not want them to, you will need to block or mute them individually, or leave the group chat after they add you.
Why you might want to turn this setting off
Group chats from strangers are a common way spam accounts, scammers, and harassers make contact. Once you are in a group chat, they can send you messages, links, and images without you having invited them. Turning off the setting stops this before it starts.
Some people also turn it off straightforward because they do not want to be added to conversations with people they do not know. Even if the person has good intentions, being added to a group chat without asking can feel intrusive. The setting gives you control over who can pull you into conversations.
Frequently Asked Questions
If I turn off group chat invites, can I still send direct messages to people?
Yes. The setting only controls who can add you to group chats and who can send you direct messages. It does not affect your ability to start conversations with other people. You can still message anyone, and they will receive it.
Can I turn the setting back on later?
Yes. Go back to Settings and Privacy, then Privacy and Safety, then Direct Messages, and toggle "Allow direct messages from anyone" back on. You can change it as many times as you want.
Will people I already follow be able to add me to group chats even if I turn the setting off?
Yes. The setting only blocks people you do not follow. People you follow can still add you to group chats. If you want to prevent a specific person you follow from adding you, you need to block or mute them.
What if someone keeps trying to add me to group chats after I block them?
If they are using a different account, they can still try. You can block multiple accounts, or you can report them to Twitter if they are harassing you. Go to the profile, tap the three dots, and select "Report account".
Does turning off group chat invites affect my ability to be added to group chats by Twitter itself?
No. Twitter's own notifications and system messages are not affected by this setting. You may still receive group notifications or alerts from Twitter as a platform.