When your Mac starts acting up, you’ll probably run through some common troubleshooting procedures, such as restarting it, running Disk Utility, and perhaps performing a Safe Boot. Your repair repertoire should also include a couple of additional procedures that can occasionally eliminate otherwise inscrutable problems—zapping the NVRAM and resetting the SMC.
The procedures here apply to Intel-based Macs. M-Series Macs don’t have a procedure for zapping the NVRAM, and they don’t have an SMC. For M-series Macs, try shutting down the computer, waiting for several seconds, and then booting it.
Back in the day, the standard list of quick fixes for random Mac ailments always included clearing the PRAM. The P in PRAM stood for “parameter” (the RAM was just RAM—random access memory), and it referred to a small amount of special, battery-backed memory in every Mac that stored information the computer needed before it loaded the operating system. If the values in this memory got out of whack for one reason or another, your Mac might not start up correctly or might exhibit any of numerous odd behaviors afterward. So you could press a key sequence at startup to reset (or “zap”) the PRAM, returning it to default, factory values.
Modern Macs no longer use PRAM; they instead use something called NVRAM (NV for non-volatile). NVRAM serves approximately the same purpose as PRAM, but instead of storing a dozen or more pieces of information, it now contains just a few: your selected startup disk, speaker volume, screen resolution, time zone, and—if your Mac has crashed recently—details of the last kernel panic.
NVRAM corruption is fairly uncommon, but if your Mac seems to take forever to figure out the correct boot disc, starts up with the wrong screen resolution, or suffers from weird audio problems (like there’s no sound whatsoever or the menu bar’s volume control is grayed out), a reset of the NVRAM might help—and it’s quick and harmless.
If you notice that your Mac settings continuously get thrown out of whack, it might be time to reset the NVRAM. For example, if you notice that your screen resolution or sound volume never stays at the setting you want, or the date and time are always wrong. If you notice annoying problems that don’t get fixed by adjusting your settings, or your settings never seem to take, try resetting the NVRAM.
When you rest the NVRAM, your Mac will revert to factory default settings. So it’s safe in the sense it that it does not harm the Mac, but you might think of it as “unsafe” in that any customization you’ve done to the system settings may be lost. You may have to go back and reinstate some of those settings.
On M-series Macs, the NVRAM is tested during the startup process, and if the system detects a need to reset, it will. There isn’t a key combination that you hold down while starting up the Mac. If you would like the system to inspect the NVRAM on an M-series Mac, shut it down completely, wait a few seconds, and then power up the Mac.
To reset your NVRAM, you use exactly the same procedure you once used to reset PRAM.
If you hold down Command-Option-P-R at startup and you see nothing but a gray screen that doesn’t change for several minutes—no Apple logo, no progress bar, no second startup chime—don’t panic. The most likely cause is that your Mac isn’t registering the key presses due to wonkiness with a USB device. Disconnect all USB devices (except your keyboard, if it’s a wired keyboard), hold the power button down until the Mac shuts off completely, and then press it again and immediately hold down Command-Option-P-R.
If that doesn’t work and you’re using an external Bluetooth keyboard, try plugging in a USB keyboard instead. If you’re able to reset the NVRAM successfully with the wired keyboard, you can disconnect it and go back to your normal Bluetooth keyboard.
More advanced users can try using the Terminal to reset to NVRAM, though if you’ve reached this option the problem is likely bigger than resetting NVRAM. And as with all Terminal commands, the usual caveats apply: You’re messing with macOS’s bash shell and could do irrevocable damage with the wrong keystroke. But if you’d like to try, you can type the following command into a new Terminal window:
nvram -c
After running the command, restart your Mac so the changes can take effect.
Yet another component of an Intel Mac’s hardware that stores crucial settings is the System Management Controller (SMC). This circuit deals with power management, temperature monitoring and fan control, status lights, keyboard backlights, and a few other components.
If your SMC becomes confused, you could experience problems like excessive fan noise, slow performance even though Activity Monitor doesn’t show the CPU being overtaxed, apps that take forever to launch, batteries that don’t charge correctly, problems with sleep or wake, and so on. (You can see a longer list on this Apple support page.) As with zapping the NVRAM, resetting the SMC to factory defaults may resolve these problems.
It is safe to reset the SMC. You should check your Battery system preferences afterward to see if your customizations have been maintained.
M-series Macs don’t have a System Management Controller (SMC). The functions the SMC handled are now handled by the M chip itself. Postings on Apple’s forums suggest shutting down an M-series Mac completely and leaving it off for 30 seconds to perform something like an SMC reset. After 30 seconds, power on the Mac.
If your problems persist, you can try reinstalling the M-series Mac’s firmware. It’s a procedure that’s a little more complicated than what you might be used to. You need another Mac with the Apple Configurator 2 app installed, a USB-C cable that supports both power and data (used to connect the two Macs), and an internet connection. Apple has the full details on how to revive or restore a Mac with Apple silicon with Apple Configurator 2.
Apple says you shouldn’t reset the SMC without first trying other troubleshooting tasks, such as force-quitting problematic apps and restarting your Mac. However, Apple doesn’t mention any negative consequences of resetting the SMC, nor any way to determine for sure if the SMC is glitchy without resetting it and noticing that the problem went away. We’ve reset my Macs’ SMCs many times with no apparent ill effects, and on one occasion that did turn out to be the solution to a problem.
Before you can reset your SMC, you must shut down your Mac. After that, the procedure varies depending on the type of Mac you have.
If this doesn’t reset the SMC, shut down. On the laptop keyboard, press and hold Control-Option-Shift (your Mac might turn on). Hold these keys for 7 seconds, then press and hold the power button. If your Mac is on, it will turn off while you hold down the keys for another 7 seconds. Then release the keys, wait a few seconds and turn on the laptop.
Although neither of these procedures is a guaranteed cure, both of them can solve a number of odd problems, and are worth a few minutes of your time before hauling your Mac in to see the local Apple Genius.
There is no Terminal command for resetting the SMC.