Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to set up Mac OS X (10.7) to automatically reboot after kernel panics?

Yes, it shouldn't kernel panic, I know. But it does. I've replaced all the RAM in the system, ran memtest and smart test but it still crashes about once a week. No 3rd party kernel modules loaded. It would be almost not annoying if it was automatically rebooting, hence the question.

share|improve this question
Automatically rebooting after kernel panics might be a bad idea if you get many of these. You might even be caught in a reboot loop, God forbid. – lhf Sep 19 '12 at 3:24
When I am caught in the reboot loop I will get a new computer. – MK. Sep 19 '12 at 12:52
up vote 1 down vote accepted

Open the Energy Saver pane in System Preferences. There's an option to Restart automatically if the computer freezes, if you check that you should get the behaviour you desire.

Note that there are two tabs in Energy Saver—one for when you're on battery and one for when you're running from the power adapter; make sure you set it for each state you want.

Energy Saver Preferences

share|improve this answer
Does kernel panic qualify as freezing? – lhf Sep 19 '12 at 3:21
@lhf I will find out sooner than I would like. – MK. Sep 19 '12 at 3:22
worked like a charm :( – MK. Sep 19 '12 at 20:34

I don't know if something changed on Mountain Lion, but I no longer have the checkbox to restart automatically if the computer freezes.

My MacBook Air restarts automatically a few seconds after this message is shown:

Your computer restarted because of a problem. Press a key or wait a few seconds to continue starting up.

If I'm using it in clamshell mode, I can press any key on an external keyboard to restart immediately.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.