Use X Advanced search to combine an account, words and a date range. Start with one condition that returns useful results, then add filters one at a time. This makes the query easier to fix when results disappear.
Open Advanced search while signed in on the web. This page focuses on building a query. For a step-by-step hunt for a particular historical post, see find old tweets by account and date.
Choose the form or the search bar
The form is the easiest starting point when you do not remember syntax. X documents filters for words, accounts and dates in its advanced-search instructions. On a results page, look under Search filters or the more-options menu for Advanced search. If the app does not show it, open the web form.
The search bar is useful for saving and adjusting a short recipe. The examples below use the placeholder handle example; replace it with the account you mean. They illustrate search construction, not guaranteed matching posts.
Build one query in four steps
- Choose the anchor. Start with a distinctive topic or an account, for example
from:example. - Add the subject. Try
from:example workshop. If it works, narrow to a phrase such asfrom:example "design workshop". - Set dates. Use the form's calendar fields, or add a recipe such as
since:2024-01-01 until:2025-01-01. - Exclude noise. Add
-ticketsonly if ticket posts are actually distracting you.
After each change, inspect a few results. If the result set becomes empty, undo the last restriction. Do not begin with a long query whose assumptions you cannot check.
A small reference you can actually use
| Need | Search-bar example | Form equivalent |
|---|---|---|
| One account | from:example | From these accounts |
| A reply recipient | to:example | To these accounts |
| An account mention | @example | Mentioning these accounts |
| Exact wording | "repair clinic" | This exact phrase |
| Either word | repair OR restoration | Any of these words |
| Exclude a word | repair -phone | None of these words |
| Hashtag | #RepairClinic | These hashtags |
| Date window | since:2024-01-01 until:2025-01-01 | From/To calendars |
Account author, reply recipient and mention are different conditions. A post mentioning an account was not necessarily written by that account. Use straight quotes for an exact phrase, and write OR in capitals in these recipes.
For precise date research, inspect the timestamp on boundary results. Keep the time zone in your notes rather than silently treating every displayed date as UTC.
Worked examples for three different tasks
Find an account’s announcement
from:example "summer programme" since:2024-01-01 until:2025-01-01Start with the account and dates. Add the phrase after you confirm that the account search works. If you only remember the idea rather than the wording, replace the phrase with summer.
Read replies sent to an account
to:example deliveryThis looks for replies involving the recipient and the word. It does not establish that every result is a customer complaint or that you have captured all customers.
Separate two meanings of a word
jaguar -car -dealershipThis can reduce vehicle-related noise in a wildlife search. It can also remove useful posts containing both meanings. Review a small sample before applying exclusions to a larger research task.
Fix an empty or misleading result set
- No results: remove exact phrases first, then date and language restrictions.
- Wrong person: compare the handle with the profile; a display name is not unique.
- Only popular results: compare Top and Latest when available.
- Missing protected or sensitive posts: check access and content filters. A query does not override visibility rules.
- Unexpected interpretation: rebuild with the form instead of adding more punctuation.
X's search troubleshooting page explains that results can omit posts. A search is a discovery view, not proof of a complete archive or a reliable count of every matching post.
Keep a search recipe separate from a dataset
For a repeatable research note, save the full query, date searched, signed-in access context, selected result tab and a few representative URLs. If you later change a filter, record that change. A screenshot alone rarely captures the complete method.
Do not copy API-only syntax into the website and assume the same behavior. X's API query documentation describes a separate interface with its own operator and access rules.
If you need your own historical records, a personal archive is a different source. Use our archive format reference to understand what is actually in the files. Neither a keyword query nor an analytics product can recreate information it never received.