Twitter (X) Video Length, Size and Format Limits
The short answer: without Premium, a video on X can be up to 140 seconds long. With X Premium it can be much longer. Details, file size and the best format are below.
Checked on November 26, 2026 against X's help page on longer videos and developer media guidelines. X changes these limits from time to time, so confirm on those pages if it matters.
Posting a video in the X app or on x.com
| Without Premium | X Premium | |
|---|---|---|
| Longest video | 140 seconds (2 min 20 s) | Up to 4 hours on x.com and iOS. On Android, 10 minutes. |
| Resolution | Not stated by X | Up to 1080p. Videos between 2 and 4 hours must be 720p. |
| File size | Not stated by X | Up to 16 GB |
Best format to upload
From X's developer guidelines. Following these avoids re-encoding surprises and failed uploads.
| Video codec | H.264 (High Profile recommended) |
| Audio codec | AAC-LC, mono or stereo (HE-AAC is not supported) |
| Pixel format | YUV 4:2:0 |
| Frame rate | 60 fps or lower (30 or 60 recommended) |
| Recommended size | 1280×720 (landscape), 720×1280 (portrait) or 720×720 (square) |
| Aspect ratio | Between 1:3 and 3:1 (16:9 or 1:1 recommended) |
| Bitrate (recommended) | Video at least 5,000 kbps, audio at least 128 kbps |
| Photos | JPG, PNG, GIF or WEBP, up to 5 MB each (through X's API) |
| Animated GIFs | Up to 15 MB (through X's API) |
Good to know
- Why other sites quote different numbers. Some give 2 minutes 20 seconds (the free app limit), others 20 minutes or 2 hours (older Premium or developer-API limits). They describe different places and dates; the tables above follow X's pages as checked on the date shown.
- X re-encodes everything. Whatever you upload, X converts it. That is why a downloaded copy is rarely identical to your original. See why a downloaded video can look blurry.
Common questions
How long can a Twitter (X) video be?+
Without Premium: 140 seconds. With Premium: up to 4 hours on x.com and iOS, and 10 minutes on Android, according to X's help page.
What is the maximum file size for an X video?+
X's help page gives 16 GB for Premium videos. It doesn't state a size limit for videos under 140 seconds without Premium.
What is the best video format for X?+
MP4 with H.264 video and AAC audio, 1280×720 (or 720×1280 for portrait), 30 or 60 fps.
Why does my video look worse after I post it?+
X re-encodes uploads to its own settings. Uploading at the recommended size and bitrate gives the best result.
A video on X is too big to send. What can I do?+
Paste the post link into SaveNowX's compress tool to get a copy under 10, 16 or 25 MB. It works on videos that are already posted on X, not on files on your device.