Writing for X

How to Add a GIF to a Tweet on X (App, Web, Your Own GIF)

Kalen · · 6 min read

Short answer: To add a GIF to a tweet, open the composer and tap the GIF icon under the text box, search for one or pick a category, tap it, write your post and tap Post. To use your own GIF, tap the photo icon instead and choose the file. As of November 2026, X allows one GIF per post, up to 5 MB from the mobile apps and 15 MB on the web, and the GIF doesn’t use any of your 280 characters.

How do you add a GIF to a tweet on iPhone or Android?

  1. Tap the Post (compose) button.
  2. Tap the GIF icon below the text box. X’s GIF library opens.
  3. Search by keyword (“thank you”, “it works”, “monday”) or scroll the categories it shows.
  4. Tap the GIF you want. It attaches to the post at full size.
  5. Write your text and tap Post.

If the GIF button is missing or the search won’t load, X’s help center says GIF search can be unavailable from time to time depending on your connection. You can still upload a GIF saved on your phone with the photo icon.

Live Photos on iPhone: pick a Live Photo with the photo icon, then tap the GIF badge in its lower-left corner to post it as a GIF.

Keyboard apps on iPhone: GIFs copied from a third-party keyboard can be pasted straight into the compose box.

How do you add a GIF to a tweet on a computer?

On x.com:

  1. Click into the compose box at the top of your Home timeline, or the Post button.
  2. Click the GIF icon under the text.
  3. Search or browse, then click a GIF to attach it.
  4. Write the post and click Post.

To upload a GIF file from your computer, click the photo (gallery) icon and pick the .gif file. The web takes larger files than the apps (15 MB against 5 MB).

What are the GIF limits on X?

From X’s help center and developer docs, as of November 2026:

Spec Limit
GIFs per post 1
File size 5 MB on mobile, 15 MB on the web
Mixing with photos On the web, not with several images; the mobile apps allow up to 4 items in all (for example 2 photos, 1 GIF, 1 video)
Characters used None
Tagging people Not on GIFs (only on photos)
Recommended max resolution (API) 1280 x 1080
Recommended max frames (API) 350

The two help pages differ on mixing a GIF with photos: the web composer note says no, the mobile instructions say yes. Your composer will tell you.

Why does my GIF show as a still image on X?

X supports looping GIFs. Per its help center, a GIF that doesn’t loop and plays only once displays as a static image. Re-export it with looping set to “forever” in your editor (many GIF tools call it “loop count: 0” or “infinite”).

Other common reasons a GIF won’t upload or play:

  • Over the size limit. Cut frames, reduce colors, or shrink the dimensions.
  • Too many frames or pixels. X’s developer docs recommend no more than 350 frames and 300 million pixels in total (width x height x frames).
  • It’s really a video. Some “GIFs” saved from other sites are really MP4 files. Upload it as a video instead; videos of 60 seconds or less loop on X anyway.

When does a GIF help a post?

A GIF from the library is a reaction: it adds tone, not information. Kalen’s study of 1,366 posts found that 61% of the posts reaching three times their account’s usual views carried media, against 33% of those that fell flat, and the method behind it describes the useful kind as “a real screenshot, chart or clip, not decoration.” A library GIF is usually decoration.

Where GIFs fit:

  • Replies. A fitting reaction can be the whole reply. In Kalen’s reply study, jokes about the post’s own material took the most top spots.
  • Your own screen recordings. A 5-second loop of your app doing one thing shows it working, and it loops on its own.
  • Light posts where the GIF is the punchline, as long as the text makes sense without it.

Where they don’t: a serious claim, a number, a story. A reaction GIF under a revenue update reads as filler, and readers decide in the first line (Twitter hooks examples).

X’s ranking weighs what people do with the post: replies (5), shares by DM (5) or copied link (20), against 0.66 for a like. A GIF helps when it makes someone answer or send the post on (X algorithm).

Can you schedule a tweet with a GIF?

Yes. X’s own composer on x.com has a calendar icon for scheduling (how to schedule tweets).

With Kalen, you upload your own GIF file and schedule it with the post:

  1. Ask your AI to upload media with Kalen; upload_media opens a panel (or gives a curl line in a terminal).
  2. Drop the GIF, up to 15 MB.
  3. Your AI writes the post, Kalen scores it, and schedule_posts takes the GIF’s m_ id with the time.

Kalen sends GIFs to X in 4 MB chunks at publish time and waits for X to process them. It can’t search X’s GIF library: you bring the file. The media and video guide has the details.

How Kalen helps

Kalen is an X assistant inside Claude, ChatGPT, Claude Code, Codex and Cursor. It researches what your niche reacts to each day, hands your AI the method and your best posts, scores every draft, and schedules posts with your images, GIFs and videos through X’s official API after you approve. A post costs 1 credit, 2 with a first reply or a link. Kalen is one plan at $29/month with 600 credits a month, and it starts with a 7-day trial for $1 that includes the full credits. See how Kalen works or read the docs.

FAQ

Why can’t I add a GIF to my tweet?

The GIF search may be down for your connection, or you already attached several photos. Try uploading a saved GIF with the photo icon, or remove the other images.

How big can a GIF be on Twitter?

5 MB from the mobile apps and 15 MB on the web, as of November 2026.

Can I add more than one GIF to a tweet?

No. X allows one GIF per post.

Does a GIF count toward the character limit?

No. Photos, GIFs and videos don’t use characters. See Twitter character limit.

Can I add a GIF to a reply or a DM?

Yes. The GIF icon is in the reply box too, and X lets you send GIFs in Direct Messages.

Your X assistant, inside Claude.

Get started

More in Writing for X

Kalen $29/mo · 7 days for $1 See the plan

Contact support

We reply by email, usually within one business day.