How-To Guide
What image sizes and video limits does X allow for posts?
X allows 5 MB photos, 15 MB GIFs and up to 4 photos or 1 video per post, but its pages disagree on video length. The limits by account and upload path.
By the Superdirector editorial team. X's developer documentation read November 7, 2026; X's help pages returned an error to our fetch and are quoted as printed by AdaptlyPost and PostNext.
At a glance
What image sizes and video limits does X allow for posts?
A post on X holds up to four photos, or one animated GIF, or one video. X's developer documentation caps a photo at 5 MB and a GIF at 15 MB, and, according to Sked Social, X publishes a ratio rule for photos (2:1 to 3:4), not one pixel size. Video limits depend on the page: 140 seconds and 512 MB for a free account by the help page, 20 minutes and 8 GB by the developer docs, and about 3 to under 4 hours with Premium. Plan to the smallest figure that applies to your account and how you post.
- Photo 5 MB, GIF 15 MB, up to 4 photos or 1 GIF or 1 video per post.
- A photo shows in full when width divided by height is between 0.75 and 2.0.
- X's video caps differ by page: plan to the lowest that fits your account and path.
X's pages give five answers, so the rows run shortest first and the free-account figure is the one to plan to. Original diagram, drawn from X's developer docs read November 7, 2026 and help-page figures as quoted by AdaptlyPost and PostNext.
Make it work for your brand
Find it. Remake it. Post it. Superdirector turns the viral formats in your niche into your brand's carousels, X posts and video scripts, and keeps the calendar full.
The limits on X, in one table
A post on X holds up to four photos, or one animated GIF, or one video. X's developer documentation caps a photo at 5 MB and a GIF at 15 MB. Video is where X disagrees with itself: the help page, as quoted by two guides, gives a free account 140 seconds and 512 MB, the developer docs give a default account 20 minutes and 8 GB, and Premium figures run from about 3 hours to under 4 hours, at 8 GB to 16 GB. Plan to the smallest number that applies to your account and the way you post.
According to Sked Social, which cites X, photos have no single official pixel size, only a ratio rule, so this page gives a ratio table and the sizes inside it. We could not open X's Help Center (it returned an error to our fetch), so every help-page figure below is marked as quoted by AdaptlyPost or PostNext, both of which printed X's own sentences.
| Media in a post | Limit | Where it comes from |
|---|---|---|
| Photos, GIF, video in one post | Up to 4 photos, or 1 animated GIF, or 1 video; no mixing | X developer docs, read Nov 7, 2026 |
| Photo file | 5 MB; JPG, PNG, GIF or WEBP | X developer docs |
| Animated GIF | 15 MB; keep to 1280x1080 and 350 frames or fewer to avoid failed posts | X developer docs |
| Video, free account, app or x.com | 140 seconds and 512 MB | X help page as quoted by AdaptlyPost and PostNext |
| Video, default account, through the API | 20 minutes and 8 GB | X developer docs |
| Video, Premium or verified, through the API | 125 minutes and 16 GB | X developer docs |
| Video, Premium, app or x.com | About 3 hours and 8 GB (Premium page) or under 4 hours and 16 GB (help page) | Both as quoted by AdaptlyPost |
| Shortest video | 0.5 seconds | X developer docs |
Why X's video limit changes from page to page
Three X pages give three answers, and the developer docs have moved. According to PostNext, an April 2026 archived copy of the developer page capped every video at 0.5 to 140 seconds, and by September 2026 it listed the 20-minute and 125-minute caps. The same developer page says "Post-video caps match the X app", which does not match the 140 seconds the help page gives a free account, as AdaptlyPost points out. Neither guide could say which page is out of date, and we cannot either.
| X page | Account | Length | File size |
|---|---|---|---|
| Help page on video (as quoted by AdaptlyPost) | Free | 140 seconds | 512 MB |
| Help page on video | Premium | Under 4 hours at 1080p | 16 GB |
| Premium page (x.com and iOS only) | Premium | About 3 hours at 1080p | 8 GB |
| Developer docs | Default | 20 minutes | 8 GB |
| Developer docs | Premium or verified | 125 minutes | 16 GB |
Two rules from the developer docs matter if a scheduler or script posts for you. Limits follow the posting account, not the developer plan, so a bigger API plan adds no minutes. And upload limits and post-creation limits are separately enforced, so a video can upload cleanly and still fail when the post is created, with the error text "This user is not allowed to post a video longer than N minutes." Using a direct-message category on a post video is a documented cause of that failure.
Count what the post holds
Decide the media type first, because the types do not mix. The docs say a post takes "up to 4 photos, 1 animated GIF or 1 video", so a video post cannot carry a photo and a GIF post cannot carry a second GIF.
- One idea, one image: a single photo shows in the largest preview.
- A comparison or a sequence: two to four photos, all cropped to the same ratio.
- Motion: one video or one GIF; a GIF is capped at 15 MB, a video follows the table above.
Size photos to X's ratio rule
X publishes a ratio rule for single photos, not a pixel size, according to Sked Social, which cites X: photos between 2:1 and 3:4 display in full. Divide width by height. A result between 0.75 and 2.0 fits. That is why the three sizes below, all recommended by guides and none by X, work, and why a 9:16 photo does not.
| Ratio | Width divided by height | Inside X's full-display range? | A size the guides use |
|---|---|---|---|
| 2:1 | 2.00 | Yes, the edge | 1200 x 600 |
| 16:9 | 1.78 | Yes | 1200 x 675 or 1600 x 900 |
| 1:1 | 1.00 | Yes | 1080 x 1080 |
| 4:5 | 0.80 | Yes | 1080 x 1350 |
| 3:4 | 0.75 | Yes, the edge | 1080 x 1440 |
| 9:16 | 0.56 | No, may be cropped | Use for video instead |
The guides pick different pixel sizes for the same ratio (Sked Social and HeyOrca say 1200 x 675, PostEverywhere says 1600 x 900, Hootsuite says 1280 x 720), which is more evidence that the ratio is what matters. Keep the file under 5 MB and export at the size you want shown, not smaller.
- Multi-photo posts: X crops each tile to its grid, so use one ratio for every image and keep faces and text near the centre.
- Alt text: Sked Social says X allows image descriptions of up to 1,000 characters; write one for every image.
- Profile photo and header: guides give 400 x 400 pixels and 2 MB for the photo, and 1500 x 500 for the header, with up to 60 pixels cropped at its top and bottom.
Check video length and file size against the smallest limit
Take the file's size in megabytes and its length in seconds, then compare both with the lowest cap that fits you. A free account posting from the app or x.com should use 140 seconds and 512 MB. A Premium account posting from x.com or iOS can plan to 3 hours and 8 GB, the lower of the two Premium figures. A tool posting through the API gets the developer-docs caps, and the 403 above if the account's cap is lower.
- Open the file's properties and note the length, the size and the frame rate.
- Pick the account type and the way the post goes out: app or x.com, or a tool.
- Use the smallest cap in the table for that row.
- If the file is over it, cut the video; do not count on a higher cap being enforced.
- Upload a short test once on the real account if the post matters; an upload is the only test that settles which cap your account meets.
Premium also changes playback, not just length. The developer docs say subscribed users can upload 1080p and get 1080p playback, and unsubscribed users get 720p playback from a 720p upload. A free account gains nothing from a 1080p file.
Export a video X accepts on every path
The developer docs recommend H.264 High Profile video, AAC-LC audio in mono or stereo, 30 or 60 frames per second, and a YUV 4:2:0 pixel format. Their recommended frames are 1280 x 720 for landscape, 720 x 1280 for vertical and 720 x 720 for square. The help-page limits for web uploads, as AdaptlyPost reports them, are tighter on some rows: at most 40 frames per second, at most 1920 x 1200 (or 1200 x 1900 for vertical), aspect ratios from 1:2.39 to 2.39:1 and 25 Mbps.
| Setting | Developer docs | Help page limits for web uploads (as quoted) | Safe choice for both |
|---|---|---|---|
| Frame rate | 60 fps or less | 40 fps or less | 30 fps |
| Dimensions | 32x32 to 1280x1024 | 32x32 to 1920x1200 (1200x1900 vertical) | 1280x720 or 720x1280 |
| Aspect ratio | 1:3 to 3:1 | 1:2.39 to 2.39:1 | 16:9, 9:16 or 1:1 |
| Codec | H.264 High Profile, AAC-LC | Not in the help-page figures quoted; guides also advise H.264 and AAC | H.264 and AAC-LC |
A worked example, with a made-up file. A 45-second vertical product demo is exported at 1080 x 1920, 30 fps, 210 MB. Length and size pass on a free account (140 seconds, 512 MB). The height does not: 1920 is above the 1900 web maximum for vertical video, which is also what Sked Social warns. Exporting it again at 720 x 1280 clears the web rule and matches the docs' vertical recommendation. The sheet below does this check for any file.
The preflight sheet takes the media type, account, path, size, length and frame rate, and flags the row that breaks a limit. If you already export vertical video for other apps, the repurposing guide covers the cut, and the aspect ratio entry explains the numbers above.
Preview the post on a phone before it goes out
Check the crop before the post goes out. For a single photo, the composer shows what will post. For a multi-photo post and for a profile header, look at the live result on a phone, since the crop differs by screen. Videos of 60 seconds or less loop automatically, according to the help page as AdaptlyPost quotes it, so design a short clip to work as a loop.
Keep one line per file in the sheet: the file, the account, the path and the verdict. When X changes a number, you change one cell and re-check the open rows. If you plan the week in one sitting, the weekly content plan guide shows where to slot the export step.
Where Superdirector fits
Superdirector, which publishes this guide, makes X posts and image drafts in your brand and, on Growth, publishes eligible Instagram carousels and single X text posts by themselves once posting is turned on for the account. Those text posts carry no media, so none of the limits above apply to them; when a post needs an image or video you attach it yourself in X, with this guide as the check. AI video and full autopilot are upcoming, not available yet, and you stay the publisher of whatever goes out. See what runs today.