Back to blog

How to Post a GIF on Instagram: Feed, Stories and DMs

Instagram has no GIF format for posts. Convert your GIF to MP4 for the feed and Reels, or use the built-in GIF search in Stories, comments and DMs.

Nov 8, 2026LeafReel

Instagram has no GIF format for feed posts or Reels: to post your own animation there, convert the GIF to an MP4 video and make it at least 3 seconds long. Stories, comments and direct messages are different, because each one has a built-in GIF search. So the right method depends on where you want the GIF to appear. Instagram changes its menus often, so labels can differ slightly in your version of the app.

Looping GIF of a decorated party room with swinging paper garlands

Where can you use a GIF on Instagram?

  • Feed posts and Reels: not as a .gif file. Convert it to MP4, then post it as a video.
  • Stories: yes, from search, with the GIF option in the sticker tray.
  • Comments: yes, from search, with the GIF button next to the comment field.
  • Direct messages: yes, from search, with the GIF option in the message bar.

What is the best GIF format for Instagram?

The best format for an animated post is an MP4 video using H.264. A GIF has no sound and a limit of 256 colors per frame, and Instagram's post uploader is built around photos and videos.

These dimensions fill the screen well:

  • Portrait feed post (4:5): 1080 × 1350 pixels.
  • Square feed post (1:1): 1080 × 1080 pixels.
  • Stories and Reels (9:16): 1080 × 1920 pixels.

Videos are generally published as Reels, so a clip in 9:16 fits best if you want reach beyond your followers.

How to add an animated GIF to an Instagram post

  1. Make the GIF long enough. A short GIF needs to repeat until it passes 3 seconds, which most converters and video editors can do with a loop or repeat setting.
  2. Convert it to MP4. Use any GIF to MP4 converter you trust, or the free command line tool FFmpeg:
ffmpeg -stream_loop 3 -i input.gif -movflags +faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" output.mp4
  1. Move the MP4 to your phone and save it to your camera roll.
  2. Post it by tapping + in Instagram and choosing the video. It will loop while people watch it.

If the animation started as a video on your phone, skip the GIF entirely and upload the original video. It will look better than anything that has been through GIF's color limit.

How to add a GIF to an Instagram Story

  1. Start a Story and add a photo or video.
  2. Tap the sticker icon at the top.
  3. Choose GIF and search for a word.
  4. Tap one to place it, then pinch to resize and drag it into position.

You can stack several GIFs on the same Story.

How to use a GIF in comments and DMs

In comments: tap the comment field, then the GIF button. Search and tap to post.

In a direct message: open the conversation, tap the GIF or sticker icon in the message bar, then search and send.

If you do not see the GIF button, update the app. It can also be unavailable on some accounts or posts.

How do you make GIFs for Instagram?

There are three approaches, depending on where the GIF will go.

For a looping clip in Stories or Reels, use Boomerang in the Instagram camera. It records a short burst and plays it back and forth. The result is a video on Instagram, not a GIF file.

For a GIF other people can find in Instagram search, you need to publish it on GIPHY, which supplies the search in Stories. First make the GIF: the free video to GIF converter turns a clip of up to 15 seconds into a GIF in your browser, and the GIF resizer changes its width while keeping its shape. Then upload it to GIPHY and tag it with words people will search for.

GIFs generally show up in Instagram's search only when they come from a verified GIPHY brand or artist channel, and that needs an application. An ordinary account can still upload to GIPHY and share the link, but should not expect the GIF to appear in Instagram.

For a personal message, a GIF sent in a DM from GIF search is limited to what is in the library. For something made for one person, send it as a video. A happy birthday GIF with their name converted to MP4 can go in a DM or a Story like any other video.

Why did Instagram not accept my GIF?

  • It was uploaded as a .gif file. Convert it to MP4 first.
  • The video is too short. Repeat it until it runs for at least 3 seconds.
  • The MP4 has an unusual pixel format. Exporting as H.264 with yuv420p, as in the command above, solves most playback errors.
  • It looks soft. GIFs are usually small. Start from the largest version you have, or use the original video.

Questions

Can you post a GIF on Instagram? Not as a .gif file in a feed post or Reel. Convert it to MP4, or use the built-in GIF search in Stories, comments and DMs.

Does Instagram support GIFs from my camera roll? Not as animated GIF files in most places. A GIF chosen from your camera roll may not appear, or may show as a still picture.

How long does a GIF need to be for Instagram? Make the MP4 at least 3 seconds long for a feed post or Reel.

Do Instagram GIFs have sound? GIFs have no audio. After converting to MP4 you can add music in Instagram like with any other video.

Can I make my own GIF sticker on Instagram? Only through a verified GIPHY channel, if you want it in the public search. Otherwise, add your animation to a Story as a video.