Does a Mac alarm go off with the lid closed?

Close your MacBook lid and the Mac sleeps, but a Clock alarm you set for an hour from now is still coming. The question is whether macOS will wake in time to play it. Usually it does — but the answer changes with battery level, power state, and what else the Mac is doing when the alarm fires.
How macOS Clock alarms work during sleep
The Clock app, added in macOS 13 Ventura, lets you set alarms that schedule a system wake event. When the alarm time arrives, macOS wakes the Mac briefly to play the sound, then may return it to sleep. This is the same mechanism the system uses for Time Machine and Energy Saver scheduled events.
Because the wake is system-level, it works with the lid physically closed. The Mac does not need a display or a keypress to trigger it. You will hear the alarm through the built-in speakers as long as volume is not muted and Do Not Disturb or Focus is not suppressing audio.
On macOS versions before Ventura, the Clock app does not include alarms at all. If you are on macOS 12 or earlier, this does not apply.
When alarm reliability drops
Scheduled wake from sleep depends on the Mac having enough power to execute the wake. On a nearly-empty battery, macOS may defer or skip the event to protect the cell. If you are counting on an alarm overnight, leaving the Mac plugged in removes that variable entirely.
Focus mode and Do Not Disturb can suppress alarm audio even when the system wakes on time. Check that the Clock app is allowed to break through your Focus settings if you rely on it for something important.
Some third-party tools that aggressively manage power or hold deep sleep states can interfere with scheduled wake events. This is uncommon but worth noting if you run a lot of background software.
Running a workload while waiting for an alarm
If the Mac is already awake — because LidRun is holding it up for a Claude Code agent, a Docker build, or an Ollama model — the alarm fires through the normal audio path. There is no scheduled wake needed and no reliability question.
This is not about making alarms more reliable on their own. It is about what happens when you have a long job and an alarm together: keeping the Mac awake for the workload means the alarm fires the same way it would with the lid open.
Battery and thermal thresholds still gate the session. If charge drops too low or thermal pressure climbs too high, LidRun lets the Mac sleep — which returns the alarm to the scheduled-wake path. The safety limits come first.
Related guideHow to keep a Mac awake when the lid is closedThe placement rule still applies
Running a MacBook closed-lid generates more heat than running with the lid open. No software changes that. Keep the Mac on a hard, flat, ventilated surface if you plan to leave it running, and avoid soft furniture or a closed bag where heat cannot escape.
For a short wait — an alarm 30 minutes away while a small job wraps up — the heat is rarely significant. For an overnight run, the usual guidance applies: stay on power, keep the Mac on a ventilated surface, and set a session timer so it does not stay awake longer than you intended.
LidRun will let the Mac sleep if thermal pressure climbs past your threshold. That helps reduce risk, but placement and airflow are still your responsibility.
A feature of LidRun's keep-awake engine.
LidRun keeps your work running with the lid closed, with battery and thermal safety built in.
Frequently asked
Usually yes. On macOS 13 Ventura and later, Clock alarms schedule a system wake event, so the Mac wakes briefly to sound the alarm even with the lid shut. Reliability is highest on AC power; a very low battery may defer the wake.
The most common reasons are Focus mode or Do Not Disturb suppressing alarm audio, a nearly-empty battery deferring the wake, or the Mac being on macOS 12 or earlier where Clock alarms do not exist.
Yes, indirectly. If LidRun is already holding the Mac awake for a workload, the alarm fires through the normal audio path without relying on scheduled wake. The alarm does not need to wake a sleeping Mac if the Mac is already running.
LidRun uses battery and thermal thresholds to help reduce risk on lid-closed runs, but placement still matters. Run the Mac on a hard, ventilated surface and stay plugged in for longer sessions.