Power Your Software Testing with AI Agents and Cloud
The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.
- TestMu AI (Formerly LambdaTest)
- /
- Blog
- /
- How to Clear History on Safari
How to Clear History on Safari
Learn how to clear history on Safari in just a few simple steps. Protect your privacy and manage your browsing data efficiently.
Last Updated on:
To clear history on Safari, choose History then Clear History on macOS, pick a time range from the pop-up menu, and confirm. On iPhone and iPad, Apple keeps the same controls under Settings, Apps, Safari, Clear History and Website Data, which also removes cookies and cached files, while Advanced, Website Data clears single sites only. This guide covers the macOS steps, the iPhone and iPad steps, the keyboard shortcuts, and what has changed in how Safari clears history.
Key Takeaways
- Clearing history on Safari for macOS starts in the History menu, where Clear History opens a pop-up menu with a time range to confirm.
- Safari on iPhone and iPad keeps the same controls under Settings, Apps, Safari, Clear History and Website Data.
- Clear History and Website Data on iPhone removes browsing history, cookies and cached files in one action.
- Advanced, Website Data on iPhone removes stored data for individual sites while leaving Safari history in place.
- Command + Shift + Delete opens the clear-history dialog on macOS, and Command + Y opens the History menu.
- Apple states that clearing Safari history and website data does not change saved AutoFill information.
Steps to Clear History on Safari for macOS
It’s simple to clear history on Safari for macOS. Here’s how to do it:
- Open Safari on your macOS.
- Click on Safari and then Clear History.
- A pop-up window will appear. Use the dropdown menu to choose the desired time range to clear. After that, click Clear History to confirm.


Note: Test websites on real Safari and macOS. Try TestMu AI Now!
Steps to Clear History on Safari for iPhone or iPad
There are two different methods to clear history on Safari for iPhone or iPad:
- Setting app – If you clear browser history via the Settings app, all the data will be cleared.
- Browser’s settings – If you clear browser history via the browser settings, only the browser history will be cleared.
Clearing All Safari History
Let’s look at how to clear all history from your Safari browser:
- Go to the Settings app of your iPhone or iPad device.
- Tap Apps, then select Safari.
- Tap on the Clear History and Website Data option and then Clear History and Data.

Clearing Specific Website Data in Safari
If you’re looking to clear just the search data in Safari, then proceed with the following steps.
- Go to the Settings app on your iPhone or iPad device.
- Tap Apps, then select Safari.
- Go to the Advanced section and tap Website Data.
- Tap on Remove All Website Data and then Remove Now.

Steps to Clear History on Safari With Keyboard Shortcuts
To clear your browsing history in Safari using keyboard shortcuts on macOS, follow these steps:
- Open Safari on your macOS.
- Press Command + Y to open the History menu.
- Press Command + Shift + Delete to clear your browsing history.
- A pop-up window will appear. Use the dropdown menu to choose the desired time range to clear.
- Click Clear History to confirm.
This will delete your browsing history based on the time range you selected.
What Has Changed in How Safari Clears History?
Apple has moved two of the paths in this guide. Safari settings on iPhone and iPad now sit under Settings, Apps, and Apple's Safari User Guide for Mac points to the History menu. What the clear removes has not changed.
- Settings, Apps, Safari: Apple's current iPhone instructions read "Go to Settings, tap Apps, then select Safari." Older iOS releases listed Safari directly in the main Settings list, so screenshots in any older walkthrough on how to clear Safari browser history on iPhone show the previous layout.
- History menu on Mac: Apple's Safari User Guide now says to choose History, then Clear History, and then pick how far back to clear from the pop-up menu. The time-range choice and the confirmation step are unchanged.
- Timeframe confirmation: Clear History and Website Data on iPhone asks you to confirm the timeframe before it deletes anything, so a full wipe is one option rather than the only outcome.
- AutoFill stays intact: Apple states the clear "doesn't change your AutoFill information", so saved names, addresses and card details survive a history clear on iPhone.
- Cached files on iPhone: Settings, Apps, Safari, Advanced, Website Data still removes stored data one site at a time, which is the path to use to clear cache in Safari on iPhone without losing browsing history.
- Cached files on Mac: The Develop menu's Empty Caches command drops cached files without touching history, which is the quicker way to clear cache in Safari while testing a site.
Check the menu path on your own macOS and iOS version before following a screenshot, because Apple relocates these controls between releases.
Conclusion
Having a browsing history in Safari can be useful, but if you care more about privacy and how your device runs, clearing your Safari history is an ideal choice. This blog demonstrates how to clear Safari history on macOS and iOS devices to protect your personal info and stay in control of your web activity.
Author
Tahneet Kanwal is a freelance technical content writer with over 2 years of hands-on experience in frontend development and technical writing. She holds a B.Tech in Information Technology from University College of Engineering and Technology (UCET). Tahneet creates clear, SEO-optimized content on web technologies, software testing, and automation tools, leveraging her skills in HTML, CSS, JavaScript, React, Tailwind CSS, and various tools like VS Code, GitHub, Figma, and Canva. She is the author of 30+ technical blogs and an open-source contributor through Hacktoberfest. She has also participated in the Google Cloud Arcade Facilitator Program and holds certifications as a Meta Android Developer (Coursera) and in Web Development (Internshala). Over time, she has evolved her writing to prioritize structure, readability, and SEO while maintaining technical depth.
Safari History FAQs
Did you find this page helpful?
More Related Blogs
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests




