How to clear cache on Mac in Safari, Chrome, and Firefox

Avatar for Michael Potuck

Looking to tidy up the browser on your Mac or fix some issues you’re seeing with websites? Read on for how to clear cache on Mac, as well as history, and cookies in Safari , Chrome, and Firefox.

It’s a straightforward process to clear cache on Mac in Safari as well as third-party browsers like Chrome and Firefox. While the button in the menu bar for Safari is labeled “Clear History,” it also clears cookies and your cache.

For Chrome and Firefox, you get more detailed control of what data you’re deleting.

Whether you’re just wanting to do some regular maintenance or having some issues with browsing that you want to clear up, follow along below…

For how to clear your cache, history, and website data on iPhone and iPad, check out our tutorial here .

Table of contents

Google chrome, how to clear cache on mac.

  • Open Safari
  • In the menu bar (top left of your screen) click History
  • You can also choose Safari > Clear History…
  • Use the drop-down menu to pick what timeframe you want to clear history and cookies from Safari
  • One last time, click  Clear History
  • Keep in mind that means you may be logged out of websites, etc.

Site default logo image

Now look at the bottom of the menu and click “Clear History…”

To fully clear your history, cache, and cookies, click the drop-down and select “all history.”

  • For Google Chrome on Mac, click Chrome in the menu bar (top left corner)
  • Choose “Clear Browsing Data”
  • Pick a time range, or “All time”
  • Choose what data to clear with the checkboxes
  • Click Clear data
  • For Firefox on Mac, click History in the menu bar (top left of your screen)
  • Click Clear Recent History…
  • Change the timeframe to what you’d like
  • Choose what data to remove

Read more 9to5Mac tutorials: 

  • Best USB-C and Thunderbolt displays for Mac
  • Here’s how the new 14″ and 16″ MacBook Pro compare to other MacBook models
  • Find the battery percentage of your iPhone 13 (and earlier iPhones too )
  • Here’s how Background Sounds work in iOS 15

FTC: We use income earning auto affiliate links. More.

Roborock Q5+ robot vacuum

Check out 9to5Mac on YouTube for more Apple news:

Mac

Apple’s Mac lineup consists of MacBook, MacBoo…

How To

A collection of tutorials, tips, and tricks from…

Avatar for Michael Potuck

Michael is an editor for 9to5Mac. Since joining in 2016 he has written more than 3,000 articles including breaking news, reviews, and detailed comparisons and tutorials.

Michael Potuck's favorite gear

Satechi USB-C Charger (4 ports)

Satechi USB-C Charger (4 ports)

Really useful USB-C + USB-A charger for home/work and travel.

Apple Leather MagSafe Wallet

Apple Leather MagSafe Wallet

My slim wallet of choice for iPhone 12

How to clear cookies on your Mac in Safari and other web browsers

  • To clear cookies on a Mac, you need to delete cookies in all web browsers you use.
  • You can clear all cookies, or choose to remove specific cookies.
  • When you delete cookies, you erase information saved in your browser, including passwords and other settings.

HTTP cookies , also known as web cookies or browser cookies, serve an important role on the internet.

Cookies remember website configurations, login details, search history, products added to your shopping cart, and other browsing data — all with the practical purpose of storing your preferences so you can have a personalized browsing experience.

But cookies can also be used to track and identify you. They're the reason why some online ads seem eerily specific to you and only you, based on your past web history. These cookies are known as third-party cookies.

When you clear cookies on a Mac, you erase all that saved information from your browser. There are a few reasons why you should regularly clear your cookies:

  • They can slow your browser down: Deleting your cookies frees up space on your device, so it can improve its overall performance, including browsing speed.
  • They store your personal information: If privacy is a concern, you should regularly clear your cookies. This is especially important if you share your device with others. 
  • They are susceptible to hackers: The fact that cookies store personal information makes them a prime target for hackers to steal your data. 

The good news is that clearing cookies is a straightforward process in Safari on a Mac, and other third-party browsers like Google Chrome, Mozilla Firefox, and Microsoft Edge. Below, we'll show you how to clear cookies on all of them.

What happens when you clear cookies?

After you clear cookies, sites will take longer to load the next time you visit them, because content needs to load again. For some sites, you may also need to sign in again or re-enter your login information. If you were about to purchase an item, your shopping cart may be empty. Likewise, the ads you see online may no longer be catered to your interests.

how to clear browser cookies safari mac

Watch: A diehard Mac user switches to PC

how to clear browser cookies safari mac

  • Main content
  • PRO Courses Guides New Tech Help Pro Expert Videos About wikiHow Pro Upgrade Sign In
  • EDIT Edit this Article
  • EXPLORE Tech Help Pro About Us Random Article Quizzes Request a New Article Community Dashboard This Or That Game Popular Categories Arts and Entertainment Artwork Books Movies Computers and Electronics Computers Phone Skills Technology Hacks Health Men's Health Mental Health Women's Health Relationships Dating Love Relationship Issues Hobbies and Crafts Crafts Drawing Games Education & Communication Communication Skills Personal Development Studying Personal Care and Style Fashion Hair Care Personal Hygiene Youth Personal Care School Stuff Dating All Categories Arts and Entertainment Finance and Business Home and Garden Relationship Quizzes Cars & Other Vehicles Food and Entertaining Personal Care and Style Sports and Fitness Computers and Electronics Health Pets and Animals Travel Education & Communication Hobbies and Crafts Philosophy and Religion Work World Family Life Holidays and Traditions Relationships Youth
  • Browse Articles
  • Learn Something New
  • Quizzes Hot
  • This Or That Game New
  • Train Your Brain
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
  • Computers and Electronics
  • Internet Browsers
  • Safari Browser

How to Delete Cookies Using the Safari Web Browser

Last Updated: August 2, 2023 Tested

iPhone and iPad

This article was co-authored by wikiHow staff writer, Jack Lloyd . Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. The wikiHow Tech Team also followed the article's instructions and verified that they work. This article has been viewed 579,973 times. Learn more...

