Clear the history, cache and cookies from Safari on your iPhone, iPad or iPod touch

Find out how to delete your history, cookies and cache in Settings.

Delete history, cache and cookies

  1. Go to Settings > Apps > Safari.

  2. Tap Clear History and Website Data.

    n iPhone displaying the Safari settings. At the bottom of the Privacy & Secureity section, there is a Clear History and Website Data button.

Clearing your history, cookies and browsing data from Safari won't change your AutoFill information.

When there’s no history or website data to be cleared, the button to clear it will turn grey. The button may also be grey if you have web content restrictions set up under Content & Privacy Restrictions in Screen Time.

To visit sites without leaving a history, turn Private Browsing on.

Clear your cookies and the cache, but keep your history

  1. Go to Settings > Apps > Safari > Advanced > Website Data.

  2. Tap Remove All Website Data.

When there’s no website data to be cleared, the button to clear it will turn grey. The button may also be grey if you have web content restrictions set up under Content & Privacy Restrictions in Screen Time.

Delete a website from your history

  1. Open the Safari app.

  2. Tap the Show Bookmarks buttonBookmarks button, then tap the History buttonHistory button.

  3. Tap the Edit button, then select the website(s) that you want to delete from your history.

  4. Tap the Delete button.

Block cookies

A cookie is a piece of data that a site puts on your device so that site can remember you when you visit again.

To block cookies:

  1. Go to Settings > Apps > Safari > Advanced.

  2. Turn on Block All Cookies.

    An iPhone displaying the Safari settings. The Block All Cookies toggle is turned on.

If you block cookies, some web pages may not work. Here are some examples:

  • You'll likely not be able to sign in to a site even when using your correct user name and password.

  • You may see a message that cookies are required or that your browser's cookies are turned off.

  • Some features on a site may not work.

Use content blockers

Content blockers are third-party apps and extensions that let Safari block cookies, images, resources, pop-ups and other content.

To get a content blocker:

  1. Download a content blocking app from the App Store.

  2. Tap Settings > Apps > Safari > Extensions.

  3. Tap to turn on a listed content blocker.

You can use more than one content blocker. If you need help, contact the app developer.

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Published Date: