Where your Mac stores browsing history and why you might clear it

Your Mac keeps a record of every website you visit, every search you make, and every file you read — this is your browsing history. The browser stores it so it can suggest sites when you type in the address bar, reload pages faster, and help you find something you visited before. But history also means anyone else using your Mac can see where you've been.

Clearing history removes that record from your browser. It does not delete the websites themselves or prevent your internet provider from seeing where you go — it only removes the local record on your computer. Most people clear history for privacy from other household members, before selling or giving away a Mac, or straightforward to free up a small amount of storage space.

The steps differ slightly depending on which browser you use. Safari, Chrome, and Firefox are the three most common on Mac, and each has its own history menu. The process takes less than a minute once you know where to look.

Key Takeaways

  • Clearing history removes the record of websites you visited from your browser, but does not hide your activity from your internet provider.
  • In Safari, go to History menu, then select Clear History, and choose how far back to delete.
  • In Chrome, press Command+Shift+Delete to open the Clear Browsing Data window, select your time range, and check the boxes for what you want to remove.
  • In Firefox, press Command+Shift+Delete to open the Clear Recent History window, choose your time range, and click Clear Now.
  • You can set any of these browsers to clear history automatically every time you close it.

Clearing history in Safari

Open Safari and look at the menu bar at the very top of your screen. Click on History — it sits between Bookmarks and Develop. A dropdown menu will appear with a list of recently visited sites at the top and several options below them.

At the bottom of that dropdown, you will see Clear History. Click it. A small window will pop up asking "Clear history from:" with a dropdown menu that currently shows a time period like "the last hour" or "today". Click that dropdown to see your options: the last hour, today, today and yesterday, the last week, the last 2 weeks, the last month, or all history. Choose how far back you want to delete, then click the blue Clear History button. Safari will remove that history when ready and the window will close.

Clearing history in Chrome

Open Chrome and use the keyboard shortcut Command+Shift+Delete all at once. This opens the Clear Browsing Data window directly. If the shortcut does not work, you can also click the three vertical dots in the top right corner of Chrome, select Settings, then click Privacy and Security on the left side, then Clear Browsing Data.

The Clear Browsing Data window has two tabs at the top: Basic and Advanced. Basic is usually enough. Below that, you will see a dropdown that says "Time range" — click it and choose the last hour, 24 hours, 7 days, 4 weeks, all time, or a custom date range. Below the time range, you will see checkboxes for different types of data: Cookies and other site data, Cached images and files, and sometimes others. Leave these checked unless you have a specific reason to uncheck them. Then click the blue Clear data button at the bottom right.

Clearing history in Firefox

Open Firefox and use the keyboard shortcut Command+Shift+Delete. This opens the Clear Recent History window. If the shortcut does not work, click the menu button (three horizontal lines) in the top right corner, select Settings, then click Privacy & Security on the left side, scroll down to History, and click Clear Recent History.

The Clear Recent History window shows a dropdown at the top labeled "Time range to clear:" — click it and choose the last hour, last 2 hours, last 4 hours, today, or everything. Below that, checkboxes show what will be deleted: Browsing & read History is checked by default, which is what you want. You can also check Cookies and Cache if you want to remove those too. Click the blue Clear Now button and the window will close.

Setting your browser to clear history automatically

If you want your browser to clear history every time you close it, you can turn on automatic clearing. In Safari, click Safari in the menu bar, then Preferences, then the Privacy tab. At the bottom, check the box that says "Remove all website data when quitting Safari." From now on, Safari will clear history, cookies, and cache each time you fully close the browser.

In Chrome, click the three dots in the top right, go to Settings, then Privacy and Security, then Clear Browsing Data. Check the box that says "Clear cookies and site data when you quit Chrome." You can also click "On startup" at the top to choose what data Chrome clears when it starts up instead.

In Firefox, click the menu button (three lines) in the top right, go to Settings, then Privacy & Security. Scroll down to History and click the dropdown next to "Firefox will:" — select "Use custom settings for history." Then check the box that says "Clear history when Firefox closes." Firefox will now clear browsing history, cookies, and site data each time you close the browser completely.

What clearing history does and does not do

Clearing history removes the list of websites from your browser's memory on your Mac. It also typically removes cookies (small files websites use to remember you) and cached data (copies of web pages stored locally to load faster). Someone else using your Mac will not be able to see where you went by looking at your browser history.

Clearing history does not hide your activity from your internet service provider, your employer if you are on a work network, or the websites themselves. Those organizations have their own records of your visits that exist on their servers, not on your Mac. If you want to browse without leaving a record anywhere, you would need to use a private browsing window (called Incognito in Chrome, Private Window in Safari and Firefox) while you browse, not after the fact.

Clearing other traces of your activity

History is only one part of what your browser remembers. If you want a more thorough cleanup, you can also clear your cache (temporary copies of web pages), cookies (files that remember your login and preferences), and autofill data (saved passwords and form information).

In Safari, go to History and Clear History, but before you click Clear History, look at the dropdown that says "Remove all website data" — check that box to delete cookies and cache along with history. In Chrome and Firefox, the Clear Browsing Data and Clear Recent History windows let you check additional boxes for Cookies, Cache, and Autofill Data before you click Clear. Removing these takes a few seconds longer but gives you a cleaner slate.

Frequently Asked Questions

Does clearing history delete my saved passwords?

No. Passwords are stored separately from history and are not deleted when you clear browsing history. If you want to remove saved passwords, you have to do that in your browser's password settings. In Safari, go to Preferences and Passwords; in Chrome, go to Settings and Passwords; in Firefox, go to Settings and Logins and Passwords.

Will clearing history speed up my Mac?

Slightly, but not noticeably. Browsing history takes up very little space on a modern Mac — usually just a few megabytes. Clearing it will free up that tiny amount, but you will not see a performance difference. The main reason to clear history is privacy, not speed.

Can I recover history after I clear it?

No. Once you clear history from your browser, it is gone from your Mac. Your internet service provider and the websites you visited still have records, but your local browser history cannot be recovered. If you think you might need a record of a site you visited, bookmark it or write down the URL before you clear.

What is the difference between clearing history and using private browsing?

Private browsing (Incognito in Chrome, Private Window in Safari and Firefox) prevents your browser from recording history while you browse — nothing gets saved in the first place. Clearing history removes the record after you have already browsed. Private browsing is better if you know in advance you do not want a record; clearing history is what you do after the fact.

Do I need to clear history on each browser separately?

Yes. Each browser keeps its own separate history. If you use Safari, Chrome, and Firefox, you will need to clear history in each one individually. There is no single setting on your Mac that clears history across all browsers at once.