Where your Mac stores browsing history and how to delete it

Your Mac keeps a record of every website you visit, every search you perform, and every file you read — and this information stays on your computer until you remove it. The main places this data lives are inside your web browser (Safari, Chrome, Firefox, or Edge), in your Downloads folder, and in your system's cache files. Clearing history means removing these records so that someone else using your computer cannot see where you have been online.

The fastest way to clear everything at once is through your browser's settings, which takes about two minutes. If you want more control over what gets deleted and what stays, you can clear history by date range or by website. You can also set your browser to delete history automatically every time you close it, so you do not have to remember to do it manually.

Key Takeaways

  • Safari, Chrome, Firefox, and Edge all store browsing history in their own separate locations, so you need to clear history in each browser you use.
  • Clearing history removes websites you visited and searches you performed, but does not delete files you downloaded unless you choose to delete them from your Downloads folder separately.
  • You can set any browser to automatically delete history when you close it, so you never have to remember to do it manually.
  • Clearing history from your browser does not remove your activity from your internet service provider or from the websites you visited — only from your own computer.

Clear history in Safari

Open Safari and click the History menu at the top of your screen. A dropdown list appears. Click Clear History near the bottom of that list. A small window pops up asking how far back you want to clear — choose all history if you want to remove everything, or pick a specific time range like the last hour or today. Click the blue Clear History button to confirm.

If you want Safari to delete history automatically, go to Safari in the top menu, then Settings, then click the Privacy tab. Check the box next to Remove history items and choose how often from the dropdown — after one day or when quitting Safari are the most common choices. Click the red close button when you are done.

Clear history in Chrome

Open Chrome and press Command + Shift + Delete on your keyboard. This opens the Clear Browsing Data window directly. At the top, choose your time range from the dropdown — All time clears everything. Make sure the boxes next to Cookies and other site data and Cached images and files are checked, then click the blue Clear data button.

To make Chrome delete history automatically, open Chrome, click the three vertical dots in the top right corner, go to Settings, then click Privacy and security on the left side. Under Clear browsing data, check the box next to Delete cookies and site data when you quit Chrome. Chrome will now clear your history every time you close the browser completely.

Clear history in Firefox

Open Firefox and press Command + Shift + Delete on your keyboard. The History window opens. On the left side, click Clear Recent History. A box appears asking what time range to clear — select Everything from the dropdown at the top. Make sure Browsing & read History is checked, then click the blue Clear Now button.

To set Firefox to clear history automatically, open Firefox, click the three horizontal lines in the top right, go to Settings, then click Privacy & Security on the left. Scroll down to History and click the dropdown next to Firefox will. Choose Use custom settings for history. Check the box next to Clear history when Firefox closes and Firefox will delete your browsing record every time you shut down the browser.

Clear history in Microsoft Edge

Open Edge and press Command + Shift + Delete on your keyboard. The Clear Browsing Data window opens on the right side of your screen. At the top, choose your time range — All time removes everything. Make sure Browsing history, read history, and Cookies and other site data are all checked, then click the blue Clear now button.

To set Edge to clear history automatically, open Edge, click the three horizontal dots in the top right corner, go to Settings, then click Privacy, search, and services on the left. Scroll down to Clear browsing data and toggle on the switch next to Choose what to clear every time you close the browser. Edge will now delete your history automatically when you close it completely.

Delete files from your Downloads folder

Clearing browser history removes the record that you visited a website, but it does not delete files you downloaded — those stay in your Downloads folder. To remove them, open Finder, click Downloads in the sidebar on the left, and you see every file you have downloaded. Click any file you want to delete, then press Command + Delete, or right-click the file and choose Move to Trash. When you are done deleting files, right-click the Trash icon in your dock and choose Empty Trash to permanently remove them.

If you have downloaded many files and want to delete them all at once, click the first file, then hold Shift and click the last file to select everything in between. Then press Command + Delete to move all of them to Trash at once.

What clearing history does and does not do

Clearing history from your browser removes the list of websites you visited and searches you performed from your computer. It also removes cookies, which are small files that websites use to remember you. However, clearing history does not erase your activity from your internet service provider — they can still see what websites you visited because the data passes through their network. It also does not remove your activity from the websites themselves, which keep their own records of your visits.

If you want privacy from your internet service provider, you would need to use a VPN (Virtual Private Network), which is a separate tool that encrypts your connection. If you want to prevent websites from tracking you, you can use your browser's private browsing mode, which does not save history at all while you are using it. Clearing history is useful for preventing someone else who uses your computer from seeing where you have been online, but it is not a complete privacy solution.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No. Clearing history removes websites you visited and searches you performed, but not passwords you saved. If you want to delete a saved password, you need to go into your browser's password settings separately. In Safari, go to Settings and click Passwords. In Chrome, click the three dots, go to Settings, then Passwords. Find the password you want to remove and click the trash icon next to it.

Can I clear history for just one website instead of everything?

Yes. In Safari, go to History menu and hover over Show History to see a list of websites. Right-click any website and choose Delete. In Chrome, open the History menu (Command + Y), find the website, and click the trash icon next to it. In Firefox and Edge, you can do the same thing in their History windows. This removes just that one website from your history without touching anything else.

What if I want to keep some history but delete other parts?

When you open the Clear Browsing Data window in any browser, you can uncheck boxes to keep certain types of data. For example, you can clear browsing history but keep cookies, or clear cookies but keep cached files. Choose exactly what you want to delete before you click the Clear button. This gives you control over what stays on your computer and what goes.

Does restarting my Mac delete history automatically?

No. Restarting your Mac does not clear any history or data. History stays on your computer until you manually delete it through your browser settings or until you set your browser to delete it automatically when you close it. Restarting does not trigger any automatic cleanup.

Can someone recover history I deleted?

Deleted history is difficult but not impossible to recover with specialized software, especially if you deleted it recently. For most purposes, clearing history through your browser is sufficient to prevent someone casually using your computer from seeing where you went online. If you need stronger protection, you can use your browser's private browsing mode while you are online, which does not save history at all.