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

Your Mac keeps a record of every website you visit, every search you perform, and every file you read — this is called your browsing history. Safari, Chrome, Firefox, and Edge all maintain separate histories. Clearing this history removes those records from your computer, though it does not erase the websites themselves or prevent your internet service provider from seeing where you went.

People clear history for different reasons. You might want to remove it before selling or giving away your Mac. You might want to clean up your browser so old searches do not clutter your suggestions. Or you might straightforward want to prevent other people who use your computer from seeing where you have been online. The steps differ slightly depending on which browser you use, but the process takes less than a minute in any of them.

Key Takeaways

  • Each browser on your Mac — Safari, Chrome, Firefox, Edge — stores its own separate history that you must clear individually.
  • You can delete all history at once or choose a specific time range, like the last hour or the last day.
  • Clearing history removes your browsing record from the browser but does not affect your bookmarks, saved passwords, or autofill information unless you specifically choose to remove those too.
  • If you want to prevent history from being recorded in the first place, use your browser's private or incognito mode.

How to delete history in Safari

Safari is the default browser on Mac. To clear your history, open Safari and look at the menu bar at the very top of your screen. Click History, then scroll down and click Clear History. A small window will pop up asking you what time period you want to clear — you can choose the last hour, today, today and yesterday, or all history. Select what you want and click Clear History again.

If you want more control over what gets deleted, you can use Safari's preferences instead. Click Safari in the menu bar, then Settings (or Preferences on older Macs). Go to the Privacy tab. You will see options to remove history, cookies, and website data. You can choose to remove these items automatically when you quit Safari, or you can manage them manually by clicking Manage Website Data and selecting specific sites to delete.

How to delete history in Chrome

Open Chrome and look at the menu bar. Click the three vertical dots in the top right corner of the browser window — this is Chrome's menu button. Select Delete browsing data from the dropdown. A window will open with several options at the top: All time, Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or Last 3 months. Choose the time range you want.

Below the time range, you will see checkboxes for what to delete. By default, Cookies and other site data and Cached images and files are checked along with Browsing history. You can uncheck any of these if you want to keep them. Once you have selected what you want to remove, click the blue Delete data button at the bottom right.

How to delete history in Firefox

Open Firefox and click the menu button — three horizontal lines in the top right corner. Select Settings, then click Privacy & Security in the left sidebar. Scroll down to the section labeled History. You will see a button that says Clear your recent history. Click it.

A window will open asking you to choose a time range: Last Hour, Last 2 Hours, Last 4 Hours, Today, or Everything. Select your choice. Below that, you can check or uncheck what you want to clear — browsing history is selected by default, but you can also remove downloads, form history, cookies, and cached data. Click Clear Now when you are ready.

How to delete history in Microsoft Edge

Open Edge and click the three-dot menu button in the top right corner. Select History, then Clear browsing data. A panel will slide in from the right side of your screen. At the top, choose your time range: Last hour, Last 24 hours, Last 7 days, Last 4 weeks, Last 3 months, or All time.

Below the time range, check the boxes for what you want to delete. Browsing history is checked by default. You can also remove cookies, cached images and files, and read history. Once you have made your selections, click the blue Clear now button at the bottom of the panel.

Using private browsing to prevent history from being recorded

If you want to browse without creating a history record in the first place, every Mac browser offers a private or incognito mode. In Safari, click File in the menu bar and select New Private Window. In Chrome, click the menu button and select New incognito window. In Firefox, click the menu button and select New Private Window. In Edge, click the menu button and select New InPrivate window.

When you use private mode, your browser does not save your history, cookies, or search terms. However, files you read are still saved to your Downloads folder, and your internet service provider can still see where you go. Private mode is useful when you are using a shared computer or when you straightforward do not want your browsing recorded locally.

What gets deleted and what stays behind

When you clear your browsing history, you are removing the list of websites you visited and the searches you performed. However, clearing history does not automatically delete your bookmarks, saved passwords, or autofill information — those are stored separately. If you want to remove those as well, you will need to do that through your browser's settings.

Clearing history also does not delete files you have downloaded. Those remain in your Downloads folder or wherever you saved them. If you want to remove downloaded files, you must delete them manually from your computer. Additionally, clearing your Mac's history does not affect your iCloud data if you use Safari with iCloud sync — you would need to manage that separately through your iCloud settings.

Frequently Asked Questions

Does clearing history delete files I downloaded?

No. Clearing browsing history removes only the record of websites you visited and searches you performed. Downloaded files stay in your Downloads folder or wherever you saved them. You must delete those files manually if you want to remove them from your computer.

Will clearing history remove my saved passwords?

No. Passwords are stored separately from browsing history. If you want to delete saved passwords, you must do that through your browser's password settings, not through the clear history function. Be careful when removing passwords — you will need to re-enter them the next time you visit those websites.

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

Most browsers do not offer a straightforward way to delete history for a single site. Your best option is to use private browsing mode when you visit sites you do not want recorded. Alternatively, some browsers let you manage individual sites through their privacy settings, though this is more time-consuming than clearing all history at once.

If I clear my history, can someone recover it?

Clearing your browser history removes it from the browser itself. However, a person with advanced technical skills and physical access to your Mac might be able to recover deleted data using specialized tools. If you are concerned about data recovery, you should encrypt your Mac or use a tool designed to securely erase data.

Do I need to clear history on each browser separately?

Yes. Each browser — Safari, Chrome, Firefox, and Edge — maintains its own separate history. Clearing history in Safari does not affect Chrome, and vice versa. If you use multiple browsers, you will need to clear history in each one individually.