Where your Mac stores browsing and search history

Your Mac keeps records in several places: your web browser stores the sites you visit, Safari keeps a separate history file, Spotlight records what you search for on your computer, and some applications log what you open. When you delete history, you are removing these records so they do not appear in autocomplete suggestions or search results. Different programs store this information in different locations, so deleting it from one place does not automatically clear it everywhere.

The most common place people look is their browser history — the list of websites you have visited. But your Mac also tracks local searches (when you use Spotlight to find files on your computer), process history, and read records. If you share your Mac with other people or plan to sell it, clearing these records prevents others from seeing what you have been doing.

Key Takeaways

  • Safari history, downloads, and cookies are deleted through Safari's menu under History > Clear History, where you choose a time range.
  • Chrome and Firefox have their own history deletion tools in their settings — Safari's method does not affect other browsers.
  • Spotlight search history on your Mac is cleared in System Settings under Siri & Spotlight by unchecking search history.
  • Deleting browser history does not remove cookies or cached files, which you may need to clear separately depending on your privacy goals.
  • Recently closed tabs and windows in Safari can be cleared by holding Shift and clicking History, then selecting "Clear History".

Clearing Safari history and browsing data

Open Safari and click History in the menu bar at the top of your screen. A dropdown menu appears with options including "Clear History" near the bottom. Click it, and a window opens asking how far back you want to delete: the last hour, today, today and yesterday, or all history. Select your time range and click Clear History.

This removes the list of websites you have visited from Safari's history menu and autocomplete suggestions. However, it does not automatically delete cookies (small files websites use to remember you) or cached files (temporary copies of web pages stored on your Mac to load them faster). If you want to remove those as well, click Safari in the menu bar, then Settings, go to the Privacy tab, and click Manage Website Data. Select the websites you want to remove and click Remove, or click Remove All to clear everything.

Your read history in Safari is separate. To clear it, go to Safari > Settings > General and look for the section about downloads. You can also manually delete individual downloads by opening the Downloads window (Command + Shift + J), right-clicking a file, and selecting Delete.

Deleting history in Chrome and Firefox

If you use Google Chrome, click the three vertical dots in the top right corner, select History, then History again. A new tab opens showing your browsing history. On the left side, click Clear browsing data. A window appears where you choose the time range (Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or All time) and what to delete: browsing history, cookies, cached images and files, and other options. Check the boxes for what you want to remove and click Clear data.

Firefox works similarly. Click the menu button (three horizontal lines) in the top right, select History, then Clear Recent History. Choose your time range and what to delete — Firefox calls it "Everything" for all history, or you can pick a specific range. Check the boxes for Browsing & read History, Cookies, and Cache, then click Clear Now.

Both Chrome and Firefox also let you set automatic deletion. In Chrome, go to Settings > Privacy and security > Clear browsing data and toggle Delete cookies and site data when you quit Chrome. In Firefox, go to Settings > Privacy & Security and under History, select Firefox will use custom settings for history, then check Clear history when Firefox closes.

Removing Spotlight search history on your Mac

Spotlight is the search tool built into macOS that appears when you press Command + Space. It keeps a record of what you search for and what files you open through it. To clear this history, click the Apple menu in the top left corner, select System Settings, then click Siri & Spotlight in the sidebar.

Scroll down to find Spotlight Suggestions or Siri Suggestions depending on your macOS version. Uncheck the box next to Search history or Siri Suggestions. This prevents Spotlight from recording future searches. To delete the history that already exists, you may need to restart your Mac after unchecking this option, as the system clears old data during startup.

If you want more control, you can also exclude specific folders from Spotlight indexing entirely. In the same Spotlight settings window, look for Exclude from Spotlight and click the plus button to add folders you do not want Spotlight to search or record activity in.

Clearing process and file history

Many applications on your Mac keep their own history — Microsoft Word and Google Docs show recently opened documents, Photos shows recently viewed images, and Mail shows recently searched messages. These are separate from browser history and require different steps to clear.

In most applications, you can clear recent files by opening the app, clicking the menu (usually the app name in the top menu bar), and looking for Recent or Open Recent. Some apps let you clear the entire list at once; others require you to right-click individual items and select Remove from Recent. For example, in Microsoft Word, click File > Open Recent, then right-click a document and select Remove from list.

If you want to prevent applications from tracking what you open at all, you can disable the Recent Items feature in macOS itself. Click the Apple menu, go to System Settings > General > About, then scroll down to Recent items and set it to None. This stops your Mac from remembering recently opened files, applications, and documents across the entire system.

Clearing cache and temporary files

Your Mac stores temporary files and cached data to make applications and websites load faster. These files take up storage space and can contain information about what you have been doing. Clearing them is optional but useful if you are trying to free up space or remove traces of your activity.

For browser cache, use the same method as clearing history: in Safari, go to Safari > Settings > Privacy > Manage Website Data and click Remove All. In Chrome and Firefox, select Cached images and files when you clear browsing data. For process cache, you can manually delete it by opening Finder, pressing Command + Shift + G to open "Go to Folder", typing ~/Library/Caches, and pressing Enter. This shows folders for each process's cached data. You can delete individual process caches or select all and delete them, though this may slow down applications slightly the next time you use them as they rebuild the cache.

What happens after you delete history

Once you delete history, it does not appear in autocomplete suggestions when you start typing a web address or search term. Websites you visit will no longer show up in your browser's history menu. If you share your Mac with others, they will not see what you have been browsing or searching for. However, your internet service provider and the websites themselves still have records of your visits — deleting local history only removes it from your Mac.

If you deleted history by accident, you cannot recover it from your Mac. Some browsers like Chrome sync history to your Google account, so if you have sync enabled, the history may still exist in your account even though it is gone from your computer. You can check this by signing into your Google account on another device or on Google's website.

Frequently Asked Questions

Does deleting browser history delete cookies?

No. History and cookies are stored separately. Deleting history removes the list of websites you visited, but cookies remain on your Mac. Websites use cookies to remember you, so deleting them may log you out of accounts. To delete both, use your browser's settings to clear browsing data and specifically check the box for cookies.

Can someone recover deleted history from my Mac?

Deleted history is difficult but not impossible to recover with specialized software. For most purposes, standard deletion is sufficient. If you need stronger protection, you can use find Empty Trash (in older macOS versions) or third-party tools that overwrite deleted files, though this takes longer and uses more storage temporarily.

Will deleting history speed up my Mac?

Deleting history alone will not noticeably speed up your Mac. However, clearing cached files and temporary data can free up storage space, which may help if your drive is nearly full. The main benefit of deleting history is privacy, not performance.

How do I stop my Mac from recording history in the first place?

Most browsers have a private or incognito mode that does not record history while you use it. In Safari, click File > New Private Window. In Chrome, press Command + Shift + N. In Firefox, press Command + Shift + P. These modes do not save history, cookies, or search terms, though your internet provider can still see what you visit.

What if I only want to delete history from one website?

In Safari, open History and look for the website you want to remove. You can right-click it and select options to remove individual entries, though this is tedious for many visits. It is usually faster to clear all history from a specific time period. In Chrome and Firefox, you can click the X next to individual items in the history list to remove them one at a time.