Protecting Your Privacy in Safari for iOS


safari ios iconEvery time you visit a website on your iPhone or iPad, you are sharing information about yourself with the outside world. This guide runs through a number of methods you can use to gain more control over what gets shared, and who it gets shared with, whenever you use Apple's Safari browser to access the web on an iOS device.

It also covers some methods you can use to prevent traces of your browsing history from showing up on your iOS devices. While you may trust friends and family not to go searching through your web history, it's possible for them to unintentionally discover what you've been looking at, just by using Safari or performing a simple Spotlight search on your iPhone or iPad. If you're interested in a similar overview covering Safari on OS X, check out this guide.

The guide assumes you are using the latest public release of iOS 9.3 (9.3.3 as of initial writing). If your device is running an older version, a message should have appeared on the screen that an update is available. Connect your device to a power source and then tap "Install Now" on the message to download the update over the air, or open the Settings app and tap General -> Software Update, and then tap "Download and Install".

Alternatively, connect your device to a computer with an internet connection and with the latest version of iTunes 12 installed. Open iTunes, select your device (a device icon should appear just below the playback controls), click "Summary" in the sidebar, and then click "Check for Update" in the Summary screen. Click "Download and Update" if an update dialog appears.

Cookies, Location Services, and Tracking

Many websites attempt to store cookies and other web page data on iOS devices. Cookies are small data files that can include things like your IP address, device type, web browser version, the date you last visited the site, as well as any personal information you have provided, such as your name, email address, and any relevant preferences. This information is used to identify you when you revisit a site, so that it can offer tailored services, provide specific content, or display targeted ads.

Websites are increasingly upfront about their use of cookies – you've probably seen notices on popular sites requesting that you acknowledge their use. That's largely because EU law requires sites based within its borders to get consent from visitors to store or retrieve cookie data, and as of September 2015, Google requires that any website using its advertising products comply with the law if any of its users are inside the EU, regardless of where the site itself is based.

By default, Safari accepts cookies and website data only from websites you visit, and attempts to block third-party cookies that try to target you with ads or create a profile of your online activities. If you don't like the idea of being tracked at all, you can selectively block the use of cookies by following the numbered steps below. Note however that some pages might not work unless you allow the use of cookies, so if you run into login problems or other issues on familiar sites after adjusting these settings, then you might want to dial back the changes.

Additionally, Do Not Track is another feature you can enable to try to prevent sites from tracking your web visits across the web. With the feature turned on, Safari specifically asks sites and their third party content providers (including advertisers) not to track you. In reality, it's up to the website to honor this request, but it's an option worth enabling for a potential extra layer of privacy.

Lastly, you may have noticed how Safari asks if you want to share your location whenever you visit a geolocation-enabled website. If you don't expect the site to provide helpful location-based services such as weather information or local amenities, you can deny individual requests and continue to do so on a case-by-case basis. Alternatively, you can disable location services in Safari completely, which is also described in the following steps.

  1. On your iOS device, open the Settings app, scroll down the list, and tap "Safari".
  2. In Safari settings, tap "Block Cookies" under the Privacy & Security options, and choose one of the following: Always Block, Allow from Current Websites Only, Allow from Websites I Visit, or Always Allow.
  3. Toggle on the button next to "Do Not Track".
  4. Return to the first menu in the Settings app and select "Privacy" from the list.
  5. Tap "Location Services", scroll down the list and select "Safari Websites", and then tap on "Never" in the next screen. Again, be aware that defaulting to "Never" may impact the functionality of some sites you visit.

iOS privacy

Enable Private Browsing

By enabling Private Browsing, you can prevent Safari from remembering the pages you visit and any AutoFill information, while any private tabs you open won't be stored in iCloud. When using Private Browsing, Safari also automatically asks sites and third-party content providers not to track you, prevents sites from modifying any information stored on your iOS device, and deletes cookies when you close the related tab.

  1. In Safari, tap the Pages icon (consisting of two squares) to bring up the open tabs view, and then tap "Private". Notice how the interface turns a dark gray.
  2. Tap the "+" icon to open a private tab.
  3. When you're done with the web session, return to the open tabs view, close your tabs, and tap "Private" again. Your private tabs are now cleared from memory.

iOS Private

Clear Browsing History

