← Back to Blog

MacBook Lid Angle Sensor: The Complete Automation Guide

June 23, 2026

Every MacBook has a lid angle sensor, but most people don’t know it exists. Apple uses it to detect when you close the screen and that’s how your Mac knows to go to sleep. But there’s much more you can do with it.

This guide explains how the sensor works, what automations are possible, and how Lid turns your MacBook’s lid angle into a privacy and productivity tool.

What Is the MacBook Lid Angle Sensor?

The lid angle sensor is a hardware component built into every MacBook’s hinge. It measures the angle between the screen and the keyboard base, typically ranging from 0° (fully closed) to about 130° (fully open on most models).

Apple uses this sensor primarily for one thing: detecting when the lid is closed so macOS can put the machine to sleep. But the sensor reports continuous angle data, not just “open” or “closed.” It knows exactly how far open your screen is at all times.

How the Lid Angle Sensor Works

The sensor communicates through Apple’s IOKit framework, the same low-level hardware interface that powers device drivers. A small magnet embedded in the display assembly interacts with a Hall effect sensor in the base, and the resulting magnetic field changes as the lid moves. The system converts these readings into a precise angle measurement.

This data has been accessible to developers since macOS introduced the relevant IOKit APIs. Apps like Lid read this sensor data in real time to trigger automations the moment your lid reaches a specific position.

What Automations Can You Build With Lid Angle Data?

Once you can read the lid angle in real time, you can trigger almost anything. Here’s what Lid enables:

Screen Blur at a Custom Angle

Set Lid to blur your screen when the lid reaches 60°. Lower your MacBook slightly when someone walks by, and your content instantly becomes unreadable, no keyboard shortcut needed. Open back up and everything clears.

Auto-Lock Without Sleeping

Lock your screen at 20° while keeping your Mac awake. Downloads continue, music plays, and background tasks keep running. Your screen is simply locked until you open the lid back up and authenticate.

Media Pause at Privacy Angle

Watching a video or listening to music? Close the lid partway and playback pauses automatically. Open it back up and it resumes right where you left off.

App-Aware Overrides

On a Zoom call? Lid detects the Zoom app is running and disables automations so your screen stays visible. The moment the call ends, your rules reactivate.

Scheduled Rules

Different rules for different times. Privacy mode during work hours, secure lock at night. Lid can schedule rules by day, time, or both.

Why Use Lid Angle Instead of Keyboard Shortcuts?

Keyboard shortcuts work but they require you to find the keys and press them. If someone’s approaching your desk, those two seconds of fumbling matter. With lid angle automation, a simple screen adjustment triggers privacy instantly, without thinking.

It’s also more intuitive. Closing the lid slightly when you want more privacy is a natural gesture. It’s the same reason we tilt screens away from prying eyes, Lid just makes the action programmable.

Compatibility: Which MacBooks Have a Lid Angle Sensor?

Most MacBook Air and MacBook Pro models from 2015 onward include a lid angle sensor. Lid requires macOS Sonoma 14.0 or later and a MacBook with the sensor present. The app checks your hardware on first launch and will let you know if your MacBook is compatible.

Privacy and Battery

Lid reads the sensor data locally on your Mac. No sensor data ever leaves your device. There are no analytics, no telemetry, and no network calls (except a one-time license activation). As for battery, the sensor is always on regardless so Lid simply reads what’s already available, adding negligible power draw.

Try Lid for Free

Automate your MacBook lid angle in under a minute. Free tier includes screen blur, media pause, and one customizable rule.

Download Free