X media settings
How to add a content warning on Twitter
One photo or clip needs a warning. Use the flag on the attachment before you post, without changing how X marks media across your account.
On this page
Use the flag in the photo or video editor
If one attachment needs a heads-up, you don't have to mark your whole account. Attach the photo or video to a new post, open its editor, and use the flag icon before you publish. The control is on the attachment, not in the text box.
- Start a post in the X app or on x.com and attach your photo or video.
- Open the editing controls for that attachment and select the flag.
- Pick the warning that describes the media. X lists Nudity, Violence, and Sensitive. Apply the choice, return to the composer, and check it before you publish.
X's media settings guide documents the flag on iPhone, Android, and web. If you haven't added the file yet, there's no attachment to edit. If the file itself won't attach, check the upload route first.
Use the account setting only when the warning isn't a one-off
Leave the account setting alone if you're only flagging one photo or video. If you regularly post sensitive media, X asks you to change the default. Open Settings and privacy, go to Privacy and safety → Your posts, and turn on the option for marking media you post as potentially sensitive.
That broader setting can also cause visitors to see a warning on your profile. It's separate from what you choose to see when you browse X. Turning off autoplay changes when videos start in your feed; it doesn't mark anything you upload.
Check the warning before the post leaves your drafts
If you swap the file after adding the warning, check the flag again on the final attachment. A heads-up in the text can explain what viewers will see, but typing it doesn't set the media flag.
You can prepare the caption in a PilotMyX draft. For a post that needs X's native media warning, move the text and file into X, set the flag there, and publish from that composer. Don't also leave a copy scheduled in PilotMyX.
Frequently asked questions
Can I add the media warning to a text-only post?
The flag is for a photo or video you've attached. On a text-only post, you can write a heads-up at the start, but that won't create X's media warning screen.
Did the author add every warning I see?
No. The author can flag media, and X can add its own notices. Changing your default for future uploads won't clear a warning X already put on a specific attachment.
Use your own account