Clearing your web history in Safari has changed with iOS 9. You can no longer clear your history without also deleting all cookies and web data. This may affect stored login data for certain sites, so think twice before proceeding.

The first method described below is the 'nuke' option since it clears all history, cookies and website data on all devices signed into your iCloud account regardless of when the sites were accessed.

  1. Open the Settings app and scroll down to Safari in the list.
  2. At the bottom of the options screen, tap "Clear History and Website Data".

clear history ios

The following alternative method allows you to limit the clearing of history, cookies and website data to a specific timeframe.

  1. Open Safari and tap the Bookmarks icon (the open book).
  2. Tap the first Bookmarks tab if it's not already selected and select "History" from near the top of the list.
  3. Tap "Clear" and select the option you prefer from the following: The last hour; Today; Today and yesterday; and All time.

clear history ios(2)

Exclude Browsing History From Spotlight Searches

If you'd like to retain your browsing history but don't want web pages you've visited to appear in Spotlight Search results, follow these steps.

  1. Open the Settings app and tap "General".
  2. Select "Spotlight Search", scroll down the Search Results list, and toggle off the switch for Safari.

Spotlight Safari iOS

Switch Search Engine and Disable Safari Suggestions

Just because you cleared your browsing history and web data in Safari or browsed in a Private window, doesn't mean your searches aren't still recorded elsewhere. For example, if you logged into a Google account during the session, searches you performed may be logged by Google and later show up as search suggestions when you start typing in the Google search bar when logged into the same account. In fact, your search and ad results may be customized based on your search-related activity, even if you're signed out of your account.

To get around this issue, either consult the privacy help page of your preferred search engine to learn how to turn off tracking settings, or add a non-tracking search engine such as StartPage to your favorites (visit the site, tap the Share icon – the square with an arrow pointing out of it – and tap the star icon to "Add to Favorites"). The next series of steps shows you how to set Safari to use non-tracking search engine DuckDuckGo when you type in search queries into the address bar.

Another thing to reconsider is your use of Safari Suggestions. With this option enabled, your search queries, the Safari Suggestions you select, and related usage data are sent to Apple. Additionally, if you have Location Services turned on, when you make a search query in Safari with Safari Suggestions enabled your location is also sent to Apple. If you don't want this information shared, turn off Safari Suggestions, which is also described in the steps below.

  1. Open the Settings app and scroll down to Safari in the list.
  2. In the Search options list, toggle off the "Search Engine Suggestions" and "Safari Suggestions" switches.
  3. Tap "Search Engine" at the top of the list, and select DuckDuckGo from the available options.

iOS search engine

Disable Frequently Visited Sites

By default, Frequently Visited Sites appear below your Favorites whenever you open a new tab in Safari. You can turn this feature off.

  1. Open the Settings app, scroll down and tap "Safari" in the list.
  2. Toggle off "Frequently Visited Sites" under the General section.

Visited Sites Safari iOS

Turn Off AutoFill

Safari's AutoFill feature remembers text and values you enter into online forms, and can be useful for speeding up logins and registrations as well as online purchases. If other people use your iOS device, you might not want this information to show up when websites are revisited. Here's how to disable AutoFill.

  1. Open the Settings app, scroll down, and tap on "Safari" in the list.
  2. Tap to open the AutoFill menu and toggle off the switch next to the details you'd rather not include. You can also edit/delete stored bank cards from here by tapping "Saved Credit Cards".

Safari AutoFill iOS


If your privacy concerns extend to a desire for enhanced security and anonymity, consider subscribing to a Virtual Private Network (VPN) service that offers an iOS client or supports OpenVPN (Private Internet Access and IPVanish are two popular options), and using a Tor-powered browser for iOS.

Top Rated Comments

LCPepper Avatar
59 months ago
So just turn off pretty much all of the functionality of Safari?

Why not just write a post telling people not to go on the Internet?

Arguably using Autofill is better for privacy, allowing Safari to suggest and securely save much stronger and varied passwords. Store your card details encrypted, and then hide them away in safe, combined with the use of Apple Pay in the real world, that's much better...

The only thing I do is delete my browsing history, why? Because I'm worried about the fact I searched for "graduate jobs"? No. Because sometimes it takes up quite a lot of space on my device when it's syncing it all across iCloud.
Score: 3 Votes (Like | Disagree)
Sill Avatar
59 months ago

