How to Clear Browsing History and Website Data in Safari on Mac

As you browse the web in Safari on macOS, the browser automatically saves web addresses, cached page images, cookies, and search queries to accelerate page load speeds upon repeat visits. Over time, accumulated cache files and outdated cookies can become corrupted, leading to broken webpage layouts, authentication loops, or sluggish browsing responsiveness. Clearing your browsing data restores snappy performance and protects your online privacy on shared Mac computers.

What Happens When You Clear Safari History?

Initiating a standard history clear in Safari carries out several clean-up operations:

  • Removes the chronological record of visited websites across all active tabs and windows.
  • Clears cached web files, temporary scripts, and downloaded preview graphics.
  • Deletes cookies and local website storage, logging you out of active browser sessions.
  • Synchronises across iCloud: If Safari syncing is enabled in your Apple Account settings, history is removed simultaneously from your paired iPhone and iPad devices.

Method 1: Clearing History via the Menu Bar (Fastest)

The standard clearing tool allows you to wipe data across specific timeframes:

1. Open the History Menu

Launch Safari on your Mac. In the macOS menu bar at the very top of your screen, click on History.

2. Select Clear History

At the bottom of the drop-down menu, click on Clear History….

3. Choose a Time Range

A dialogue sheet will appear prompting you to choose the scope of data to wipe:

  • The last hour: Useful for clearing immediate private activity without affecting earlier sessions.
  • Today: Wipes all activity logged since midnight.
  • Today and yesterday: Cleans up the past 48 hours of browsing logs.
  • All history: Completely erases all stored history, cookies, and cached data.

4. Confirm the Operation

Click the Clear History button. The browser immediately flushes the specified cache records.

Method 2: Removing Website Data Selectively via Settings

If you wish to retain your general browsing history while troubleshooting a specific misbehaving website (such as an online banking portal or email client), you can remove data on a per-site basis:

  1. In the menu bar, click Safari > Settings… (or press Cmd + ,).
  2. Click on the Privacy tab at the top of the settings window.
  3. Click the Manage Website Data… button.
  4. Use the search box in the top-right corner to type the domain name of the troublesome website.
  5. Select the website from the list and click Remove, or click Remove All to purge all cached storage without clearing your history list.
  6. Click Done to save your changes.

Regularly clearing redundant website caches maintains optimal browser responsiveness and ensures your accounts remain secure.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.