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 Safari, Chrome, Firefox, or whatever browser you use. This history lives in your browser's own storage, separate from your computer's main file system — so deleting files from your Desktop or Trash won't touch it. The browser remembers sites so it can suggest them when you type in the address bar, and so you can use the back button to return to pages you've seen.

You might want to clear this history for privacy (so others using your Mac don't see where you've been), to free up a small amount of storage, or straightforward to start fresh. The process is different depending on which browser you use, and each one lets you delete everything at once or pick a specific time range.

Key Takeaways

  • Safari, Chrome, and Firefox each store history in their own location and require different steps to delete it.
  • You can delete all history at once or choose a specific time period — last hour, last day, last week, or last month.
  • Clearing history does not delete saved passwords or payment information unless you specifically choose to remove those too.
  • History deletion happens when ready and cannot be undone, so make sure you want to remove it before you confirm.

How to delete history in Safari

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 to choose a time range.

The dropdown menu at the top of that window shows your options: the last hour, today, today and yesterday, or all history. Pick whichever period you want to remove, then click the Clear History button at the bottom right of the window. That's it — your history for that time period is gone.

If you want to be more selective and delete only certain sites, you can also go to History in the menu bar and scroll through the list to find the site you want to remove. Hover over it and a small × will appear on the right side — click that to delete just that one entry.

How to delete history in Chrome

Open Chrome and use the keyboard shortcut Command + Shift + Delete (hold all three keys at once). This opens the Browsing Data window directly. If you prefer using the menu, click the three vertical dots in the top right corner of Chrome, select Settings, then click Privacy and security on the left side, and choose Clear browsing data.

At the top of the Browsing Data window, you'll see a dropdown that says Time range. Click it to choose Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or All time. Make sure the checkbox next to Cookies and other site data and Cached images and files are unchecked unless you want to remove those too — most people just want to clear the history itself. Then click the blue Clear data button.

How to delete history in Firefox

Open Firefox and use the keyboard shortcut Command + Shift + Delete. This opens the History window. Alternatively, click the menu button (three horizontal lines) in the top right, select History, then click Clear Recent History.

A window will appear with a dropdown at the top labeled Time range to clear. Choose Last Hour, Last 2 Hours, Last 4 Hours, Today, or Everything. Below that, you'll see checkboxes for what to delete — Browsing & read History should already be checked. Leave the others unchecked unless you want to remove cookies or cached data as well. Click the blue Clear Now button to finish.

The difference between clearing history and clearing cookies

History is the list of websites you've visited. Cookies are small files that websites store on your Mac to remember things about you — your login information, items in your shopping cart, or your preferences on a site. When you clear history, the website addresses disappear from your browser, but cookies stay behind. This means you might still be logged into websites even after you've cleared your history.

If you want to log out of websites and remove that stored information, you need to also check the box for cookies or site data when you clear your history. The exact name varies by browser — Chrome calls it Cookies and other site data, Firefox calls it Cookies, and Safari includes it under All history by default. If you only want to clear history without touching cookies, leave those boxes unchecked.

What clearing history does and doesn't do

Clearing your history removes the record of websites you've visited from your browser's memory. It does not delete the websites themselves from the internet, and it does not prevent your internet service provider from seeing where you've been — that information travels through their network regardless of what you do on your Mac.

Clearing history also does not remove saved passwords, payment methods, or autofill information unless you specifically choose to delete those things. If you want to remove a saved password, you'll need to go into your browser's settings and find the Passwords section — that's a separate process from clearing history. Similarly, if you want to remove an autofilled address or credit card, that lives in a different part of your browser's settings.

Why history sometimes doesn't fully disappear

If you clear your history but still see old websites appearing when you start typing in the address bar, those suggestions might be coming from your bookmarks or from sites you visit frequently, not from your history. Bookmarks are separate from history — clearing history won't remove them. If you want to stop seeing a particular site suggested, you can delete it from your bookmarks instead, or you can delete it from your frequent sites list (which varies by browser).

Another reason history might seem to persist is if you have multiple browsers installed. Clearing history in Safari doesn't touch Chrome's history, and vice versa. If you use more than one browser, you'll need to clear history in each one separately.

Frequently Asked Questions

Can I recover history after I delete it?

No. Once you clear history and confirm the action, it's gone permanently. Your browser does not keep a backup of deleted history. If you're unsure whether you want to delete something, it's safer to wait until you're certain.

Does clearing history on my Mac also clear it on my iPhone or iPad?

Not automatically. If you use iCloud to sync Safari across your Apple devices, clearing history on your Mac will also clear it on your other devices — but only if you're signed into the same iCloud account and have Safari syncing turned on. Chrome and Firefox sync across devices only if you're signed into your account in those browsers.

Will clearing history speed up my Mac?

Slightly, but not noticeably. History takes up very little storage space on your computer. Clearing it might free up a few megabytes at most. If your Mac is running slowly, the problem is almost certainly something else — too many programs open at once, a full hard drive, or a browser with too many tabs.

What's the difference between clearing history and private browsing?

Private browsing (called Incognito in Chrome) prevents your browser from saving history in the first place while you're in that mode. Once you close the private window, nothing from that session is saved. Clearing history removes what's already been saved. Private browsing is useful if you want to browse without a record being created; clearing history is useful after the fact.

Can someone recover my deleted history from my Mac's hard drive?

Deleting history through your browser removes it from the browser's records, but the data might still exist on your hard drive until it's overwritten by new files. If you need to may support deleted history cannot be recovered, you would need to use a find deletion tool — but for most people, clearing history through the browser is sufficient.