Skip to content
Private: files never leave your device

X (Twitter) Video Size Limits

Search for the X video limit and you will find 512 MB, 8 GB and 16 GB, and lengths from 140 seconds to 4 hours. All of them appear on X's own pages, because the app and the API have different rules. This chart puts them side by side so you can see which one applies to you.

X video limits: free accounts 140 seconds and 512 MB in the app, Premium under 4 hours and 16 GB, API posts 20 minutes and 8 GB by default, and DM video 140 seconds and 512 MB for free accounts

On X, accounts without a subscription can upload videos up to 140 seconds long and 512 MB, while X Premium and the Plus, Premium, Super and Ultra plans can upload videos shorter than 4 hours with a maximum file size of 16 GB, according to the X Help Center. X's developer documentation sets different caps for apps that post through the API: 20 minutes and 8 GB by default, and 125 minutes and 16 GB for Premium or verified users. Both pages were checked on 20 November 2026; neither shows a last-updated date.

X video limits at a glance

Where and whoMaximum lengthMaximum file sizeSource
X app or x.com, no subscription140 seconds (2 min 20 s)512 MBX Help Center
X app or x.com, Premium or subscription plan, 1080pShorter than 4 hours16 GBX Help Center
X app or x.com, Premium, over 2 hoursUnder 4 hours, at 720p16 GBX Help Center
API post video, default account0.5 seconds to 20 minutes8 GBX developer docs
API post video, Premium or verified0.5 seconds to 125 minutes16 GBX developer docs
DM video, default account0.5 to 140 seconds512 MBX developer docs
DM video, Premium or verified0.5 seconds to 10 minutes1 GBX developer docs

Why the numbers disagree. The Help Center describes uploading in the X app and on x.com. The developer page describes the media upload API that scheduling tools use, and states that its limits follow the posting user's Premium or verified status, not the developer's API plan. It also says post video caps "match the X app", which conflicts with the 140 second Help Center figure for free accounts. Until X makes the two agree, plan around the lower Help Center limit if you upload by hand.

Video specifications X recommends

These come from the video section of X's developer best practices page and apply to all uploads.

SettingRecommendedHard requirement
Video codecH.264 High ProfileNot stated beyond the recommendation
Frame rate30 or 60 FPS60 FPS or less
Resolution1280 x 720 landscape, 720 x 1280 portrait, 720 x 720 squareBetween 32 x 32 and 1280 x 1024 (subscribers can upload and play back 1080p)
Aspect ratio16:9 or 1:1Between 1:3 and 3:1
Video bitrate5,000 kbps minimumNo maximum given
AudioAAC LC, 128 kbps minimumAAC Low Complexity only (not HE-AAC), mono or stereo, not 5.1
OtherNoneYUV 4:2:0, 1:1 pixel aspect ratio, progressive scan, no open GOP, at least 0.5 seconds

The resolution row is worth reading twice. X's advanced list caps dimensions at 1280 x 1024, while the same page says subscribed users can upload 1080p and get 1080p playback, and unsubscribed users get 720p. In practice, a free account gains nothing from uploading 4K, and a smaller 720p file uploads faster.

Images and GIFs on X

MediaLimitNotes
Image5 MBJPG, PNG, GIF or WEBP
Animated GIF15 MBRecommended up to 1280 x 1080, 350 frames, 300 million total pixels
Per postUp to 4 photos, 1 GIF or 1 videoYou cannot mix a video with photos

Common upload errors and fixes

ProblemLikely causeFix
Video too long for a free accountOver 140 secondsTrim Video to 2:20 or less
File over 512 MBHigh bitrate or 4K exportCompress Video or Resize Video to 720p
Format not supportedUnusual codec, HE-AAC audio or variable frame rateRe-export as MP4 with H.264 and AAC using Video Converter
Vertical video cropped oddlyAspect ratio outside 1:3 to 3:1Crop Video to 9:16 or 1:1
GIF fails to postOver 15 MB or too many framesCompress GIF
Scheduler says the video is longer than N minutesAPI duration cap for the posting accountTrim to 20 minutes, or 125 for Premium

Compare these limits with the Instagram, TikTok, Facebook and LinkedIn charts.

Frequently asked questions

What is the X video size limit for free accounts?

The X Help Center says accounts without a subscription can upload videos up to 140 seconds long with a maximum file size of 512 MB.

How long can a video be on X Premium?

X Premium and the Plus, Premium, Super and Ultra plans can upload videos shorter than 4 hours, up to 16 GB. Videos over 2 hours upload at 720p.

Why do some tools say the X video limit is 8 GB?

X's developer documentation allows 8 GB and 20 minutes for API uploads from default accounts. That is the limit scheduling tools use, not the app limit in the Help Center.

What is the X DM video limit?

X's developer docs list 140 seconds and 512 MB for DM video on default accounts, and 10 minutes and 1 GB for Premium or verified accounts.

What video format is best for X?

MP4 with H.264 High Profile video, AAC LC audio, 30 or 60 FPS and 1280 x 720 for landscape, as recommended in X's developer documentation.