What is a hashtag?
A hashtag is a word or phrase written after a # sign, with no spaces, that turns into a link to every public post using the same tag. People add hashtags so their posts can be found in search and on topic pages, and each platform sets its own limit on how many a post can carry.
Also called: Hash tag, Topic tag
Hashtag on each platform
Instagram
- As of December 2026 Instagram states two different limits: its Help Center allows up to 5 hashtags on a post, while Meta's API reference for developers still says 30. Plan for 5 until the two agree. Posts from private accounts do not appear on public hashtag pages.Instagram Help Center: Use hashtags on InstagramMeta for Developers: IG User media reference
X (Twitter)
- X lets you use as many hashtags as you like but recommends no more than 2 per post. Spaces or punctuation inside a tag break it.
YouTube
- YouTube shows up to three of a video's hashtags next to the title. If a video carries more than 60 hashtags, YouTube ignores all of them, and over-tagging can get the video removed from search.
Threads
- Threads uses topic tags rather than hashtags: one per post, up to 50 characters, and spaces are allowed. The # sign is optional.
How to pick hashtags
Treat a hashtag as a search term, not decoration. Use the words someone interested in the post would actually type, keep to the few that describe it best, and put them in the caption rather than a comment if you want the post to show up in search. Broad tags put you next to millions of posts, while specific ones put you in front of the people looking for exactly that.
Frequently asked questions
How many hashtags can you use on Instagram?
As of December 2026 Instagram gives two numbers. The Instagram Help Center says up to 5 hashtags per post, and a caption or comment with more will not post. Meta's API reference for developers still says 30. Use 5 to be safe.
Can a hashtag have spaces in it?
Not on Instagram, X or YouTube, where a space ends the tag. Join the words instead, as in #SocialMediaTips. Threads topic tags are the exception and can include spaces.
Should hashtags go in the caption or the first comment?
Instagram's advice to creators is to put keywords and hashtags in the caption, not the comments, if you want the post to be found in search.
Related terms
- CaptionA caption is the text that goes with a social media post: the words under a photo, beside a video or on top of a Reel or TikTok.
- Explore pageThe Explore page is a discovery screen that shows posts and videos from accounts you do not follow yet, chosen to match what you have liked, saved and shared before.
- MentionA mention is a reference to another account inside a post, caption, comment or reply, written as @ followed directly by that account's handle.
- Character limitA character limit is the maximum length a platform accepts for a piece of text, such as a post, caption, title or bio.
Post to every platform from one place
Write a post once, adjust it per platform, and schedule it to YouTube, TikTok, X, LinkedIn, Instagram, Facebook, Threads and Bluesky with PublishQ.
Explore related
Instagram limits
Image sizes, video specs, and API publishing limits for Instagram.
X (Twitter) limits
Image sizes, video specs, and API publishing limits for X (Twitter).
YouTube limits
Image sizes, video specs, and API publishing limits for YouTube.
Threads limits
Image sizes, video specs, and API publishing limits for Threads.
Bluesky API Limits: Post, Image, Video, and Rate Limits (2026)
Complete reference for Bluesky API limits: 300 character posts, 2 MB images, 100 MB/3 min videos, 5,000 points/hour rate limits. All from official sources.