---
title: Search a DM or channel
description: Search one conversation's whole history with in:, from the conversation or from the top bar.
---

Naming a conversation with `in:` searches only that conversation. For a DM or a private channel, it also searches its whole history, not just the messages already on this device.

## Search the conversation you are in

**Computer**

Press <kbd>Ctrl+F</kbd> (<kbd>⌘F</kbd> on a Mac). The top bar's search opens with `in:` and the conversation already typed. Type your words and press <kbd>Enter</kbd>.

Or click the top bar's search field: while it is empty, the first row, for example **Search in #design**, fills in the conversation. Once you have typed words, the row that says **In** and the conversation's name does the same.

**Phone**

In the conversation, tap **More actions** (⋮), then **Search in conversation**. Search fills the screen with `in:` and the conversation already typed. Type your words and tap search on the keyboard.

There is no search button in the conversation's header: search is always the top bar's.

## Name a conversation yourself

Type `in:` in the search field and the list offers your conversations to complete it. Or type it out:

| Type | Searches |
| --- | --- |
| `in:#design` | the channel **#design** |
| `in:@ana` | your DM with Ana |
| `in:@me` | your DM with yourself |
| `in:design` | a conversation by the name you see in the sidebar |

On the results page, the **In** filter does the same: it lists every conversation, with a lock on DMs and private channels.

## When a DM or private channel is searched in full

DMs and private channels are end-to-end encrypted, so the server can't search them. Your device searches them instead. When you name one with `in:`, the device fetches its older messages while you search, and decrypts and searches them as they arrive.

While it does, a line above the results says how far back it has searched, for example "Ana searched back to 12 March 2025; fetching older messages…". More results come in as it goes. When it reaches the start of the conversation, the line goes away.

Nothing is fetched until you search a conversation like this, so a long DM may take a while the first time. The next time, what was fetched is already on this device.

## Search several conversations at once

- Add more than one `in:` to search them together, for example `in:@ana in:#design budget`. Results from all of them come in one list, newest first, whether they are public channels or private conversations.
- Put a minus in front to leave a conversation out: `-in:#random budget`.

## Search everywhere again

Remove the `in:` from the field, or choose **All conversations** under the **In** filter.

See also [Narrow a search](/chat/search/filters-and-modifiers).
