To make Safari clear your history automatically every week on a Mac, open Safari > Settings (called Preferences in older versions), click General, and set Remove history items to After one week. Safari then deletes browsing history older than seven days on its own. You can also choose one day, two weeks, one month, one year, or manually.
Set Automatic History Removal
- Open Safari.
- Click Safari in the menu bar, then Settings (or press Command + ,).
- Click the General tab.
- Open the Remove history items menu and choose After one week.
- Close the window. The setting takes effect right away.

What Gets Removed
| Data | Removed by this setting? |
|---|---|
| Pages you visited older than the limit | Yes |
| Cookies and website data | No; use Settings > Privacy > Manage Website Data |
| Cache | No |
| Downloads list | Separate setting: Remove download list items (General tab) |
| History on your other Apple devices | If Safari syncs through iCloud, history changes can sync too |
Bookmarks and Reading List stay.
Clear History Right Now
Choose History > Clear History, pick a time range (last hour, today, today and yesterday, or all history), and click Clear History. This also removes related cookies and website data.
Don’t Save History at All
Use a Private Window (File > New Private Window, or Shift + Command + N). Safari doesn’t keep history for private browsing.
Is there a similar setting on iPhone?
Not the same automatic option; clear it manually in Safari or use Private Browsing. See managing private tabs on iPhone.
If the Setting Is Grayed Out or History Returns
- Setting is grayed out: Screen Time content restrictions may lock history. Check System Settings > Screen Time > Content & Privacy.
- History reappears: Another device synced through iCloud may still have it. Set the same option there.
- Other browser settings: See how to turn off JavaScript in Safari on a Mac.

Kermit Matthews runs Live2Tech from just outside Philadelphia. He is an IT specialist with over 20 years of experience, from a university help desk to small-business IT, IT management and his own consulting practice, and has written tech guides full time since 2020. Steps are checked against the current software on a real device or the maker’s official documentation. More about Kermit.