X (Twitter) video specs

X recommends H.264 High Profile with AAC audio at 30 or 60 fps, 720x1280 for portrait, and ratios between 1:3 and 3:1. Posts take videos up to 20 minutes and 8 GB by default, 125 minutes and 16 GB with Premium (per X's API docs); post text is 280 characters.

Every number links to X (Twitter)'s own page · Checked October 2026

Get started

Video file

SpecValue
Recommended sizes720x1280 portrait, 1280x720 landscape, 720x720 square[2]
Aspect ratioBetween 1:3 and 3:1[2]16:9 (either way) and 1:1 recommended
Video codecH.264 High Profile, YUV 4:2:0[2]
Audio codecAAC LC, 128 kbps minimum suggested[2]
Frame rate30 or 60 fps recommended; 60 fps max[2]
Video bitrate5,000 kbps minimum suggested[2]a recommendation, not a hard limit
Max file size8 GB default, 16 GB with Premium[1]per X's API docs

Length

SpecValue
Max length20 minutes default, 125 minutes with Premium[1]per X's API docs; X's help pages, which may list app limits, didn't load for us
Minimum length0.5 seconds[1]

Text and captions

SpecValue
Post text280 characters[3]every link counts as 23 characters

Ads

SpecValue
Promoted video lengthUp to 10 minutes[4]
Promoted video fileMP4 or MOV, 500 MB or less[4]
Video card ratios16:9 and 1:1 (website and app cards)[4]

Safe zone

SpecValue
Safe zoneNot published

What X (Twitter) doesn't publish

Creators ask about these, but there's no official number. We leave them out rather than guess.

  • Safe-zone margins for text
  • In-app upload limits from X's Help Center (help.x.com blocked our fetch, so only the developer-docs limits are listed)
  • A vertical 9:16 ratio for ad video cards (the Ads API lists 16:9 and 1:1)

Exporting for X (Twitter)

Export 720x1280 or larger

X recommends 720x1280 for portrait. Use H.264 High Profile with AAC LC audio.

Pick 30 or 60 fps

Those are X's recommended frame rates, and 60 fps is the ceiling.

Don't starve the bitrate

X suggests at least 5,000 kbps for video and 128 kbps for audio.

Make a square cut for ads

Website and app video cards take 16:9 and 1:1, so keep key text inside the centre square of a vertical edit.

Mimic exports vertical 9:16 video with captions and titles kept inside the apps' safe zones and off the speaker's face.

Sources

  1. [1] X Developer Platform, Media upload endpoints on the X API v2. Checked October 2026.
  2. [2] X Developer Platform, Media best practices. Checked October 2026.
  3. [3] X Developer Platform, Counting characters. Checked October 2026.
  4. [4] X Developer Platform, Creatives (X Ads API). Checked October 2026.

Platforms change limits without notice. Check the linked page before a big campaign.

Questions

How long can a video on X be?

X's API docs list 20 minutes for regular accounts and 125 minutes for Premium or verified accounts, with a 0.5-second minimum.

What resolution should X videos be?

X recommends 720x1280 for portrait, 1280x720 for landscape and 720x720 for square.

What is the maximum video file size on X?

8 GB by default and 16 GB for Premium, per X's API docs. Promoted videos are capped at 500 MB.

How many characters can an X post have?

280, with every link counted as 23 characters.

Made for X (Twitter), edited by Mimic.

Raw clip in. Captions, cuts, hook and product shots out.

Get started