Visitors should be able to log into any website without the need to store cookies. Websites that demand cookies storage in those cases are totally corrupt and in desperate need of a recode.

To me, cookies seem to be completely unnecessary for any behavior outside of logging in to a membership site, such as this forum, and I'm perplexed with and dismayed by any site that requires cookies for casual browsing, Forbes is a good example. The big revamp of Apple's site a few months back, when they went from a static page to the scrolling live pages, now requires cookies to be turned on or generally Safari won't display the page properly. For instance, the the frame on the home page with the slideshow that displays the iPhone, Watch, MBP, etc, now shows as one pic with all the frame captions overlaid on each other. Its such a mess - it looks like some kids were playing a game of Barrel Of Monkeys ('') on top of some ad proofs and gave up halfway through.

In-depth searching shouldn't require any cookies either, unless you're searching member content, again like our forum here. I've dealt with e-shopping sites that used javascript instead of cookies. Every time I went to a new item or category, the site would simply append more code to the end of the URL. No tracking to worry about; after you're done with the site simply clear history and forget it.

Since I mentioned membership sites like forums, another thing that bothers me are sites that require me to leave cookie acceptance active in order to keep using the site. For forum use I have the browser set to accept first party cookies, I login, then I turn the acceptance back to 'never'. The cookie is available for credentialing, but no new info can be added. But sites like won't display article pictures unless cookie acceptance is left active. At the least thats poor coding, at worst its an attempt to ensure they can track every iota of your browsing habits.

Apple itself has contributed mightily to our inability to avoid tracking, despite Cook's speeches about how vigorously they defend user privacy. A few versions ago, Safari displayed cookies by item - going to the cookie controls showed what each site placed on my machine whether it was a regular cookie or a tracker - and allowed me to delete individual pieces as I wished. That way I could sign in to a site, turn off the cookie acceptance, and then delete all those vile _utm trackers from Google. Now, cookies are displayed by site and gathered under single name. I have Ghostery installed so it should be stopping those _utm's but is it really?
Score: 3 Votes (Like | Disagree)
Sill Avatar
59 months ago
This article is a good beginner's guide, but an in-depth exploration of VPNs would be welcomed by many people here.
Score: 3 Votes (Like | Disagree)
C DM Avatar
59 months ago
I'm somewhat surprised that content blockers (that offer blocking of trackers) aren't mentioned.

There's also the whole piece related to advertising under Settings > Privacy > Advertising as well as some under Settings > Privacy > Location Services > System Services that might be worth looking into and adjusting (although I'm not certain of how much direct/indirect impact those might have on Safari in particular).
Score: 2 Votes (Like | Disagree)
SteveW928 Avatar
59 months ago

... so we could have the option for the Tor Browser ...

Not necessarily:

The Thought Police in 1984 were agents of the state. The Thought Collectors in 2016 are massively powerful private corporations.

Yes, and it's the State that I'm worried about. The corporations might be willing or unwilling accomplices, or even drive the corruption, I agree. But, I'm far more worried about the State taking my rights away than a corporation using data to sell me something.

But, my point is that the UN-nanny-state type cookie policy stuff doesn't accomplish anything but creating a hassle for legitimate cookie use.
Score: 1 Votes (Like | Disagree)
iapplelove Avatar
59 months ago
As far as I'm concerned, if you use a smart phone in any way you can be tracked,hacked etc. etc.

Only real way to be sure is to disconnect.

I understand the article is more about safe browsing practices, which I agree make some sense. But I'm thinking bigger lol
Score: 1 Votes (Like | Disagree)

Top Stories

iphone 5s black slate

Images of Unreleased iPhone 5s in Black and Slate Shared Online

Sunday January 17, 2021 9:47 am PST by
Twitter user @DongleBookPro has today shared images of a prototype iPhone 5s in an unreleased Black and Slate color. The iPhone 5s was launched in September 2013. The device featured Touch ID, a 64-bit processor, and a True Tone LED flash for the first time. Other new features included a five-element lens with an f/2.2 aperture, a 15 percent larger camera sensor, Burst Mode, and Slo-Mo...
iP12 charge airpods feature 2

Hidden iPhone 12 Hardware Feature Could Still be Unlocked

