Keeps your MacBook's built-in microphone selected and at a fixed volume, whatever headphones you connect.
macOS switches the input to your headphones' microphone every time you connect them, which drops Bluetooth headphones to low-quality call audio. MicLock keeps the MacBook's built-in microphone selected and holds its input volume, which apps and macOS like to lower on their own.
| 🎙️ Built-in mic stays selected | Switches back the moment macOS picks a headset or any other microphone. No polling: MicLock reacts to CoreAudio device events and otherwise sleeps. |
| 🔊 Fixed input volume | Holds the level you pick in Settings (100 % by default) and puts it back whenever an app or macOS changes it. Can be turned off separately. |
| 🔁 Clean off switch | Turning the lock off hands the input back to the headset it replaced (or the Bluetooth one), just like macOS would have done. |
| 🧭 Menu bar or hidden | Lives in the menu bar; hide the icon in Settings and open MicLock again from Finder or Spotlight to get the Settings window back. |
| 🎛️ Control Center toggle | A native control (macOS 26+) that shows whether the lock is on and switches it with one tap. It can also go straight into the menu bar. |
| ⌨️ Scriptable | open -g miclock://on, miclock://off and miclock://toggle from scripts or Shortcuts. |
| 🪶 Light | Native Swift, about 13 MB of memory and no CPU while idle in the background. |
-
Download
MicLock-<version>.zipfrom the latest release. -
Unzip it and move
MicLock.appto/Applications. -
The app is not notarized, so remove the quarantine flag once before the first launch:
xattr -dr com.apple.quarantine /Applications/MicLock.app
-
Open it and turn on Open at login in Settings.
On macOS 26 and later MicLock ships a native Control Center toggle: open Control Center → Edit Controls → MicLock and drag it into Control Center or the menu bar. It shows whether the lock is on and switches it with one tap.
The control talks to the running app, so keep MicLock running (turn on Open at login).
Needs Xcode 26 or later: the Control Center toggle is built against the macOS 26 SDK.
./build.sh # build.noindex/MicLock.app, universal arm64 + x86_64
./install.sh # build, copy to ~/Applications, start it and register it as a login itemThe icon is an Icon Composer file (icon/AppIcon.icon); icon/compile.sh compiles it
with Xcode 26+ and the output is committed, so builds do not need a new Xcode.
Pushing a tag v* runs the GitHub Actions workflow, which builds the universal app and
attaches the zip to a new release:
git tag v1.2.3 && git push origin v1.2.3

