Skip to main content

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.

By ImNotAVirus Updated December 2, 2026
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.

  1. Start a post in the X app or on x.com and attach your photo or video.
  2. Open the editing controls for that attachment and select the flag.
  3. 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

Turn the next guess into a decision you can test.

Draft your next X post
PilotMyX

Your account. Your data.

Here’s what PilotMyX needs, and what it doesn’t.

Only what makes the product work

Your posts, replies and stats, plus your profile to identify your account.

Not for sale. Not for ads.

We don’t sell your personal data. Your connected X data is used to run PilotMyX, not for advertising.

Your connection is protected

Access tokens are encrypted. We never see your password or read your DMs. You can revoke access anytime in X.

X asks for publishing access so you can schedule posts. We only publish when you, or an agent you authorize, ask us to.

Any question? You can reach me directly here: