Outlook provides two search methods: cached search and online search. Cached search uses a local index on your computer to find emails quickly. Online search queries the server directly, which is slower but returns results from the entire mailbox. This article explains the speed and index differences between these two modes and helps you choose the right one for your workflow.
Key Takeaways: Outlook Online Search vs Cached Search
- File > Account Settings > Account Settings > Change > Use Cached Exchange Mode: Toggle this checkbox to switch between cached and online search modes for Exchange accounts.
- File > Options > Search > Indexing Options > Modify: Select which Outlook data files to include in the local Windows Search index for faster cached searches.
- Search tab > Search Tools > Search On Server: Manually force an online search when cached search does not return expected results or when searching a large mailbox.
How Outlook Search Modes Work
Outlook uses two distinct search engines depending on the mode configured for your Exchange or Microsoft 365 account. Cached Exchange Mode creates a local copy of your mailbox on your hard drive. Windows Search indexes this local copy. When you type a search query, Outlook queries the local index. This returns results in under two seconds for most mailboxes.
Online mode, also called server-side search, does not maintain a local copy of your mailbox. Every search query is sent to the Exchange server or Microsoft 365. The server searches its own index and returns matching items. This method does not store any data locally but depends on network latency and server load.
What Controls the Search Mode
The search mode is controlled by the Cached Exchange Mode setting. When enabled, Outlook downloads a copy of your mailbox to an Offline Outlook Data File (.ost). Windows Search indexes this .ost file. When disabled, Outlook connects directly to the server and sends all search queries to the server-side index.
You can check the current mode by going to File > Account Settings > Account Settings, selecting your Exchange or Microsoft 365 account, and clicking Change. The checkbox labeled Use Cached Exchange Mode shows the current state. A checked box means cached search is active. An unchecked box means online search is active.
Steps to Switch Between Cached and Online Search
Follow these steps to change the search mode for an Exchange or Microsoft 365 account. You must restart Outlook after making the change for it to take effect.
- Open Account Settings
In Outlook, go to File > Account Settings > Account Settings. - Select the account
Click the Exchange or Microsoft 365 account you want to modify. Do not select an IMAP or POP account because the Cached Exchange Mode setting applies only to Exchange accounts. - Click Change
In the Account Settings dialog, click the Change button. A new window opens with account configuration options. - Toggle Cached Exchange Mode
Check or uncheck the box labeled Use Cached Exchange Mode. Check the box to enable cached search. Uncheck the box to enable online search. - Set the slider for offline sync
If you enable cached mode, use the slider to choose how much mail to keep offline. Options range from 1 month to All. A smaller slider reduces the local index size and speeds up indexing but limits search results to the selected time range. - Restart Outlook
Click OK and then Finish. Close and reopen Outlook. The new search mode becomes active after restart.
Verifying the Active Search Mode
After restarting Outlook, perform a test search. Type a keyword in the search box. If results appear instantly and include items from your entire offline cache, cached search is active. If results appear after a short delay of one to three seconds and show a Search On Server link at the bottom, online search is active.
If Search Performance Is Still Poor
Switching modes does not always fix slow search immediately. The following issues can affect search speed regardless of the selected mode.
Cached Search Returns No Results or Stale Results
If cached search returns no results or shows outdated items, the local Windows Search index may be corrupt or incomplete. Rebuild the index by going to Control Panel > Indexing Options > Advanced > Rebuild. This process can take several hours for large mailboxes. After rebuilding, restart Outlook and test search again.
Online Search Times Out or Returns No Results
Online search depends on a stable network connection. If the server is busy or your internet connection is slow, online search may time out. Check your internet speed and verify that Outlook can connect to the server by looking at the connection status in the bottom-right corner of the Outlook window. A Disconnected status indicates a network problem.
Search Excludes Certain Folders
In cached mode, Outlook only searches folders that are included in the local index. Go to File > Options > Search > Indexing Options > Modify. Ensure that your Outlook data file is selected. If specific folders are missing, they will not appear in cached search results. Include all folders you want to search and then rebuild the index.
Cached Search vs Online Search: Key Differences
| Item | Cached Search | Online Search |
|---|---|---|
| Search speed | Under 2 seconds for most queries | 1 to 5 seconds depending on network and server load |
| Disk space used | Local .ost file and Windows Search index | No local mailbox data stored |
| Search scope | Limited to offline cache duration (e.g., 1 month or 1 year) | Entire mailbox on the server regardless of age |
| Network dependency | Low after initial sync | High every query requires server round trip |
| Index maintenance | Manual rebuild may be needed if index corrupts | No local index to maintain |
| Search On Server option | Available when cached search fails or needs broader scope | Not applicable search already covers full mailbox |
Use cached search when you need fast results and work online or offline. Use online search when you must find items older than your offline cache duration or when local index corruption prevents results from appearing.
To manually trigger an online search from cached mode, click Search On Server in the search results pane or go to Search > Search Tools > Search On Server. This runs a server-side query without switching the entire account to online mode.
For advanced control, create a search folder that uses a specific search scope. Go to Folder > New Search Folder and choose Categorized Mail, Large Mail, or a custom folder. Search folders always use the active search mode of the account.