Thursday January 14, 2021 2:51 am PST by
All iPhone 12 and iPhone 12 Pro models purportedly have a hidden reverse wireless charging feature, according to an FCC filing. The feature has not yet been activated, but could yet be unlocked for an upcoming Apple accessory. The FCC filing suggests that iPhone 12 models contain the hardware for Wireless Power Transfer (WPT) to accessories: In addition to being able to be charged by a...
google maps detailed street level e1611052089473

Google Maps Gains Enhanced Street-Level Detail in Four Major Cities

Tuesday January 19, 2021 2:34 am PST by
Google Maps has quietly been updated to include significantly more detailed street-level information in a handful of key cities around the world. Upon zooming in, Google's maps for Central London, Tokyo, San Francisco, and New York now benefit from shapes and widths that match the scale of roads more accurately. Meanwhile, enhanced graphical representations of sidewalks, crosswalks,...
macbook pro flexgate

Apple Extends 13-Inch MacBook Pro Backlight Repair Program

Sunday January 17, 2021 10:31 am PST by
Apple this week extended its worldwide 13-inch MacBook Pro Display Backlight Service Program, authorizing coverage for eligible notebooks for up to five years after the original purchase date or up to three years after the start date of the program, whichever is longer. The previous cutoff was four years after the original purchase date. Apple launched the program on May 21, 2019 after...
lg wing

LG Considering Exit From Smartphone Business, Halts LCD Production for iPhone

Wednesday January 20, 2021 5:38 am PST by
LG is considering exiting the smartphone business entirely amid declining shipments and accrued losses of $4.5 billion over the past five years (via The Korea Herald). LG CEO Kwon Bong-Seok cautioned staff earlier today that the company is re-evaluating its presence in the smartphone industry: Since the competition in the global market for mobile devices is getting fiercer, it is about...
airpods max sim ejector

AirPods Max Headband Removable With Just a SIM Ejector Tool, Hinting at Interchangeable Headbands

Tuesday January 19, 2021 8:25 am PST by
It is possible to remove the headband of AirPods Max with just a standard SIM card ejector tool, hinting at the possibility of interchanging headbands to achieve a different colorway. Image via Prelook In December, MacRumors revealed the large variety of AirPods Max ear cushion color combinations when it became clear that they were magnetically attatched and available for sale separately....
macbook pro screensaver table

Some M1 Macs Affected By Fast User Switching Screensaver Bug

Monday January 18, 2021 1:57 am PST by
A growing number of user reports online suggest some of Apple's M1 Mac models are susceptible to a Fast User Switching bug that spontaneously activates the screensaver and leaves the user unable to dismiss it. In macOS Big Sur, Fast User Switching allows users to quickly switch between user accounts without having to completely log out. Based on posts in the MacRumors forums, Apple...
Top Stories 43 Feature

Top Stories: MacBook Pro, iMac, Mac Pro, and iPhone Rumors, Best of CES 2021

Saturday January 16, 2021 6:00 am PST by
This week was sure a busy one in the Apple world, with a flurry of announcements out of CES early in the week followed by a rash of Mac- and iPhone-related rumors later in the week. The new rumors this week included details on updated MacBook Pro, iMac, and Mac Pro models, as well as a few other tidbits, so make sure to read on below to get caught up! Kuo: New MacBook Pro Models to...
shot on iphone 12 apple

Apple Highlights Photos Shot by iPhone 12 Users: Portraits, Cityscapes, and More

Tuesday January 19, 2021 6:05 am PST by
Apple today shared a gallery of photos shot by customers using the iPhone 12 mini, iPhone 12, iPhone 12 Pro, and iPhone 12 Pro Max, with scenes including cityscapes, landscapes, portraits of people, and more at day and night. Shot on iPhone 12 Pro Max by "NKCHU" in China (top) and shot on iPhone 12 Pro Max by Rohit Vohra in India (bottom) iPhone 12 mini and iPhone 12 models have a dual camera ...
Apple and Hyundai feature

Apple Car Production Again Linked to Kia Motor's US Plant in Georgia

Tuesday January 19, 2021 4:19 am PST by
Hyundai intends to transition the company's Apple Car involvement to its Kia brand as part of an internal arrangement that could see production move to the U.S., according to a new report today. On Sunday, Korea IT News reported that Apple and Hyundai are seeking a partnership agreement for the upcoming Apple Car by March, and that the electric vehicles could be made at a Georgia factory...