This wikiHow teaches you how to delete cookies in your Safari browser on a Mac or an iPhone. Cookies are bits of website data that help Safari remember your preferences, passwords, usernames, and more. Since cookies are downloaded onto your computer each time you open a new web page, you may wish to block cookies entirely to prevent them from being downloaded in the future.

Step 1 Open Safari.

  • If you don't see this option, make sure that Safari is the front window by clicking it.

Step 3 Click Preferences….

  • You may be prompted to confirm this action.
  • Keep in mind that some websites require cookies in order to load some features. Blocking all cookies will prevent some websites from working correctly.

Step 1 Open your iPhone's icon Settings.

  • Unfortunately, you can't delete only cookies in Safari on an iPhone.

Step 5 Block cookies in the future.

Community Q&A

Community Answer

  • Cookies help websites remember who you are and what your preferences are. If you delete all of your cookies, you will need to log back in to any websites which previously had stored passwords or other account information. Thanks Helpful 1 Not Helpful 1

how to clear browser cookies safari mac

  • Blocking cookies will result in some websites not functioning properly, while a few websites may cease to load or work altogether. Thanks Helpful 2 Not Helpful 0

You Might Also Like

Clear Google Search History

  • ↑ https://www.imore.com/how-enable-cookies-safari-macos-high-sierra

About This Article

Jack Lloyd

  • Send fan mail to authors

Is this article up to date?

Am I a Narcissist or an Empath Quiz

Featured Articles

Bubble Sort in Python

Trending Articles

8 Reasons Why Life Sucks & 15 Ways to Deal With It

Watch Articles

Fold Boxer Briefs

  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info

Keep up with the latest tech with wikiHow's free Tech Help Newsletter

How to Delete Cookies and Stored Website Data in Safari

Websites and advertisers use cookies to identify you and follow you around the internet, and they might also save other website data to remember you by. In Safari, you can delete these cookies and other data. Let's head to Safari's privacy settings.

safari cookies details

Stored content can include a history of your site visits or information you provided the site, such as your name and email address. You can delete all of the website data at once or for individual sites.

Delete Cookies and Saved Data on the Mac

1. Select Preferences from the Safari menu or hold down the Command key and the comma key at the same time (Command+,).

safari preferences

2. Go to the Privacy tab.

safari privacy tab

3. Click the Remove All Website Data button to remove all stored website data, or skip to step 5 to remove data on a site-by-site basis.

safari delete website data

4. Click Remove Now to confirm. Note, as Safari warns you, this could log you out of sites and perhaps also change how they function. For example, instead of getting tailored ads on the site, you'll be served generic ones.

safari delete website data confirm

5. To remove stored data by site, click the Details button.  

Stay in the know with Laptop Mag

Get our in-depth reviews, helpful tips, great deals, and the biggest news stories delivered to your inbox.

safari details

6. Select the sites with stored data you want to remov e. Hold down the Command key to select multiple sites.

safari cookies selected

7. Click Remove.

8. Click Done.

Alternatively, you can click the Remove All button to delete all of the sites' cookies and stored data. Safari will ask you to confirm your choice:

safari cookies confirm

Delete Cookies and Web History in Safari in iOS

Clear your history, cookies, and browsing data from Safari on your iPad or iPhone .

1. Open the Settings app and tap Safari.

safari ios settings 2847971455037662

2. Tap Clear History and Website Data. If you're using iOS 7 or earlier, the menu is slightly different: Tap "Clear History" and "Clear Cookies and Data".

safari ios clear history

3. Tap Clear to confirm.

safari ios clear confirm

4. Tap Advanced back in the Safari Settings window to clear other stored website data.

safari ios advanced

5. Tap Website Data.

safari ios advanced website data

6. Tap Remove All Website Data . Alternatively, you can click the Edit link at the top right and then delete individual sites' data by tapping the minus sign next to the site names.

safari ios advanced remove

Doing this will not only help protect your privacy. It can also clear out precious space on your device.

Looking to learn more about your Mac — or buy a new one? Check out our how to reset a MacBook guide for more details about what to do before you sell your laptop (or other macOS machine) and our MacBook Pro 2019 rumors roundup for details on what to expect in next year's model.

  • How to Search for Text Within a Web Page in Safari
  • How to Restore Recently Closed Tabs and Windows in Safari
  • How to Block Cookies in Safari

How to convert PDF to JPG, PNG, or TIFF

How to add Outlook Calendar to Google Calendar

Hurry! Every MacBook Air is on sale this week, save up to $450

Most Popular

By Stevie Bonifield 26 March 2024

By Momo Tabari 26 March 2024

By Rael Hornby 26 March 2024

By Sean Riley 26 March 2024

By Sarah Chaney 26 March 2024

By Hilda Scott 25 March 2024

By Momo Tabari 25 March 2024

By Rael Hornby 25 March 2024

By Sarah Chaney 25 March 2024

By Hilda Scott 22 March 2024

  • 2 The MacBook Air M3 is our favorite laptop and it just dropped to $999
  • 3 New Xbox Series X photos leak — this is what the future looks like
  • 4 7 Nintendo Switch game deals I recommend from Best Buy's sale, save up to 60%
  • 5 Qualcomm Snapdragon X Elite laptops may be the only future-proof 'AI PCs' in 2024 — here's why

how to clear browser cookies safari mac

Manage cookies and website data

Websites often store cookies and other data on your Mac. This data may include information that you have provided, such as your name, email address, and preferences. This data helps websites identify you when you return so the site can provide services for you and show information that might be of interest to you.

By default, Safari accepts cookies and website data only from websites you visit. This helps prevent certain advertisers from storing data on your Mac. You can change options in Safari preferences so that Safari always accepts or always blocks cookies and other website data.

Open Safari for me

Important:   Changing your cookie preferences or removing cookies and website data in Safari may change or remove them in other apps, including Dashboard.

Choose Safari > Preferences, click Privacy, then do any of the following:

