Protecting Your Privacy in Safari for iOS

Friday August 5, 2016 10:34 AM PDT by Tim Hardwick

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

(View all)
48 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)
48 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)
48 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)
48 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)
48 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)
48 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

Apple Acquires Weather App Dark Sky

Tuesday March 31, 2020 10:22 am PDT by Juli Clover
Apple has acquired weather app Dark Sky, Dark Sky's developers announced today. Dark Sky is one of the most popular weather apps on the App Store, known for its accuracy and storm warnings. Our goal has always been to provide the world with the best weather information possible, to help as many people as we can stay dry and safe, and to do so in a way that respects your privacy. There is no ...

Seemingly Unreleased Version of Logic Pro X With Live Loops Appears on Apple's Education Site [Updated]

Sunday March 29, 2020 7:23 am PDT by Hartley Charlton
Update: Apple has replaced the Logic Pro X image with an older version. Original story follows. A seemingly unreleased version of Logic Pro X has appeared on Apple's education site, as spotted by a Reddit user. The image from Apple's education products page shows a 16-inch MacBook Pro running Logic Pro X, but with a familiar interface that looks extremely similar to GarageBand's Live Loops ...

Bloomberg: Apple's 5G iPhone Still on Schedule for Fall Launch, But Future Products Could Be Delayed

Monday March 30, 2020 2:40 am PDT by Tim Hardwick
Apple's 5G iPhone is still on track to launch within the company's typical annual fall release schedule, according to a new Bloomberg report on filed on Monday. Signs are that Apple's Chinese-centric manufacturing -- of which Hon Hai is the linchpin -- is slowly getting back on track. The next iPhones with 5G wireless capabilities remain on schedule to launch in the fall, partly because mass...

Case for Upcoming Low-Cost iPhone Shows Up at Best Buy With Alleged April 5 Stock Date

Monday March 30, 2020 4:25 pm PDT by Juli Clover
Apple has a new low-cost iPhone in the works, which is supposed to be launching sometime in the first half of 2020. Given the ongoing situation in the United States and other countries, it's been unclear if the device is going to launch within the planned timeline, but there are signs that it could be coming soon. We started seeing cases for the new low-cost iPhone back in early February,...

Testing Brydge's New Pro+ Keyboard With Trackpad for iPad Pro

Monday March 30, 2020 2:04 pm PDT by Juli Clover
Well ahead of when Apple introduced trackpad support in iOS 13.4, Brydge announced an iPad Pro keyboard with a built-in multi-touch trackpad. We have one of Brydge's new Pro+ keyboards on hand, and thought we'd check it out to see how it works with Apple's new 2020 iPad Pro models. Subscribe to the MacRumors YouTube channel for more videos. The Brydge Pro+ keyboard is similar in design to...

Apple's Work on New Upcoming Products Progressing Normally as Employees Adjust to Telecommuting

Monday March 30, 2020 11:58 am PDT by Juli Clover
Apple's development of upcoming products is progressing as usual despite the fact that Apple employees around the world are working from home, according to a new report today out from Bloomberg. Apple is still working on new versions of the HomePod, Apple TV, MacBook Pro, budget iPads, Apple Watch, iPhone, and iMac, all of which could be released "as early as later this year" and have been...

Apple Releases ProRes RAW Beta for Windows

Monday March 30, 2020 9:33 am PDT by Juli Clover
Apple today released ProRes RAW for Windows in a beta capacity (via Mark Gurman), with the software designed to allow ProRes RAW and ProRes RAW HQ video files to be watched in compatible applications on Windows machines. According to Apple, the software will let the files be played within several Adobe apps: Adobe After Effects (Beta) Adobe Media Encocder (Beta) Adobe Premiere...

2020 iPad Pro Teardown Provides Closer Look at LiDAR Scanner and Confirms Incremental Update

Saturday March 28, 2020 9:56 am PDT by Hartley Charlton
iFixit today shared a video teardown of the new iPad Pro, which Apple unveiled earlier this month. iFixit found that most of the internals of the 2020 iPad Pro are the same as the 2018 model, confirming that the device is a relatively incremental update. The most notable new feature seen inside the new iPad Pro was the LiDAR scanner, which measures the distance to surrounding objects up...

Apple Configurator 2 Updated With New Features, Including Support for Restoring Firmware on 2019 Mac Pro

Tuesday March 31, 2020 5:34 am PDT by Joe Rossignol
Apple Configurator 2 has been updated to version 2.12 with several improvements, including support for restoring firmware on the 2019 Mac Pro. The release notes:• Added support for restoring firmware on the 2019 Mac Pro • Allow access to websites using TLS 1.0 and 1.1 • VPN: Configure Provider Designated Requirement for Custom SSL connection type • VPN: Configure network options for ...

U.S. Government Using Mobile Ad Location Data to Track Compliance With Curbs on Movement

Monday March 30, 2020 4:48 am PDT by Tim Hardwick
The U.S. government is using smartphone location data from the mobile ad industry to track people's movements amid the coronavirus outbreak, according to a Wall Street Journal report. Local governments and the Centers for Disease Control and Prevention have received the anonymized data about people in areas of "geographic interest," with the aim being to create a portal of geolocation...