How to clear Safari history on Mac

In short
  • View history: Y or History → Show All History.
  • Clear all history: Safari → Clear History…
Contents
  1. How to view Safari history
  2. How to remove one site from history
  3. How to clear all Safari history
  4. FAQ

How to view Safari history

  1. Press Y or choose History → Show All History.

  2. To find a site, start typing its name in the search field.

How to remove one site from history

  1. Open history: Y.
  2. Select the site or page and press Delete.

The rest of your history stays.

How to clear all Safari history

  1. Safari → Clear History…
  2. Choose a period and click Clear History.
Warning

Clearing history also removes cookies — you'll be signed out of websites. To stay signed in, open the Safari menu while holding and choose Clear History and Keep Website Data…

FAQ

Where is Safari history stored on a Mac?

In ~/Library/Safari/History.db. It's easier to view and clear it in Safari itself — History → Show All History.

Will history be cleared on my iPhone too?

Yes, if Safari syncs through iCloud: history is cleared on all devices signed in to that Apple Account.

Can I restore deleted Safari history?

Only from a Time Machine backup made before you cleared it. Safari itself can't undo it.

How do I browse without saving history?

Open a private window: File → New Private Window or N. Nothing is saved after you close it.