Check or Set a Firmware Password with firmwarepasswd
Use firmwarepasswd to verify whether an Open Firmware password protects your Intel Mac from booting other disks.
01Command
$ sudo firmwarepasswd -check && sudo firmwarepasswd -setpasswd -setmode command02What it does
A firmware password is checked by the Mac's boot ROM before macOS loads: with mode 'command', anyone trying to boot from another volume, recovery, or an installer must enter the password first. firmwarepasswd is the command-line tool for checking (-check), setting (-setpasswd with -setmode command), and removing (-delete) this protection. On Intel Macs it is the strongest anti-theft measure short of FileVault; Apple silicon Macs instead tie this protection to Activation Lock.
03Risk
04Undo
$ sudo firmwarepasswd -delete05Sources
- firmwarepasswd(8) macOS man pageEvidence: Man page for firmwarepasswd with -check, -setpasswd, -setmode and -delete options for the Open Firmware password.
- How to set a firmware password on your MacEvidence: Apple's guide explaining that a firmware password prevents starting up from other disks and how to set or remove it.
Last verified: 2026-09-18 · Category: Security & Privacy
06Related solutions
Build an AES-256 encrypted .dmg vault from the Terminal — no Disk Utility clicking required.
Check whether an application bundle was signed properly and hasn't been modified since.
Inspect boot-args and other firmware settings stored in non-volatile RAM from the Terminal.