Turn your MacBook into its own security system.
Unplug Alarm is a free, open-source macOS app that watches your Mac’s power and lid state and instantly plays a loud maximum-volume alarm if someone unplugs the charger or closes the lid while protection is active.
If Unplug Alarm helps you protect your MacBook, you can support the project here:
-
Smart Triggers
- Alarm on power disconnect, lid close, or both.
- Choose your triggers with one click and customize your protection instantly.
-
Maximum Volume Alarm
- Forces system volume to maximum when the alarm is triggered.
- Alarm keeps sounding until you unlock your Mac.
-
Designed for Real Life
- Perfect for cafes, libraries, co-working spaces, airports, and anywhere you can’t keep eyes on your MacBook 100% of the time.
-
Free Forever
- No costs. No subscriptions. No ads.
- Completely free to use, forever.
-
Open Source & Transparent
- 100% open source so you can review every line of code.
- No tracking, no data collection, no hidden backdoors.
-
Choose Your Triggers
Select whether you want the alarm to trigger on power disconnect, lid close, or both. -
Hit Activate
Turn on protection with a single click. Your MacBook is now under watchful protection. -
Lock & Leave
Lock your screen and step away with confidence. Unplug Alarm has your back.
- Download the latest
.dmgfrom the Releases section of this repository. - Open the downloaded file and drag Unplug Alarm into your
Applicationsfolder. - On first launch, macOS may show a security prompt; you might need to allow the app under System Settings → Privacy & Security.
Unplug Alarm is built with transparency and security in mind:
-
Open Source = Maximum Security
- Full source code available in this repository.
- Anyone can audit the code and verify there are no backdoors.
-
No Tracking
- No analytics, no telemetry, no data collection.
-
Local-Only
- All logic runs locally on your Mac; nothing is sent to external servers.
If you spot something that can be improved from a security or privacy perspective, please open an issue or pull request.
Contributions are welcome!
- Bug reports: Open an issue with clear steps to reproduce.
- Feature requests: Describe the use case and why it benefits users.
- Pull requests: Keep changes focused and add a short description of what you’re improving.
Please check existing issues before opening a new one to avoid duplicates.
If you’d like to support ongoing development:
Sharing the app with friends and colleagues also helps a lot!
This project is open source. See the LICENSE file in this repository for details.
- Email: me@okandemir.net
If you use Unplug Alarm and enjoy it, I’d love to hear your feedback.
