Command Option P R Mac: How to Reset NVRAM/PRAM
In this article
Pressing Command + Option + P + R during the startup process on an Intel-based Mac resets the NVRAM (Non-Volatile Random Access Memory) or PRAM (Parameter RAM). This action clears the small amount of memory your Mac uses to store specific system settings that need to be available regardless of whether the computer is turned on or off, effectively restoring those settings to their factory defaults to resolve boot issues, sound glitches, or display problems.
What You'll Need
- An Intel-based Mac (MacBook, iMac, Mac mini, or Mac Pro).
- A physical keyboard (built-in or wired USB). Note that some wireless keyboards may not connect early enough in the boot process to register the command.
- A power source or sufficient battery charge to ensure the Mac does not shut down during the reset.
Step-by-Step
- Shut Down Your Mac: Click the Apple menu in the top-left corner of your screen and select Shut Down. Wait for the screen to go completely black and for any fan noise to stop. If the Mac is frozen, press and hold the power button until it turns off.
- Prepare the Key Combination: Locate the Command (⌘), Option (⌥), P, and R keys on your keyboard. You will need to press and hold all four of these keys simultaneously.
- Power On the Mac: Press the power button to turn on your Mac. Immediately after pressing the power button, press and hold the Command + Option + P + R keys.
- Hold the Keys: Continue holding all four keys. The timing is critical; you must hold them from the moment the machine begins to boot.
- Identify the Reset Trigger: Depending on your specific Mac model, you will know the reset is happening based on one of the following signals:
- For Macs with a startup chime: Hold the keys until you hear the startup chime for a second time.
- For Macs with the Apple logo: Hold the keys until the Apple logo appears on the screen and then disappears for a second time.
- Release the Keys: Once you have heard the second chime or seen the Apple logo disappear for the second time, release all four keys.
- Allow Normal Boot: Let the Mac continue to boot into the macOS login screen normally.
- Restore Your Settings: Because NVRAM stores system preferences, you will likely find that some settings have reverted to defaults. You will need to go to System Settings (or System Preferences) to readjust your volume, display resolution, time zone, and startup disk selection.
Common Mistakes
One of the most frequent errors is incorrect timing. If you wait until the Apple logo appears to press the keys, the system has already loaded the NVRAM data into the active memory, and the reset command will be ignored. The keys must be depressed almost immediately after the power button is pressed.
Another common mistake is using a Bluetooth keyboard. Because Bluetooth drivers are often loaded later in the boot sequence, the Mac may not "see" the keyboard in time to register the Command + Option + P + R sequence. If you are using a wireless keyboard and the reset isn't working, try using a wired USB keyboard.
Users often release the keys too early. If you release them after the first chime or the first appearance of the logo, the NVRAM has not been fully cleared. You must wait for the cycle to repeat a second time to ensure the reset is complete.
Finally, some users attempt this on Apple Silicon (M1, M2, M3) Macs. This specific keyboard combination is designed for Intel processors. Apple Silicon Macs handle NVRAM resets automatically during a standard restart or through different system recovery mechanisms, so the manual key combination will not work on these newer models.
Tips
Before performing an NVRAM reset, try a simple restart. Many minor glitches are resolved by a power cycle without needing to wipe the system parameters. If you find yourself needing to reset NVRAM frequently, it may be a sign of a deeper hardware issue with the motherboard or the CMOS battery (on older desktop models).
Keep a note of your preferred system settings before the reset. Since the reset wipes the startup disk preference, you might find your Mac booting from an external drive if one is plugged in. To fix this, go to System Settings > General > Startup Disk and select your primary internal drive.
If you are troubleshooting a sound issue, check the volume settings immediately after the reset. The NVRAM reset often resets the system volume to a default level, which might be lower than you prefer, leading some users to believe the reset didn't work when the audio is actually functioning correctly.
Troubleshooting
If the Mac boots up normally without the second chime or second logo disappearance, the reset failed. First, ensure you are using a wired keyboard. If you are using a laptop, ensure the keys are not stuck. Try the process again, pressing the four keys slightly before you hit the power button and holding them firmly.
If your Mac is stuck in a boot loop after the reset, try booting into Safe Mode. For Intel Macs, this is done by holding the Shift key during startup. Safe Mode clears certain system caches and can help the Mac stabilize after an NVRAM wipe.
If the screen remains black and the Mac does not seem to respond to the key combination, check your power connection. Ensure the laptop is plugged into a charger. If the issue persists, try resetting the SMC (System Management Controller), which is a separate process from NVRAM and handles power and thermal management.
In cases where the Mac boots but the original problem (such as a distorted screen or no sound) remains, the issue is likely not stored in the NVRAM. It could be a corrupted OS installation or a hardware failure. In these instances, booting into macOS Recovery (Command + R) to run Disk Utility or reinstalling macOS is the next logical step.
Frequently Asked Questions
Will resetting NVRAM delete my files?
No. NVRAM only stores system settings like speaker volume, screen resolution, and startup disk selection. It does not touch your hard drive, documents, photos, or applications.
Does this work on M1, M2, or M3 Macs?
No. The Command + Option + P + R shortcut is specifically for Intel-based Macs. Apple Silicon Macs do not use this manual method; they perform a similar check and reset automatically during the boot process if needed.
How often should I reset my NVRAM?
Only when necessary. You should not do this as part of regular maintenance. It is a troubleshooting step to be used when you encounter specific issues with system settings, sound, or boot-up behavior.
What exactly is stored in the NVRAM?
It stores variables that the Mac needs to access quickly during boot, including the chosen startup disk, time zone information, screen resolution settings, and system volume levels.
Why did my time zone change after the reset?
The time zone is one of the settings stored in the NVRAM. When you clear this memory, the Mac reverts to the factory default time zone, and you must re-configure it in System Settings.
Can I reset NVRAM if my Mac won't turn on at all?
If the Mac has no power, the reset cannot occur. However, if the Mac is receiving power but failing to post (black screen), the NVRAM reset is often the first recommended step to try and force a successful boot.