User Agents

Web browsers and everyday web tech, explained

How to Reset Safari Security Settings on Mac & iPhone

· 5 min read · Settings and Privacy

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Resetting Safari’s security settings restores the browser’s default privacy and safety configurations, which can fix issues like blocked websites, unexpected pop-ups, or changes made by extensions or malware. This guide walks you through resetting security settings on both macOS and iOS/iPadOS, covering what you might need and common pitfalls.

What You'll Need

  • Your Mac, iPhone, or iPad with Safari installed.
  • Administrator access on your Mac (to change some settings).
  • Your Apple ID password if you have Screen Time enabled (to change content restrictions).
  • Optional: a backup of your bookmarks or passwords if you plan to clear website data.

Step-by-Step

On macOS (Safari 15 and later)

  1. Open Safari on your Mac.
  2. From the top menu bar, click Safari and select Settings (or Preferences in older versions).
  3. Click the Security tab. Here you can enable or disable JavaScript, pop-up blocking, and fraud warnings. To reset to default, ensure “Block pop-up windows” and “Warn when visiting a fraudulent website” are checked, and “Enable JavaScript” is checked.
  4. Click the Privacy tab. To reset tracking and cookie settings, click Manage Website Data, then select Remove All. This clears cookies and website data stored by Safari.
  5. In the Privacy tab, you can also set “Prevent cross-site tracking” to be enabled (default).
  6. Click the Websites tab to reset permissions like camera, microphone, and location. You can select each category (e.g., Camera) and choose “Ask” or “Deny” for each website, or reset all to defaults by clicking Reset in the bottom-right corner (if available).
  7. To clear the cache (which can affect loading), go to Develop menu (if enabled) and select Empty Caches. If you don’t see the Develop menu, go to Safari > Settings > Advanced and check “Show features for web developers”.

On iPhone/iPad (iOS/iPadOS 15 and later)

  1. Open the Settings app on your device.
  2. Scroll down and tap Safari.
  3. Under Privacy & Security, you’ll see options like “Prevent Cross-Site Tracking”, “Block All Cookies”, and “Fraudulent Website Warning”. To reset to default, enable “Prevent Cross-Site Tracking” and “Fraudulent Website Warning”, and turn off “Block All Cookies”.
  4. Scroll to Settings for Websites (or “Advanced” > “Website Data” in older versions). Tap Clear History and Website Data to remove cookies, cache, and browsing history. This will also sign you out of most websites.
  5. If you want to reset content blockers, go to Content Blockers and toggle off any that you suspect are causing issues.

Common Mistakes

  • Clearing all cookies without thinking: This logs you out of every website and may slow down your browsing initially. Only do this if you’re comfortable re-entering passwords.
  • Disabling JavaScript entirely: Many websites break without JavaScript. Only disable it temporarily for troubleshooting.
  • Forgetting to reset permissions per-site: If a site still misbehaves, check the Website tab (Mac) or Settings for Websites (iPhone) – you may have allowed pop-ups or blocked location for that specific site.
  • Not restarting Safari after changes: Some settings take effect only after you quit and reopen Safari.

Tips

  • Before resetting, note any sites that you trust and want to keep cookies for – you can re-add them later.
  • Use Safari’s built-in privacy report (Mac: Safari > Privacy Report) to see which trackers were blocked.
  • If you’re troubleshooting a specific issue, try resetting one setting at a time rather than everything, to isolate the cause.
  • On iPhone, you can also reset Safari by going to Settings > General > Transfer or Reset iPhone > Reset > Reset All Settings – but this resets all system settings, not just Safari, so use it as a last resort.

Troubleshooting

If resetting security settings doesn’t fix your problem:

  • Check for extensions: Some Safari extensions can alter security settings. On Mac, go to Safari > Settings > Extensions and disable all, then re-enable one by one. On iPhone, go to Settings > Safari > Extensions.
  • Check Screen Time restrictions: If you see “This website has been blocked” or “Not allowed”, Screen Time content restrictions may be overriding Safari settings. Go to Settings > Screen Time > Content & Privacy Restrictions and ensure web content is set to “Unrestricted Access” (or adjust allowed sites).
  • Clear the cache even after clearing cookies: Sometimes cached files linger. On Mac, use the Develop menu > Empty Caches. On iPhone, you may need to clear website data again after a restart.
  • Restart your device: A simple restart can resolve glitches that persist after changing settings.
  • Update Safari: Ensure your OS is up to date, as Safari updates are included in macOS and iOS updates.

Frequently Asked Questions

Will resetting Safari security settings delete my passwords?

No, resetting security settings does not delete saved passwords. Passwords are stored in iCloud Keychain and remain intact. However, clearing website data will log you out of sites, but your saved passwords will still autofill.

How do I reset Safari to factory defaults completely?

There is no one-click “reset” button. You need to manually clear history, cookies, cache, and reset permissions. On Mac, you can also delete Safari’s preferences file (com.apple.Safari.plist) in ~/Library/Preferences, but this is advanced and not recommended unless you’re comfortable.

Why does Safari keep blocking a website even after I enabled pop-ups?

If you’ve allowed pop-ups globally but a specific site still won’t open, check the Website settings for that site. On Mac, go to Safari > Settings > Websites > Pop-up Windows and ensure the site is set to “Allow”. On iPhone, go to Settings > Safari > Settings for Websites > Pop-up Windows.

Does resetting Safari security settings affect other browsers?

No, it only affects Safari. Other browsers like Chrome or Firefox have their own settings.

Will clearing cookies break my saved login sessions?

Yes, clearing cookies will log you out of most websites. You’ll need to sign in again. If you use two-factor authentication, you may need to re-verify your devices.

Can I reset security settings without clearing history?

Yes. You can reset individual security toggles (like JavaScript, pop-ups, fraud warnings) without clearing history or cookies. Only clear history and data if you want a full reset.