# How long can a video be on X? Limits for scheduled posts in 2026 > X's API now allows 20-minute, 8 GB videos on default accounts & 125 minutes, 16 GB with Premium. Here's how it applies to scheduled X posts. - Published: 2026-11-06 - Last updated: 2026-11-06 - Author: Sanju (Founder & CEO @ DunSocial) - Topics: x, scheduling --- For a video posted through X's API, which is how every scheduler publishes, the limit is **20 minutes & 8 GB** on a default account & **125 minutes & 16 GB** on an X Premium or verified account. The cap follows the account that posts, not the app & not the developer plan. Older guides still quote 140 seconds & 512 MB. That figure comes from the X app's long-standing limit for free accounts & it's the main reason answers to "can you post a 5 minute video on Twitter?" contradict each other. ## Why the numbers disagree X's developer documentation states the API limits by account type & says they are checked twice: when you upload the file & again when the post is created. Its media guide says the limits follow the authenticated user's Premium or verified status, not the developer API plan. The X app can enforce its own, different limits, & X's help pages are the place to check those. If you're scheduling, the API numbers are the ones that decide whether the post goes out. | Account that posts | Max video length | Max file size | | --- | --- | --- | | Default (no Premium) | 20 minutes | 8 GB | | X Premium or verified | 125 minutes | 16 GB | Every video also needs to be at least 0.5 seconds long. Images are capped separately at 5 MB each, & a post carries up to 4 photos, 1 animated GIF or 1 video. ## Why a scheduled X video can fail after it uploaded Upload limits & post-create limits are enforced separately. A video can finish uploading cleanly & still be refused when the post is created, with a 403 that reads "This user is not allowed to post a video longer than N minutes." For a scheduled post that failure lands at publish time, hours or days after you queued it. That's the worst moment to find out your 30-minute video was over the limit for the connected account. The usual causes: - **The connected account isn't Premium.** A 30-minute video fits Premium's 125 minutes but not the default 20. - **The wrong account is connected.** A workspace with two X accounts can have one on Premium & one without. - **The file is codec- or format-sensitive.** X also checks video specs like H.264 video, AAC audio & frame rate, so a file under the limit can still fail processing. ## How DunSocial checks X video before you schedule DunSocial reads the connected X account's Premium or verified status & checks each video against that account's limits before the post is queued. A video over the cap is flagged right away, with the same wording X uses, instead of failing silently at publish time. Each video is checked against the cap of the account it's going to, so a Premium account & a default account in the same workspace get different results. If a video is over the limit for the account, trim it or post it from an account that has the longer cap. For the other platform limits, see the [post limits by platform](/blog/social-media-post-character-limits-by-platform-2026). If a post still fails, [why did my scheduled social post fail](/blog/why-did-my-scheduled-social-post-fail) walks through the common causes. ## Try it DunSocial is $20/mo or $192/yr, with a 14-day trial & no card required. [Start the trial](https://app.dunsocial.com/login) & schedule your next X video with the limits checked up front. ## FAQ ### Can I post a 5 minute video on X? Through the API, yes: default accounts can post up to 20 minutes. Whether the X app itself accepts it can depend on the account & the app, so check X's own help pages for in-app limits. ### Does X Premium change what a scheduler can post? Yes. X's docs say limits follow the posting account's Premium or verified status, not the developer plan. Premium accounts get 125 minutes & 16 GB. ### Why did my scheduled X video fail after it uploaded? X checks limits again when the post is created. A video that is longer than the account may post gets a 403, even if the upload finished without errors. ### Is the 140 second limit still true? Not for the API. X's docs list 140 seconds & 512 MB as the limit for DM video on a default account, not for a video in a post. ## Sources - [X API media upload best practices (X developer docs)](https://raw.githubusercontent.com/xdevplatform/docs/main/x-api/media/quickstart/best-practices.mdx): size & duration limits by account type, post-create enforcement & the 403 error --- ## About this document This is the Markdown representation of https://www.dunsocial.com/blog/how-long-can-a-video-be-on-x-scheduled-posts. The HTML version of the same page is at the same URL. You can also request Markdown from any page by sending `Accept: text/markdown`. Machine-readable summary of the whole site: https://www.dunsocial.com/llms.txt ## Company - Product: DunSocial, https://www.dunsocial.com - Legal entity: THISUX PRIVATE LIMITED, Chennai, Tamil Nadu, India - Support: support@dunsocial.com - Open the app: https://app.dunsocial.com/login