Guide · By PostBoost team · · Markdown
Short answer: make TikTok videos 9:16 at 1080×1920 pixels. Videos posted through TikTok's Content Posting API, which scheduling tools use, can be 360 to 4096 pixels per side, 23 to 60 fps, up to 4 GB, as MP4 (preferred), MOV or WebM with H.264, H.265, VP8 or VP9 video (TikTok for Developers). Every creator can post 3-minute videos; some accounts can post 5 or 10 minutes. In-feed ads take up to 10 minutes and 500 MB.
If you want one file that works everywhere on TikTok, export an H.264 MP4 at 1080×1920, 30 fps, under 3 minutes and under 500 MB.
To check a file before you upload it, drop it into the free social media video specs checker. It reads the length, size and dimensions in your browser and shows whether the video fits TikTok's API row and every other network's.
TikTok video specs at a glance
| Spec | Content Posting API (scheduling tools) | In-feed ads |
|---|---|---|
| Shape | not stated (9:16 is the native feed shape) | 9:16 (recommended), 16:9, 1:1 |
| Resolution | 360 to 4096 px for height and width | at least 540×960 (9:16), 960×540 (16:9) or 640×640 (1:1) |
| Frame rate | 23 to 60 fps | not stated |
| Length | 3 minutes for every creator; 5 or 10 minutes for some | up to 10 minutes |
| File size | up to 4 GB | up to 500 MB |
| Format | MP4 (preferred), WebM, MOV | MP4, MOV, MPEG, 3GP, AVI |
| Codec | H.264 (recommended), H.265, VP8, VP9 | not stated |
| Bit rate | not stated | at least 516 kbps |
The API column comes from TikTok's media transfer guide for developers, the ads column from the Auction In-Feed Ads specs in TikTok Ads Manager (non-Spark ads). Spark Ads, which promote an existing organic post, take MP4 or MOV with no length limit.
The best TikTok video dimensions
1080×1920 (9:16) is the size to aim for. It fills a phone screen in the For You feed, sits well inside the API's 360 to 4096 pixel range, and is the shape TikTok's ad specs mark as recommended. A 720×1280 export also passes the API check.
Square (1:1) and horizontal (16:9) videos are accepted too, on both the API and ad paths. They show with empty space around them in a vertical feed, so crop a wide recording to 9:16 unless the detail only reads at full width. To work out a crop, enter the frame's width and height in the aspect ratio calculator.
TikTok's buttons, caption and username sit over the bottom and right of every video. Keep text and faces out of those areas: the TikTok safe zones guide has the measurements, and the safe zone checker lays them over your own frame.
How long a TikTok video can be
Length depends on the account, not only on the app:
- Through the API, "All TikTok creators can post 3-minute videos, while some have access to post 5-minute or 10-minute videos" (media transfer guide). An app can send up to 10 minutes, and the creator can trim the video in TikTok. TikTok tells each app the limit for each account in a field called
max_video_post_duration_sec, and asks developers to use it "to stop video posts that are too long" (creator info reference). - In the TikTok app, uploads went from 3 to 10 minutes in February 2022 (TechCrunch). In May 2024 TikTok confirmed it was testing 60-minute uploads with a limited group of users in some markets, with no immediate plans for a wide release (TechCrunch). Check your own upload screen for your account's current limit.
- In-feed ads run up to 10 minutes.
So a 7-minute video can go up from your phone yet be refused for an account whose API limit is 3 minutes. If you plan to schedule long videos, find your account's limit first (PostBoost shows it as an error, see below) rather than editing to a guess.
File size, format and codec
Through the API a video can weigh up to 4 GB. Ads are capped at 500 MB. Your scheduling tool may set a lower upload limit of its own, so a 4 GB file can still be too big to add to a post.
For format, MP4 is preferred and MOV and WebM are accepted. The API takes H.265 as well as H.264, so an iPhone's default HEVC MOV is fine as it is. H.264 is still the recommended codec and the safest choice if the same file also goes to other networks: LinkedIn, for example, takes MP4 only through its API.
Large files don't go up in one piece. TikTok's API takes videos over 64 MB in chunks of 5 to 64 MB, at most 1,000 of them, sent in order; files under 5 MB go up whole.
Photo posts: a different set of limits
TikTok photo posts (carousels) use separate rules: JPEG or WebP, up to 1080p, up to 20 MB per image (media transfer guide). PostBoost can send up to 35 photos in one TikTok post, but only when photo uploads are switched on in its TikTok service settings, and a post can't mix photos and a video. When they're off, a TikTok post takes a video only.
Schedule a TikTok video in PostBoost
- Open a new post and select your TikTok account. A TikTok post needs one video (or photos, see above), and the caption can run to 2,200 characters (TikTok caption limit).
- Add the video from your device or the media library. Export it at 1080×1920 first; PostBoost doesn't check resolution, frame rate or codec, so TikTok's rules above are yours to meet.
- Fill in the TikTok options panel above the editor if it shows (who can view the post, interactions, content disclosure), then click Schedule. The scheduling guide walks through each option.
What PostBoost checks depends on how your PostBoost install shares to TikTok:
- Direct posting: PostBoost reads each account's
max_video_post_duration_secfrom TikTok when it loads the account, and blocks a longer video before you can schedule it, with a message such as "The video is longer than 3 minutes." Each account is held to its own limit, so the same video can pass for one account and fail for another. - Sharing to the TikTok inbox: PostBoost uploads the video to the account's TikTok inbox, and you finish and publish it in the TikTok app. PostBoost doesn't read the account's length limit in this mode, so check it yourself.
In both modes PostBoost uploads the video in chunks, following TikTok's chunk rules. If a long upload runs out of time, it carries on from the next chunk on the following attempt instead of sending the whole video again. Before you schedule, you can also check the caption with the TikTok caption generator and the social media video specs checker.
Do this in PostBoost
Free tools for this guide
Free tool
Social media video sizes and lengths cheat sheet
Video ratio, resolution, length, file size and formats for Reels, TikTok, Shorts, YouTube, X, LinkedIn, Pinterest and more, each with its source.
Free tool
Aspect ratio calculator
Find the aspect ratio of any image size, or the missing width or height at 16:9, 4:5 or 1.91:1, and see which social media sizes match. Free tool.
Free tool
TikTok, Reels and Shorts safe zone checker
Check a vertical video frame or image against the TikTok, Instagram Reels and YouTube Shorts safe zones. Overlay the UI areas and download the result.
FAQ
What is the best video size for TikTok?
1080×1920 pixels, a 9:16 vertical frame that fills a phone screen. TikTok's API accepts any size from 360 to 4096 pixels per side, and its ad specs list 9:16 as the recommended shape, with 1:1 and 16:9 also allowed.
How long can a TikTok video be?
Through TikTok's API every creator can post 3-minute videos, and some accounts can post 5 or 10 minutes. TikTok tells each app the maximum for each account. Uploads in the app have allowed 10 minutes since 2022, and TikTok has tested 60-minute uploads with some users. In-feed ads run up to 10 minutes.
What is the maximum TikTok video file size?
4 GB through TikTok's Content Posting API, which scheduling tools use. In-feed ads are capped at 500 MB. Your scheduling tool can set a lower upload limit of its own.
What video format does TikTok accept?
Through the API: MP4 (preferred), MOV or WebM, with H.264 (recommended), H.265, VP8 or VP9 video. Ads also take MPEG, 3GP and AVI files. An iPhone's default HEVC (H.265) MOV is accepted as it is.
Does TikTok accept horizontal or square video?
Yes. The API lists no required shape, and TikTok's ad specs allow 16:9 and 1:1 as well as 9:16. A wide or square video won't fill the screen in the vertical feed, though, so crop to 9:16 when you can.
Can I schedule a TikTok video?
Yes. PostBoost uploads one video per TikTok post in chunks, through TikTok's Content Posting API. When it posts straight to TikTok, it also reads each account's maximum video length from TikTok and won't schedule a longer video.
Sources
- TikTok for Developers: Content Posting API media transfer guide (MP4, WebM, MOV; H.264, H.265, VP8, VP9; 23 to 60 fps; 360 to 4096 px; 4 GB; 3, 5 or 10 minutes; chunk rules; image limits)
- TikTok for Developers: Query creator info (max_video_post_duration_sec)
- TikTok Ads Manager: Auction In-Feed Ads (9:16, 16:9, 1:1 minimum sizes; up to 10 minutes; 500 MB; 516 kbps)
- TechCrunch: TikTok expands max video length to 10 minutes, up from 3 minutes (February 2022)
- TechCrunch: TikTok tests 60-minute video uploads (May 2024)