This page owns the in-app search question specifically, not general For You recommendation. Many users effectively use TikTok as a search engine for "how" and "what" questions, and this opens a discovery path separate from random discovery.
Direct answer: TikTok search optimization relies on repeating the same target phrase across three layers: spoken audio in the video, on-screen text, and the caption. Each layer reinforces the same signal to the system, and this matters more than hashtag count on its own.
The three optimization layers
1. Spoken audio
TikTok can transcribe and understand spoken audio. If your video answers "how do I pin a hashtag on TikTok?" for example, say that question or its answer clearly in the video itself, not just in the caption.
2. On-screen text
Text written on the video reinforces the same signal, and also helps viewers watching without sound. Write the target phrase or a close variation in the first seconds of on-screen text.
3. Caption
Start the caption with the target phrase or question directly instead of burying it in the middle. This part of the caption carries relatively more weight per multiple independent marketing sources' observations.
Hashtags complement, they don't replace
See Do hashtags increase views? to understand a hashtag's real role. In a search context specifically, a hashtag that genuinely matches the target phrase helps as an additional signal, but it doesn't substitute for the phrase's absence from speech, text, and caption.
Write the way users actually search
Think of TikTok as a search engine: describe your video the way a user actually types their question, not with generic marketing phrasing. A video that directly answers "how do I pin a hashtag on TikTok?" using phrasing close to that exact question is closer to matching real search intent than a generic title like "useful TikTok tips." To see what your audience is actually searching for instead of guessing, see Creator Search Insights.
Measurement
After posting, check traffic sources in the video's analytics. If a "search" percentage appears among the sources, that's a direct indicator that search optimization is genuinely working for that specific video, not a general assumption.
Topic-specific hypothetical example
Hypothetical example: two videos with the same information, one speaks the question, writes it on screen, and opens the caption with it, while the other relies only on generic hashtags. The first video showed a clearly higher search-traffic percentage in its analytics weeks after posting.
This is a hypothetical scenario specific to TikTok SEO, used to illustrate the idea. It is not a guarantee the pattern will repeat.
Bottom line
Bottom line: Repeat the same target phrase across spoken audio, on-screen text, and the caption together — not in just one place. Hashtags complement, they don't replace these three layers.
Your next step: Check your next video and confirm the target phrase genuinely appears in spoken audio, not just the caption.