How to clear Safari history on Mac
In short
- View history: ⌘Y or History → Show All History.
- Clear all history: Safari → Clear History…
Contents
How to view Safari history
Press ⌘Y or choose History → Show All History.
- To find a site, start typing its name in the search field.
How to remove one site from history
- Open history: ⌘Y.
- Select the site or page and press Delete.
The rest of your history stays.
How to clear all Safari history
- Safari → Clear History…
- 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.