Knowledge Base entry

How do you restrict a search to a single community?

A practical answer page built from the knowledge base source.

Restricting a search to a single community is one of the most practical search techniques on Reddit and can be done in several ways depending on the interface you are using. The most straightforward method on the desktop site is to navigate to the community first — go to r/communityname — and then use the search bar at the top of the page. When you are inside a community, Reddit automatically scopes the search to that subreddit by default, and the search bar will typically display a prompt like "Search r/communityname" to confirm the scope. Submitting a query from within a community returns only posts from that specific subreddit rather than the entire platform. A second method that works regardless of your current location is using the search operator syntax. Typing "subreddit:communityname yourquery" into the global search bar restricts results to posts from that subreddit even when searching from the homepage. According to Reddit's documented search operators, the correct syntax is subreddit:askreddit followed by your search terms, for example. This works on the desktop website reliably, though the mobile app has some inconsistencies with search operator support. A third approach that many power users rely on is Google search with the syntax "site:reddit.com/r/communityname yourquery". This instructs Google to return only results from within that specific subreddit and often yields more comprehensive results than Reddit's own search, particularly for older posts that Reddit's algorithm may no longer surface prominently. This is especially useful when you know a discussion happened in a particular community some months or years ago and need to relocate it. Combining community-specific search with appropriate time filters in the results page — for example, setting the time window to "Past Year" — further refines what comes back and reduces noise from tangentially related posts.