Change which cookies and website data are accepted: Select a “Cookies and website data” option:

Always block: Safari doesn’t let any websites, third parties, or advertisers store cookies and other data on your Mac. This may prevent some websites from working properly.

Allow from current website only: Safari accepts cookies and website data only from the website you’re currently visiting. Websites often have embedded content from other sources. Safari does not allow these third parties to store or access cookies or other data.

Allow from websites I visit: Safari accepts cookies and website data only from websites you visit. Safari uses your existing cookies to determine whether you have visited a website before. Selecting this option helps prevent websites that have embedded content in other websites you browse from storing cookies and data on your Mac.

Always allow: Safari lets all websites, third parties, and advertisers store cookies and other data on your Mac.

Remove stored cookies and data: Click Remove All Website Data, or click Details, select one or more websites, then click Remove.

Removing the data may reduce tracking, but may also log you out of websites or change website behavior.

See which websites store cookies or data: Click Details.

Ask websites not to track you: Some websites keep track of your browsing activities when they serve you content, which enables them to tailor what they present to you. You can have Safari ask sites and their third party content providers (including advertisers) not to track you.

With this option turned on, each time Safari fetches content from a website, Safari adds a request not to track you, but it’s up to the website to honor this request.

Guiding Tech

We explain and teach technology, solve tech problems and help you make gadget buying decisions.

How to Clear Cache and Cookies in Safari for Mac, iPhone, and iPad

Apple’s Safari browser brought several features and interface refresh in the past few years. You can now use tab groups on Safari for macOS and even Safari extensions on iPad . This makes the browser a good option compared to competitors like Microsoft Edge . When Safari is your go-to browser on Mac, iPhone, and iPad, you’d want to keep it spiffy and fast. You’ll need to purge all the website data and cookies it has accumulated over time.

clear cache on Safari

When Safari takes a little more while to open web pages or shows up a mangled web page, it’s time to dump the old cache and cookies. Clearing this data is different for Mac, iPhone, and iPad. This guide will show you how to clear cache and cookies in Safari on Mac, iPhone, and iPad.

Why Should You Clear Cache and Cookies From Safari

Every browser stores website cache and cookies to make the experience of that particular site faster and more convenient – be it your favorite social media site or work portal. For instance, if you visit Facebook or Twitter often,  those sites would open quickly on Safari compared to a new site you’d visit for the first time.

Cache and cookies on Safari

That faster loading experience happens because Safari stores the cookies to log you in quickly and cache the website elements to load faster. That seems very helpful. Over time, Safari’s data of websites become old, and you might experience a delay or the site asking you to log in again. It may not even load properly till you clear the cache. While you may find it odd, cached data can also take up considerable storage on your phone and computer over time.

Cookies help websites keep a tab on your browsing patterns, store your preferences, and even help you to log into sites quickly. At times, you might see ads very specific to your browsing activity. Some may consider this to be a breach of their privacy. That’s why it’s a good idea to keep purging cookies regularly.

Remember that removing cache and cookies might make you feel that Safari has slowed down. When Safari collects enough fresh cache and data, it’ll deliver the usual browsing experience.

How to Clear Cache and Cookies in Safari on Mac

By default, many Mac users prefer Safari and often don’t want to clean up the cache and cookies. However, Apple makes it very easy to do that and also customize Safari on Mac to suit your usage. Here’s how to clear cache and cookies in Safari on Mac.

Step 1:  Open Safari on your Mac.

Safari on mac

Step 2: Click on the Safari tab in the top-left corner of the menu bar to bring up the contextual menu.

Safari tab

Step 3:  Select the Preferences option.

Safari preferences

Step 4:  Navigate to the Advanced tab in the Preferences window.

Advanced tab

Step 5:  Tick the checkbox next to ‘Show Develop menu in the menu bar.’ Close the preferences window.

Show develop menu

Step 6:  Click on the Develop option in the menu bar at the top.

Develop in menu bar

Step 7:  Select the Empty Caches option.

Empty caches

That will immediately clear Safari’s cache from your Mac. Continue to clear up the cookies too.

Step 8: Click on the Safari tab at the top of the menu bar.

Step 9: Select the Preferences option.

Step 10: Navigate to the Privacy tab.

Privacy tab

Step 11:  Click on Manage Website Data.

Manage website data

Here, you will see all the websites that have stored cookies while browsing.

Step 12: Select the Remove All option to clear all cookies from Safari.

Remove all

Step 13:  Click on Remove Now when prompted.

Remove now

The macOS will remove all the cookies in Safari on your Mac. Additionally, you can also select the Block all cookies option in Privacy Preferences if you don’t want any cookies to be stored in the future. However, that will make browsing inconvenient, and you’ll need to log in to your favorite sites manually.

Block all cookies

If you also use another browser on your Mac, you can check our guides on how to clear the cache on Google Chrome and clear cache and cookies on Microsoft Edge .

How to Clear Cache and Cookies in Safari on iPhone and iPad

The steps to clear Safari cache and cookies on both an iPhone and an iPad are the same. While they both might offer different operating systems, Safari still follows the same routine for saving browser cache and cookies.

Step 1:  Open the Settings app on your iPhone or iPad and scroll down to the Safari option.

Safari settings

Step 2:  Scroll down to the bottom of the screen and tap on Advanced.

Advanced option

Step 3:  Select Website Data.

Website data

Step 4:  You will see a list of website cache and cookies that Safari stores on your iPhone or iPad. Tap on ‘Remove All Website Data.’

Delete cache

Step 5:  Tap on Remove Now to confirm your action.

Remove now

That will clear all the cache and cookies in Safari on your iPhone or iPad.

Additionally, you can enable the toggle next to Block All Cookies in the Safari Settings menu to prevent any cookies from being stored on your iPhone or iPad in the future. Again, that’ll only treat every website as new on Safari, and you might have to log into your favorite sites manually.

Block all cookies

Clear Cache and Cookies for a Smooth Browsing Experience

