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 who | Maximum length | Maximum file size | Source |
|---|---|---|---|
| X app or x.com, no subscription | 140 seconds (2 min 20 s) | 512 MB | X Help Center |
| X app or x.com, Premium or subscription plan, 1080p | Shorter than 4 hours | 16 GB | X Help Center |
| X app or x.com, Premium, over 2 hours | Under 4 hours, at 720p | 16 GB | X Help Center |
| API post video, default account | 0.5 seconds to 20 minutes | 8 GB | X developer docs |
| API post video, Premium or verified | 0.5 seconds to 125 minutes | 16 GB | X developer docs |
| DM video, default account | 0.5 to 140 seconds | 512 MB | X developer docs |
| DM video, Premium or verified | 0.5 seconds to 10 minutes | 1 GB | X 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.
| Setting | Recommended | Hard requirement |
|---|---|---|
| Video codec | H.264 High Profile | Not stated beyond the recommendation |
| Frame rate | 30 or 60 FPS | 60 FPS or less |
| Resolution | 1280 x 720 landscape, 720 x 1280 portrait, 720 x 720 square | Between 32 x 32 and 1280 x 1024 (subscribers can upload and play back 1080p) |
| Aspect ratio | 16:9 or 1:1 | Between 1:3 and 3:1 |
| Video bitrate | 5,000 kbps minimum | No maximum given |
| Audio | AAC LC, 128 kbps minimum | AAC Low Complexity only (not HE-AAC), mono or stereo, not 5.1 |
| Other | None | YUV 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
| Media | Limit | Notes |
|---|---|---|
| Image | 5 MB | JPG, PNG, GIF or WEBP |
| Animated GIF | 15 MB | Recommended up to 1280 x 1080, 350 frames, 300 million total pixels |
| Per post | Up to 4 photos, 1 GIF or 1 video | You cannot mix a video with photos |
Common upload errors and fixes
| Problem | Likely cause | Fix |
|---|---|---|
| Video too long for a free account | Over 140 seconds | Trim Video to 2:20 or less |
| File over 512 MB | High bitrate or 4K export | Compress Video or Resize Video to 720p |
| Format not supported | Unusual codec, HE-AAC audio or variable frame rate | Re-export as MP4 with H.264 and AAC using Video Converter |
| Vertical video cropped oddly | Aspect ratio outside 1:3 to 3:1 | Crop Video to 9:16 or 1:1 |
| GIF fails to post | Over 15 MB or too many frames | Compress GIF |
| Scheduler says the video is longer than N minutes | API duration cap for the posting account | Trim 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.