User Agents

Web browsers and everyday web tech, explained

Delete Safari History Without Losing Passwords or Bookmarks

· 6 min read · Cookies and Cache

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Clearing your Safari history is a quick privacy win, but many people avoid it because they worry it will wipe out saved passwords and bookmarks. The good news: Safari treats history, passwords, and bookmarks as separate data types, so you can clear history alone without touching the other two—as long as you use the right settings. This guide walks you through the exact steps on iPhone, iPad, and Mac, plus what to do if something goes wrong.

What You'll Need

  • Your iPhone, iPad, or Mac with Safari
  • Your device passcode or Apple ID password (for verification when checking saved passwords)
  • iCloud Keychain enabled (optional, but recommended to keep passwords synced across devices)

Step-by-Step

On iPhone or iPad (iOS/iPadOS 15 or later)

  1. Open the Settings app (not Safari itself).
  2. Scroll down and tap Safari.
  3. Scroll to the bottom and tap Clear History and Website Data.
  4. A pop-up will appear asking which time range to clear. Choose All History or a specific period (e.g., last hour, today, today and yesterday).
  5. Confirm by tapping Clear History. This removes browsing history, cookies, and cache, but does not delete saved passwords or bookmarks.

Note: On older iOS versions (before 15), the option is under Settings > Safari > Clear History and Website Data and clears everything at once—no time range picker. The process still leaves passwords and bookmarks intact.

On Mac (macOS Ventura or later)

  1. Open Safari on your Mac.
  2. From the menu bar at the top, click History.
  3. Select Clear History… (the ellipsis is part of the menu item).
  4. In the drop-down next to “Clear,” choose the time range: all history, the last hour, today, or today and yesterday.
  5. Click Clear History to confirm. Your bookmarks and passwords remain untouched.

Note: On older macOS versions (Monterey and earlier), the menu is simply History > Clear History… with the same options.

What This Actually Clears

When you clear history, Safari removes the list of websites you’ve visited, along with cookies and cached data from those sites. It does not remove:

  • Saved passwords (stored in Keychain)
  • Bookmarks (including Favorites and Reading List)
  • AutoFill data (names, addresses, credit cards)

Common Mistakes

  • Using “Clear History and Website Data” on iPhone thinking it deletes passwords. It doesn’t, but it does log you out of some websites because it removes cookies. You’ll need to sign in again, but your saved passwords will be available to autofill.
  • Deleting individual history items instead of all at once. That’s fine for specific sites, but if you want a full clear, use the “Clear History” option—not the trash icon next to each entry.
  • Assuming clearing history on one device clears all devices. If you have iCloud syncing enabled, clearing history on one Apple device may propagate to others, but only if you choose “All History” and have iCloud Safari sync on. On iPhone, the pop-up may ask if you want to clear history on all devices—if you don’t, it only clears that device.
  • Accidentally tapping “Remove All Website Data” in Safari settings. That’s a different option that removes all website data (including cookies and cache) but not history. It can log you out of many sites. Stick to the “Clear History” option.

Tips

  • Use Private Browsing for sensitive sessions. When you use Private Browsing, Safari doesn’t save history, cookies, or autofill data at all. That way you never need to clear history later.
  • Check your passwords are safe before clearing. Go to Settings > Passwords (iPhone/iPad) or Safari > Settings > Passwords (Mac) and verify a few saved logins are still there. You’ll need your device passcode or Touch ID/Face ID.
  • If you want to keep cookies for some sites but clear history, use “Clear History” and then re-login. That’s the only way—history clearing always removes cookies.
  • On Mac, you can also use the keyboard shortcut Command+Option+Delete to open the “Clear History” dialog quickly. (This works in Safari.)
  • If you use iCloud Keychain, your passwords are stored in the cloud. Even if you accidentally delete something, they’re recoverable from another device signed into the same Apple ID.

Troubleshooting

I cleared history, but my passwords are gone.

This shouldn’t happen with the steps above. If you notice missing passwords, check if you’re signed into iCloud Keychain. Go to (iPhone/iPad) or System Settings > Apple ID > iCloud > Passwords & Keychain (Mac). Make sure it’s enabled. If it is, try restarting your device—sometimes Keychain needs a moment to resync. If passwords are still missing, they may not have been saved in the first place (Safari only saves passwords when you choose “Save Password” on a login form).

Clearing history didn’t seem to remove everything.

If you still see old history entries, you might have iCloud syncing on. On iPhone/iPad, go to Settings > Safari > Advanced > Website Data and see if there’s a “Remove All Website Data” option—but that’s not history. For history, try clearing again and make sure you selected “All History” in the time range. On Mac, check Safari > Settings > Privacy to see if “Prevent cross-site tracking” is on—that doesn’t affect history. If history persists, restart Safari and try again.

I can’t find the “Clear History” option on my device.

On iPhone/iPad, it’s always under Settings > Safari, not in the Safari app itself. On Mac, it’s in the History menu at the top of the screen—if you don’t see the menu bar, move your cursor to the very top of the screen to reveal it.

After clearing history, I’m logged out of websites.

That’s normal. Clearing history removes cookies, which websites use to keep you logged in. You’ll need to sign in again, but your saved password will autofill. If you don’t want to be logged out, consider using Private Browsing for sites you want to stay logged into, or use a password manager that can fill in credentials even without cookies.

Frequently Asked Questions

Will clearing Safari history delete my saved passwords?

No. Passwords are stored separately in the Keychain (or iCloud Keychain) and are not affected by clearing history. You can verify by checking Settings > Passwords on iPhone/iPad or Safari > Settings > Passwords on Mac.

Will clearing history delete my bookmarks?

No. Bookmarks are stored in a separate database and are not removed when you clear history. Your Favorites, Reading List, and any folders you’ve created will remain.

Does clearing history on my iPhone also clear it on my Mac?

When enabled, clearing history on one device will ask if you want to clear it on all devices. If you choose “All History,” it will sync across devices.

Can I clear history for just one website?

Yes. On iPhone/iPad, go to Settings > Safari > Advanced > Website Data, find the site, swipe left, and tap Delete. On Mac, go to Safari > History, click the clock icon in the sidebar (or press Command+Option+2), find the site, right-click, and choose “Delete.” This removes that site’s history and cookies, but not passwords or bookmarks.

What’s the difference between “Clear History” and “Remove All Website Data”?

“Clear History” removes your browsing history, cookies, and cache. “Remove All Website Data” (found under Safari > Advanced > Website Data) removes cookies and cache but does not remove your history list. The latter is more aggressive for website data but leaves your history intact.

Will clearing history affect my AutoFill information?

No. AutoFill data (contact info, credit cards, etc.) is stored separately and is not removed when you clear history. Only cookies and cache are cleared, which may cause some websites to forget your preferences, but your saved AutoFill entries remain.