While clearing cache and cookies regularly is important, you don’t need to do it every week. Once a month should be good enough. You can also perform these steps for issues like  Safari keeps crashing on your Mac .

Last updated on 19 February, 2024

The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

clear cache and cookies on Google Chrome

DID YOU KNOW

how to clear browser cookies safari mac

Sumukh has been simplifying tech for the masses and helping consumers pick the right gadgets with his in-depth insights and reviews. He decided to hide his engineering degree in the closet to pursue his passion for writing. Over the past 5 years, he has contributed with guides, reviews, and detailed opinions to notable publications like TechPP and XDA-Developers. When not jamming his fingers on thoccy mechanical keyboards, Sumukh is busy convincing people how VR Gaming is the next best thing after sliced bread.

More in iOS

A17 Pro vs. A16 Bionic

A17 Pro vs. A16 Bionic: A Comparison of Chipsets on the iPhone 15 Lineup

recover deleted photos on iPhone

Top 5 Ways to Recover Deleted Photos on iPhone

Join the newsletter.

Get Guiding Tech articles delivered to your inbox.

  • a. Send us an email
  • b. Anonymous form
  • Buyer's Guide
  • Upcoming Products
  • Tips / Contact Us
  • Podcast Instagram Facebook Twitter Mastodon YouTube Notifications RSS Newsletter

How to Delete Cookies in Safari

When you browse the web on your devices, websites will often leave cookies on your system so that they can remember you and what your preferences are.

safari macos icon banner

However, for the same reason, cookies can pose a privacy risk because of the information they hold about you, which is why you may want to remove them from your computer every so often.

The following steps show you how to delete cookies from Apple's Safari browser on Mac, iPhone , and iPad .

How to Delete Cookies in Safari on iOS

Note that the following steps clear all history, cookies and website data on your device, regardless of when the sites were accessed.

  • Launch the Settings app on your iOS device.
  • Scroll down and select Safari .
  • Scroll down and select Clear History and Website Data .

settings

How to Delete Cookies in Safari on macOS

  • Launch Safari browser on your Mac.

safari

Note that you can opt to block all cookies in future by selecting Block all cookies in Safari's settings ( Settings -> Safari on iOS, and in the Privacy tab of Safari's Preferences on macOS). However, bear in mind that some websites use cookies to improve your browsing experience – by remembering your login details, for example – so think twice before you select this option.

Get weekly top MacRumors stories in your inbox.

Popular Stories

maxresdefault

Apple to Launch New iPad Pro and iPad Air Models in May

reset password request iphone

Warning: Apple Users Targeted in Phishing Attack Involving Rapid Password Reset Requests

Generic iOS 18 Feature Purple

iOS 18: What to Expect From 'Biggest' Update in iPhone's History

General iOS 17 Feature Orange Purple

Apple Releases Revised Versions of iOS 17.4.1 and iPadOS 17.4.1 With Updated Build Number

applephilschiller

Apple's Phil Schiller Works 80 Hours a Week Overseeing App Store

apple maps 3d feature

Apple Maps May Gain Custom Routes With iOS 18

Next article.

Apple Watch Series 9

Our comprehensive guide highlighting every major new addition in iOS 17, plus how-tos that walk you through using the new features.

ios 17 4 sidebar square

App Store changes for the EU, new emoji, Podcasts transcripts, and more.

iphone 15 series

Get the most out your iPhone 15 with our complete guide to all the new features.

sonoma icon upcoming square

A deep dive into new features in macOS Sonoma, big and small.

ipad pro 2022 square upcoming

Revamped models with OLED displays, M3 chip, and redesigned Magic Keyboard accessory.

Apple iPad Air hero color lineup 220308

Updated 10.9-inch model and new 12.9-inch model, M2 chip expected.

wwdc 2024 upcoming square

Apple's annual Worldwide Developers Conference will kick off with a keynote on June 10.

ios 18 upcoming square

Expected to see new AI-focused features and more. Preview coming at WWDC in June with public release in September.

Other Stories

iphone 15 galaxy s24 ultra corning glass

1 day ago by Tim Hardwick

Apple advanced security iMessage Contact Key Verification screen Feature

2 days ago by Juli Clover

Generic iOS 18 Feature Yellow Iridescent

2 days ago by MacRumors Staff

iOS 17

3 days ago by MacRumors Staff

Clear Cache, Cookies and History on Safari

Updated at: Feb 26, 2022

Here are instructions to help you clear your browsing history, cookies & cache in Safari on macOS.

There's a few guides here, what would you like to do:

  • Clear the entire Cache, Cookies, and History in Safari on macOS
  • Clear the Cache, Cookies, and Local Storage Data (but not the history) in Safari on macOS
  • Clear saved Form Data and Passwords

Clear the entire Cache, Cookies, and History in Safari

Click the "safari" menu.

Make sure you have a Safari window open and active; you will see the "Safari" menu in the top left of your screen. Click it and it will expand to show Safari specific options.

The location of the Safari menu - in the top left of the screen

Click the "Clear History..." item

Now that you have expanded the Safari menu, you will see the Clear History... item - click on it.

The Safari menu showing the Clear History item.

Choose the time range to delete and then "Clear History"

Safari now gives you a very simple interface for clearing your browsing cache, history, and cookies. When you click Clear History your cache, browser history, and cookies will be deleted for the specified time range.

The Safari dialog for showing the time range to clear your browsing data for

If you choose the default option of " all history " then the entire historical record of your browsing on this computer will be deleted. At the top of the prompt, you'll see "Clear: all history" - you can click on this Select field and choose a time range to clear instead.

So instead of deleting all your history, you can choose to just delete Today's browsing history, or just the past hour's history.

Once you have decided how much you want to delete, click the Clear History button.

Congratulations, you have now cleared your selected browsing data from your computer. You can simply close this window and continue to use Safari.

Clear the Cache, Cookies, and Local Storage Data in Safari

