Initially, the max length for TikTok videos was 1 minute. After testing more extended video features with selected creators, TikTok decided to raise the limit. As of October 2021, you can post videos up to 3 minutes long. If you don't have the option, it will roll out soon. However, the video length limit is subject to change, especially since it is still in the rollout process.