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 — along with search terms, passwords you've saved, and cached files that speed up loading on sites you visit often. This history sits on your hard drive until you delete it. Clearing it removes the trail of where you've been online, frees up a small amount of storage space, and can help if a website is loading incorrectly because your browser is stuck with old cached data.

The steps differ depending on which browser you use, but the process takes less than a minute in any of them. You can clear everything at once or pick a specific time range — last hour, last day, last week, or all time.

Key Takeaways

  • Safari, Chrome, Firefox, and Edge all store history in different locations, so you need to clear it separately in each browser you use.
  • You can clear all history at once or choose a specific time range like "last 24 hours" or "last week" depending on what you need.
  • Clearing history also removes cached images and files, which can fix loading problems on websites that aren't displaying correctly.
  • Saved passwords and autofill information are separate from history and require a different step to remove if you want them gone too.

Clearing history in Safari

Open Safari and click History in the menu bar at the top of the screen. A dropdown menu appears. Click Clear History at the bottom of that menu.

A window opens asking how far back you want to clear. The dropdown menu shows options: the last hour, today, today and yesterday, or all history. Pick the time range you want and click the Clear History button. Safari removes your browsing record when ready.

Clearing history in Google Chrome

Open Chrome and press Command + Shift + Delete on your keyboard. This opens the Clear Browsing Data window directly. If the keyboard shortcut doesn't work, 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 window, use the dropdown menu to pick your time range: 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 checked if you want those removed too. Click Clear data and Chrome removes your history.

Clearing history in Firefox

Open Firefox and press Command + Shift + Delete on your keyboard. The History window opens. Click the Clear Recent History button on the right side of the window.

A box appears asking what time range to clear. Use the dropdown that says Time range to clear and pick Last Hour, Last 2 Hours, Last 4 Hours, Today, or Everything. Make sure Browsing & read History is checked. Click Clear Now and Firefox removes the data.

Clearing history in Microsoft Edge

Open Edge and press Command + Shift + Delete on your keyboard. The Clear browsing data window opens. If the shortcut doesn't work, click the three horizontal dots in the top right corner, select Settings, click Privacy, search, and services on the left, and choose Clear browsing data.

At the top, use the dropdown to pick your time range: Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or All time. Check the boxes next to Browsing history, read history, and Cached images and files. Click Clear now and Edge removes your history.

The difference between history, cookies, and cached files

Browsing history is the list of website addresses you've visited. Cookies are small files websites store on your Mac to remember you — they keep you logged in, remember your preferences, and track which ads you've seen. Cached files are images, scripts, and other parts of websites that your browser saved so pages load faster the next time you visit.

When you clear history, most browsers also clear cookies and cached files by default, but you can uncheck those boxes if you want to keep them. Clearing cookies will log you out of websites you're signed into. Clearing cached files frees up more storage space but makes websites load slightly slower the first time you visit them after clearing.

What clearing history does not remove

Clearing your browser history does not erase your activity from your internet service provider's records or from the websites you visited — those organizations keep their own logs. It only removes the record from your Mac. If you've saved passwords in your browser, clearing history does not remove them; you have to delete saved passwords separately in each browser's settings.

If you want to prevent your browser from storing history in the future, you can use Private Browsing in Safari, Incognito mode in Chrome, Private Window in Firefox, or InPrivate in Edge. These modes don't save history, cookies, or cached files while you're browsing, though your internet service provider can still see where you go.

Frequently Asked Questions

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

Safari, Chrome, and Firefox let you delete individual sites from history. In Safari, go to History and hover over a site name to see a delete button. In Chrome and Firefox, right-click a site in your history and select delete. Edge does not have this feature — you have to clear a time range instead.

Will clearing history speed up my Mac?

Clearing history and cached files frees up a small amount of storage space, but the effect on speed is usually not noticeable unless your Mac is very low on storage. If a website is loading slowly or displaying incorrectly, clearing cached files for that specific site can help more than clearing everything.

How do I remove saved passwords from my browser?

In Safari, go to Settings, click Passwords, find the password you want to remove, and click the delete button. In Chrome, go to Settings, click Passwords, find the entry, and click the three dots next to it. Firefox and Edge have similar steps in their Settings under Passwords or Logins. Clearing history does not remove these automatically.

What's the difference between clearing history and using Private Browsing?

Clearing history removes what your browser already saved. Private Browsing prevents your browser from saving anything while you use it — no history, cookies, or cached files are stored. When you close a Private Browsing window, nothing is left behind. You can use both: Private Browsing to avoid saving history going forward, and clearing history to remove what was already saved.