Best Reviews logo
Best Reviews may receive compensation for its content through paid collaborations. See how we sustain our work & review products.
How to Check If the Mac Automatically Restarts on System Freeze

How to Check If the Mac Automatically Restarts on System Freeze

By István F. István F. Verified by Adam B. Adam B.Last updated: January 9, 2025 (1)
Table of contents

There are situations when the Mac needs to stay awake no matter what happens, even in instances of those problematic moments when your Mac freezes because of faulty software, kernel panic kicks in, or a power outage occurs. If you are using the Mac remotely via Back to My Mac, for example, the online availability of the remote Mac is obligatory. Fortunately, macOS is able to mitigate such headaches… so long as you make sure the feature is enabled.

By default, most Macs are configured to remain off in the event of a power failure or if a system freeze kicks in. This makes sense because it is a way to shield the system from a second or third failure in a very short period of time, which would have catastrophic effects.

It’s important to note here that if your system has more than one or two kernel panics in a single year, then there is a bigger problem that you should immediately address following our guide. If power outages happen regularly in the area where you live, then it an uninterruptible power supply (UPS) is a smart purchase for protecting the system.

Check if the Mac restarts automatically

In OS X 10.8 Mountain Lion only desktop computers have a feature built into the system to control how the machine behaves in case of a system failure. Hidden within the Energy Saver pane in System Preferences is the option to “Start up automatically after a power failure”.

The reason for this desktop exclusivity is because MacBooks include a battery, so theoretically they won’t notice a power failure so long as the battery works. However, every Mac running OS X 10.7 Lion and earlier has this feature, even laptops. Here, however, the option is termed “Restart automatically if the computer freezes.”

To check whether the Mac will restart itself automatically, launch Terminal and enter the following command, then confirm it by typing the admin password:

sudo systemsetup –getrestartfreeze

The command will return a message informing you whether or not it is enabled. The default setting should be on, but if it isn’t, you can enable it.

Turn automatic restart on

There are valid reasons for not activating this feature, but if you really need it and the Mac is protected by a UPS device, then just copy and paste the following command line into Terminal:

sudo systemsetup -setrestartfreeze on

To disable it, copy the following command:

sudo systemsetup -setrestartfreeze off

By turning it off, the Mac will remain frozen until the computer is manually rebooted or (if left unattended for a longer time) a power failure kicks in. Hence, we recommend turning/leaving this feature on.

Keep your Mac clean to avoid kernel panic

While macOS is getting better and better at handling its memory resources, sometimes faulty software can cause various issues that could lead to a forced system restart – or a kernel panic. The Mac, like any other computer, needs your attention and you can take care of this by taking out the trash and keeping the drives clean. By doing so, you’ll keep it running at top performance. To achieve this you will need a Mac optimization app such as CleanMyMacOnyX, or the like. This kind of software was developed to find the trash, cache files, and unnecessary data that occupy precious space on your Mac, so ‘let the dogs out’ and enjoy an ‘intruder-free yard’.


Best Mac optimization software of 2025

Editor's choice
CleanMyMac logo
Editor's rating:
(4.5)
User-friendly dashboard
Effective scanning and cleaning options
Various maintenance tools
Built-in malware remover
All-around protection
MacKeeper logo
Editor's rating:
(4)
Personalized remote assistance
Unique optimization tools
Anti-theft tracking
Built-in antivirus
Beginners
MacBooster logo
Editor's rating:
(3.5)
Fast scanning
User-friendly UI
Virus and malware scan
Great cleaning features
Businesses
CCleaner for Mac logo
Editor's rating:
(4)
Fast scans and cleaning
Full customization
Extensive free version
Affordable

User feedback

    AL AL
    sudo systemsetup -setrestartfreeze off don't work :(
    No comments with that rating.

 Leave a reply

Your email address will not be published. Required fields are marked *


Best Reviews

Best Reviews may receive compensation for its content through paid collaborations and/or affiliate links. Learn more about how we sustain our work and review products.

©2012-2025 Best Reviews, a clovio brand – All rights reserved
Privacy policy · Cookie policy · Terms of use · Partnerships · Contact us