What you can clear in Safari, and what stays behind
Safari lets you delete your search history, browsing history, and cookies in one action, or pick and choose what to remove. The simplest method clears everything from the last hour, day, week, or all time. You can also clear only specific types of data — search queries, visited websites, autofill information, or cached files — while leaving other data untouched.
One important detail: clearing your search history in Safari does not delete your iCloud sync data if you use iCloud Keychain or Safari sync across devices. If you want those removed too, you will need to turn off syncing or delete them from iCloud separately. Also, websites you visit can still see your activity through server logs — clearing Safari only removes the record on your device.
Key Takeaways
- The fastest way to clear Safari search history is to open Settings, tap Safari, scroll to Clear History and Website Data, and choose your time range.
- You can clear only search history while keeping browsing history, or vice versa, by using the Advanced settings in Safari preferences.
- On Mac, go to Safari menu > Clear History, then pick whether to clear the last hour, day, week, or all time.
- Clearing your local Safari history does not remove data synced to iCloud unless you also turn off Safari sync in your device settings.
Clearing Safari history on iPhone and iPad
Open the Settings app and scroll down to find Safari. Tap it, then scroll to the bottom of the page. You will see a red button labeled "Clear History and Website Data." Tap it, and a popup will ask you to choose a time range: the last hour, the last day, the last week, or all history. Select the range you want and confirm.
This action clears your browsing history, search history, and cookies at once. If you want to be more selective — for example, keeping your browsing history but removing only searches — you will need to use the Advanced settings instead. In Safari settings, tap Advanced at the bottom, then Website Data, and you can delete individual sites or all data from that screen.
Clearing Safari history on Mac
Click the Safari menu at the top left of your screen, then select "Clear History." A dialog box will appear asking you to choose a time range: the last hour, today, today and yesterday, the last week, or all history. Pick your range and click Clear.
This removes your browsing history and search history together. If you want to remove only cookies, cached files, or data from specific websites, go to Safari > Settings, click the Privacy tab, then click "Manage Website Data." You can search for a specific site or select multiple entries and click Remove or Remove All.
Clearing only search history without browsing history
Safari does not have a button that says "clear search history only" in the main menu. However, you can achieve this on both iPhone and Mac by using the Advanced settings. On iPhone, go to Settings > Safari > Advanced > Website Data, find the sites you visited while searching, and delete them individually. On Mac, use Safari > Settings > Privacy > Manage Website Data and do the same.
A faster approach is to clear all history using the standard method, then manually re-visit the websites you want to keep in your history. This is practical if you only want to hide a few searches but keep most of your browsing record.
What happens when you clear Safari data synced to iCloud
If you use iCloud to sync Safari across your iPhone, iPad, and Mac, clearing history on one device does not automatically clear it on the others. When you clear Safari history on your iPhone, that action syncs to iCloud, and your other devices will receive the update. However, this only happens if Safari syncing is turned on in your iCloud settings.
To check whether Safari sync is active, go to Settings > [Your Name] > iCloud on iPhone, or System Settings > [Your Name] > iCloud on Mac, and look for Safari in the list. If the toggle is on, clearing history on one device will clear it across all devices signed into that iCloud account. If you want to keep your search history on some devices but not others, turn off Safari sync before clearing.
Clearing autofill and saved passwords from Safari
Safari stores search suggestions, website names, and passwords separately from your browsing history. To clear autofill suggestions on iPhone, go to Settings > Safari > Autofill and toggle off the categories you want to clear — Credit Cards, Contact Info, Usernames and Passwords, or all of them. Toggling off removes the saved data.
On Mac, go to Safari > Settings > Autofill and uncheck the boxes next to the data types you want to remove. If you want to delete only specific passwords rather than all of them, go to Safari > Settings > Passwords, find the password you want to remove, and click the minus button next to it. Clearing your main browsing history does not automatically remove these saved passwords.
Why your search history might not fully disappear
Clearing Safari history removes the record from your device, but it does not erase your activity from the websites you visited or from your internet service provider. Google, Facebook, and other services keep their own logs of your searches and visits. To reduce what those companies track, you can use private browsing mode in Safari, which does not save history, cookies, or autofill data while you browse.
To start a private browsing session on iPhone, tap the Tabs button at the bottom right, then tap Private. On Mac, click File > New Private Window. In private mode, Safari will not save your searches or the sites you visit, though your internet service provider can still see the traffic.
Frequently Asked Questions
Does clearing Safari history delete my passwords?
No. Clearing history removes your browsing record and search queries, but saved passwords stay in place. If you want to delete a specific password, go to Safari settings, find Passwords, locate the entry, and delete it manually. To remove all saved passwords at once, you would need to clear autofill data separately.
Can I clear history from only one website in Safari?
Yes. On iPhone, go to Settings > Safari > Advanced > Website Data, search for the site name, and tap Edit, then Delete. On Mac, go to Safari > Settings > Privacy > Manage Website Data, find the site, and click Remove. This deletes only that site's data without touching the rest of your history.
If I clear Safari history on my iPhone, does it clear on my Mac too?
Only if Safari sync is turned on in your iCloud settings. Check Settings > [Your Name] > iCloud on iPhone or System Settings > [Your Name] > iCloud on Mac to see if Safari is toggled on. If it is, clearing history on one device will sync the change to your other devices.
What is the difference between clearing history and using private browsing?
Clearing history removes past records from your device. Private browsing prevents Safari from saving any history, cookies, or autofill data while you are in that session. Private mode does not clear existing history — it just stops Safari from recording new activity.
Does clearing Safari history stop websites from tracking me?
No. Clearing your local history does not stop Google, Facebook, or other services from tracking your activity on their own servers. It only removes the record from your device. To reduce tracking, use private browsing mode or a tracking prevention tool, though websites and your internet service provider can still see your activity.