If Safari on your Mac is frozen and Command-Q does nothing, press Option-Command-Esc, select Safari in the window that opens and click Force Quit. The other ways below do the same job. Use them when the shortcut does not work.
Before you force quit
A normal quit lets an app finish what it is doing. A force quit stops it at once, so text you typed into a web form and did not send is lost. Try Command-Q or Safari → Quit Safari first and give Safari a moment to react.
1. Force quit with the keyboard
- Press Option (or Alt), Command and Esc together.
- Select Safari in the Force Quit window.
- Click Force Quit.
2. Force quit from the Apple menu
Click the Apple menu in the corner of the screen and choose Force Quit. The same window opens. Select Safari and click Force Quit.
3. Force quit from the Dock
When Safari has stopped responding, Control-click its icon in the Dock and choose Force Quit.
4. Force quit in Activity Monitor
- Open Activity Monitor from Applications → Utilities, or find it with Spotlight.
- Select Safari in the Process Name list. A process that has stopped responding is shown in red and marked “(Not Responding)”.
- Click the Stop button at the top of the window and choose Force Quit.
5. Force quit from Terminal
Open Terminal from Applications → Utilities, type this command and press Return:
killall Safari
Write the name with a capital S. The command sends Safari the signal to end. If Safari is still open a few seconds later, this version stops it immediately:
killall -KILL Safari
Terminal can also ask Safari to quit the normal way, as Command-Q does:
osascript -e 'quit app "Safari"'
A frozen Safari may not react to this last command. None of the three commands deletes any Safari data.
6. Restart the Mac
If you cannot force quit Safari, choose Apple menu → Restart. If the Mac does not restart, press and hold the power button for up to 10 seconds until the Mac turns off, then press it again. On a laptop with Touch ID, the Touch ID button is the power button. This closes every app without saving, so keep it as the last resort.
After a force quit
- To get your windows and tabs back, open Safari and choose History → Reopen All Windows from Last Session.
- If Safari freezes again as soon as it opens, quit it and hold the Shift key while you open it. Safari then starts without the windows and tabs that were open before.
Force quit Safari on iPhone or iPad
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. Apple’s advice is to close an app this way only when it does not respond.
If Safari freezes again and again
One freeze needs no further action. If it keeps happening, look for the cause:
- Install the current macOS update and restart. Safari is updated with macOS. See how to update Safari.
- Turn off your extensions under Safari → Settings → Extensions and turn them back on one at a time.
- If one website freezes Safari, remove its stored data under Safari → Settings → Privacy → Manage Website Data.
- Work through our guides for a Safari that keeps crashing and a Safari that runs slow.
While you look for the cause, you can keep working in a second browser. Ours is Kingpin, a private browser for Mac from the Mac App Store. It uses the same engine as Chrome and by default remembers nothing after you quit.