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.

8 min read

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.
Five X pages ranked shortest to longest by the longest post video each prints, from 140 seconds on the free-account help page to under four hours on the Premium help page, with the free-account row highlighted as the one to plan to.

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.

Superdirector

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 postLimitWhere it comes from
Photos, GIF, video in one postUp to 4 photos, or 1 animated GIF, or 1 video; no mixingX developer docs, read Nov 7, 2026
Photo file5 MB; JPG, PNG, GIF or WEBPX developer docs
Animated GIF15 MB; keep to 1280x1080 and 350 frames or fewer to avoid failed postsX developer docs
Video, free account, app or x.com140 seconds and 512 MBX help page as quoted by AdaptlyPost and PostNext
Video, default account, through the API20 minutes and 8 GBX developer docs
Video, Premium or verified, through the API125 minutes and 16 GBX developer docs
Video, Premium, app or x.comAbout 3 hours and 8 GB (Premium page) or under 4 hours and 16 GB (help page)Both as quoted by AdaptlyPost
Shortest video0.5 secondsX 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 pageAccountLengthFile size
Help page on video (as quoted by AdaptlyPost)Free140 seconds512 MB
Help page on videoPremiumUnder 4 hours at 1080p16 GB
Premium page (x.com and iOS only)PremiumAbout 3 hours at 1080p8 GB
Developer docsDefault20 minutes8 GB
Developer docsPremium or verified125 minutes16 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.

RatioWidth divided by heightInside X's full-display range?A size the guides use
2:12.00Yes, the edge1200 x 600
16:91.78Yes1200 x 675 or 1600 x 900
1:11.00Yes1080 x 1080
4:50.80Yes1080 x 1350
3:40.75Yes, the edge1080 x 1440
9:160.56No, may be croppedUse 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.

  1. Open the file's properties and note the length, the size and the frame rate.
  2. Pick the account type and the way the post goes out: app or x.com, or a tool.
  3. Use the smallest cap in the table for that row.
  4. If the file is over it, cut the video; do not count on a higher cap being enforced.
  5. 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.

SettingDeveloper docsHelp page limits for web uploads (as quoted)Safe choice for both
Frame rate60 fps or less40 fps or less30 fps
Dimensions32x32 to 1280x102432x32 to 1920x1200 (1200x1900 vertical)1280x720 or 720x1280
Aspect ratio1:3 to 3:11:2.39 to 2.39:116:9, 9:16 or 1:1
CodecH.264 High Profile, AAC-LCNot in the help-page figures quoted; guides also advise H.264 and AACH.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.

Frequently asked questions

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. Photos are capped at 5 MB and GIFs at 15 MB. Video is capped at 140 seconds and 512 MB on a free account by the help page, and at 20 minutes and 8 GB (125 minutes and 16 GB with Premium) by the developer docs. Sked Social, citing X, says photos follow a ratio rule, 2:1 to 3:4, with no single pixel size.

How long can a video be on X without Premium?

The help page, as quoted by AdaptlyPost, says a non-subscriber can upload video up to 140 seconds with a maximum of 512 MB. The developer docs list 20 minutes and 8 GB for a default account posting through the API. If you post from the app or x.com, plan to 140 seconds.

What is the best image size for an X post?

Sked Social, citing X, says there is no single pixel size. A single photo shows in full when its width divided by height is between 0.75 and 2.0, so 1200 x 675 (16:9), 1080 x 1080 (1:1) and 1080 x 1350 (4:5) all fit. Keep the file under 5 MB.

Why did my video upload to X but fail to post?

X checks upload limits and post limits separately. Through the API, a video that finalizes can still be refused with a 403 reading "This user is not allowed to post a video longer than N minutes." Check the account's Premium status and that the upload used the post-video category, not a direct-message one.

Can you post a video and photos together on X?

No. The developer docs say a post can carry up to 4 photos, 1 animated GIF or 1 video. Attaching a video rules out photos and a GIF in the same post.

Related practical guides

Check your next X file against the sheet

Fill one row of the preflight sheet for the next photo or video you plan to post on X, and fix any cell that is not ok before you upload.