Writing for X

Twitter Video Size, Length and Format: Specs for 2026

Kalen · · 6 min read

Short answer: As of November 2026, a free X account can post videos up to 140 seconds and 512 MB. X Premium and the X Subscription plans allow videos under 4 hours (1080p up to 2 hours, 720p from 2 to 4 hours) and up to 16 GB. On the web, X accepts resolutions up to 1920 x 1200, aspect ratios from 1:2.39 to 2.39:1, up to 40 fps and 25 Mbps. The safest format is an MP4 with H.264 video and AAC audio.

Every number below comes from X’s help center and X’s developer documentation, read in November 2026. X changes these over time, and its own pages don’t always agree, so the notes say where they differ.

What is the maximum Twitter video length?

It depends on your account.

Account Max length Max file size Source
Free account 140 seconds (2:20) 512 MB help.x.com, “How to share and watch videos on X”
X Premium and X Subscription plans (Plus, Premium, Super, Ultra) Under 4 hours 16 GB same page
Same, over 2 hours 2 to 4 hours, at 720p 16 GB same page

X’s Premium overview page gives an older figure: “up to ~3 hours” and 8 GB at 1080p. Your composer is the final word: if it accepts the file, you’re fine. What else Premium changes is in X Premium explained.

Two other lengths worth knowing:

  • Loops: videos of 60 seconds or less loop automatically.
  • Video Reply: the app’s hands-free option records up to 60 seconds.

What resolution and aspect ratio should a Twitter video be?

X’s help center lists these limits for uploads on the web:

Spec Limit
Minimum resolution 32 x 32
Maximum resolution 1920 x 1200 (and 1200 x 1900 upright)
Aspect ratio 1:2.39 to 2.39:1, inclusive
Maximum frame rate 40 fps
Maximum bitrate 25 Mbps

In practice:

  • Landscape 16:9 (1920 x 1080 or 1280 x 720) fills the width of the timeline on desktop.
  • Square 1:1 (1080 x 1080 or 720 x 720) takes more of a phone screen than landscape and suits clips with text on screen.
  • Vertical 9:16 (1080 x 1920) is inside the allowed ratio range, but taller than the 1200 x 1900 the web lists, so export upright videos at 1080 x 1920 only if your composer accepts them, or 720 x 1280 to stay safe.

X’s developer docs recommend 1280 x 720 landscape, 720 x 1280 portrait or 720 x 720 square at 30 or 60 fps for files sent through the API.

What video format does Twitter accept?

X’s help page only says the composer warns you when a format isn’t supported. The developer documentation is more precise, and its recommendations are a good export preset for any upload:

Setting Recommended
Container MP4
Video codec H.264, High Profile
Audio codec AAC LC (not HE-AAC), mono or stereo
Frame rate 30 or 60 fps
Pixel format YUV 4:2:0, square pixels (1:1)
Scan Progressive, no open GOP
Minimum length 0.5 seconds

If an upload fails with a vague error, re-export with exactly these settings. The docs rule out 5.1 surround audio, pixel formats other than 4:2:0 and frame rates over 60, so check those first.

How big can a Twitter video file be?

512 MB on a free account and 16 GB with Premium, per the help center. The math: a 140-second clip at 10 Mbps is about 175 MB, so on a free account you hit the length limit long before the size limit.

Through X’s API the numbers are different: the developer docs list 20 minutes and 8 GB for a default account, and 125 minutes and 16 GB for Premium. That matters only if you post from a tool. Tools also set their own caps: Kalen takes MP4 files up to 50 MB, because it holds each file in memory to upload it (media and video guide).

What about images and GIFs?

Videos rarely travel alone, so here are the other media specs from the same help pages:

Media Formats Max size Per post
Photo JPEG, PNG (also WebP through the API) 5 MB Up to 4
Animated GIF GIF 5 MB on mobile, 15 MB on the web 1
Video MP4 recommended 512 MB free, 16 GB Premium 1

The mobile apps allow up to 4 media items mixed in one post (for example 2 photos, 1 GIF and 1 video). None of them count toward the 280 characters (Twitter character limit).

Single photos with ratios between 2:1 and 3:4 show in full in the timeline, without a crop. For how to pick between a photo and a clip, see how to post a video on Twitter.

Do video specs affect reach?

Not directly. X’s published ranking code doesn’t reward a resolution or a codec: it weighs what viewers do, such as replies, shares, and the time they spend on a post (X algorithm). What specs change is whether the video plays cleanly. A blurry, letterboxed or out-of-sync clip loses people in the first seconds, and that time is what counts.

What tends to keep people:

  • Readable on a phone. Most people watch in a feed on a small screen, so text on screen has to be large.
  • Works on mute. X shows captions in the iOS and Android timeline when the video has them; burned-in captions work everywhere.
  • Starts with the payoff. The first 2 seconds decide whether the scroll stops. For first-line ideas that carry the clip, see Twitter hooks examples.

How Kalen helps

Kalen is an X assistant inside Claude, ChatGPT, Claude Code, Codex and Cursor. You upload the clip with upload_media (up to 50 MB as MP4), your AI writes the post in your voice, Kalen scores it and schedules it through X’s official API after you approve. It doesn’t edit or compress video, so export with the settings above first. Kalen is one plan at $29/month for 600 credits (1 a post), with a 7-day trial for $1 that includes the full credits. See how it works or read the docs.

FAQ

What is the best video size for Twitter?

1920 x 1080 (16:9) or 1080 x 1080 (1:1), exported as MP4 with H.264 and AAC at 30 fps. Both sit inside the limits X lists for the web.

How long can a Twitter video be without Premium?

140 seconds, or 2 minutes 20 seconds, with a 512 MB file limit, as of November 2026.

Can I upload a 4K video to X?

X’s web limits top out at 1920 x 1200, so export 4K footage at 1080p before uploading.

Why is my Twitter video blurry?

X compresses what you upload. Starting from a clean 1080p MP4 at a steady 30 fps and a healthy bitrate (around 8 Mbps) gives its encoder the most to work with.

Can I post a vertical video on X?

Yes. Ratios down to 1:2.39 are allowed, so 9:16 fits. The web lists 1200 x 1900 as its upright maximum, so 720 x 1280 is the safe export.

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.