When Safari freezes or quits on its own, start with the steps Apple puts first: reopen Safari, install the current system update, restart the device and turn off extensions. If that does not help, clear the website data and test the device without third-party software. The Mac steps come first, the iPhone and iPad steps follow below.
Safari keeps crashing on a Mac
These steps follow Apple’s guide If Safari doesn’t work as expected on Mac. The menu names are those of macOS 13 Ventura and later.
1. Reopen Safari without the page that crashed it
Quit Safari. If it does not respond, press Option-Command-Esc, select Safari and click Force Quit. Our guide on how to force quit Safari lists the other ways.
Then press and hold the Shift key while you open Safari. This stops Safari from reopening the windows and tabs from last time, so the page that may have caused the crash stays closed.
2. Install updates and restart
Safari is part of macOS and is updated with it. Open System Settings → General → Software Update, install what is offered, then choose Restart from the Apple menu. See how to update Safari on a Mac if no update shows up.
3. Turn off extensions
- Choose Safari → Settings and click Extensions.
- Deselect the checkbox next to each extension.
- Use Safari as usual and watch whether it still crashes.
If the crashes stop, turn the extensions back on one at a time to find the cause. Update that extension, or select it and click Uninstall. If you use Safari profiles, the extensions of your additional profiles are managed separately under Settings → Profiles.
4. Close tabs you do not need
Control-click the tab you want to keep and choose Close Other Tabs. Safari reloads a page that uses too much memory and then shows the message “This webpage was reloaded because it was using significant memory.” If you see this message, or “A problem repeatedly occurred”, again and again for the same site, that site is the cause and not Safari as a whole.
5. Remove the data of the website that crashes
Choose File → New Private Window and open the site there. A private window does not use the cookies and caches stored for the site. If the site works in the private window, remove its stored data:
- Choose Safari → Settings and click Privacy.
- Click Manage Website Data.
- Select the website and click Remove, then click Done.
You will have to sign in to that site again. To clear the data of all sites at once, choose History → Clear History. That signs you out everywhere, and if you use iCloud for Safari it also removes the history from your other Apple devices.
6. Check VPN and security software
Apple names VPN apps and other software that monitors your network connections as a possible cause of Safari problems. Turn the app’s protection off for a short test, use Safari, then turn it back on. If Safari is stable only while the app is off, update the app or contact its maker.
7. If one website crashes Safari every time
Open the site in another browser. If it works there, use that browser for the site and report the problem to the website’s owner. Any browser will do. Ours is Kingpin, a private browser for Mac that uses the same engine as Chrome and has no extensions. There is no Kingpin for iPhone or iPad.
8. Test in safe mode
Safe mode starts your Mac without login items and other software that macOS does not need. It also checks the startup disk and clears some system caches.
- Mac with Apple silicon: shut down the Mac. Press and hold the power button until “Loading startup options” appears. Select your startup disk, press and hold Shift and click Continue in Safe Mode.
- Intel-based Mac: restart the Mac and immediately press and hold Shift until the login window appears.
Use Safari in safe mode, then restart normally. If the crashes come back only after the normal restart, a login item or another app that loads at startup is the cause. If Safari crashes in safe mode too, Apple’s advice is to reinstall macOS, which is the next step. Apple’s safe mode article has the details.
9. If nothing helps, or Safari does not open at all
Apple gives three steps for a Safari that will not open: install the current macOS update, check the startup disk for errors with Disk Utility and, if that does not help, reinstall macOS. Reinstalling macOS from Recovery does not remove your apps or personal data, but back up your Mac first. The steps are in our guide on reinstalling and resetting Safari.
Safari keeps crashing on iPhone or iPad
These steps follow Apple’s guide If Safari isn’t loading websites or quits on your iPhone or iPad and use the names of current iOS and iPadOS. If your Settings app has no Apps entry, look for Safari in the main Settings list.
1. Close Safari and open it again
Swipe up from the bottom of the screen and pause in the middle. Swipe sideways to Safari, then swipe up on its preview. On an iPhone with a Home button, double-click the Home button first.
2. Restart and update the device
Turn the device off and on again. Then open Settings → General → Software Update and install the update if one is available. Safari is part of iOS and iPadOS and is updated with the system.
3. Close open tabs
On iPhone, tap the Tabs button in Safari, touch and hold Done, then tap Close All Tabs. The command shows the number of open tabs.
4. Clear history and website data
- Open Settings, tap Apps, then tap Safari.
- Tap Clear History and Website Data.
- Choose the time frame and tap Clear History.
This does not change your AutoFill information. To keep your history and remove only cookies and caches, tap Advanced → Website Data → Remove All Website Data in the same Safari settings.
5. Turn off extensions and content blockers
Open Settings → Apps → Safari → Extensions and turn off every extension and content blocker. If Safari is stable, turn them back on one at a time.
6. If only some websites fail
- Switch from Wi-Fi to cellular data, or to another Wi-Fi network, and load the site again.
- If you use a VPN, turn it off for the test. Some websites block content when a VPN is on.
- If you use iCloud Private Relay, turn it off temporarily in your iCloud settings.
- Check that JavaScript is on under Settings → Apps → Safari → Advanced.
If Safari still quits after all these steps, contact Apple Support or the developer of the website that fails.