Where your Mac stores browsing history and why you might want to clear it
Your Mac keeps a record of every website you visit in your web browser — Safari, Chrome, Firefox, or Edge. This history helps the browser suggest sites when you start typing in the address bar, but it also means anyone with access to your computer can see where you've been online. Clearing this history removes those records from your machine, though it does not erase the record that your internet service provider or your employer (if you're on their network) may have kept.
History deletion is straightforward on Mac because each browser stores this information in its own folder, and each one has a built-in tool to wipe it. The steps differ slightly between Safari and Chrome, but both take less than a minute. If you use multiple browsers, you'll need to clear history in each one separately — deleting Safari history does not touch Chrome.
Key Takeaways
- Safari, Chrome, Firefox, and Edge each store browsing history separately, so you must clear history in every browser you use.
- In Safari, open History menu, click Clear History, choose a time range, and confirm — the default clears the last hour.
- In Chrome, press Command+Shift+Delete to open the Clear Browsing Data window, select your time range, and check History before clicking Clear Data.
- You can set any browser to delete history automatically when you close it, which removes the need to do it manually.
- Clearing history does not erase records kept by your internet service provider, employer network, or the websites themselves.
How to delete history in Safari
Safari is the default browser on Mac, and its history tool is in the menu bar at the top of the screen. Open Safari, then click the History menu (between Bookmarks and Develop in the menu bar). A dropdown will appear with a list of recently visited sites and a button that says Clear History at the bottom.
Click Clear History and a small window will pop up asking "Clear history for:" with a dropdown menu. The default is set to "the last hour," but you can change this to "the last day," "the last week," "the last month," or "all history." Choose the time range you want, then click the blue Clear History button. Safari will delete all browsing records from that period and close the window.
How to delete history in Chrome
Chrome stores history in a separate location, so Safari's deletion does not affect it. The fastest way to clear Chrome history is to use the keyboard shortcut Command+Shift+Delete. This opens the "Clear Browsing Data" window directly without needing to navigate menus.
At the top of this window, you'll see a dropdown that says "Time range." The default is "All time," but you can change it to "Last hour," "Last 24 hours," "Last 7 days," "Last 4 weeks," or "All time." Below that, you'll see a checklist of items Chrome can delete: Cookies and other site data, Cached images and files, and Browsing history. Make sure the Browsing history box is checked (it usually is by default). Leave the other boxes checked or unchecked depending on what you want to remove, then click the blue Clear data button at the bottom right.
How to delete history in Firefox and Edge
Firefox uses a similar menu structure to Safari. Click the History menu at the top, then select Clear Recent History. A window will open with a "Time range to clear" dropdown — choose your range, make sure Browsing & read History is checked, and click Clear Now.
Microsoft Edge works almost identically to Chrome. Press Command+Shift+Delete to open the Clear Browsing Data window, select your time range from the dropdown at the top, check Browsing history, and click Clear now. The layout and naming are slightly different from Chrome, but the process is the same.
Setting your browser to delete history automatically
If you want your Mac to delete history without you having to remember, you can set any browser to clear it automatically when you close the process. In Safari, go to Safari menu (top left) → Settings → Privacy tab. Look for the checkbox that says "Remove all website data when quitting Safari" and check it. From now on, Safari will delete your history, cookies, and cached files every time you close the browser.
In Chrome, click the three-dot menu (top right) → Settings → Privacy and security → Clear browsing data. Check the box for "Delete cookies and site data when you quit Chrome." Chrome will then automatically clear history and cookies each time you close it. Firefox and Edge have similar settings in their preferences under Privacy or History sections — look for an option to clear data on exit.
What clearing history does and does not do
When you delete browsing history from your Mac, you are removing the record stored on your computer. This means the browser's address bar will not suggest those sites, and anyone looking at your computer will not see where you've been. However, this deletion is local to your machine only.
Your internet service provider (ISP) keeps its own records of which websites your computer connected to, and clearing your Mac's history does not erase those records. If you are on a work network, your employer's network administrator may have logs of your traffic. The websites you visited also keep their own records — they know you visited because your computer sent a request to their servers. Clearing your Mac's history does not contact those websites or ask them to forget you.
Frequently Asked Questions
Does clearing history on Mac delete passwords I've saved?
No. Browsing history and saved passwords are stored in different locations. When you clear history, you remove only the list of sites you visited. Passwords remain saved unless you specifically delete them through the browser's password settings. If you want to remove a saved password, go to Settings → Passwords and remove individual entries there.
Can I recover history after I delete it?
Once you clear history from your browser, it is gone from your Mac. You cannot recover it through the browser itself. If you need to find a website you visited, you can check your email for confirmation messages, look through your downloads folder, or search your documents for text you remember from the site.
If I delete history in Safari, does it delete Chrome history too?
No. Each browser keeps its history in a separate location on your Mac. Deleting Safari history leaves Chrome history untouched. You must clear history in each browser separately if you use more than one.
What is the difference between clearing history and clearing cache?
History is the list of websites you visited. Cache is the temporary files (images, scripts, stylesheets) that websites store on your Mac to load faster next time. Clearing history removes the list; clearing cache removes those temporary files. Most browsers let you clear both at the same time, but they are separate things.
Will clearing history speed up my Mac?
Clearing browsing history itself will not noticeably speed up your Mac because history files are small. However, clearing cache (temporary files) can free up some disk space if you have not cleared it in a long time. The performance gain is usually minimal unless your Mac is very low on storage.