Guide
X image, GIF and video limits explained
Every upload limit we could find in X's own documentation, what each one means in practice, and where the documents disagree.
Contents
X publishes its upload limits in two places: the Help Center, written for people posting from the app or the website, and the developer documentation, written for software that posts through X's API. The two don't always match. This guide sets out what each says, as of our last check on November 6, 2026, and what that means when you're about to post. The checker uses the same numbers.
A note before the tables: X changes these limits from time to time, often without much notice, and the apps sometimes accept files that the documents say they shouldn't. Treat the numbers as the safe zone. A file inside them should post. A file outside them might, but don't count on it.
Photos
| What | Limit |
|---|---|
| File size | 5 MB per photo |
| Photos per post | 1 to 4 |
| Formats | JPEG, PNG, GIF (Help Center); WebP also listed in developer docs |
| Not accepted | BMP, TIFF and other formats |
| Shown uncropped | A single photo with an aspect ratio between 2:1 and 3:4 |
The 5 MB limit is the one people hit most, usually with PNG screenshots of large monitors or photos straight off a high-resolution camera. Megabytes are also counted differently by different systems. Some use a million bytes, others 1,048,576. A file your computer calls 5.1 MB might pass, or might not, so the checker marks anything in that gap as borderline.
The aspect ratio line is about display, not acceptance. A very tall or very wide photo still posts, but the timeline preview crops it, and people only see the whole thing when they tap. Between 3:4 (portrait) and 2:1 (wide) a single photo shows in full. When you post two to four photos, X arranges them in a grid and crops each one, so keep important details near the middle.
X doesn't publish a minimum resolution, but small images get stretched to fit the screen and look soft. We cover that in why your upload looks blurry.
Animated GIFs
| What | Limit |
|---|---|
| File size | 15 MB on the web, 5 MB on mobile |
| Per post | 1 GIF, and it can't be mixed with photos |
| Dimensions | Up to 1280 × 1080 (developer docs) |
| Frames | Up to 350 (developer docs) |
| Total pixels | Width × height × frames up to 300 million (developer docs) |
The web and mobile difference catches people out. A 9 MB GIF that posts fine from x.com in a browser is too big for the phone apps. If a GIF is refused on your phone, try the website before you start shrinking it.
GIF is an old and inefficient format. A few seconds of video saved as a GIF can be ten times the size of the same clip as an MP4, at lower quality. If you control the source, posting a short video is often better than posting a GIF, and X plays both on a loop-friendly player.
Video
The video limits depend on your account type and, for Premium accounts, on where you post from.
| Account | Length | File size |
|---|---|---|
| Standard | Up to 140 seconds (2:20) | Up to 512 MB (web) |
| X Premium, web and iOS | Up to 4 hours | Up to 16 GB |
| X Premium, Android | Up to 10 minutes | Not stated |
For Premium, X says videos up to 2 hours can be 1080p, while videos between 2 and 4 hours must be 720p.
The Help Center also lists some technical limits for web uploads, for all accounts:
| What | Limit |
|---|---|
| Resolution | 32 × 32 minimum, 1920 × 1200 maximum (1200 × 1900 portrait) |
| Aspect ratio | Between 1:2.39 and 2.39:1 |
| Frame rate | Up to 40 fps |
| Bitrate | Up to 25 Mbps |
| Minimum length | 0.5 seconds (developer docs) |
The help pages name MP4 and MOV as the formats to use. The developer docs are more specific: H.264 video (High profile recommended), YUV 4:2:0 color, AAC-LC audio in mono or stereo, square pixels, progressive scan. HE-AAC audio isn't supported. Those details are what a normal export from a phone or editing app already produces, which is why most clips upload without trouble. Problems start with screen recordings, 4K footage, ProRes files from cameras, and videos made by apps that use unusual settings.
The 40 fps limit deserves a comment. Phones commonly record at 60 fps, and in our experience those clips usually post from the phone apps. The limit appears in the web upload guidance, so if a 60 fps video is refused on the web, exporting at 30 fps is the first thing to try. The checker flags it as a warning, not a failure.
Where the documents disagree
The developer documentation, updated more recently than parts of the Help Center, lists much higher video limits for uploads through the API: up to 20 minutes and 8 GB for standard accounts, and 125 minutes and 16 GB for Premium. It also gives a lower maximum resolution of 1280 × 1024 and a 60 fps maximum.
Those numbers apply to software that posts through X's API, such as scheduling tools. When you post from the app or website, the Help Center's numbers are the ones you're likely to meet. If you use a scheduling tool, check its own documentation too, since many tools apply stricter limits of their own.
What X does after you upload
Passing the limits gets your file onto X. It doesn't mean X shows it exactly as you made it. X re-encodes almost every photo and video it receives, to save bandwidth and make playback smooth on slow connections. Large PNGs often become JPEGs. Videos get new, lower bitrates in several sizes so the player can switch between them.
You can't turn that off, but you can give X a file that survives it well: the right dimensions, a sensible bitrate, and no extra compression of your own on top. The export guide covers settings for video, and the checker includes a converter that turns oversized photos into JPEG or WebP at a quality you choose.
Sources
The limits above come from X's Help Center pages on posting photos and GIFs, sharing videos and longer videos for Premium, and from the media section of X's developer documentation. All were checked on November 6, 2026.
Questions
What is the image size limit on X?
X's Help Center lists 5 MB per photo, with up to four photos in a post. Animated GIFs can be up to 15 MB from the web and 5 MB from the mobile apps.
How long can a video be on X without Premium?
140 seconds, which is 2 minutes 20 seconds. The Help Center also lists a 512 MB maximum file size for web uploads.
Does X accept WebP or HEIC images?
X's Help Center lists JPEG, PNG and GIF. Its developer documentation also lists WebP. HEIC isn't listed; the iPhone app normally converts photos when you attach them, but on the web it's safer to export a JPEG first.
X limits in this guide were last checked on November 6, 2026. X is a trademark of X Corp.; twittLoad is independent and not affiliated with X Corp.