These steps will remove Safari's automatic cache of temporary data it has stored while you browse the internet; these steps won't delete your browsing history .

Click the "Preferences" menu item

Now that you have expanded the Safari menu, you will see the Preferences item - click on it.

The expanded Safari menu, showing the the Preferences item

The Safari Preferences screen will now appear.

Click the "Privacy" tab

The Safari Preferences screen has a number of sections, indicated by the various options along the top of the screen (General/Tabs/AutoFill etc). Click the Privacy item to see privacy related options.

The Preferences window, showing the Privacy tab

Click "Manage Website Data...

On the privacy tab, click the Manage Website Data button to show a list of all the sites Safari has collected data for.

The Privacy pane showing the Manage Website Data button.

Select the site/s you want to delete data from, and click "Remove"

On this screen you will see a list of all the domains Safari has collected data for. Find the ones you want to remove (you can search for a domain in the Search field in the top right of the window.

The Privacy pane showing the Manage Website Data button.

Delete one page from Safari's Cache

If you just want to delete the cache and cookies from one website, you can select the domain name here and press the Remove button. This will keep all the other data intact and just remove the one site's cookies and cache.

You can remove sites one at a time, you can hold down the ⌘ Command button and keep clicking to select more than one domain at a time.

When you have selected the domains you want to clear the data from, simply press the Remove button and Safari will clear the data for those sites.

If you remove data for any sites you are logged in to, you will probably have to re-log in to them again, but your browsing history will still be intact.

Clearing Form Data and Passwords in Safari

Follow these instructions to clear the form data and passwords that have been saved in Safari.

Click the "AutoFill" tab

The Safari Preferences screen has a number of sections, indicated by the various options along the top of the screen (General/Tabs/AutoFill etc). Click the AutoFill item to see AutoFill related options.

The expanded Safari menu, showing the the Preferences item

Choose what to AutoFill, and edit/clear existing data

On the AutoFill screen, you will see a listing of types of data Safari can be configured to "remember" for you - that way, when you need to fill out some forms online, Safari will try to automatically put the correct data in for you. You can turn this feature on or off for different types of data, including contact information, credit cards, usernames & passwords, and so on.

Checkboxes to choose what Safari will AutoFill, and Edit buttons to clear existing data.

To review, edit, and delete the items that Safari has saved, click the corresponding Edit... button. Some of these items require you to enter the password for your computer - that is, the user you are currently logged in as on your Mac.

You can use these interfaces to review and optionally delete any information you've previously entered from your computer. Because some of it is sensitive (Passwords, Credit Card numbers etc) you will have to unlock various sections by entering your computer's password.

When you are finished, simply close Safari's Preferences by clicking the Red "close" button.

Safari Logo

More guides and help for Safari

Need more help with Safari? Read our other Safari guides .

Clear cache & history

Do i need to clear my cache.

Not sure why you've been asked to clear your cache? We can explain. Why you need to clear your cache

What is a cache?

Before you consider clearing your browser cache, you should know what it is! Learn a little bit about browser caches

Is it safe to clear my cache?

Are there any risks to clearing your cache? Find out if it's ok to clear your cache

Update my web browser

Do i need to update my browser.

Find out if your browser is out of date Is my browser out of date?

Why should I update my browser?

There are very good reasons to, find out here! Why update your browser?

Is it free to update Chrome?

Find out about the cost of updating Chrome... Does Chrome cost anything?

What does "Update browser" mean?

What does it actually mean? What does it mean to update your browser

Get help with our guides

How to enable javascript.

Change your JavaScript settings Guide to enabling Javascript

How to enable Cookies

Configure your cookie settings for privacy Guide to enabling cookies

Related articles

I can't log in to a website..

We've got a detailed guide to help you solve login problems How to fix website log in problems

Why do websites use cookies?

Why are cookies useful? Do you need them? What's the deal with cookies?

How to update your browser

Old software puts you at risk. Keep your browser fresh and up to date

Clear Cache, Cookies and History

How to reset your browsing history How to reset your browser

Try a different web browser

Different web browsers have different features - try a different one to see if you prefer it. Experiment a bit!

Use a VPN to hide your IP address

We recommend NordVPN to hide your IP address or to unblock websites. Hide your IP Address

Clearing your cache, cookies, and browsing history - Frequently asked questions

How to clear cache.

Clear instructions to clear your cache, cookies, and history. follow the guides.

Learn how to clear your cache, cookies, and history

Before you consider clearing your browser cache, you should know what it is!

Learn a little bit about browser caches

What does "Clear your Cache" mean?

Have you heard the phrase "clear your cache" but aren't sure what it means?

What "clear cache" means

Not sure why you've been asked to clear your cache?

Why you (might) need to clear your cache

Clear the cache for just one page

Need to completely reload a page but don't want to clear your entire cache?

How to clear the cache for just one page

Should I clear my cookies?

Can clearing cookies help with problems or privacy? Here's some info.

Why you (might) need to clear your cookies

Are there any risks to clearing your cache?

Find out if it's ok to clear your cache

What happens when I clear my cache?

When I decide to clear my cache or cookies, what actually happens?

See what happens

Clear Cache in Chrome Shortcut

Don't bother clicking the menus, use the handy keyboard shortcut!

Keyboard shortcut to clear cache in Chrome

Clear Cache in Firefox Shortcut

Keyboard shortcut to clear cache in Firefox

Clear Cache in Edge Shortcut

Keyboard shortcut to clear cache in Edge

Clear Cache in Brave Shortcut

Keyboard shortcut to clear cache in Brave

Clear Cache in Safari Shortcut

Keyboard shortcut to clear cache in Safari

Does clearing cache in one browser affect the other browsers on my computer?

Are the different caches on my computer related to each other?

How big is Chrome's Cache?

Find out how much temporary space Chrome is using for your Cache

The size of Chrome's cache

Safari User Guide

  • Change your home page
  • Import bookmarks, history and passwords
  • Make Safari your default web browser
  • Go to websites
  • Find what you’re looking for
  • Bookmark web pages that you want to revisit
  • See your favourite websites
  • Use tabs for web pages
  • Pin frequently visited websites
  • Play web videos
  • Mute audio in tabs
  • Pay with Apple Pay
  • Autofill credit card info
  • Autofill contact info
  • Keep a Reading List
  • Hide ads when reading articles
  • Translate a web page
  • Download items from the web
  • Share or post web pages
  • Add passes to Wallet
  • Save part or all of a web page
  • Print or create a PDF of a web page
  • Customise a start page
  • Customise the Safari window
  • Customise settings per website
  • Zoom in on web pages
  • Get extensions
  • Manage cookies and website data
  • Block pop-ups
  • Clear your browsing history
  • Browse privately
  • Autofill username and password info
  • Prevent cross-site tracking
  • View a Privacy Report
  • Change Safari preferences
  • Keyboard and other shortcuts
  • Troubleshooting

how to clear browser cookies safari mac

Manage cookies and website data in Safari on Mac

You can change options in Safari preferences so that Safari always accepts or always blocks cookies and website data .

Open Safari for me

Prevent trackers from using cookies and website data to track you: Select “Prevent cross-site tracking”.

Cookies and website data are deleted unless you visit and interact with the trackers’ websites.

Always block cookies: Select “Block all cookies”.

Websites, third parties and advertisers can’t store cookies and other data on your Mac. This may prevent some websites from working properly.

Always allow cookies: Deselect “Block all cookies”.

Websites, third parties and advertisers can store cookies and other data on your Mac.

Remove stored cookies and data: Click Manage Website Data, select one or more websites, then click Remove or Remove All.

Removing the data may reduce tracking, but may also log you out of websites or change website behaviour.

See which websites store cookies or data: Click Manage Website Data.

Note: Changing your cookie preferences or removing cookies and website data in Safari may change or remove them in other apps.

How-To Geek

How to clear safari browsing data with a keyboard shortcut.

Need to quickly clear your Safari browser history on your Mac? Here's how to create a custom keyboard shortcut to get the job done in a flash.

If you use Safari on Mac and would like to quickly clear your browser history without digging through menus, you can take care of it with a keyboard shortcut and a click by creating a custom shortcut in System Preferences . Here's how.

First, we'll need to visit "System Preferences" to create the custom keyboard shortcut. On your Mac, click the "Apple" icon in the upper-left corner and select "System Preferences."

In "System Preferences," select "Keyboard." In "Keyboard" preferences, click the "Shortcuts" tab.

In the sidebar menu, click "App Shortcuts."

Click the plus sign (+) located near the bottom of the window to add a new shortcut.

A pop-up window will appear. First, click the drop-down menu labeled "Application" and select "Safari.app."

In the "Menu Title" text box, enter "

" exactly. It must include the three dots at the end, as it must match the existing menu command in Safari under the "History" menu.

Next, select the "Keyboard Shortcut" box and type the shortcut you want to use to clear Safari's browser history. We chose Shift+Command+H, but you can enter any unused keyboard combination.

Then click the "Add" button, and the shortcut will be added to the list. You're now clear to close System Preferences (unless you want to tweak the keyboard shortcut key combination after testing it out.)

Open "Safari" and press the keyboard shortcut you just defined. A small pop-over window will appear with a drop-down menu and two buttons. In the "Clear" menu, you can choose how much of your history is cleared. When you're ready, click the "Clear History" button.

Your Safari browsing history will be cleared to whatever level you selected. Safari will remember the setting you chose in the "Clear" menu, so next time you call up the window with your custom shortcut, you can just click the "Clear History" button.

If you find yourself frequently clearing your browser history, consider trying Safari's Private Browsing mode , which is a special mode that doesn't keep track of your browsing history. You can even configure Safari to start with a Private window every time you open the app .

Related: How to Always Start Safari in Private Browsing Mode on a Mac

how to clear browser cookies safari mac

How to Clear Cookies and Cache on a Mac (and Why You Should)

E ach website you visit leaves breadcrumbs on your browser. Small information files called cookies, which your browser stores, create a more personalized experience (such as saving items you've placed in a cart), and are also used for authentication. Your browser also saves information, like images, in its cache so pages load faster the next time you visit. However, this stored information can cause problems with formatting and loading, so you'll occasionally want to clear it from your browser.

How to clear cache on Mac

The steps to clear cookies on your Mac vary slightly based on which browser you're using. Following are instructions for Safari, Google Chrome, and Firefox.

How to clear cache on Safari

To clear cache on Safari on Mac, open History on the top menu bar and select Clear History . In the pop-up menu, use the drop-down to choose how much time you want to clear (Last Hour, Today, Today and Yesterday, or All History) and tap Clear History . This deletes your browsing history, cache, and cookies for the period selected. Note that Safari does not have an option to selectively delete this data.

How to clear cache on Google Chrome

To clear cache on Google Chrome on Mac, tap Chrome in the main menu bar and select Clear Browsing Data . A new settings tab will open up where you can choose the period to clear (from the last hour up to all data) and what you want to delete (browsing history, cookies, and/or cached images and files). Then click Clear data . The advanced tab has options to also clear passwords and passkeys as well as download history and autofill data.

How to clear cache on Firefox

To clear cache on Firefox on Mac, tap History in the top menu bar and select Clear Recent History . In the pop-up menu, select the checkboxes for what you want to clear, choose the time range (from the last hour to all history) from the drop-down, and tap Clear Now . Firefox allows you to select from browsing and download history, cookies, cache, active logins, and form and search history. You can also delete site settings and offline website data.

Note that if you clear your browser cache and cookies, you may need to sign in to certain sites again, and page loading may be slower initially as previously stored data reloads.

How to Clear Cookies and Cache on a Mac (and Why You Should)

  • Home New Posts Forum List Trending New Threads New Media Spy
  • WikiPost Latest summaries Watched WikiPosts
  • Support FAQ and Rules Contact Us

why are cookies cleared when clearing safari history?

  • Thread starter dontlan
  • Start date Mar 20, 2024
  • Tags safari sonoma
  • Sort by reaction score

macrumors regular

  • Mar 20, 2024

every time I clear my safari history, I log out on all sites, why is this happening?  

Attachments

photo_2024-03-20_18-50-15.jpg

FreakinEurekan

Macrumors 603.

Why? ¯\_(ツ)_/¯ ask an Apple developer. I suspect it's because if you want to remove history, you're trying to remove all evidence of accessing that site. Which would include cookies.  

FreakinEurekan said: Why? ¯\_(ツ)_/¯ ask an Apple developer. I suspect it's because if you want to remove history, you're trying to remove all evidence of accessing that site. Which would include cookies. Click to expand...

Fishrrman

macrumors Penryn

Use the app named "Cookie" to manage your cookies and clear Safari data and caches. It's "the best there is". Nothing else I've seen that works as well.  

bogdanw

Apple Support: Clear your browsing history in Safari on Mac https://support.apple.com/guide/safari/sfri47acf5d6/mac Clear cookies in Safari on Mac https://support.apple.com/guide/safari/sfri11471/ Keep your browsing history private in Safari and Maps https://support.apple.com/guide/personal-safety/ips375e6d608/web  

bogdanw said: Apple Support: Clear your browsing history in Safari on Mac https://support.apple.com/guide/safari/sfri47acf5d6/mac Clear cookies in Safari on Mac https://support.apple.com/guide/safari/sfri11471/ Keep your browsing history private in Safari and Maps https://support.apple.com/guide/personal-safety/ips375e6d608/web Click to expand...

VampyricGentleman

VampyricGentleman

Macrumors 6502.

dontlan said: every time I clear my safari history, I log out on all sites, why is this happening? Click to expand...
dontlan said: It doesn't help Click to expand...

Browse privately in Safari on Mac

NoBoMac

  • Mar 23, 2024
VampyricGentleman said: My memory may be wrong but I believe other browsers (Chrome and Firefox I’m recalling) allow you to delete history and other temporary files without deleting cookies. Click to expand...

None of you guys helped me. I click the clear history button in safari and I log OUT OF ALL ACCOUNTS  

Delete history without deleting cookies - from Terminal Code: rm ~/Library/Safari/History* - AppleScript that can be saved as an app AppleScript: do shell script "rm ~/Library/Safari/History*"  

bogdanw said: Delete history without deleting cookies - from Terminal Code: rm ~/Library/Safari/History* - AppleScript that can be saved as an app AppleScript: do shell script "rm ~/Library/Safari/History*" Click to expand...

1711261453256.png

Make sure you have * at the end of the command.  

  • Sunday at 12:22 AM

I entered the with * at the end , the history was not cleared  

  • Sunday at 3:42 AM

Close Safari, give Full Disk Access to Terminal (in System Settings - Privacy & Security - Full Disk Access), run rm ~/Library/Safari/History* , open Safari – History (⌘Y).  

  • Sunday at 7:39 AM

cookie.jpg

  • Sunday at 8:49 AM

Simple app to delete Safari’s history, keeping cookies AppleScript: tell application "Safari" to quit delay 0.5 do shell script "rm ~/Library/Safari/History*" delay 0.5 tell application "Safari" to activate Save a script as an app in Script Editor on Mac https://support.apple.com/guide/script-editor/scpedt1072/mac Video is loading or being processed.  

  • Sunday at 9:58 AM

Or: Safari > History > Show All History, Safari > Edit > Select All, Safari > Edit > Delete Will churn a long time if left open, so might want to quit Safari for a tick and restart. But will keep a "backup" around as an SQLite equivalent of a transaction log is kept as part of the database used for history management.  

IMAGES

  1. Clear Cookies in Safari on a Mac

    how to clear browser cookies safari mac

  2. How to Clear Cookies on Mac

    how to clear browser cookies safari mac

  3. Effectively Removing Safari Cache, Cookies and History

    how to clear browser cookies safari mac

  4. Clear Cookies on Mac

    how to clear browser cookies safari mac

  5. Method to Clear Safari's Cache and Cookies on macOS 10.15

    how to clear browser cookies safari mac

  6. 如何在 Mac 上清除 Safari 的緩存、cookie 和擴展名

    how to clear browser cookies safari mac

VIDEO

  1. Clear Safari cache history and cookies on iPhone

  2. How To Clear Safari Browser Search History On iPhone ( safari browser ) 2024

  3. How to Reset Safari Browser on iPhone

  4. How to Clear Web History in Safari Browser

  5. How to Delete All Web History of Safari Browser in MacBook

  6. How to Clear Safari Cache on iPhone

COMMENTS

  1. How to clear Safari cache and cookies on a Mac

    Cleaning cookies and the cache data for individual sites can be done via Safari's Settings/Preferences. Open Safari. Click on Safari in the menu at the top of the screen. Click on Settings or ...

  2. Clear the history, cache, and cookies from Safari on ...

    Delete history, cache, and cookies. Clear cookies and cache, but keep your history. Delete a website from your history. Block cookies. Use content blockers. Delete history, cache, and cookies. Go to Settings > Safari. Tap Clear History and Website Data. Clearing your history, cookies, and browsing data from Safari won't change your AutoFill ...

  3. Manage cookies and website data in Safari on Mac

    Always allow cookies: Deselect "Block all cookies.". Websites, third parties, and advertisers can store cookies and other data on your Mac. Remove stored cookies and data: Click Manage Website Data, select one or more websites, then click Remove or Remove All. Removing the data may reduce tracking, but may also log you out of websites or ...

  4. Clear your browsing history in Safari on Mac

    Open Safari for me. In the Safari app on your Mac, choose History > Clear History, then click the pop-up menu. Choose how far back you want your browsing history cleared. When you clear your history, Safari removes data it saves as a result of your browsing, including: History of webpages you visited. The back and forward list for open webpages ...

  5. Clear cookies in Safari on Mac

    In Safari on your Mac, clear cookies and website data for some or all websites.

  6. How to Clear Safari's Browsing History and Cookies on macOS

    If you simply want to clear part of your history, you can click "Show History" ("Command + Y"). Click on the site or use the "Command" key to select several sites, then press the "Delete" key. You can also click "Clear History" in the upper right corner to remove everything all at once. You can also right-click a history entry to delete it.

  7. How to clear cache on Mac in Safari, Chrome, and Firefox

    Open Safari. In the menu bar (top left of your screen) click History. At the bottom of the menu, choose Clear History…. You can also choose Safari > Clear History…. Use the drop-down menu to ...

  8. How to Clear Safari Browsing History and Cache

    Scroll down and select Safari. Scroll down and select Clear History and Website Data. Choose the timeframe to clear ( Last hour, Today, Today and yesterday, or All history ), choose the profile or ...

  9. How to Clear Safari Browser Cache on Mac, iPhone, or iPad

    Clear your cache. 1. Click on the Safari tab at the top left of your screen and choose Preferences from the dropdown menu. Navigate to the Preferences section. Stefan Ionescu/Insider. 2. Click the ...

  10. How to Clear Cookies on a Mac in Safari, Firefox, and Chrome

    Clear Safari's cache to get rid of persistent cookies. If you still see cookies popping up after deleting your Mac's stored cookies, you can clear Safari's cache, which will remove all of Safari's input information except for settings and bookmarks.

  11. Clear Cookies on Mac: Safari, Chrome, Firefox, Edge

    To clear cookies, click Manage Website Data. In pop-up window, click Remove All. Alternatively, you can choose specific sites and click Remove. To block and clear all cookies, click the Block all ...

  12. How to Delete Cookies Using the Safari Web Browser: 13 Steps

    If you want to prevent all cookies going forward, check the "Block all cookies" box in the "Cookies and website data" section of the Preferences menu. This will stop Safari from storing cookies from websites. [1]

  13. Clear the history, cache and cookies from Safari on ...

    Delete your history, cache and cookies. Clear your cookies and the cache, but keep your history. Delete a website from your history. Block cookies. Use content blockers. Delete history, cache and cookies. Go to Settings > Safari. Tap Clear History and Website Data. Clearing your history, cookies and browsing data from Safari won't change your ...

  14. How to Delete Cookies and Stored Website Data in Safari

    1. Open the Settings app and tap Safari. 2. Tap Clear History and Website Data. If you're using iOS 7 or earlier, the menu is slightly different: Tap "Clear History" and "Clear Cookies and Data ...

  15. How to clear Safari cache, history, and cookies on Mac

    However, if you wish to clear the cookies and cache for all your Safari profiles, then you must employ the following method. How to clear Safari cache on Mac. Launch Safari → Click Safari in the menu bar → Select Settings. Proceed to the Advanced tab → Tick the checkbox adjacent to Show features for web developers.

  16. How to clear cookies on Mac: Safari, Chrome & Firefox guide

    Here, click Site settings and then Cookies and site data. Turn on Clear cookies and site data when you quit Chrome. How to clear cookies in Firefox: Finally, to delete cookies in the Firefox browser, you'll have to spend only a few seconds. To clear cookies in Firefox browser: Open Firefox. Enter about:preferences in the address bar.

  17. Manage cookies and website data using Safari

    Always allow: Safari lets all websites, third parties, and advertisers store cookies and other data on your Mac. Remove stored cookies and data: Click Remove All Website Data, or click Details, select one or more websites, then click Remove.

  18. How to Clear Cache and Cookies in Safari for Mac, iPhone, and iPad

    Here's how to clear cache and cookies in Safari on Mac. Step 1: Open Safari on your Mac. Step 2: Click on the Safari tab in the top-left corner of the menu bar to bring up the contextual menu ...

  19. How to Delete Cookies in Safari

    The following steps show you how to delete cookies from Apple's Safari browser on Mac, iPhone, and iPad. How to Delete Cookies in Safari on iOS. Note that the following steps clear all history ...

  20. Clear Cache, Cookies and History on Safari

    Choose the time range to delete and then "Clear History". Safari now gives you a very simple interface for clearing your browsing cache, history, and cookies. When you click Clear History your cache, browser history, and cookies will be deleted for the specified time range. If you choose the default option of " all history " then the entire ...

  21. Manage cookies and website data in Safari on Mac

    Prevent trackers from using cookies and website data to track you: Select "Prevent cross-site tracking". Cookies and website data are deleted unless you visit and interact with the trackers' websites. Always block cookies: Select "Block all cookies". Websites, third parties and advertisers can't store cookies and other data on your Mac.

  22. How can I quickly clear cookies for a specific site using Safari for Mac?

    Then enter the domain in the Search box, select the item you want to remove, and click Remove. the Safari Cookies tool is apparently dead. To clear all cookies, you can setup a keyboard shortcut (Option-Cmd-R) to Safari → Reset Safari. Go to the preferences menu, and open the "Security" Options.

  23. How to Clear Safari Browsing Data with a Keyboard Shortcut

    Open "Safari" and press the keyboard shortcut you just defined. A small pop-over window will appear with a drop-down menu and two buttons. In the "Clear" menu, you can choose how much of your history is cleared. When you're ready, click the "Clear History" button.

  24. How to Clear Cookies and Cache on a Mac (and Why You Should)

    How to clear cache on Google Chrome. To clear cache on Google Chrome on Mac, tap Chrome in the main menu bar and select Clear Browsing Data.A new settings tab will open up where you can choose the ...

  25. why are cookies cleared when clearing safari history?

    Or: Safari > History > Show All History, Safari > Edit > Select All, Safari > Edit > Delete. Will churn a long time if left open, so might want to quit Safari for a tick and restart. But will keep a "backup" around as an SQLite equivalent of a transaction log is kept as part of the database used for history management.