X Video and GIF Size Guide: Dimensions, Limits, and the Split in X's Own Numbers
AISocialMediaPosts keeps this fleet's X visual references, and the video half of the reference comes with a warning the image half never needed: X's own published limits currently disagree with each other. The Help Center states one ceiling; the developer documentation, dated September 1, 2026, states a much higher one — and recent guides have picked sides without telling you. This page prints both, labelled by source and date, alongside the dimensions that are not in dispute, so you can compose for the conservative case and understand the generous one.
The dimensions that are not in dispute
Whatever the length argument does, the frames are stable. Compose landscape at 1280×720 unless you have a reason to go higher, portrait at 720×1280 for material shot on a phone held upright, and square at 720×720 when the same file must survive multiple placements. These are the working figures carried across the current guides and consistent with this site's image reference.
As with still images, the rule underneath the numbers is to compose for the frame the post will use. A portrait video letterboxed into a landscape frame, or a landscape clip squeezed into a square crop, loses exactly the edges where captions, faces, and product details tend to live.
- Landscape video: 1280×720 (16:9) — the safe standard frame
- Portrait video: 720×1280 (9:16) — for phone-shot material
- Square video: 720×720 (1:1) — the compromise frame
- Minimum: keep every dimension at or above 32×32; stay inside 1920×1200 as the published ceiling range
The length and file limits — stated twice, because X states them twice
Source one — X's Help Center, the in-product account of the rules: without Premium, a video may run 140 seconds (2 minutes 20) and weigh up to 512 MB. This is the figure most long-standing guides carry, and the one the posting flow itself has historically enforced for standard accounts.
Source two — X's developer documentation, dated September 1, 2026: post-attached video caps of 20 minutes and 8 GB for standard accounts, rising to 125 minutes and 16 GB for Premium or verified accounts. Current guides citing the developer docs (a September 2026 video-spec page among them) treat the Help Center figures as stale outside direct messages; guides citing the Help Center treat 140 seconds as the law. Both sources are X's. They do not currently agree.
How to work while the sources disagree
Compose to the conservative case and you can never be wrong in public: keep standard-account video at or under 140 seconds and 512 MB, and the post publishes identically for every viewer on every surface. Reserve the longer forms for cases where you have verified, on your own account tier, that the higher cap actually applies — and say nothing in the post that depends on a length some viewers' clients may handle differently.
For GIFs the practical guidance is simpler and undisputed in kind: a GIF on X loops as silent motion, so design a few seconds that loop seamlessly, keep the file small and well inside the video limits, and make sure the first frame works as a still — because for part of your audience, the still is what they will see.
The pre-post check for moving images
Run the same discipline the image guide teaches, extended by one question. Frame: does the file's ratio match the placement's? Size: is it composed at the frame's dimensions rather than far above or below? Limits: is it inside the conservative length and weight, or knowingly using a verified higher tier? Loop: if it is a GIF, does the seam disappear and the first frame stand alone?
AISocialMediaPosts' scheduler keeps the check where it belongs — at the moment of composition, inside the pre-post review — because a spec discovered after publishing is not a spec, it is an apology. Pro at $30/mo carries the visual workflow this reference supports.
A maintenance note, printed on purpose
Spec pages rot, and this one carries its own date because of it: figures checked against sources current in October 2026, with the Help Center and the developer documentation (September 1, 2026) cited separately wherever they differ. If X reconciles its two publications, the reconciled figure replaces both here — a single flat number printed without its source is exactly how stale guides are made.
Until then, the disagreement is the fact. Any page that gives you one length limit for X video without naming where it came from is giving you half the reference — and on this territory, half a reference is how posts get trimmed.
Frequently asked questions
How long can a video on X actually be?
The honest answer is that X's own sources disagree in public. X's Help Center states 140 seconds and 512 MB for accounts without Premium; X's developer documentation, dated September 1, 2026, lists far higher post-attached caps — 20 minutes and 8 GB standard, 125 minutes and 16 GB for Premium or verified accounts. This guide prints both, labelled by source, rather than picking one quietly.
What are the limits for GIFs on X?
A GIF on X behaves as a short looping video: keep the file small — the working guidance across current guides is to stay well under the video file limits, design for a seamless loop of a few seconds, and never rely on audio, because there is none. If the GIF carries information, it should also work as a still.
What resolution should I upload video at?
At the frame. A 1280×720 file at 16:9 is the safe landscape standard; portrait video at 720×1280 and square at 720×720 frame the way the feed expects. Upload far above the frame and you pay in upload time and recompression; upload below it and the softness is permanent.
Why does the limit disagreement matter if my video uploads fine?
Because a file can pass the upload and fail the audience. It may play cropped, recompressed, or — at the tier boundary — be refused or trimmed depending on which of X's two published limits governs your account. Composing inside the conservative limits guarantees the post you checked is the post everyone sees.
More guides
Or browse everything in Docs & guides.
Examples of AI-drafted social posts for X
AISocialMediaPosts shows AI-generated social media posts for X: singles, threads, and polls drafted in your voice and queued for your calendar. Start free.
From an AI draft to a scheduled X post
Generate social media posts with AI on AISocialMediaPosts: add topics, draft a batch in your voice, stack it, then schedule for X. Start free.
Plan X content before you generate the drafts
AISocialMediaPosts plans AI social media content for X: pillars first, then drafts in your voice, stacked on a calendar you can edit first. Start free.
AutoEngager — built for gaining followers
AISocialMediaPosts's AutoEngager (Creator, $51/mo) works other people's posts on your topics — a capped, opt-in like or AI reply in your voice, a few times a day at human times, every action logged. Built for gaining followers, never spam.

Try AISocialMediaPosts free
AI-written posts for X — written, scheduled and posted for you. Start free, no card.
Start free